@resist[~:980]% /usr/lib/update-notifier/apt-check ; echo "" ; ps ax | grep 
update-notifier
Traceback (most recent call last):
  File "/usr/lib/update-notifier/apt-check", line 6, in <module>
    import apt_pkg
ImportError: No module named apt_pkg

 6240 ?        S      0:00 update-notifier
 6478 pts/5    R+     0:00 grep update-notifier


Uh oh, this looks like a /usr/bin/env mistake...

@resist[~:982]% head -1 /usr/lib/update-notifier/apt-check 
#!/usr/bin/env python

That's really not right for any system script!  It should explicitly use
the system python, not the one on my $PATH.  I'm a Python developer for
example and at any given time I could have any version or installation
of Python on my $PATH.

-- 
feisty update manager applet problems
https://launchpad.net/bugs/94434

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to