Ubuntu server holding back on me

Oliver Grawert ogra at ubuntu.com
Fri Sep 22 09:54:15 UTC 2017


hi,
Am Freitag, den 22.09.2017, 11:21 +0200 schrieb Liam Proven:
> On 22 September 2017 at 10:43, Oliver Grawert <ogra at ubuntu.com>
> wrote:
> > 
> > 
> > simply stop using apt-get, "apt upgrade" is what you want in newer
> > ubuntus ...
> That should be:
> 
> apt full-upgrade
> 

nope, full-upgrade means "additionally allow removal of packages (even
if they are essential)" while the newly merged "upgrade" command simply
makes sure there are no held back packages during the upgrade process
itself. 
you can use full-upgrade if you dont want to have to call "apt
autoremove" to clean up old kernels, the new "upgrade" should actually
be enough for normal daily use though ...

here is the difference between the relevant manpage entries:

old (apt-get):
"New versions of currently installed packages that cannot be upgraded
without changing the install status of another package will be left at
their current version."
(this is typically what causes the "held packages" message)

new (apt):
"New packages will be installed if required to satisfy dependencies,
but existing packages will never be removed."


ciao
	oli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20170922/42b57bfd/attachment.sig>


More information about the ubuntu-users mailing list