synaptic package manager doesn't respond. Solved

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
window_licker
Level 1
Level 1
Posts: 20
Joined: Wed Mar 08, 2023 6:43 am

synaptic package manager doesn't respond. Solved

Post by window_licker »

Hello.
The synaptic package manager doesn't respond.
It opens, but nothing responds apart from the min/max sizing
for the window. The only way to close it is to use the force quit
applet (I am aware there is a terminal command for this, but
I can never remember it) that I have installed.

I am currently using LM 21.1 Cinnamon, but I had this
problem when I was on LM 20. I used the new upgrade tool
to install 21.0 but it seems to have persisted.

I update and backup (timeshift) once a week.
I am using a Dell pc and recently did the built in system diagnostic
which took about an hour and everything was fine.

Any help/suggestions would be appreciated!
Last edited by LockBot on Thu Oct 19, 2023 10:00 pm, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
mikeflan
Level 17
Level 17
Posts: 7431
Joined: Sun Apr 26, 2020 9:28 am
Location: Houston, TX

Re: synaptic package manager doesn't respond

Post by mikeflan »

Please post the results of this in a terminal:

Code: Select all

synaptic-pkexec
linux-rox
Level 10
Level 10
Posts: 3355
Joined: Sun Jul 19, 2020 9:17 pm

Re: synaptic package manager doesn't respond

Post by linux-rox »

Does Update Manager work? UM is a front end for Synaptic, so if it works Synaptic pretty much has to be fundamentally sound also.
window_licker
Level 1
Level 1
Posts: 20
Joined: Wed Mar 08, 2023 6:43 am

Re: synaptic package manager doesn't respond

Post by window_licker »

mikeflan wrote: Fri Apr 21, 2023 9:01 am Please post the results of this in a terminal:

Code: Select all

synaptic-pkexec
(synaptic:5653): Gtk-CRITICAL **: 06:45:30.040: gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed
This opened spm, still unresponsive.
linux-rox wrote: Fri Apr 21, 2023 10:52 pm Does Update Manager work? UM is a front end for Synaptic, so if it works Synaptic pretty much has to be fundamentally sound also.
Yes Update Manager works.
I recently added another user account (just to learn the Linux Command Line and
Libre Office stuff), and SPM is unresponsive there as well.
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: synaptic package manager doesn't respond

Post by Cosmo. »

You can try this (not tested, so no guarantee).

Open your file manager with elevated rights (inside nemo right click an empty place, select to open as root) and go into /root. You should find there the folder .synaptic. Rename it. You will of course loose settings and history.
window_licker
Level 1
Level 1
Posts: 20
Joined: Wed Mar 08, 2023 6:43 am

Re: synaptic package manager doesn't respond

Post by window_licker »

Cosmo. wrote: Sat Apr 22, 2023 3:01 am You can try this (not tested, so no guarantee).

Open your file manager with elevated rights (inside nemo right click an empty place, select to open as root) and go into /root. You should find there the folder .synaptic. Rename it. You will of course loose settings and history.
I renamed it to '.packages'. It had no effect on the unresponsive SPM.
It created a new folder called .synaptic, which had one file called 'lock'
in it, the contents of which was a single word: 'lock.
I am now reverting back to square one.
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: synaptic package manager doesn't respond

Post by Cosmo. »

Another try:

Code: Select all

sudo rm /var/cache/apt/*.bin
sudo apt-get update
mikeflan
Level 17
Level 17
Posts: 7431
Joined: Sun Apr 26, 2020 9:28 am
Location: Houston, TX

Re: synaptic package manager doesn't respond

Post by mikeflan »

Here is what I would do.
Change mirrors in Software Sources and test.
Timeshift back and test.
Reinstall LM.
window_licker
Level 1
Level 1
Posts: 20
Joined: Wed Mar 08, 2023 6:43 am

Re: synaptic package manager doesn't respond

Post by window_licker »

Cosmo. wrote: Sat Apr 22, 2023 7:40 am Another try:

Code: Select all

sudo rm /var/cache/apt/*.bin
sudo apt-get update
That, unfortunately, had no effect.
mikeflan wrote: Sat Apr 22, 2023 7:41 am Here is what I would do.
Change mirrors in Software Sources and test.
Timeshift back and test.
Reinstall LM.
Changing mirrors didn't help any.
I think I may well have to do a full reinstall.
I'll give it another day, as someone may still have a solution
to this.
linux-rox
Level 10
Level 10
Posts: 3355
Joined: Sun Jul 19, 2020 9:17 pm

Re: synaptic package manager doesn't respond

Post by linux-rox »

Shot in the dark, I'd try: apt purge synaptic, then apt install synaptic. I'd do it that way, rather than the simple apt install --reinstall synaptic, on the theory it's more likely a config file has gone sideways than the app itself.
sleeper12
Level 21
Level 21
Posts: 14886
Joined: Thu May 25, 2017 3:22 pm

Re: synaptic package manager doesn't respond

Post by sleeper12 »

linux-rox wrote: Sat Apr 22, 2023 11:29 am Shot in the dark, I'd try: apt purge synaptic, then apt install synaptic. I'd do it that way, rather than the simple apt install --reinstall synaptic, on the theory it's more likely a config file has gone sideways than the app itself.
That was my first thought as well. Worth a try anyway.
window_licker
Level 1
Level 1
Posts: 20
Joined: Wed Mar 08, 2023 6:43 am

Re: synaptic package manager doesn't respond

Post by window_licker »

linux-rox wrote: Sat Apr 22, 2023 11:29 am Shot in the dark, I'd try: apt purge synaptic, then apt install synaptic. I'd do it that way, rather than the simple apt install --reinstall synaptic, on the theory it's more likely a config file has gone sideways than the app itself.
No luck with that, even after a restart.
Looks like a reinstall. It'll be fun!
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: synaptic package manager doesn't respond

Post by Cosmo. »

You wrote, that you do weekly Timeshift snapshots. So restore the system to a state, where Synaptic worked.
window_licker
Level 1
Level 1
Posts: 20
Joined: Wed Mar 08, 2023 6:43 am

Re: synaptic package manager doesn't respond

Post by window_licker »

Cosmo. wrote: Sun Apr 23, 2023 3:56 am You wrote, that you do weekly Timeshift snapshots. So restore the system to a state, where Synaptic worked.
I didn't explain myself very well. I do weekly Timeshift snapshots
but I have had this problem since LM 20 and I upgraded a month
after LM 21 was released, and since I only keep 2 snapshots,
I haven't got one that goes back that far.

Anyway I did a reinstall, and SPM still didn't
work. :-(. So I Timeshifted back again.

However, there is one change. Before the reinstall
the Software Manger showed only the Launch option and a cannot be removed
option that was greyed out. Now it has the Launch option in Green and the Remove option in
red. I have just launched, removed, reinstalled it, restarted the pc, and still nothing,
apart from removing the Mint update manager that is.
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: synaptic package manager doesn't respond

Post by Cosmo. »

I cannot follow.
window_licker wrote: Sun Apr 23, 2023 11:47 am Anyway I did a reinstall, and SPM still didn't
work. :-(. So I Timeshifted back again.
You reinstalled what? LM 20 or LM 21 or LM 21.1?
And in this brand new install did SPM not work? Hard to believe.
Did you try, how SPM behaved on the live system? Otherwise do it now.

Further: You did after the fresh install a TS restore. I do not understand to what.
It seems, that there are several holes in your description.
window_licker
Level 1
Level 1
Posts: 20
Joined: Wed Mar 08, 2023 6:43 am

Re: synaptic package manager doesn't respond

Post by window_licker »

Cosmo. wrote: Sun Apr 23, 2023 2:23 pm I cannot follow.
window_licker wrote: Sun Apr 23, 2023 11:47 am Anyway I did a reinstall, and SPM still didn't
work. :-(. So I Timeshifted back again.
You reinstalled what? LM 20 or LM 21 or LM 21.1?
And in this brand new install did SPM not work? Hard to believe.
Did you try, how SPM behaved on the live system? Otherwise do it now.

Further: You did after the fresh install a TS restore. I do not understand to what.
It seems, that there are several holes in your description.
I am on LM 21.1. I renistalled LM 21.0. Synpatic Package Manager did not respond.
I just tried it on the live system and it works.

Since, the reinstall of 21.0 did not solve the issue, I Timeshifted back to 21.1.
It took me 2 attempts to figure out how Timeshifting worked, that's about five hours,
so I'm not in a hurry to do another one.
linux-rox
Level 10
Level 10
Posts: 3355
Joined: Sun Jul 19, 2020 9:17 pm

Re: synaptic package manager doesn't respond

Post by linux-rox »

window_licker wrote: Sun Apr 23, 2023 3:04 pm It took me 2 attempts to figure out how Timeshifting worked, that's about five hours,
so I'm not in a hurry to do another one.
What took five hours? Reading about it or the restore? If the former, well yeah, learning new stuff often takes time. If you're not going to use Timeshift, though, you should use some other system backup tool. That will have a learning curve also. And, whichever tool you should use, you should practice doing the restore now. Waiting until you need it is both stressful and risky.

If you mean the restore process took hours, you either have a hardware problem or are doing snapshots incorrectly.
window_licker
Level 1
Level 1
Posts: 20
Joined: Wed Mar 08, 2023 6:43 am

Re: synaptic package manager doesn't respond

Post by window_licker »

linux-rox wrote: Sun Apr 23, 2023 9:39 pm
window_licker wrote: Sun Apr 23, 2023 3:04 pm It took me 2 attempts to figure out how Timeshifting worked, that's about five hours,
so I'm not in a hurry to do another one.
What took five hours? Reading about it or the restore? If the former, well yeah, learning new stuff often takes time. If you're not going to use Timeshift, though, you should use some other system backup tool. That will have a learning curve also. And, whichever tool you should use, you should practice doing the restore now. Waiting until you need it is both stressful and risky.

If you mean the restore process took hours, you either have a hardware problem or are doing snapshots incorrectly.
The restore process took hours because I had to do it twice.
The first time I didn't enter the boot destination.
And then I had to search for the right way to restore.
And then I restored it successfully.
Nothing wrong with my hardware. Just ignorant.
mikeflan
Level 17
Level 17
Posts: 7431
Joined: Sun Apr 26, 2020 9:28 am
Location: Houston, TX

Re: synaptic package manager doesn't respond

Post by mikeflan »

The restore process took hours because I had to do it twice.
The actual restore should take 3 - 7 minutes. No more than that. If it takes more than that then we need to know more about your OS partition. EXT4? SSD or HD? How big is it?
window_licker
Level 1
Level 1
Posts: 20
Joined: Wed Mar 08, 2023 6:43 am

Re: synaptic package manager doesn't respond

Post by window_licker »

mikeflan wrote: Mon Apr 24, 2023 9:16 pm
The restore process took hours because I had to do it twice.
The actual restore should take 3 - 7 minutes. No more than that. If it takes more than that then we need to know more about your OS partition. EXT4? SSD or HD? How big is it?
It is an external hard drive (housed inside the pc).
Total capacity 156.4 GB.
101.6 GB used
Filesystem type: ext3/ext4
My main drive is also an ssd.

The only thing on that drive is Timeshift.
Maybe it is slow because I have a lot of stuff.
When it was restoring, I noticed that there were over
43 million log files being processed.
I am looking at the properties of my 'ananconda' folder right now,
and after a couple of minutes it is 9 GB and rising.
Last edited by window_licker on Tue Apr 25, 2023 5:19 am, edited 1 time in total.
Locked

Return to “Software & Applications”