Closed kimariterikishi closed 4 years ago
You've provided a lot of information with this observation but it's not reproducible with the provided steps (1. Go to 'mintupdate open GUI'; 2. Click on 'Refresh'; 3. See error) nor does blacklisting a package in mintupdate and/or (I tried both) locking the version of the same package in Synaptic, or after lifting the lock, make a difference to reproduce this.
It looks unrelated to blacklisting / locking the version and to be that your apt lists files have a problem following from network issues on your system. I suggest you try to run Fix MergeList problems from Software Sources > Maintenance to see if that will fix it. Otherwise in Software Sources switch your main and base mirrors to a server closer to you. For further help with troubleshooting this I suggest to first take more help from the support forums to narrow down on exact steps to reproduce it, also on other systems. If you can narrow down on steps to reproduce this on other systems please open a new issue.
To answer some questions you had:
~/.config/dconf/user
). You can query the blacklists stored in the dconf database with command: gsettings get com.linuxmint.updates blacklisted-packages
or dconf read /com/linuxmint/updates/blacklisted-packages
.xxd /var/lib/synaptic/preferences
to see after you've removed locks it just has 0x0a (newline) character in it. Not a problem./tmp/mintUpdate/
directory. Look in the newest file after you have an issue in mintupdate.
By the way, the problem arose on a Mint forum. I was looking for a reason ...
Cause of the error:
My forum partner blacklisted the mintstick application in Update Manager, but also locked the minstick application (in parallel) in Synaptic Package Manager.
So far, everything is working fine.
The error occurs when I unlock the minstick application in Synaptic!
I searched, Synaptic stores the lock in the preferences file.
File path:
/var/lib/synaptic/preferences
Contents
at the time of locking:
-- read
cat /var/lib/synaptic/preferences
-- output
one line that looks empty remains after the unlock in terminal output (when I read preferences file with cat).
Examined with the diff application, the empty line already looks different: (I created a new lock, and then unlocked. Therefore, the preferences file that I renamed earlier „mv” exists.)
diff preferences.ORIG preferences
... there is no difference here.
and highlighted 0a1,3 what would (I think) be important, which is not visible in the lock settings after the lock above:
To fix the Update Manager error, rename the preferences file:
sudo mv /var/lib/synaptic/preferences /var/lib/synaptic/preferences.ORIG
I've figured out the cause of the error, maybe it might be worth making some fixes for this event as well. I know the user's thinking wasn't reasonable, but he still did what he did ...
The cause of the error is to unlock the application in Synaptic Package Manager.
Describe the bug The error only occurs in the graphical interface. When the panel is updated with an application when the GUI is not open, the update is OK. (Picture 5) It may also be related to using the blacklist option. Signed up today, with version 5.6.7.
Screenshots
![mintupdate 5 6 7 - frissítés (Ulyana Beta)_05](https://user-images.githubusercontent.com/44789359/85220246-3ac4a700-b3aa-11ea-9eef-e583aab6430d.png)
To Reproduce
Expected behavior Opening the mintupdate in the GUI, there is an error.
Distribution: Linux Mint 20 (beta), Cinnamon Desktop Environment
Software version: mintupdate 5.6.7 and 5.6.8
Logs: Where is mintupdate.log? I don't know.
Crash report: (LANGUAGE=en mintupdate)
Additional context
Locale: HU (Hungarian) EN (LANGUAGE=en mintupdate)
It's duplicate here (stable line): https://github.com/linuxmint/mintupdate/issues/627 Sorry.
I tried to find out where the Update Manager stores the blacklist setting. No results yet, search in progress:
sudo grep -insr "mintstick" /
... but that’s just curiosity on the part, it doesn’t belong closely to the bug report.