Não consigo abrir o Gerenciador de Atualizações e o Ubuntu Tweak
quando eu abro o tweak do Ubuntu eu recebo este log
user@laptop:~$ ubuntu-tweak
Traceback (most recent call last):
File "/usr/bin/ubuntu-tweak", line 124, in <module>
from ubuntutweak.main import UbuntuTweakWindow
File "/usr/lib/python2.7/dist-packages/ubuntutweak/main.py", line 32, in <module>
from ubuntutweak.apps import AppsPage
File "/usr/lib/python2.7/dist-packages/ubuntutweak/apps/__init__.py", line 9, in <module>
from aptsources.sourceslist import SourcesList
File "/usr/lib/python2.7/dist-packages/aptsources/__init__.py", line 4, in <module>
apt_pkg.init()
SystemError: E:Opening configuration file /etc/apt/apt.conf.d/00aptitude - ifstream::ifstream (13: Permission denied)
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/apport_python_hook.py", line 64, in apport_excepthook
from apport.fileutils import likely_packaged, get_recent_crashes
File "/usr/lib/python2.7/dist-packages/apport/__init__.py", line 4, in <module>
from apport.report import Report
File "/usr/lib/python2.7/dist-packages/apport/report.py", line 30, in <module>
import apport.fileutils
File "/usr/lib/python2.7/dist-packages/apport/fileutils.py", line 23, in <module>
from apport.packaging_impl import impl as packaging
File "/usr/lib/python2.7/dist-packages/apport/packaging_impl.py", line 20, in <module>
import apt
File "/usr/lib/python2.7/dist-packages/apt/__init__.py", line 35, in <module>
apt_pkg.init()
SystemError: E:Opening configuration file /etc/apt/apt.conf.d/00aptitude - ifstream::ifstream (13: Permission denied)
Original exception was:
Traceback (most recent call last):
File "/usr/bin/ubuntu-tweak", line 124, in <module>
from ubuntutweak.main import UbuntuTweakWindow
File "/usr/lib/python2.7/dist-packages/ubuntutweak/main.py", line 32, in <module>
from ubuntutweak.apps import AppsPage
File "/usr/lib/python2.7/dist-packages/ubuntutweak/apps/__init__.py", line 9, in <module>
from aptsources.sourceslist import SourcesList
File "/usr/lib/python2.7/dist-packages/aptsources/__init__.py", line 4, in <module>
apt_pkg.init()
SystemError: E:Opening configuration file /etc/apt/apt.conf.d/00aptitude - ifstream::ifstream (13: Permission denied)
e quando eu abro o gerenciador de atualização eu recebo isso
user@laptop:~$ update-manager
Traceback (most recent call last):
File "/usr/bin/update-manager", line 37, in <module>
from UpdateManager.UpdateManager import UpdateManager
File "/usr/lib/python3/dist-packages/UpdateManager/UpdateManager.py", line 52, in <module>
from .InstallProgress import InstallProgress
File "/usr/lib/python3/dist-packages/UpdateManager/InstallProgress.py", line 42, in <module>
from .Core.utils import (inhibit_sleep,
File "/usr/lib/python3/dist-packages/UpdateManager/Core/utils.py", line 31, in <module>
apt_pkg.init_config()
SystemError: E:Opening configuration file /etc/apt/apt.conf.d/00aptitude - ifstream::ifstream (13: Permission denied)
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 64, in apport_excepthook
from apport.fileutils import likely_packaged, get_recent_crashes
File "/usr/lib/python3/dist-packages/apport/__init__.py", line 4, in <module>
from apport.report import Report
File "/usr/lib/python3/dist-packages/apport/report.py", line 30, in <module>
import apport.fileutils
File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in <module>
from apport.packaging_impl import impl as packaging
File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 20, in <module>
import apt
File "/usr/lib/python3/dist-packages/apt/__init__.py", line 35, in <module>
apt_pkg.init()
SystemError: E:Opening configuration file /etc/apt/apt.conf.d/00aptitude - ifstream::ifstream (13: Permission denied)
Original exception was:
Traceback (most recent call last):
File "/usr/bin/update-manager", line 37, in <module>
from UpdateManager.UpdateManager import UpdateManager
File "/usr/lib/python3/dist-packages/UpdateManager/UpdateManager.py", line 52, in <module>
from .InstallProgress import InstallProgress
File "/usr/lib/python3/dist-packages/UpdateManager/InstallProgress.py", line 42, in <module>
from .Core.utils import (inhibit_sleep,
File "/usr/lib/python3/dist-packages/UpdateManager/Core/utils.py", line 31, in <module>
apt_pkg.init_config()
SystemError: E:Opening configuration file /etc/apt/apt.conf.d/00aptitude - ifstream::ifstream (13: Permission denied)
Isso vem acontecendo depois que eu limpei toda a minha raiz do Ubuntu e usei minha partição anterior existente.
Existe um ícone de notificação de atualização que não consigo usar porque nenhuma das opções pode ser clicada. Além disso, este ícone não para de mostrar, mesmo depois de atualizar a partir da linha de comando.