Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Update Manager fail

  1. #1
    Join Date
    Jul 2010
    Beans
    16

    Update Manager fail

    Hi
    First of all thanks in advance for any reply.
    I'm getting the below error when running the Update Manager, which then cause me OS instability and need to revert back to the previous grub.
    To be said I'm quite a unacknowledged user of Linux.
    Any help?
    If necessary to provide additional info, please guide me. Thanks

    Code:
    Error:
    installArchives() failed: (Reading database ...  (Reading database ... 5%% (Reading database ... 10%% (Reading database ... 15%% (Reading database ... 20%% (Reading database ... 25%% (Reading database ... 30%% (Reading database ... 35%% (Reading database ... 40%% (Reading database ... 45%% (Reading database ... 50%% (Reading database ... 55%% (Reading database ... 60%% (Reading database ... 65%% (Reading database ... 70%% (Reading database ... 75%% (Reading database ... 80%% (Reading database ... 85%% (Reading database ... 90%% (Reading database ... 95%% (Reading database ... 100%% (Reading database ... 288108 files and directories currently installed.) 
    Preparing to replace python-problem-report 2.0.1-0ubuntu15.1 (using .../python-problem-report_2.0.1-0ubuntu17.1_all.deb) ... 
    Unpacking replacement python-problem-report ... 
    Preparing to replace python-apport 2.0.1-0ubuntu15.1 (using .../python-apport_2.0.1-0ubuntu17.1_all.deb) ... 
    Unpacking replacement python-apport ... 
    Preparing to replace apport 2.0.1-0ubuntu15.1 (using .../apport_2.0.1-0ubuntu17.1_all.deb) ... 
    apport stop/waiting 
    Unpacking replacement apport ... 
    Preparing to replace apport-gtk 2.0.1-0ubuntu15.1 (using .../apport-gtk_2.0.1-0ubuntu17.1_all.deb) ... 
    Unpacking replacement apport-gtk ... 
    Preparing to replace vlc-plugin-pulse 2.0.3-0ubuntu0.12.04.1 (using .../vlc-plugin-pulse_2.0.5-0ubuntu0.12.04.1_i386.deb) ... 
    Unpacking replacement vlc-plugin-pulse ... 
    Preparing to replace vlc-plugin-notify 2.0.3-0ubuntu0.12.04.1 (using .../vlc-plugin-notify_2.0.5-0ubuntu0.12.04.1_i386.deb) ... 
    Unpacking replacement vlc-plugin-notify ... 
    Preparing to replace vlc 2.0.3-0ubuntu0.12.04.1 (using .../vlc_2.0.5-0ubuntu0.12.04.1_i386.deb) ... 
    Unpacking replacement vlc ... 
    Preparing to replace libvlccore5 2.0.3-0ubuntu0.12.04.1 (using .../libvlccore5_2.0.5-0ubuntu0.12.04.1_i386.deb) ... 
    Unpacking replacement libvlccore5 ... 
    Preparing to replace vlc-data 2.0.3-0ubuntu0.12.04.1 (using .../vlc-data_2.0.5-0ubuntu0.12.04.1_all.deb) ... 
    Unpacking replacement vlc-data ... 
    Preparing to replace vlc-nox 2.0.3-0ubuntu0.12.04.1 (using .../vlc-nox_2.0.5-0ubuntu0.12.04.1_i386.deb) ... 
    Unpacking replacement vlc-nox ... 
    Preparing to replace libvlc5 2.0.3-0ubuntu0.12.04.1 (using .../libvlc5_2.0.5-0ubuntu0.12.04.1_i386.deb) ... 
    Unpacking replacement libvlc5 ... 
    Processing triggers for shared-mime-info ... 
    Unknown media type in type 'all/all' 
    Unknown media type in type 'all/allfiles' 
    Unknown media type in type 'uri/mms' 
    Unknown media type in type 'uri/mmst' 
    Unknown media type in type 'uri/mmsu' 
    Unknown media type in type 'uri/pnm' 
    Unknown media type in type 'uri/rtspt' 
    Unknown media type in type 'uri/rtspu' 
    Processing triggers for man-db ... 
    Processing triggers for hicolor-icon-theme ... 
    Processing triggers for ureadahead ... 
    ureadahead will be reprofiled on next reboot 
    Processing triggers for bamfdaemon ... 
    Rebuilding /usr/share/applications/bamf.index... 
    Processing triggers for desktop-file-utils ... 
    Processing triggers for gnome-menus ... 
    Setting up linux-image-3.2.0-35-generic-pae (3.2.0-35.55) ... 
    Running depmod. 
    Failed to run depmod 
    dpkg: error processing linux-image-3.2.0-35-generic-pae (--configure): 
     subprocess installed post-installation script returned error exit status 1 
    dpkg: dependency problems prevent configuration of linux-image-generic-pae: 
     linux-image-generic-pae depends on linux-image-3.2.0-35-generic-pae; however: 
      Package linux-image-3.2.0-35-generic-pae is not configured yet. 
    dpkg: error processing linux-image-generic-pae (--configure): 
     dependency problems - leaving unconfigured 
    dpkg: dependency problems prevent configuration of linux-generic-pae: 
     linux-generic-pae depends on linux-image-generic-pae (= 3.2.0.35.40); however: 
      Package linux-image-generic-pae is not configured yet. 
    dpkg: error processing linux-generic-pae (--configure): 
     dependency problems - leaving unconfigured 
    Setting up python-problem-report (2.0.1-0ubuntu17.1) ... 
    No apport report written because MaxReports is reached already
    No apport report written because MaxReports is reached already
    No apport report written because MaxReports is reached already
    Setting up python-apport (2.0.1-0ubuntu17.1) ... 
    Setting up apport (2.0.1-0ubuntu17.1) ... 
    apport start/running 
    Setting up apport-gtk (2.0.1-0ubuntu17.1) ... 
    Setting up vlc-data (2.0.5-0ubuntu0.12.04.1) ... 
    Setting up libvlccore5 (2.0.5-0ubuntu0.12.04.1) ... 
    Setting up libvlc5 (2.0.5-0ubuntu0.12.04.1) ... 
    Setting up vlc-nox (2.0.5-0ubuntu0.12.04.1) ... 
    Setting up vlc-plugin-pulse (2.0.5-0ubuntu0.12.04.1) ... 
    Setting up vlc-plugin-notify (2.0.5-0ubuntu0.12.04.1) ... 
    Setting up vlc (2.0.5-0ubuntu0.12.04.1) ... 
    Processing triggers for libc-bin ... 
    ldconfig deferred processing now taking place 
    Errors were encountered while processing: 
     linux-image-3.2.0-35-generic-pae 
     linux-image-generic-pae 
     linux-generic-pae 
    Error in function:  
    Setting up linux-image-3.2.0-35-generic-pae (3.2.0-35.55) ... 
    Running depmod. 
    Failed to run depmod 
    dpkg: error processing linux-image-3.2.0-35-generic-pae (--configure): 
     subprocess installed post-installation script returned error exit status 1 
    dpkg: dependency problems prevent configuration of linux-image-generic-pae: 
     linux-image-generic-pae depends on linux-image-3.2.0-35-generic-pae; however: 
      Package linux-image-3.2.0-35-generic-pae is not configured yet. 
    dpkg: error processing linux-image-generic-pae (--configure): 
     dependency problems - leaving unconfigured 
    dpkg: dependency problems prevent configuration of linux-generic-pae: 
     linux-generic-pae depends on linux-image-generic-pae (= 3.2.0.35.40); however: 
      Package linux-image-generic-pae is not configured yet. 
    dpkg: error processing linux-generic-pae (--configure): 
     dependency problems - leaving unconfigured
    Last edited by Elfy; January 19th, 2013 at 08:48 PM. Reason: code tags

  2. #2
    Join Date
    Mar 2006
    Beans
    8,345

    Re: Update Manager fail

    Try with

    Code:
    sudo dpkg --configure -a
    There is no greater religion than a truth.

  3. #3
    Join Date
    Jul 2010
    Beans
    16

    Update Manager fail

    Hi there,
    [I was sure having already posted this issue, but can't find the thread]

    I have problems in following the automated procedure Update Manager: I got problems and then the Grup is corrupted, which requires me to boot with the previous one.

    From the terminal
    sudo dpkg --configure -a
    and got the following error:

    Setting up linux-image-3.2.0-35-generic-pae (3.2.0-35.55) ...
    Running depmod.
    Failed to run depmod
    dpkg: error processing linux-image-3.2.0-35-generic-pae (--configure):
    subprocess installed post-installation script returned error exit status 1
    dpkg: dependency problems prevent configuration of linux-image-generic-pae:
    linux-image-generic-pae depends on linux-image-3.2.0-35-generic-pae; however:
    Package linux-image-3.2.0-35-generic-pae is not configured yet.
    dpkg: error processing linux-image-generic-pae (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of linux-generic-pae:
    linux-generic-pae depends on linux-image-generic-pae (= 3.2.0.35.40); however:
    Package linux-image-generic-pae is not configured yet.
    dpkg: error processing linux-generic-pae (--configure):
    dependency problems - leaving unconfigured
    Errors were encountered while processing:
    linux-image-3.2.0-35-generic-pae
    linux-image-generic-pae
    linux-generic-pae

    Any help?
    Thanks in advance for the reply
    Paolo

  4. #4
    Join Date
    Nov 2009
    Beans
    17

    Re: Update Manager fail

    Sounds like dpkg-reconfigure -a is not handling packages in the right order, or having issues trying to do everything at once. I'd recommend trying to run it manually, giving it the packages that seem to be causing the problems instead of the -a flag. Then you can try dpkg-reconfigure -a again after each success; might get lucky that way.

    So start with linux-image-3.2.0-35-generic-pae, and if that works try running -a again. If not, try running dpkg-reconfigure on whatever package raised a flag. Something should at least give you some insight, and then you can drill down a little deeper on a particular package that's giving you problems, or try just removing it entirely.

    You could also try something like this:
    [CODE]
    sudo apt-get clean
    sudo apt-get autoclean
    sudo apt-get update
    sudo apt-get upgrade
    [/CODE[

    ...but I'm assuming that you've already struggled with that approach and found it useless. If not, could be worth a try.

    If all else fails, you could always go nuclear and reinstall. There's another way, for sure... but if you've been stringing this installation along from version to version, or installing lots of things that aren't being maintained anymore, then sometimes it can be nice to start fresh.

  5. #5
    Join Date
    May 2007
    Location
    The New Forest
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Update Manager fail

    [I was sure having already posted this issue, but can't find the thread]
    I've now merged them - in future you can find your posts/threads in your user cp - statistics, or at the top of any page - Search - Your Posts or Threads.

  6. #6
    Join Date
    Jul 2010
    Beans
    16

    Re: Update Manager fail

    Thanks for the help!

    I've tried your suggested script with blind eyes (I'm a BIG dummy).

    After that I got the following error:
    Errors were encountered while processing:
    linux-image-3.2.0-35-generic-pae
    linux-image-generic-pae
    linux-generic-pae
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    What could be?

    Paolo

  7. #7
    Join Date
    Oct 2012
    Location
    Catalunya
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Update Manager fail

    Quote Originally Posted by bripa View Post
    Hi there,
    [I was sure having already posted this issue, but can't find the thread]

    I have problems in following the automated procedure Update Manager: I got problems and then the Grup is corrupted, which requires me to boot with the previous one.

    From the terminal
    sudo dpkg --configure -a
    and got the following error:

    Setting up linux-image-3.2.0-35-generic-pae (3.2.0-35.55) ...
    Running depmod.
    Failed to run depmod
    dpkg: error processing linux-image-3.2.0-35-generic-pae (--configure):
    subprocess installed post-installation script returned error exit status 1
    dpkg: dependency problems prevent configuration of linux-image-generic-pae:
    linux-image-generic-pae depends on linux-image-3.2.0-35-generic-pae; however:
    Package linux-image-3.2.0-35-generic-pae is not configured yet.
    dpkg: error processing linux-image-generic-pae (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of linux-generic-pae:
    linux-generic-pae depends on linux-image-generic-pae (= 3.2.0.35.40); however:
    Package linux-image-generic-pae is not configured yet.
    dpkg: error processing linux-generic-pae (--configure):
    dependency problems - leaving unconfigured
    Errors were encountered while processing:
    linux-image-3.2.0-35-generic-pae
    linux-image-generic-pae
    linux-generic-pae

    Any help?
    Thanks in advance for the reply
    Paolo
    Please, wrap the output between the CODE tags.

    Quote Originally Posted by bogustrumper View Post
    Sounds like dpkg-reconfigure -a is not handling packages in the right order, or having issues trying to do everything at once. I'd recommend trying to run it manually, giving it the packages that seem to be causing the problems instead of the -a flag. Then you can try dpkg-reconfigure -a again after each success; might get lucky that way.

    So start with linux-image-3.2.0-35-generic-pae, and if that works try running -a again. If not, try running dpkg-reconfigure on whatever package raised a flag. Something should at least give you some insight, and then you can drill down a little deeper on a particular package that's giving you problems, or try just removing it entirely.

    You could also try something like this:
    [CODE]
    sudo apt-get clean
    sudo apt-get autoclean
    sudo apt-get update
    sudo apt-get upgrade
    [/CODE[

    ...but I'm assuming that you've already struggled with that approach and found it useless. If not, could be worth a try.

    If all else fails, you could always go nuclear and reinstall. There's another way, for sure... but if you've been stringing this installation along from version to version, or installing lots of things that aren't being maintained anymore, then sometimes it can be nice to start fresh.
    Please, correct the [/CODE[ tag on the post.

    I also agree, if running those commands don't work, I don't know what could you do.

    esy
    Catbuntu (blog)
    CPU→Intel Core 2 Duo @ 2,00GHz. RAM3GB. Graphics card→NVIDIA GeForce 9300M GS. O.S.→Ubuntu 14.04 «Trusty Tahr» 64 bit
    [TPI Blog | TPI GitHub ]

  8. #8
    Join Date
    Jul 2010
    Beans
    16

    Re: Update Manager fail

    Thanks both to try help me.

    I'm very sorry but it is not clear for me what you mean with "Please, wrap the output between the CODE tags".

    Thanks for clarifying. Maybe I'm just incorrectly using your suggestion.

    Paolo

  9. #9
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    7,511
    Distro
    Ubuntu Development Release

    Re: Update Manager fail

    Hi bripa

    First, when we click on the quick reply icon we get a box to type our reply in. Above that box are some icons that make formatting our reply easier.

    Move the mouse pointer over the last icon on the right. You should see this.

    "Wrap [QUOTE] tags around selected text."

    Select the text click the icon that looks like a speech bubble with words in it.

    Now as to your problem. This will just be a guess. Am I correct in thinking that at the Grub menu you can select an earlier kernel to boot? It that what you mean when you say

    need to revert back to the previous grub
    If you can get to a desktop based upon a kernel earlier than linux-image-3.2.0-35-generic-pae (that means with a number lower than 35) then boot into that kernel.

    If you are using 12.04 you may have Synaptic Package Manager installed. Use it to reinstall or remove Linux kernel linux-image-3.2.0-35-generic-pae and related 3.2.0-35 stuff that is installed.

    Search Synaptic for Linux kernels and scroll down the results looking for 3.2.0-35. Select what you find and right click and select Mark for Reinstallation. If that does not work try Mark for Complete Removal and then reboot and try to use synaptic to reinstall the 3.2.0-35 kernel.

    If you can boot using an earlier kernel then do so. I am using the development branch of 13.04 and few weeks ago it got Linux kernel 3.7.0.0 This worked fine but I could not get to a desktop with kernel 3.7.0.1 or 0.2; 0.3 or 0.4. It was not until the kernel was updated to 3.7.0.5 that I could boot into these later kernels. Until then I had to keep booting into 3.7.0.0. It was no big deal.

    Regards.
    Last edited by grahammechanical; January 22nd, 2013 at 10:48 PM.
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


  10. #10
    Join Date
    Nov 2007
    Location
    Wisconsin
    Beans
    1,139

    Re: Update Manager fail

    3.2.0-35.55 is not the current 12.10 kernel.
    3.2.0-36.43 is the current kernel...today.

    Look in System Settings --> Software Sources. If you have any PPAs or unoffical repositories, disable (uncheck) them.

    Remove the problem packages from your apt cache.
    Code:
    sudo rm /var/cache/apt/archive/linux-image-3.2.0-35-generic-pae
    sudo rm /var/cache/apt/archive/linux-image-generic-pae 
    sudo rm /var/cache/apt/archive/linux-generic-pae
    Update your package lists.
    This will change the upgrade target from 3.2.0-35.55 to the current kernel.
    Code:
    sudo apt-get update
    Try upgrading again
    Code:
    sudo apt-get upgrade
    Let us know what happens.
    Last edited by Cheesehead; January 22nd, 2013 at 11:11 PM.

Page 1 of 2 12 LastLast

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
  •