Results 1 to 7 of 7

Thread: Software center hangs

  1. #1
    Join Date
    Feb 2006
    Beans
    16

    Software center hangs

    After an unsuccessful installation of a unsupported program (remote server for spotify) my software center no longer works. I've updated from 12.04 to 12.10 and then to 13.04, with no change.
    This is what i get when trying to start USC:

    per@msi-u135:~$ software-center
    2013-05-20 19:31:59,166 - softwarecenter.ui.gtk3.app - INFO - setting up proxy 'None'
    2013-05-20 19:32:05,093 - softwarecenter.backend.reviews - WARNING - Could not get usefulness from server, no username in config file
    2013-05-20 19:32:05,100 - softwarecenter.plugin - INFO - activating plugin '<module 'webapps_activation' from '/usr/share/software-center/softwarecenter/plugins/webapps_activation.pyc'>'
    2013-05-20 19:32:05,138 - softwarecenter.fixme - WARNING - logs to the root logger: '('/usr/lib/python2.7/dist-packages/gi/importer.py', 51, 'find_module')'
    2013-05-20 19:32:05,137 - root - ERROR - Could not find any typelib for LaunchpadIntegration
    2013-05-20 19:32:05,803 - softwarecenter.db.pkginfo_impl.aptcache - INFO - aptcache.open()

    apt-get update reports the following (unhelpful) tip:

    .......
    Ign http://security.ubuntu.com raring-security/universe Translation-da_DK
    Ign http://security.ubuntu.com raring-security/universe Translation-da
    Ign http://dk.archive.ubuntu.com raring-updates/universe Translation-da
    Reading package lists... Done
    W: Duplicate sources.list entry http://archive.canonical.com/ raring/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_dists_raring_partner_binary-i386_Packages)
    W: You may want to run apt-get update to correct these problems

  2. #2
    Join Date
    Mar 2005
    Location
    Isle of Bute, Scotland
    Beans
    369
    Distro
    Ubuntu Gnome 14.04 Trusty Tahr

    Re: Software center hangs

    Have you tried
    Code:
    sudo apt-get purge software-center
    
    sudo apt-get install software-center
    Running 14.04 on my HP Pavilion g6 4 Gig Ram 320 Gig Disc

  3. #3
    Join Date
    Dec 2006
    Beans
    7,349

    Re: Software center hangs

    Or perhaps take a step sideways:

    Code:
    sudo apt-get install synaptic
    You think that's air you're breathing now?

  4. #4
    Join Date
    Feb 2006
    Beans
    16

    Re: Software center hangs

    Thanks for the tip. Unfortunately this didn't help. Seems like it's time for a fresh install (or start using Synaptic, but I hate to be forced to change by inability to correct an error).

  5. #5
    Join Date
    Dec 2006
    Beans
    7,349

    Re: Software center hangs

    Quote Originally Posted by per engberg View Post
    (or start using Synaptic, but I hate to be forced to change by inability to correct an error).
    I can see where you are coming from but Synaptic is not such a bad choice, I use it in preference to the Software Centre.
    You think that's air you're breathing now?

  6. #6
    Join Date
    May 2009
    Location
    Courtenay, BC, Canada
    Beans
    1,661

    Re: Software center hangs

    give
    Code:
    sudo apt-get update; sudo apt-get dist-upgrade -y
    a try

    personally I prefer aptitude to any of the GUI updaters, and knowing dpkg and apt is helpful in case you get any problems down the road
    Last edited by HiImTye; May 23rd, 2013 at 01:20 AM.

  7. #7
    Join Date
    Oct 2013
    Beans
    3

    Lightbulb Re: Software center hangs

    Quote Originally Posted by per engberg View Post
    After an unsuccessful installation of a unsupported program (remote server for spotify) my software center no longer works. I've updated from 12.04 to 12.10 and then to 13.04, with no change.
    This is what i get when trying to start USC:

    per@msi-u135:~$ software-center
    2013-05-20 19:31:59,166 - softwarecenter.ui.gtk3.app - INFO - setting up proxy 'None'
    2013-05-20 19:32:05,093 - softwarecenter.backend.reviews - WARNING - Could not get usefulness from server, no username in config file
    2013-05-20 19:32:05,100 - softwarecenter.plugin - INFO - activating plugin '<module 'webapps_activation' from '/usr/share/software-center/softwarecenter/plugins/webapps_activation.pyc'>'
    2013-05-20 19:32:05,138 - softwarecenter.fixme - WARNING - logs to the root logger: '('/usr/lib/python2.7/dist-packages/gi/importer.py', 51, 'find_module')'
    2013-05-20 19:32:05,137 - root - ERROR - Could not find any typelib for LaunchpadIntegration
    2013-05-20 19:32:05,803 - softwarecenter.db.pkginfo_impl.aptcache - INFO - aptcache.open()

    apt-get update reports the following (unhelpful) tip:

    .......
    Ign http://security.ubuntu.com raring-security/universe Translation-da_DK
    Ign http://security.ubuntu.com raring-security/universe Translation-da
    Ign http://dk.archive.ubuntu.com raring-updates/universe Translation-da
    Reading package lists... Done
    W: Duplicate sources.list entry http://archive.canonical.com/ raring/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_dists_raring_partner_binary-i386_Packages)
    W: You may want to run apt-get update to correct these problems
    I had an issue where my Software center was freezing and ran across this posting. I can help first with the last part you mention then will detail the fix I used to get it unfrozen.
    -----
    The last part you list is actually very helpful it appears as though the repos listed do not have a raring entry [sources list tries to auto fill the distro part if not supplied or during a distro upgrade and if the repo does not exist it can not be found. All you would want to do is open your sources.list file with mousepad gedit nano whatever text editor you prefer and either remove or comment out the lines listed in the error message.

    So from terminal issue
    Code:
    gksu mousepad /etc/apt/sources.list
    [you can use gksudo gksu works the same and is shorter and instead of mousepad use gedit, nano, whatever you prefer I use xUbuntu and mousepad is default so is what I use].

    Now just find the lines listing the repos with issues and either put a # in front of them or delete them
    This is how I suggest you do it so you have them for reference if needed later
    #Ign http://security.ubuntu.com raring-security/universe Translation-da_DK
    #Ign http://security.ubuntu.com raring-security/universe Translation-da
    #Ign http://dk.archive.ubuntu.com raring-updates/universe Translation-da
    Reading package lists... Done
    and only one of the following
    W: Duplicate sources.list entry http://archive.canonical.com/ raring/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_dists_raring_partner_binary-i386_Packages)

    Now just save the file and issue:
    Code:
    sudo apt-get update
    and it should hopefully run through. Even if not try the next mentioned thing...

    For me I would get the Software Center loaded but on install it would just freeze and eventually the this app is taking too long do you wish to terminate it error pops. Finally today I had time to sit down and I tried [be sure you CLOSE SOFTWARE CENTER BEFORE THE FOLLOWING]

    Code:
    sudo dpkg-reconfigure software-center
    it came back stating 2 files in usr/share/app-install/desktop could not be read and would not be included in software center. HUH, so I went ahead and cd'd over to it and removed both the files [sonic-visualizer and same with layer.desktop] like so:

    Code:
    sudo rm -R sonic-visualiser:x-sonicvisualiser.desktop
    [didn't slow down to see if directories or files; if dir -R means recursive and deletes directories out so was easier to just use -R so it wouldn't matter]

    I then issued the exact same dpkg command again and let it run and this time it came back with no errors listed. NOW, it seems software center is happier and error free.

    Hope this helps!
    Last edited by akf-mike-nw2; April 9th, 2014 at 02:10 PM. Reason: additional info, spelling, and flow

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •