I have a problem with ubuntu software center. When I try to launch it from the dock the icon blinks and then closes. If I try to launch it from terminal I get this message.
gksarkis@ubuntu:~$ gksudo software-center
(gksudo:2919): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
(gksudo:2919): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
(gksudo:2919): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
(gksudo:2919): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
File "/usr/bin/software-center", line 44, in <module>
from softwarecenter.utils import ExecutionTime
File "/usr/share/software-center/softwarecenter/utils.py", line 682, in <module>
from softwarecenter.db.pkginfo import get_pkg_info
File "/usr/share/software-center/softwarecenter/db/__init__.py", line 2, in <module>
from debfile import DebFileApplication
File "/usr/share/software-center/softwarecenter/db/debfile.py", line 21, in <module>
from apt import Cache
File "/usr/lib/python2.7/dist-packages/apt/__init__.py", line 35, in <module>
apt_pkg.init()
SystemError: E:Syntax error /etc/apt/apt.conf.d/70debconf:4: Extra junk at end of file
sarkis@ubuntu:~$
Also when I try to install a software from terminal I get this message.
sarkis@ubuntu:~$ sudo apt-get cheese
[sudo] password for sarkis:
E: Syntax error /etc/apt/apt.conf.d/70debconf:4: Extra junk at end of file
sarkis@ubuntu:~$
What should I do?
Thanks in advance for your help.
*There is a red button at the top bar that displays: An error occurred, please run Package Manager from the right-click menu or apt-get in a terminal to see what's wrong. The error message was 'Unkown Error': '(E: Syntax error /etc/apt/apt.conf.d/70debconf:4: Extra junk at end of file)'
/etc/apt/apt.conf.d/70debconf
on pastebin.ubuntu.com and then add the link to your question, thanks! – Jorge Castro Dec 20 '12 at 18:55http://pastebin.ubuntu.com/1453196/
– Sarkis Kuri Dec 20 '12 at 20:21cat /etc/apt/apt.conf.d/70debconf
– tumbleweed Dec 23 '12 at 08:51