Results 1 to 2 of 2

Thread: Upgrade failed (1 package) - can I continue?

  1. #1
    Join Date
    Jun 2007
    Location
    in a café somewhere
    Beans
    113
    Distro
    Ubuntu 14.04 Trusty Tahr

    Upgrade failed (1 package) - can I continue?

    I got one problem (iptables-persistent package) during the upgrade from 10.04 to 12.04.1

    Code:
    Errors were encountered while processing: iptables-persistent
    
    Error in function: 
    ERROR:root:not handled exception: SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1)
    
    A fatal error occurred 
    
    (...)
    
    ERROR:root:SystemError from cache.commit(): installArchives() failed
    
    Could not install the upgrades 
    
    The upgrade has aborted. Your system could be in an unusable state. A recovery will run now (dpkg --configure -a). 
    
    Setting up iptables-persistent (0.5.3ubuntu2) ...
    dpkg: error processing iptables-persistent (--configure): subprocess installed post-installation script returned error exit status 1
    Errors were encountered while processing: iptables-persistent
    
    Upgrade complete 
    
    The upgrade has completed but there were errors during the upgrade process. 
    
    To continue please press [ENTER]
    I read a post that says its actually a iptables-persistent bug that shouldn't have returned an error.
    (ie the upgrade is actually OK)

    Question:
    - can I simply ^C or reboot, and abort the recovery process?
    - or should I press ENTER - (question being asked by the script)?

    Thanks

  2. #2
    Join Date
    Jun 2007
    Location
    in a café somewhere
    Beans
    113
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Upgrade failed (1 package) - can I continue?

    Thanks for all the replies and help, appreciate it

    For the ones dying to know the end of the story:

    So, I killed upgrade the process and did a `dpkg --configure -a` myself: that confirmed the `iptables-persistent` package bug(?) (the post-install script returns a fatal error code).

    an
    Code:
    apt-get remove iptables-persistent
    fixed the package/updates problem, and I kept managing the iptables auto-loading at boot the same way as 10.04... perfect!

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
  •