Unable to open Synaptic, Update Manager or Package Manager

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
8AfterMint

Unable to open Synaptic, Update Manager or Package Manager

Post by 8AfterMint »

Hi all,
I couple of day ago , I changed both my apt.config and my bashrc files to work my university proxy and has since restored them. Since then I have not been able to open the above-method programs. There are no error messages they just don't start. If I open Synaptic via the terminal I receive the follow error message:

Code: Select all

E: Could not open file /var/cache/apt/pkgcache.bin - open (2: No such file or directory)
E: _cache->open() failed, please report.
as well as this in the terminal

Code: Select all

(synaptic:7643): GLib-GObject-CRITICAL **: g_object_set_data: assertion `G_IS_OBJECT (object)' failed

(synaptic:7643): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(synaptic:7643): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
if I try to open mintinstall via the terminal

Code: Select all

usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)
Traceback (most recent call last):
  File "/usr/lib/linuxmint/mintInstall/mintinstall.py", line 28, in <module>
    from widgets.pathbar2 import NavigationBar
  File "/usr/lib/linuxmint/mintInstall/widgets/pathbar2.py", line 1025, in <module>
    class PathBarThemeHuman:
  File "/usr/lib/linuxmint/mintInstall/widgets/pathbar2.py", line 1038, in PathBarThemeHuman
    animate = gtk.settings_get_default().get_property("gtk-enable-animations")
AttributeError: 'NoneType' object has no attribute 'get_property'

Please help! it is very urgent.

Thanks
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
bigj231

Re: Unable to open Synaptic, Update Manager or Package Manag

Post by bigj231 »

So you can't use apt-get either? I guess you could try using dpkg to reinstall the apt components, but I don't know if that will work. Make a backup and start trying different things. A reinstall might be easiest though.
Locked

Return to “Beginner Questions”