Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am new Ubuntu User and I liked it most.

In RHEL after installing yum-security package, we can get list of updates like this

# yum list-security

Sample Outputs:

Loaded plugins: rhnplugin, security
RHSA-2009:1148-1 security httpd-2.2.3-22.el5_3.2.x86_64
RHSA-2009:1148-1 security httpd-devel-2.2.3-22.el5_3.2.i386
RHSA-2009:1148-1 security httpd-manual-2.2.3-22.el5_3.2.x86_64
RHSA-2009:1148-1 security mod_ssl-1:2.2.3-22.el5_3.2.x86_64
list-security done

Is there any command to check or list security or bugfix packages??

So I can easily install only bug fixed packages or security fixed packages.

share|improve this question
Did you resolve your issue? – pl1nk Jun 20 '12 at 23:59
/usr/lib/update-notifier/apt-check --human-readable

Sample output (I don't have updates on my system):

0 packages can be updated.
0 updates are security updates.

/usr/lib/update-notifier/apt-check 2>&1 | cut -d ';' -f 1

Returns the number of pending security updates.

In case that you need to install security updates automatically, there is the package unattended-upgrades

share|improve this answer

If you run the basic upgrade command,

sudo apt-get upgrade

then by default you only get only security upgrades and major bug fixes. You would have to change your package sources to get upgrades to newer versions. You can run

sudo apt-get -s upgrade

to see what apt-get upgrade would do without actually changing anything.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.