margot:/home/moses# wajig sizes
Traceback (most recent call last):
File "/usr/share/wajig/wajig.py", line 32, in ?
import documentation,commands,changes,perform
File "/usr/share/wajig/commands.py", line 38, in ?
import apt_pkg
ImportError: No module named apt_pkg
Thank you for the bug report. I am currently attempting to replicate
this. I have seen this when downgrading apt-get once. Are you likely
to have downgraded apt-get lately?
Nope. I'm running unstable for just about everything.
I found another machine where wajig isn't giving errors, and I can see
that the missing python module 'apt_pkg' belongs to the package
'python-apt'. apt_pkg.so /is/ on my machine:
[EMAIL PROTECTED]:~$ dpkg -S apt_pkg
python2.3-apt: /usr/lib/python2.3/site-packages/apt_pkg.so
... hang on.
[EMAIL PROTECTED]:~$ ls -l /usr/bin/python
lrwxrwxrwx 1 root root 9 2005-08-02 17:16 /usr/bin/python -> python2.4
Riiight. Python 2.4 won't pick up the python2.3 site-specific packages.
I changed /usr/bin/python because I have some python code that wants to
use the 2.4 version of urllib2.py. I'll figure something out.
Please close this bug and add the solution to the big book of things to try.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]