Results 1 to 9 of 9

Thread: Software Center and Update Manager not working

  1. #1
    Join Date
    Aug 2013
    Beans
    5

    Software Center and Update Manager not working

    Yesterday I tried to install some Python app on my system (13.04) by executing setup.py install. I did not succeed in installing it but then I found that I can't install/view/check updates with update-manager and install/delete packages though software-center. I found this thread with similar output. I can still use apt-get and Synaptic so I tried to reinstall packages mentioned in that thread but it didn't help. Here is some lines from the output:
    Code:
    dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.debian.apt': no such name
    Code:
    dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown return code 1
    Attached Files Attached Files
    Last edited by volchanetskiy; September 13th, 2013 at 09:00 PM. Reason: Marked as solved

  2. #2
    Join Date
    Jul 2013
    Location
    Wisconsin
    Beans
    4,952

    Re: Software Center and Update Manager not working

    That other thread seemed to be caused by a dying hard drive.
    Are you saying you think you have a hardware fault?
    If so, have you run a filesystem check (fsck) on your hard drive?

    If it's not a filesystem error, then are you quite sure that apt-get had no errors at all?
    Those error messages can be very helpful.

    What new python application are you trying to install? Link, please. Does it have any dependencies?
    If you uninstall the application, do Network Manager and Software Center work again?
    If you reinstall the python3-dbus and python3-aptdaemon packages, do Network Manager and Software Center work again?
    Last edited by ian-weisser; August 19th, 2013 at 03:51 PM.

  3. #3
    Join Date
    Jul 2007
    Location
    UK
    Beans
    17,059
    Distro
    Ubuntu Development Release

    Re: Software Center and Update Manager not working

    Yes apt-get errors needed.

    Please run this in a terminal and post back if any errors.

    Code:
    sudo apt-get update; sudo apt-get upgrade

  4. #4
    Join Date
    Aug 2013
    Beans
    5

    Re: Software Center and Update Manager not working

    Thank you for reply.
    Quote Originally Posted by ian-weisser View Post
    Are you saying you think you have a hardware fault?
    If so, have you run a filesystem check (fsck) on your hard drive?
    I don't think something is wrong there. But I run touch /forcefsck anyway. It was checking partition at boot but /var/log/fsck still contains empty files.
    Quote Originally Posted by ian-weisser View Post
    What new python application are you trying to install? Link, please. Does it have any dependencies?
    http://code.google.com/p/please/wiki/Install
    Quote Originally Posted by ian-weisser View Post
    If you uninstall the application, do Network Manager and Software Center work again?
    setup.py with install or uninstall option fails. Nothing changed.
    Quote Originally Posted by ian-weisser View Post
    If you reinstall the python3-dbus and python3-aptdaemon packages, do Network Manager and Software Center work again?
    No... The same output again.
    Quote Originally Posted by philinux View Post
    Please run this in a terminal and post back if any errors.
    Code:
    sudo apt-get update; sudo apt-get upgrade
    There was no errors but no updates was found. I can install and delete packages with apt-get.

  5. #5
    Join Date
    Jul 2013
    Location
    Wisconsin
    Beans
    4,952

    Re: Software Center and Update Manager not working

    Please show us *all* output that includes a failure message or error.
    Those messages are very helpful.

  6. #6
    Join Date
    Aug 2013
    Beans
    5

    Re: Software Center and Update Manager not working

    Most output is in the attached text files.

  7. #7
    Join Date
    Nov 2008
    Location
    S.H.I.E.L.D. 6-1-6
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Software Center and Update Manager not working

    can you post the output of
    Code:
    sudo smartctl --test=short /dev/sda
    #Wait a few minutes before running
    sudo smartctl -a /dev/sda
    thanks.
    Don't waste your energy trying to change opinions ... Do your thing, and don't care if they like it.

  8. #8
    Join Date
    Aug 2013
    Beans
    5

    Re: Software Center and Update Manager not working

    My HDD is pretty new...
    Attached Files Attached Files

  9. #9
    Join Date
    Aug 2013
    Beans
    5

    Re: Software Center and Update Manager not working

    Thanks everyone for help. Finally I figured out that problem was in AptDaemon. Executing sudo aptd gave me this error:

    Code:
    Traceback (most recent call last): 
    
       File "/usr/sbin/aptd", line 28, in <module> 
         import aptdaemon.core 
       File "/usr/lib/python3/dist-packages/aptdaemon/core.py", line 66, in <module> 
         from .worker import ( 
    
       File "/usr/lib/python3/dist-packages/aptdaemon/worker.py", line 56, in <module> 
         import pkg_resources 
       File "/usr/local/lib/python3.3/dist-packages/pkg_resources.py", line 621 
         except ResolutionError,v: 
    
                               ^ 
     SyntaxError: invalid syntax
    Then I manually applied some changes to pkg_resources.py file from this patch. Now I'm able to use Software Center and install updates but I'm afraid that it will break again after any update affecting this file... I don't understand why it stopped working and what changes I made trying to install these apps.
    Last edited by volchanetskiy; September 13th, 2013 at 09:02 PM.

Tags for this Thread

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
  •