Debian Bug report logs -
#816460
add option to not removed phpmyadmin
Reported by: 積丹尼 Dan Jacobson <jidanni@jidanni.org>
Date: Wed, 2 Mar 2016 00:09:01 UTC
Severity: normal
Done: Paul Gevers <elbrus@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Thijs Kinkhorst <thijs@debian.org>:
Bug#816460; Package phpmyadmin.
(Wed, 02 Mar 2016 00:09:05 GMT) (full text, mbox, link).
Acknowledgement sent
to 積丹尼 Dan Jacobson <jidanni@jidanni.org>:
New Bug report received and forwarded. Copy sent to Thijs Kinkhorst <thijs@debian.org>.
(Wed, 02 Mar 2016 00:09:05 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: phpmyadmin
Well I hit RET on the usual aptitude "safe-upgrade" without reading:
The following packages will be REMOVED:
libjs-sphinxdoc{pu} (D: phpmyadmin) phpmyadmin{pu}
The following packages will be upgraded:
aptitude aptitude-common (aptitude D: aptitude-common) aptitude-doc-en dbconfig-common
dbconfig-mysql gnupg-agent gnupg2 libapache2-mod-php
libapache2-mod-php7.0 (libapache2-mod-php7.0P<- libapache2-mod-php) libcupsfilters1 libfreetype6
libgraphite2-3 libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 libpng12-0
libssl1.0.2 (openssl D: libssl1.0.2) libxml-xpath-perl openssl php php-cli
php-common (libapache2-mod-php7.0P<- libapache2-mod-php D: php7.0-common D: php-common, php7.0P<- php D: php7.0-common D: php-common, php7.0-cliP<- php-cli D: php7.0-common D: php-common, php7.0-jsonP<- php-json D: php-common, php7.0-mcryptP<- php-mcrypt D: php-common)
php-json php-mcrypt php-mysql php-pear php7.0 (php7.0P<- php) php7.0-cgi
php7.0-cli (php7.0-cliP<- php-cli)
php7.0-common (libapache2-mod-php7.0P<- libapache2-mod-php D: php7.0-common, php7.0P<- php D: php7.0-common, php7.0-cliP<- php-cli D: php7.0-common, php7.0-jsonP<- php-json D: php7.0-common, php7.0-mcryptP<- php-mcrypt D: php7.0-common)
php7.0-json (php7.0-jsonP<- php-json) php7.0-mcrypt (php7.0-mcryptP<- php-mcrypt) php7.0-mysql
php7.0-opcache php7.0-readline
The following packages are RECOMMENDED but will NOT be installed:
dirmngr (R: gnupg2)
gstreamer1.0-plugins-base (R: libgstreamer-plugins-base1.0-0, R: libwebkitgtk-1.0-0, R: libwebkitgtk-3.0-0, S: libgstreamer1.0-0)
libparse-debianchangelog-perl (R: aptitude)
And next thing you know I am looking at:
Since you are removing phpmyadmin, it's possible that you no longer want the underlying database and │
│ the privileges for the user associated with this package. │
│ │
│ Please choose whether database removal and privilege revocation should be handled with dbconfig-common. │
│ │
│ If you choose this option, dbconfig-common will check if phpmyadmin provided scripts and database │
│ commands to undo package specific operations and run them if they exist. Then it will ask if you want │
│ to delete the phpmyadmin database and revoke the standard privileges for the user of phpmyadmin. If you │
│ don't want any of this, or if you want to handle this manually, you should refuse this option. │
│ │
│ Deconfigure database for phpmyadmin with dbconfig-common? │
│ │
│ <Yes> <No>
Well from past experience with aptitude, ^C will not allow one to abort
here.
So I chose <No> and later reinstall phpmyadmin but of course things are
still ruined.
So please add
<Yes> <No> <Do Not Remove phpmyadmin>
Information forwarded
to debian-bugs-dist@lists.debian.org, Thijs Kinkhorst <thijs@debian.org>:
Bug#816460; Package phpmyadmin.
(Wed, 02 Mar 2016 07:03:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Michal Čihař <michal@cihar.com>:
Extra info received and forwarded to list. Copy sent to Thijs Kinkhorst <thijs@debian.org>.
(Wed, 02 Mar 2016 07:03:06 GMT) (full text, mbox, link).
Message #10 received at 816460@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Control: reassign -1 dbconfig-common
Dne 2.3.2016 v 01:04 積丹尼 Dan Jacobson napsal(a):
> And next thing you know I am looking at:
>
> Since you are removing phpmyadmin, it's possible that you no longer want the underlying database and │
> │ the privileges for the user associated with this package. │
> │ │
> │ Please choose whether database removal and privilege revocation should be handled with dbconfig-common. │
> │ │
> │ If you choose this option, dbconfig-common will check if phpmyadmin provided scripts and database │
> │ commands to undo package specific operations and run them if they exist. Then it will ask if you want │
> │ to delete the phpmyadmin database and revoke the standard privileges for the user of phpmyadmin. If you │
> │ don't want any of this, or if you want to handle this manually, you should refuse this option. │
> │ │
> │ Deconfigure database for phpmyadmin with dbconfig-common? │
> │ │
> │ <Yes> <No>
>
> Well from past experience with aptitude, ^C will not allow one to abort
> here.
>
> So I chose <No> and later reinstall phpmyadmin but of course things are
> still ruined.
Because you've chosen to purge the package, what do you expect?
> So please add
> <Yes> <No> <Do Not Remove phpmyadmin>
Anyway this dialog comes from dbconfig-common, so if it would be
changed, it has to be done there. Not that I think the package scripts
should do this, but still reassigning to proper package.
--
Michal Čihař | http://cihar.com | http://blog.cihar.com
[signature.asc (application/pgp-signature, attachment)]
Added indication that 816460 affects phpmyadmin
Request was from Michal Čihař <nijel@debian.org>
to control@bugs.debian.org.
(Wed, 02 Mar 2016 07:15:07 GMT) (full text, mbox, link).
Reply sent
to Paul Gevers <elbrus@debian.org>:
You have taken responsibility.
(Wed, 02 Mar 2016 19:33:08 GMT) (full text, mbox, link).
Notification sent
to 積丹尼 Dan Jacobson <jidanni@jidanni.org>:
Bug acknowledged by developer.
(Wed, 02 Mar 2016 19:33:08 GMT) (full text, mbox, link).
Message #19 received at 816460-done@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Control: tags -1 wontfix
On Wed, 02 Mar 2016 08:04:59 +0800 =?utf-8?B?56mN5Li55bC8?= Dan Jacobson
<jidanni@jidanni.org> wrote:
> Well I hit RET on the usual aptitude "safe-upgrade" without reading:
So after you admit that you don't read you want us to ask again by
requesting:
> So please add
> <Yes> <No> <Do Not Remove phpmyadmin>
Apart from the fact that it is already too late at this stage (you
really should not answer "Yes" when you mean "No" on the question "are
you sure"), we can't do this ad-finite. (So I am not going to clone this
bug and assign the request to dpkg to add the possibility to bail out
gracefully after the question is already asked). One time "are you sure"
ought to be enough.
Paul
[signature.asc (application/pgp-signature, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Paul Gevers <elbrus@debian.org>:
Bug#816460; Package dbconfig-common.
(Thu, 03 Mar 2016 02:21:03 GMT) (full text, mbox, link).
Acknowledgement sent
to 積丹尼 Dan Jacobson <jidanni@jidanni.org>:
Extra info received and forwarded to list. Copy sent to Paul Gevers <elbrus@debian.org>.
(Thu, 03 Mar 2016 02:21:03 GMT) (full text, mbox, link).
Message #24 received at 816460@bugs.debian.org (full text, mbox, reply):
OK I agree with you but note that when removing the current kernel it
asks you if you want to abort.
Also odd that phpmyadmin must have been marked as autoinstalled.
Doing aptitude search ~M fortunately finds no other such cases.
And I don't recall using any of the apt-cache showpkg phpmyadmin
packages that would have made it that way.
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Thu, 31 Mar 2016 07:33:18 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jul 2 03:31:50 2023;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.