I am also having this issue, but your fix did not work for me. I'm running on an Asus K52N
AMD Turion II P540 Dual-Core Processor
Mobility Radeon HD 4200 Series (display)
Storage- SB7x0?SB8x0/SB9x0 SATA Controller [ACHI mode]
Disk- ATA Disk ST95005620AS Seagate
Please keep in mind I'm as new as new gets and I've been googling pretty much EVERYTHING I've read on these forums. So in lamens terms: just give me the dummies guide to the dummies guide.
hobbit@ALaptop:~$ sudo apt-get install --reinstall software-center
[sudo] password for hobbit:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/622 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 207166 files and directories currently installed.)
Preparing to replace software-center 5.2.6 (using .../software-center_5.2.6_all.deb) ...
Unpacking replacement software-center ...
Processing triggers for desktop-file-utils ...
Processing triggers for bamfdaemon ...
Processing triggers for gnome-menus ...
Processing triggers for man-db ...
Processing triggers for hicolor-icon-theme ...
Setting up software-center (5.2.6) ...
Updating software catalog...this may take a moment.
Traceback (most recent call last):
File "/usr/sbin/update-software-center", line 169, in <module>
result = rebuild_database(pathname)
File "/usr/share/software-center/softwarecenter/db/update.py", line 1043, in rebuild_database
File "/usr/share/software-center/softwarecenter/db/pkginfo_impl/aptcache.py", line 243, in open
self._cache = apt.Cache(GtkMainIterationProgress())
File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 102, in __init__
File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 149, in open
SystemError: E:Type '--2012-11-17' is not known on line 1 in source list /etc/apt/sources.list.d/playonlinux.list
E: Type '--2012-11-17' is not known on line 1 in source list /etc/apt/sources.list.d/playonlinux.list
E: The list of sources could not be read.
hobbit@ALaptop:~$ sudo -i
root@ALaptop:~# cd /var/cache/apt/archives
root@ALaptop:/var/cache/apt/archives# dpkg -i --force-overwrite software-center_126.96.36.199_all.deb
dpkg: error processing software-center_188.8.131.52_all.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing: