update-motd not updating /etc/motd after LTS upgrade

compdoc compdoc at hotrodpc.com
Thu Jun 7 20:46:15 UTC 2012


Try the following command and see if you are getting any errors:

sudo run-parts /etc/update-motd.d

There was a file named /etc/update-motd.d/20-cpu-checker   that was causing
my error and preventing the motd update. I had to delete the file.

Here are the scripts in my /etc/update-motd.d/  on a fresh install of 12.04:

$ sudo ls -la /etc/update-motd.d/ 
total 44
drwxr-xr-x   2 root root  4096 Jun  6 11:41 .
drwxr-xr-x 140 root root 12288 Jun  7 14:26 ..
-rwxr-xr-x   1 root root  1220 Apr 19 03:15 00-header
-rwxr-xr-x   1 root root  1358 Apr 19 03:15 10-help-text
lrwxrwxrwx   1 root root    46 May 21 17:11 50-landscape-sysinfo ->
/usr/share/landscape/landscape-sysinfo.wrapper
-rwxr-xr-x   1 root root   149 Aug 22  2011 90-updates-available
-rwxr-xr-x   1 root root   129 Sep 30  2011 91-release-upgrade
-rwxr-xr-x   1 root root   142 Aug 22  2011 98-fsck-at-reboot
-rwxr-xr-x   1 root root   144 Aug 22  2011 98-reboot-required
-rwxr-xr-x   1 root root  1158 Apr 19 03:15 99-footer


I have landscape-common installed because it gives system information at ssh
logon like system load and the number of processes, etc. 






More information about the ubuntu-users mailing list