double upgrade messages in ssh welcome

Asked by F.Colby on 2011-04-25

I'm receiving double upgrade messages when logging into my Ubuntu cluster. Been happening for the last few months I think. Only the first one is real. I've done the second one, but the message continues to show up, along with the double "Welcome to Ubuntu!" message.

Any ideas for fixing this?

Thanks,

Frank

**************************************from recent login screen

cluster@node0:/etc$ ssh node2
Linux node2 2.6.32-31-generic #61-Ubuntu SMP Fri Apr 8 18:25:51 UTC 2011 x86_64 GNU/Linux
Ubuntu 10.04.2 LTS

Welcome to Ubuntu!
 * Documentation: https://help.ubuntu.com/

6 packages can be updated.
3 updates are security updates.

Ubuntu 10.04.2 LTS

Welcome to Ubuntu!
 * Documentation: https://help.ubuntu.com/

11 packages can be updated.
6 updates are security updates.

Last login: Mon Apr 25 10:34:57 2011 from node0
cluster@node2:~$

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu openssh Edit question
Assignee:
No assignee Edit question
Solved by:
Luky Winarto
Solved:
2011-04-25
Last query:
2011-04-25
Last reply:
2011-04-25
Best Luky Winarto (luckyborneo) said : #1

Hello F.Colby,

First backup your original file:
sudo cp /etc/motd.tail /etc/motd.tail.backup

Make it empty:
sudo sh -c 'echo "" > /etc/motd.tail'

Logout then login like you did before.
Hopefully this will solve the problem...

F.Colby (frank-colby) said : #2

Thanks Luky Winarto, that solved my question.