Page 1 of 1

Software Manager Hangs

Posted: Thu Dec 20, 2012 1:26 am
by bangbangbang
I just installed Linux Mint 14. Everything is great except the software manager hangs. I was trying to install the gedit latex plugins and the software manager just freezes. I ran mintinstall from the command line and got the following. Now sure how to proceed. Any help greatly appreciated.

sudo mintinstall
add_categories took 1.264 ms
build_matched_packages took 0.203 ms
1436
add_packages took 4487.109 ms
First run detected, initial set of reviews used
add_reviews took 1497.548 ms
__init__ took 6880.156 ms
show_category took 6.962 ms
Traceback (most recent call last):
File "/usr/lib/linuxmint/mintInstall/mintinstall.py", line 795, in show_package_if_apt_cached
self.show_package(pkg, tree)
File "/usr/lib/linuxmint/mintInstall/mintinstall.py", line 49, in wrapper
res = func(*arg)
File "/usr/lib/linuxmint/mintInstall/mintinstall.py", line 1478, in show_package
pkg.mark_install()
File "/usr/lib/python2.7/dist-packages/apt/deprecation.py", line 98, in deprecated_function
return func(*args, **kwds)
File "/usr/lib/python2.7/dist-packages/apt/package.py", line 1292, in mark_install
fixer.resolve(True)
SystemError: E:Unable to correct problems, you have held broken packages.
Overwriting reviews file in /home/lucas/.linuxmint/mintinstall/reviews.list
update_reviews took 535.360 ms
Killed

Re: Software Manager Hangs

Posted: Thu Dec 20, 2012 7:07 am
by kc1di
Hello bangbangbang and welcome to Mint,

please go to a terminal and type the following commands one at a time and then try software manager again.

Code: Select all

sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update
let us know if that works or not.
or if you get any error messages post them here.

Re: Software Manager Hangs

Posted: Thu Dec 20, 2012 4:31 pm
by bangbangbang
Hi, thanks for the quick reply!

I ran the two commands, and they did not produce errors.
However, the software manager still hangs. It is the same
output again:

sudo mintinstall
add_categories took 3.205 ms
build_matched_packages took 0.575 ms
4644
add_packages took 4502.298 ms
add_reviews took 1417.756 ms
__init__ took 6739.296 ms
show_category took 9.117 ms
Overwriting reviews file in /home/lucas/.linuxmint/mintinstall/reviews.list
Traceback (most recent call last):
File "/usr/lib/linuxmint/mintInstall/mintinstall.py", line 795, in show_package_if_apt_cached
self.show_package(pkg, tree)
File "/usr/lib/linuxmint/mintInstall/mintinstall.py", line 49, in wrapper
res = func(*arg)
File "/usr/lib/linuxmint/mintInstall/mintinstall.py", line 1478, in show_package
pkg.mark_install()
File "/usr/lib/python2.7/dist-packages/apt/deprecation.py", line 98, in deprecated_function
return func(*args, **kwds)
File "/usr/lib/python2.7/dist-packages/apt/package.py", line 1292, in mark_install
fixer.resolve(True)
SystemError: E:Unable to correct problems, you have held broken packages.
update_reviews took 743.943 ms
Killed

Re: Software Manager Hangs

Posted: Thu Dec 20, 2012 4:52 pm
by bangbangbang
Now that I try to install more things, it seems like it is really just the
gedit latex plugin that makes it hang forever when trying to install.
Now sure why it does not like that particular package.

I can install other things just fine. However, the SM still hangs when it
tries to search while typing. I tried to turn this off but that setting does
not persist between closing and running the SM again.

Re: Software Manager Hangs

Posted: Thu Dec 20, 2012 5:14 pm
by kc1di
well I'm not sure why it's hanging on that particular file. but have you tried installing it via Administration >Synaptic ?
I'm using mate DE here and it installs fine.
Good Luck

Re: Software Manager Hangs

Posted: Thu Dec 20, 2012 5:22 pm
by bangbangbang
Well, it also will not install through the Package Manager.

I would still like to fix the fact that the SM hangs when searching while typing.

Since it does now hang when searching while typing is off, how can i make that
setting persist between uses of the SM?

Re: Software Manager Hangs

Posted: Sat Feb 09, 2013 10:28 am
by kc1di
OtsegoWeb wrote:I am having the same problem. I type one letter in the Software Manager text field and the Software Manager program freezes. Have to kill it with xkill. I have Linux Mint 14 Cinnamon 64x on a new Dell 660s. Thanks in advance.

John
go to Software manager and then edit tab and uncheck the search in package summery , think that may help.

Re: Software Manager Hangs

Posted: Sat Feb 09, 2013 7:05 pm
by methodius
kc1di wrote:
OtsegoWeb wrote:I am having the same problem. I type one letter in the Software Manager text field and the Software Manager program freezes. Have to kill it with xkill. I have Linux Mint 14 Cinnamon 64x on a new Dell 660s. Thanks in advance.

John
go to Software manager and then edit tab and uncheck the search in package summery , think that may help.

I had same problem, i uncheck the search in package summery and solved thanks..

Re: Software Manager Hangs

Posted: Tue Mar 19, 2013 6:35 am
by hairybiker
hairybiker@duo:~$ apt install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
hairybiker@duo:~$ sudo mintinstall
add_categories took 1.607 ms
build_matched_packages took 0.261 ms
add_packages took 417.286 ms
3926
add_reviews took 1073.905 ms
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
__init__ took 2241.771 ms
show_category took 12.354 ms
show_category took 344.190 ms
show_category took 311.775 ms
show_category took 17.963 ms
Traceback (most recent call last):
File "/usr/lib/linuxmint/mintInstall/mintinstall.py", line 795, in show_package_if_apt_cached
self.show_package(pkg, tree)
File "/usr/lib/linuxmint/mintInstall/mintinstall.py", line 49, in wrapper
res = func(*arg)
File "/usr/lib/linuxmint/mintInstall/mintinstall.py", line 1478, in show_package
pkg.mark_install()
File "/usr/lib/python2.7/dist-packages/apt/deprecation.py", line 98, in deprecated_function
return func(*args, **kwds)
File "/usr/lib/python2.7/dist-packages/apt/package.py", line 1292, in mark_installhairybiker@duo:~$ apt install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
hairybiker@duo:~$ sudo mintinstall
add_categories took 1.607 ms
build_matched_packages took 0.261 ms
add_packages took 417.286 ms
3926
add_reviews took 1073.905 ms
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
__init__ took 2241.771 ms
show_category took 12.354 ms
show_category took 344.190 ms
show_category took 311.775 ms
show_category took 17.963 ms
Traceback (most recent call last):
File "/usr/lib/linuxmint/mintInstall/mintinstall.py", line 795, in show_package_if_apt_cached
self.show_package(pkg, tree)
File "/usr/lib/linuxmint/mintInstall/mintinstall.py", line 49, in wrapper
res = func(*arg)
File "/usr/lib/linuxmint/mintInstall/mintinstall.py", line 1478, in show_package
pkg.mark_install()
File "/usr/lib/python2.7/dist-packages/apt/deprecation.py", line 98, in deprecated_function
return func(*args, **kwds)
File "/usr/lib/python2.7/dist-packages/apt/package.py", line 1292, in mark_install
fixer.resolve(True)
SystemError: E:Unable to correct problems, you have held broken packages.

fixer.resolve(True)
SystemError: E:Unable to correct problems, you have held broken packages.
I am having the same issue.
I don't normally use SM (I think this is the first time)

I get :-
hairybiker@duo:~$ apt install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
hairybiker@duo:~$ sudo mintinstall
add_categories took 1.607 ms
build_matched_packages took 0.261 ms
add_packages took 417.286 ms
3926
add_reviews took 1073.905 ms
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
__init__ took 2241.771 ms
show_category took 12.354 ms
show_category took 344.190 ms
show_category took 311.775 ms
show_category took 17.963 ms
Traceback (most recent call last):
File "/usr/lib/linuxmint/mintInstall/mintinstall.py", line 795, in show_package_if_apt_cached
self.show_package(pkg, tree)
File "/usr/lib/linuxmint/mintInstall/mintinstall.py", line 49, in wrapper
res = func(*arg)
File "/usr/lib/linuxmint/mintInstall/mintinstall.py", line 1478, in show_package
pkg.mark_install()
File "/usr/lib/python2.7/dist-packages/apt/deprecation.py", line 98, in deprecated_function
return func(*args, **kwds)
File "/usr/lib/python2.7/dist-packages/apt/package.py", line 1292, in mark_install
fixer.resolve(True)
SystemError: E:Unable to correct problems, you have held broken packages.
Now apt update -f shows no broken packes, and synaptic works fine.
I have disabled the suggestion in preferences but it still hangs.

EDIT:
It looks like it is the game I was trying to install (freeciv) it failes in synaptic with itself!
Trying to install freeciv-client (any) gives a conflict with itself.