Re: how to apply security updates?

2013-11-06 Thread Eliezer Croitoru

On 11/05/2013 07:32 PM, Serge Hallyn wrote:

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

Not sure what you mean.  The above apt-get install will make sure that
any needed dependencies are also upgraded, if that is your question.

-serge
it should be but you can try to do a backup of all the /etc/X and /var/X 
needed files.


Eliezer

--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam


how to apply security updates?

2013-11-05 Thread Rajeev Prasad
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.

ty.
Rajeev


-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam


Re: how to apply security updates?

2013-11-05 Thread Serge Hallyn
Quoting Rajeev Prasad (rp.ne...@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

-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam


Re: how to apply security updates?

2013-11-05 Thread Rajeev Prasad


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.hal...@ubuntu.com 
wrote:

Quoting Rajeev Prasad (rp.ne...@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

-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam


Re: how to apply security updates?

2013-11-05 Thread Serge Hallyn
Quoting Rajeev Prasad (rp.ne...@yahoo.com):
 
 
 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

Yes.

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

Not sure what you mean.  The above apt-get install will make sure that
any needed dependencies are also upgraded, if that is your question.

-serge

-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam