Describe the bugmintupdate freezes in certain conditions. The condition in my case is unresolved dependencies. There is a thread in linux mint forums: Mint 21.2 update manager. The reason is error_msg is None in file /usr/lib/linuxmint/mintUpdate/mintUpdate.py line 905.
Expected behaviormintupdate shouldn't freeze. Probably need to print some user-friendly message
Distribution:
[x] Linux Mint
[ ] LMDE
[ ] Other (please specify)
Software version:
6.0.3
Crash report:
$ mintupdate
/usr/lib/linuxmint/mintUpdate/mintUpdate.py:1368: DeprecationWarning: Gdk.threads_init is deprecated
Gdk.threads_init()
/usr/lib/linuxmint/mintUpdate/mintUpdate.py:1751: DeprecationWarning: Gdk.threads_enter is deprecated
Gdk.threads_enter()
/usr/lib/linuxmint/mintUpdate/mintUpdate.py:796: DeprecationWarning: Gdk.threads_leave is deprecated
Gdk.threads_leave()
Traceback (most recent call last):
File "/usr/lib/linuxmint/mintUpdate/checkAPT.py", line 356, in <module>
check.find_changes()
File "/usr/lib/linuxmint/mintUpdate/checkAPT.py", line 43, in find_changes
self.cache.upgrade(True) # dist-upgrade
File "/usr/lib/python3/dist-packages/apt/cache.py", line 372, in upgrade
self._depcache.upgrade(dist_upgrade)
apt_pkg.Error: E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
-- Exception occurred in the refresh thread:
Traceback (most recent call last):
File "/usr/lib/linuxmint/mintUpdate/mintUpdate.py", line 905, in run
self.application.builder.get_object("label_error_details").set_text(error_msg)
TypeError: Argument 1 does not allow None as a value
Describe the bug
mintupdate
freezes in certain conditions. The condition in my case is unresolved dependencies. There is a thread in linux mint forums: Mint 21.2 update manager. The reason iserror_msg
isNone
in file/usr/lib/linuxmint/mintUpdate/mintUpdate.py
line 905.Expected behavior
mintupdate
shouldn't freeze. Probably need to print some user-friendly messageDistribution:
Software version: 6.0.3
Crash report: