LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   ??? 0 to remove and 2 not upgraded (https://www.linuxquestions.org/questions/debian-26/0-to-remove-and-2-not-upgraded-4175650367/)

userzero 03-17-2019 05:42 PM

??? 0 to remove and 2 not upgraded
 
Hi All,

I'm seeing "2 not upgraded" (below) and not sure what packages aptitude is referring to. Is there a way to view these 2 as of now, mystery programs?

Thanks Much


root@polaris:~# aptitude safe-upgrade
Resolving dependencies...
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.

berndbausch 03-17-2019 06:41 PM

List available updates but do not install them: https://unix.stackexchange.com/quest...t-install-them.

Brains 03-18-2019 01:32 AM

mariadb-server-core default-mysql-server-core
mariadb-client-core default-mysql-client-core

Likely the two mysql packages above, this is a result of "safe-upgrade" where removing the two mariadb packages could have negative effects you might not like, therefore it is up to you to decide when to upgrade them as to when it will not be an issue. These are the packages that were left behind for me till I selected them in Synaptic to go ahead, it removed the old mariadb, upgraded the mysql and installed the new mariadb, something like that.

There is another way to deal with this, when you feel it is safe, and not running a critical server or anything, just follow the advice highlighted below from aptitude safe-upgrade section of the man page.
Quote:

It is sometimes necessary to remove one package in order to upgrade another; this command is not able to upgrade packages in such situations. Use the full-upgrade command to upgrade as many packages as possible


All times are GMT -5. The time now is 08:26 PM.