Results 1 to 6 of 6

Thread: APT strange problem

  1. #1
    Join Date
    Aug 2011
    Location
    Israel, Bat Yam
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Question APT strange problem

    Hi

    Suddenly apt stop working This is an error:

    Code:
    alex@alex-ubuntu:~$ sudo apt-get upgrade
    [sudo] password for alex: 
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following packages will be upgraded:
      adobe-flash-properties-gtk adobe-flashplugin ecryptfs-utils gnome-user-guide
      google-chrome-stable libecryptfs0 libsmbclient libwbclient0 lintian samba
      samba-common samba-common-bin smbclient
    13 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Failed to exec method /usr/lib/apt/methods/
    E: Method  has died unexpectedly!
    E: Sub-process  returned an error code (100)
    E: Method /usr/lib/apt/methods/ did not start correctly

    The same (?) error I receive in 'Update manager' utility:

    An unhandlable error occurred

    Code:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 961, in simulate
        trans.unauthenticated = self._simulate_helper(trans)
      File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 1085, in _simulate_helper
        return depends, self._cache.required_download, \
      File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 226, in required_download
        pm.get_archives(fetcher, self._list, self._records)
    SystemError: E:Method  has died unexpectedly!, E:Sub-process  returned an error code (100), E:Method /usr/lib/apt/methods/ did not start correctly

    Here is my Ubuntu:

    uname -a
    Linux alex-ubuntu 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:05:41 UTC 2011 i686 i686 i386 GNU/Linux

    lsb_release -a
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description: Ubuntu 11.04
    Release: 11.04
    Codename: natty

  2. #2
    Join Date
    May 2011
    Beans
    6
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: APT strange problem

    I am experiencing a similar problem, have your desktop links also stopped working?

  3. #3
    Join Date
    Feb 2008
    Location
    Oblivion
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: APT strange problem

    Code:
    sudo apt-get update
    sudo apt-get upgrade
    Don't worry about the errors. Any luck?

  4. #4
    Join Date
    Aug 2011
    Location
    Israel, Bat Yam
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Unhappy Re: APT strange problem

    Quote Originally Posted by Bucky Ball View Post
    Code:
    sudo apt-get update
    sudo apt-get upgrade
    Don't worry about the errors. Any luck?

    apt-get update <- does working. I even receive the list of all packages that need to be updated but I could not install them because 'apt-get upgrade' doesn't work with error above

    I even re-install the apt-get with:
    Code:
    sudo apt-get install --reinstall apt
    but it doesn't help. It fails with the same error

  5. #5
    Join Date
    Aug 2011
    Location
    Israel, Bat Yam
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Smile Re: APT strange problem

    For now I partially solved the problem: I installed some of the packages manually - I run 'apt-get install <package>' individually for every package and it does work.

    One of the packages named: 'lintian' could not be installed anyway with above error as in first post.

  6. #6
    Join Date
    Aug 2011
    Location
    Israel, Bat Yam
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Smile Re: APT strange problem

    Yes - that's was a problem - broken/damaged package. After I remove this 'lintian' package from updating - everything went back to normal.

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
  •