I upgraded to PHP 5.6RC4 today on my Debian Sid server (x64):
The following packages have been kept back: perl perl-base perl-modules The following packages will be upgraded: cpp-4.9 g++-4.9 gcc-4.9 gcc-4.9-base libasan1 libatomic1 libcilkrts5 libgcc-4.9-dev libgcc1 libgomp1 libitm1 liblsan0 libquadmath0 libstdc++-4.9-dev libstdc++6 libtsan0 libubsan0 php-pear php5 php5-cli php5-common php5-curl php5-fpm php5-gd php5-mcrypt php5-mysql php5-readline python-pil 28 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. Need to get 41.0 MB of archives. After this operation, 762 kB disk space will be freed. Do you want to continue? [Y/n]
Now, when I do
apt-get dist-upgrade or
apt-get autoremove I get the following:
The following packages will be REMOVED: console-setup console-setup-linux debconf-i18n dictionaries-common iamerican ibritish ienglish-common ispell keyboard-configuration libalgorithm-diff-xs-perl libdbd-mysql-perl libdbi-perl libfile-fcntllock-perl libhtml-form-perl libhtml-format-perl libhtml-parser-perl libhtml-tree-perl libio-socket-ssl-perl liblocale-gettext-perl liblwp-protocol-https-perl libmailtools-perl libnet-smtp-ssl-perl libnet-ssleay-perl libtext-charwidth-perl libtext-iconv-perl libtext-soundex-perl libtext-wrapi18n-perl libuuid-perl libwww-perl libxml-libxml-perl libxml-parser-perl libxml-sax-expat-perl linux-base linux-image-3.14-1-amd64 linux-image-amd64 mariadb-client-10.0 mariadb-server mariadb-server-10.0 task-english tasksel tasksel-data texinfo The following NEW packages will be installed: libcgi-pm-perl libmodule-build-perl libmodule-signature-perl libpackage-constants-perl libpod-readme-perl libregexp-common-perl The following packages will be upgraded: perl perl-base perl-modules 3 upgraded, 6 newly installed, 42 to remove and 0 not upgraded. Need to get 7,102 kB of archives. After this operation, 262 MB disk space will be freed. Do you want to continue? [Y/n]
It seems it wants to remove a lot of Perl related packages (maybe because Perl hasn't been upgraded yet), but also
mariadb-server (which I installed by myself, it's not a dependency),
linux-image-3.14-1-amd64 (which is my current kernel and has been pinned in
I found this question about MariaDB but that library hasn't been touched as far as I know.
Removing the Linux kernel doesn't seem like a good idea to me. Also I need the MariaDB server.
Does anyone know why this is suddenly happening? And how to fix it? Is there any command to check all dependencies again or locking all current packages? I don't want to pin all these packages manually (which doesn't even seem to work regarding to the kernel).