Al acceder a uno de los servidores que tengo con una de las versiones LTS de Ubuntu Server, he visto que solicitaba actualizaciones pendientes con el siguiente mensaje:
bdispatcher@laptop:~$ ssh 192.168.1.59
bdispatcher192.168.1.59's password:
Linux ubuntusrv-test 2.6.32-28-server #55-Ubuntu SMP Mon Jan 10 23:57:16 UTC 2011 x86_64 GNU/Linux
Ubuntu 10.04.2 LTS
Welcome to the Ubuntu Server!
* Documentation: http://www.ubuntu.com/server/doc
System information as of Thu Apr 28 10:01:11 CEST 2011
System load: 0.05 Processes: 69
Usage of /: 28.8% of 4.42GB Users logged in: 1
Memory usage: 20% IP address for eth0: 192.168.1.59
Swap usage: 0%
Graph this data and manage this system at https://landscape.canonical.com/
27 packages can be updated.
12 updates are security updates.
Last login: Thu Apr 28 10:00:39 2011
bdispatcher@ubuntusrv-test:~$
bdispatcher192.168.1.59's password:
Linux ubuntusrv-test 2.6.32-28-server #55-Ubuntu SMP Mon Jan 10 23:57:16 UTC 2011 x86_64 GNU/Linux
Ubuntu 10.04.2 LTS
Welcome to the Ubuntu Server!
* Documentation: http://www.ubuntu.com/server/doc
System information as of Thu Apr 28 10:01:11 CEST 2011
System load: 0.05 Processes: 69
Usage of /: 28.8% of 4.42GB Users logged in: 1
Memory usage: 20% IP address for eth0: 192.168.1.59
Swap usage: 0%
Graph this data and manage this system at https://landscape.canonical.com/
27 packages can be updated.
12 updates are security updates.
Last login: Thu Apr 28 10:00:39 2011
bdispatcher@ubuntusrv-test:~$
Pero cuando intento actualizar con los comandos:
sudo apt-get update
sudo apt-get upgrade
Me indica que no tengo actualizaciones pendientes. Después de googlear un ratillo leo que ese mensaje lo muestra motd, como no podía ser menos, y que según parece en algún momento hubo un problema en su ejecución y ha quedado el archivo /etc/motd.tail que como su página man indica es un fichero plantilla en el que se basa el mensaje diario, y es el responsable de este error.
Lo elimino:
sudo rm -f /etc/motd.tail
y a funcionar, no hay actualizaciones pendientes, y así lo muestra el mensaje de login.
It's time to update my ubuntu systems and one of them (Ubuntu Server LTS) tells me after the login that it has some pending updates by the following message:
bdispatcher@laptop:~$ ssh 192.168.1.59
bdispatcher192.168.1.59's password:
Linux ubuntusrv-test 2.6.32-28-server #55-Ubuntu SMP Mon Jan 10 23:57:16 UTC 2011 x86_64 GNU/Linux
Ubuntu 10.04.2 LTS
Welcome to the Ubuntu Server!
* Documentation: http://www.ubuntu.com/server/doc
System information as of Thu Apr 28 10:01:11 CEST 2011
System load: 0.05 Processes: 69
Usage of /: 28.8% of 4.42GB Users logged in: 1
Memory usage: 20% IP address for eth0: 192.168.1.59
Swap usage: 0%
Graph this data and manage this system at https://landscape.canonical.com/
27 packages can be updated.
12 updates are security updates.
Last login: Thu Apr 28 10:00:39 2011
bdispatcher@ubuntusrv-test:~$
bdispatcher192.168.1.59's password:
Linux ubuntusrv-test 2.6.32-28-server #55-Ubuntu SMP Mon Jan 10 23:57:16 UTC 2011 x86_64 GNU/Linux
Ubuntu 10.04.2 LTS
Welcome to the Ubuntu Server!
* Documentation: http://www.ubuntu.com/server/doc
System information as of Thu Apr 28 10:01:11 CEST 2011
System load: 0.05 Processes: 69
Usage of /: 28.8% of 4.42GB Users logged in: 1
Memory usage: 20% IP address for eth0: 192.168.1.59
Swap usage: 0%
Graph this data and manage this system at https://landscape.canonical.com/
27 packages can be updated.
12 updates are security updates.
Last login: Thu Apr 28 10:00:39 2011
bdispatcher@ubuntusrv-test:~$
But when I try to update it with the following commands:
sudo apt-get update
sudo apt-get upgrade
rm -f /etc/motd.tail
After this, everything works perfecly again.
PS. I know, I know. My English is not good enought but, the more you help me, the more I learn.
No hay comentarios:
Publicar un comentario