Re: apt-listchanges refuses to work
On Tuesday 01 March 2005 23:19, Maximiliano Combina wrote:
> there is only the following file (i found it with dpkg -L python-apt):
> /usr/lib/python2.3/site-packages/apt_pkg.so
>
> so, i think that you are right... python is not searching in the right
> place. the question is: how do i say pyhton to search in the right
> place?
Sorry I haven't replied to this sooner. Try running this:
python /etc/python2.3/site.py
It should list what's in your python path. Mine looks like this:
sys.path = [
'/etc/python2.3',
'/usr/lib/python23.zip',
'/usr/lib/python2.3',
'/usr/lib/python2.3/plat-linux2',
'/usr/lib/python2.3/lib-tk',
'/usr/lib/python2.3/lib-dynload',
'/usr/local/lib/python2.3/site-packages',
'/usr/lib/python2.3/site-packages',
'/usr/lib/python2.3/site-packages/HTMLgen',
'/usr/lib/python2.3/site-packages/Numeric',
'/usr/lib/python2.3/site-packages/PIL',
'/usr/lib/python2.3/site-packages/gtk-2.0',
'/usr/lib/site-python',
]
If yours is similar, or even just contains /usr/lib/python2.3/site-packages,
then I suggest the following, as Anthony mentioned:
apt-get --purge remove python-apt
apt-get install python-apt
--
Lee.
Reply to: