Ingo Asche
2022-Nov-03 20:20 UTC
[Samba] Updates wanting to uninstall Samba on member server
Hi Michael, apt upgrade tries also to remove some packages and kept back the possible updates: Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done The following packages were automatically installed and are no longer required: ? bind9-dnsutils libbrotli-dev libfreetype-dev libpng-dev libpng-tools ? zlib1g-dev Use 'apt autoremove' to remove them. The following packages have been kept back: ? libtalloc2 libtdb1 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. Regards Ingo https://github.com/WAdama Michael Tokarev via samba schrieb am 03.11.2022 um 21:17:> 03.11.2022 22:57, Ingo Asche via samba wrote: > ... >> Message from "apt list --upgradable": >> Listing... Done >> libtalloc2/bullseye-backports 2.3.4-2~bpo11+1 arm64 [upgradable from: >> 2.3.3-4~bpo11+1] >> libtdb1/bullseye-backports 1.4.7-2~bpo11+1 arm64 [upgradable from: >> 1.4.6-3~bpo11+1] >> >> Message from "apt full-upgrade": > > If you ask it for regular upgrade, not full, it'd give you some hints. > full-upgrade sometimes can do fun stuff, like removing half a system. > > /mjt >
Michael Tokarev
2022-Nov-03 20:34 UTC
[Samba] Updates wanting to uninstall Samba on member server
03.11.2022 23:20, Ingo Asche via samba wrote:> Hi Michael, > > apt upgrade tries also to remove some packages and kept back the possible updates:No, it is not tries to remove them, it says they're no longer needed. You can actually remove them by `apt autoremove'. These are packages which you didn't install explicitly, but which were installed as dependencies of other packages which either does not require the dependencies anymore, or has been removed. Or if you actually use some of these packages, you can run `apt-mark manual $package' to tell apt to keep it. /mjt