gruppler
November 1st, 2010, 04:41 AM
Let me start by saying that I rarely post my problems because I'm usually able to find solutions by searching. However, after several weeks of fruitless intermittent searching, I've decided to throw in the towel and ask for help.
After upgrading from 10.4 to 10.10, the Ubuntu Software Center refused to start, and I got an icon in the notification area saying that "a problem occurred when checking for the updates." When I run software-center in the terminal, I get this error message:
Traceback (most recent call last):
File "/usr/bin/software-center", line 88, in <module>
from softwarecenter.app import SoftwareCenterApp
File "/usr/share/software-center/softwarecenter/app.py", line 32, in <module>
import xapian
File "/usr/lib/python2.6/dist-packages/xapian.py", line 1278, in <module>
Document.add_boolean_term = new_instancemethod(_xapian.Document_add_boolean_te rm,None,Document)
AttributeError: 'module' object has no attribute 'Document_add_boolean_term'
Likewise, when I run add-apt-repository, I get this:
Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 8, in <module>
from softwareproperties.SoftwareProperties import SoftwareProperties
File "/usr/lib/python2.6/dist-packages/softwareproperties/SoftwareProperties.py", line 25, in <module>
import apt_pkg
ImportError: libapt-pkg-libc6.9-6.so.4.7: cannot open shared object file: No such file or directory
I've tried re-installing apt and all related packages, even dpkg, and even downloaded the apt package directly from the ubuntu web site, but no matter what I do, I can't run these things. Aptitude and apt-get seem to work fine, though.
After upgrading from 10.4 to 10.10, the Ubuntu Software Center refused to start, and I got an icon in the notification area saying that "a problem occurred when checking for the updates." When I run software-center in the terminal, I get this error message:
Traceback (most recent call last):
File "/usr/bin/software-center", line 88, in <module>
from softwarecenter.app import SoftwareCenterApp
File "/usr/share/software-center/softwarecenter/app.py", line 32, in <module>
import xapian
File "/usr/lib/python2.6/dist-packages/xapian.py", line 1278, in <module>
Document.add_boolean_term = new_instancemethod(_xapian.Document_add_boolean_te rm,None,Document)
AttributeError: 'module' object has no attribute 'Document_add_boolean_term'
Likewise, when I run add-apt-repository, I get this:
Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 8, in <module>
from softwareproperties.SoftwareProperties import SoftwareProperties
File "/usr/lib/python2.6/dist-packages/softwareproperties/SoftwareProperties.py", line 25, in <module>
import apt_pkg
ImportError: libapt-pkg-libc6.9-6.so.4.7: cannot open shared object file: No such file or directory
I've tried re-installing apt and all related packages, even dpkg, and even downloaded the apt package directly from the ubuntu web site, but no matter what I do, I can't run these things. Aptitude and apt-get seem to work fine, though.