Bug#600919: mysql-server is removed on upgrade from lenny to squeeze
On Thu, Oct 21, 2010 at 02:09:06PM +0200, Sandro Tosi wrote:
> while preparing for upgrade from lenny to squeeze at work, I noticed that
> currently mysql-server (along with mysql-server-5.0) got removed on
> dist-upgrade, instead of bringing in mysql-server-5.1.
I observed the same behavior while upgrading our server this weekend.
We also had some home-made packages depending on "mysql-server (>= 5)",
and apt-get wanted to get rid of those as well. Switching the
dependency to "mysql-server-5.0 | mysql-server-5.1" allowed us to keep
them in place, along with mysql-server-5.0, but mysql-server could not
be spared apt-get's wrath.
I've just recreated this in a chroot, with a semi-minimal set of
packages (selections attached). Every other package is upgraded to
squeeze just fine, but mysql-server and mysql-server-5.0 are removed,
and only mysql-server-core-5.1 is installed, but not mysql-server-5.1:
Investigating (0) mysql-server-core-5.1 [ amd64 ] < none -> 5.1.49-3 > ( misc )
Broken mysql-server-core-5.1:amd64 Conflicts on mysql-server-5.0 [ amd64 ] < 5.0.51a-24+lenny5 > ( misc ) (< 5.1.45-2)
Considering mysql-server-5.0:amd64 -1 as a solution to mysql-server-core-5.1:amd64 0
Added mysql-server-5.0:amd64 to the remove list
Fixing mysql-server-core-5.1:amd64 via remove of mysql-server-5.0:amd64
Investigating (0) mysql-client-5.1 [ amd64 ] < none -> 5.1.49-3 > ( misc )
Broken mysql-client-5.1:amd64 Conflicts on mysql-client-5.0 [ amd64 ] < 5.0.51a-24+lenny5 > ( misc )
Considering mysql-client-5.0:amd64 1 as a solution to mysql-client-5.1:amd64 0
Holding Back mysql-client-5.1:amd64 rather than change mysql-client-5.0:amd64
Investigating (1) mysql-server-5.1 [ amd64 ] < none -> 5.1.49-3 > ( misc )
Broken mysql-server-5.1:amd64 Depends on mysql-client-5.1 [ amd64 ] < none -> 5.1.49-3 > ( misc ) (>= 5.1.49-3)
Considering mysql-client-5.1:amd64 0 as a solution to mysql-server-5.1:amd64 0
Holding Back mysql-server-5.1:amd64 rather than change mysql-client-5.1:amd64
Investigating (2) mysql-server [ amd64 ] < 5.0.51a-24+lenny5 -> 5.1.49-3 > ( database )
Broken mysql-server:amd64 Depends on mysql-server-5.1 [ amd64 ] < none -> 5.1.49-3 > ( misc )
Considering mysql-server-5.1:amd64 0 as a solution to mysql-server:amd64 0
Removing mysql-server:amd64 rather than change mysql-server-5.1:amd64
Done
The following packages will be REMOVED:
mysql-server mysql-server-5.0
The following NEW packages will be installed:
mysql-server-core-5.1
0 upgraded, 1 newly installed, 2 to remove and 0 not upgraded.
Note that aptitude, in comparison, will figure it out for itself.
(Although it may ask for confirmation if mysql-{client,server}-5.0 was
to marked as automatically installed.)
--
The first myth of management is that it exists. The second myth of
management is that success equals skill.
-- Robert Heller
adduser install
apt install
aptitude install
base-files install
base-passwd install
bash install
bsd-mailx install
bsdutils install
coreutils install
debconf install
debconf-i18n install
debian-archive-keyring install
debianutils install
deborphan install
diff install
dpkg install
e2fslibs install
e2fsprogs install
file install
findutils install
gcc-4.3-base install
gnupg install
gpgv install
grep install
gzip install
hostname install
initscripts install
libacl1 install
libattr1 install
libblkid1 install
libbz2-1.0 install
libc6 install
libcomerr2 install
libcwidget3 install
libdb4.5 install
libdb4.6 install
libdbd-mysql-perl install
libdbi-perl install
libdevmapper1.02.1 install
libept0 install
libgcc1 install
libgdbm3 install
liblocale-gettext-perl install
liblockfile1 install
libmagic1 install
libmysqlclient15off install
libncurses5 install
libncursesw5 install
libnet-daemon-perl install
libpam-modules install
libpam-runtime install
libpam0g install
libplrpc-perl install
libreadline5 install
libsasl2-2 install
libsasl2-modules install
libselinux1 install
libsepol1 install
libsigc++-2.0-0c2a install
libslang2 install
libsqlite3-0 install
libss2 install
libssl0.9.8 install
libstdc++6 install
libtext-charwidth-perl install
libtext-iconv-perl install
libtext-wrapi18n-perl install
libusb-0.1-4 install
libuuid1 install
libwrap0 install
libxapian15 install
login install
lsb-base install
lzma install
makedev install
mawk install
mime-support install
mktemp install
mount install
mysql-client-5.0 install
mysql-common install
mysql-server install
mysql-server-5.0 install
ncurses-base install
ncurses-bin install
netbase install
openssl install
openssl-blacklist install
passwd install
perl install
perl-base install
perl-modules install
postfix install
procps install
psmisc install
python install
python-minimal install
python2.5 install
python2.5-minimal install
readline-common install
sed install
ssl-cert install
sysv-rc install
sysvinit install
sysvinit-utils install
tar install
tzdata install
util-linux install
zlib1g install
Reply to: