Results 1 to 5 of 5

Thread: apt-get upgrade security updates only

  1. #1
    Join Date
    Dec 2005
    Beans
    82
    Distro
    Ubuntu 10.04 Lucid Lynx

    apt-get upgrade security updates only

    Hey,

    When doing updates on my Ubuntu 8.04 server, how can I :

    1. See change logs or release notes for upgraded packages ?
    2. Prevent kernel from being upgraded ?

    Is this command the correct way to install security updates only ?

    aptitude safe-upgrade --target-release hardy-security -o Aptitude::Delete-Unused=false

    The result is the same as apt-get upgrade. Is it possible



    Thanks,

    David
    Last edited by dlublink; April 22nd, 2010 at 02:28 AM. Reason: Added answer for first point

  2. #2
    Join Date
    Mar 2006
    Location
    Williams Lake
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: apt-get upgrade security updates only

    Why would you not want to upgrade the kernel? In Hardy, the only reason you get a kernel update is for security reasons.

  3. #3
    Join Date
    Jan 2008
    Beans
    3
    Distro
    Kubuntu 9.10 Karmic Koala

    Re: apt-get upgrade security updates only

    I have been using this lately. It is correct most of the time, but sometimes also brings some other updates.
    Kernel updates are almost allways security updates.
    Code:
    sudo aptitude update && sudo aptitude install '?and(~U,~Asecurity)'

  4. #4
    Join Date
    Dec 2005
    Beans
    82
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: apt-get upgrade security updates only

    The trouble with a kernel update, is one of my machines has a Sangoma card in it and I have to compile the drivers against the kernel, so I think an update would break the drivers.

  5. #5
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: apt-get upgrade security updates only

    Quote Originally Posted by dlublink View Post
    The trouble with a kernel update, is one of my machines has a Sangoma card in it and I have to compile the drivers against the kernel, so I think an update would break the drivers.
    I have to recompile the drivers for my RAID controller every time there is a kernel update. It isn't a game-breaking problem.

    Just compile the drivers and add them to the kernel.

    Download the source, make && make install. Done.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •