Ubuntu server holding back on me
Colin Law
clanlaw at gmail.com
Thu Sep 21 20:37:16 UTC 2017
On 21 September 2017 at 21:29, Kevin O'Gorman <kogorman at gmail.com> wrote:
> As I understand it, dist-upgrade takes me to the latest release. I don't
> want that. I stay at LTS releases on purpose. All I want really are
> security updates until the next LTS rolls out.
>
You misunderstand, dist-upgrade does not upgrade the release, that is
distribution-upgrade or something similar). apt-get upgrade will install
upgrades to existing installed packages when possible but will not install
new required packages. This can prevent the upgrade of some existing
packages, which is what you are seeing. I can virtually guarantee that
dist-upgrade is what you want.
Look at the docs for apt-get to convince yourself.
Colin
>
>
> On Thu, Sep 21, 2017 at 1:14 PM, Colin Law <clanlaw at gmail.com> wrote:
>
>> On 21 September 2017 at 21:02, Kevin O'Gorman <kogorman at gmail.com> wrote:
>> > ...
>> > But when I try to get the indicated updates, I see:
>> > root at gog:~# apt-get update
>> > Hit:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease
>> > Hit:2 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease
>> > Hit:3 http://security.ubuntu.com/ubuntu xenial-security InRelease
>> > Hit:4 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease
>> > Reading package lists... Done
>> > root at gog:~# apt-get upgrade
>> > Reading package lists... Done
>> > Building dependency tree
>> > Reading state information... Done
>> > Calculating upgrade... Done
>> > The following packages have been kept back:
>> > linux-generic linux-headers-generic linux-image-generic
>> > 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
>> >
>> > And indeed the kernel is at 4.4.0-62, while my non-server installs are
>> at 4.4.0-96. Is the holdback related to the "InRelease" status?
>> >
>> > Is there any reason I should not get an upgraded kernel, and if so, how
>> do I do that.
>>
>> You should use
>> apt-get dist-upgrade
>> or in fact the utility that supersedes aptget
>> apt full-upgrade
>>
>> which not only upgrades existing packages but installs any new ones
>> required.
>>
>> Colin
>>
>> --
>> ubuntu-users mailing list
>> ubuntu-users at lists.ubuntu.com
>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
>> an/listinfo/ubuntu-users
>>
>
>
>
> --
> Kevin O'Gorman
> #define QUESTION ((bb) || (!bb)) /* Shakespeare */
>
> Please consider the environment before printing this email.
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
> an/listinfo/ubuntu-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20170921/4be275af/attachment.html>
More information about the ubuntu-users
mailing list