[Bug 1206452] Re: error when logging in via console

Lars Noodén lars.nooden at gmail.com
Tue Jul 30 11:49:01 UTC 2013


The problems occur in /usr/lib/update-notifier/update-motd-updates-
available

Either the script should create the stamp file at the beginning:

touch "$stamp"

Or it should do checks on its existence prior to trying to use it:

if [ -f "$stamp" ]; then
    ...
fi

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-notifier in Ubuntu.
https://bugs.launchpad.net/bugs/1206452

Title:
  error when logging in via console

Status in “update-notifier” package in Ubuntu:
  Confirmed

Bug description:
  When I log in via console, I get the following three errors /
  warnings:

              find: `/var/lib/update-notifier/updates-available': No such
              file or
              directory
              cat: /var/lib/update-notifier/updates-available: No such
              file or directory
              run-parts: /etc/update-motd.d/90-updates-available exited
              with return code 1

  These only happen with the console and not when using lxterminal or
  'su -l'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1206452/+subscriptions




More information about the foundations-bugs mailing list