[Solved] Software Manager hangs.

All Gurus once were Newbies
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. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help

[Solved] Software Manager hangs.

Postby russellz on Sun Jan 13, 2013 6:40 am

Hi,

It used to work OK but now it works OK unless I type anything in the search box. After I type the first character it just freezes and all I can do is force close.

I looked at "top" in a terminal and when it freezes it is hogging 99% of the cpu time.

I tried running it (mintinstall) from a root terminal and the same thing happens. It gives a few status messages at first but when I try searching and it hangs I get no error message. If I then do CTRL-C i get:
Code: Select all
^CTraceback (most recent call last):
  File "/usr/lib/linuxmint/mintInstall/mintinstall.py", line 536, in on_search_terms_changed
    self.show_search_results(terms)
  File "/usr/lib/linuxmint/mintInstall/mintinstall.py", line 1407, in show_search_results
    model_applications.set_value(iter, 2, gtk.gdk.pixbuf_new_from_file(tmpFile.name + ".png"))
KeyboardInterrupt


The next time I tried it I got:
Code: Select all
^CTraceback (most recent call last):
  File "/usr/lib/linuxmint/mintInstall/mintinstall.py", line 536, in on_search_terms_changed
    self.show_search_results(terms)
  File "/usr/lib/linuxmint/mintInstall/mintinstall.py", line 1406, in show_search_results
    im.save (tmpFile.name + ".png")
  File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 1439, in save
    save_handler(self, fp, filename)
  File "/usr/lib/python2.7/dist-packages/PIL/PngImagePlugin.py", line 572, in _save
    ImageFile._save(im, _idat(fp, chunk), [("zip", (0,0)+im.size, 0, rawmode)])
  File "/usr/lib/python2.7/dist-packages/PIL/ImageFile.py", line 486, in _save
    l, s, d = e.encode(bufsize)
KeyboardInterrupt


So I guess it is just stuck in a loop somewhere. Can anyone help please.

Russell.
Last edited by russellz on Sun Jan 13, 2013 4:31 pm, edited 1 time in total.
Toshiba Satellite C870 13V laptop. Mint Mate 17
User avatar
russellz
Level 2
Level 2
 
Posts: 68
Joined: Sat Nov 24, 2012 7:02 am
Location: Millas, France

Linux Mint is funded by ads and donations.
 

Re: Software Manager hangs.

Postby xenopeek on Sun Jan 13, 2013 6:56 am

russellz wrote:So I guess it is just stuck in a loop somewhere.

Yes, it's searching all package names and all package descriptions (on 63.000+ packages) for any part of the text that matches that one letter you wanted to search for :D If you are a slow typer, or have a slow computer, open the Edit > Preferences menu and disable "Search while typing". Now you can type your search query and it will only start searching after you press enter. That should solve your problem.

For that option to be available you need to be using the latest version of Software Manager, which is installed by default on Linux Mint 14 and available by enabling the backports on Linux Mint 13.
User avatar
xenopeek
Level 21
Level 21
 
Posts: 15278
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Software Manager hangs.

Postby kc1di on Sun Jan 13, 2013 7:04 am

Sorry your having problems. Not sure what is causing it at the moment. but here are a couple things you can try.

1. Go to menu > Administration >synaptic package manager and try searching for your package there. see if it will install from synatpic.

2. In a terminal type the following commands one at a time.
Code: Select all
sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update


Then try sofware manager again.

good luck
John 3:16
Morse code an Early Digital Mode
Registered Linux User #462608
LinuxMint 17.1 Cinnamon/Mate
Image
User avatar
kc1di
Level 7
Level 7
 
Posts: 1535
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: Software Manager hangs.

Postby russellz on Sun Jan 13, 2013 3:38 pm

Thanks xenopeek, that does it.

Thanks also to kc1di, haven't tried your suggestion as xenopeek's did the trick.

Russell.
Toshiba Satellite C870 13V laptop. Mint Mate 17
User avatar
russellz
Level 2
Level 2
 
Posts: 68
Joined: Sat Nov 24, 2012 7:02 am
Location: Millas, France

Re: Software Manager hangs.

Postby kc1di on Sun Jan 13, 2013 3:38 pm

Glad it's working for you :)
John 3:16
Morse code an Early Digital Mode
Registered Linux User #462608
LinuxMint 17.1 Cinnamon/Mate
Image
User avatar
kc1di
Level 7
Level 7
 
Posts: 1535
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: [Solved] Software Manager hangs.

Postby DUCADUCADUC on Mon Jan 21, 2013 8:36 pm

Hi,
I've just started with Mint Nadia and had the same problem and fixed it with xenopeeks suggestion. It pays to search the previous questions!
DUCADUCADUC
Level 1
Level 1
 
Posts: 7
Joined: Thu Jan 03, 2013 7:06 pm


Return to Newbie Questions

Who is online

Users browsing this forum: No registered users and 33 guests