how to apply security updates?

Rajeev Prasad rp.neuli at yahoo.com
Tue Nov 5 16:20:55 UTC 2013



ok so the dpkg -l shows following for mysql

ii  libapache2-mod-auth-mysql             4.3.9-13ubuntu3                     Apache 2 module for MySQL authentication
ii  libdbd-mysql-perl                     4.020-1build2                       Perl5 database interface to the MySQL database
ii  libmysqlclient18                      5.5.34-0ubuntu0.12.04.1             MySQL database client library
ii  mysql-client-5.5                      5.5.31-0ubuntu0.12.04.1             MySQL database client binaries
ii  mysql-client-core-5.5                 5.5.34-0ubuntu0.12.04.1             MySQL database core client binaries
ii  mysql-common                          5.5.34-0ubuntu0.12.04.1             MySQL database common files, e.g. /etc/mysql/my.cnf
ii  mysql-server                          5.5.34-0ubuntu0.12.04.1             MySQL database server (metapackage depending on the latest version)
ii  mysql-server-5.5                      5.5.31-0ubuntu0.12.04.1             MySQL database server binaries and system database setup
ii  mysql-server-core-5.5                 5.5.31-0ubuntu0.12.04.1             MySQL database server binaries
ii  php5-mysql                            5.3.10-1ubuntu3.8                   MySQL module for php5




and I see here that the aptitude is complaining about those software which are at version "5.5.31-0ubuntu0.12.04.1".

do i need to upgrade/install these?

will this help?
apt-get install mysql-client-5.5 mysql-server-5.5  mysql-server-core-5.5

another related question whould be, is my config ok as of now?

On Tuesday, November 5, 2013 9:43 AM, Serge Hallyn <serge.hallyn at ubuntu.com> wrote:

Quoting Rajeev Prasad (rp.neuli at yahoo.com):

> when i log in i get this messages:
> 
> 5 packages can be updated.
> 3 updates are security updates.
> 
> 
> when I do:
>     sudo aptitude
> I can see 3 security updates for mysql are for mysql client, server and server-core
> but i do not know how to install them?
> 
> I also see 3 upgradable packages:
> procps
> oracle-java7-installer
> wpasupplicant
> 
> I DO NOT want to upgrade these. now how can I update the security updates ONLY from command line? please.

I would try 

    sudo apt-get install mysql-client, mysql-server, mysql-server-core

and check that the list of packages it says it will upgrade is what you
want.  That *should* do waht you want.  (If not, say 'n' :)

Depending on your reasoning for not wanting to upgrade the other
packages, you also may want to pin the existing versions of those
packages.  (I don't keep systems around long enough to know how
to really do that without looking it up every time)

-serge




More information about the ubuntu-server mailing list