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

Thread: Update problems!! (dpkg)

  1. #1
    Join Date
    Apr 2009
    Beans
    29

    Exclamation Update problems!! (dpkg)

    Having some problems with updating my system. I believe it was caused when I accidentally powered off the machine while it was updating. Any suggestions will be greatly appreciated. Thanks in advance.

    OUTPUT:
    Code:
    Extracting templates from packages: 100%
    Preconfiguring packages ...
    dpkg: unrecoverable fatal error, aborting:
     syntax error: unknown group 'cdemu' in statoverride file
    E: Sub-process /usr/bin/dpkg returned an error code (2)
    A package failed to install.  Trying to recover:
    Setting up transmission-daemon (1.93-0ubuntu0~ppa1) ...
    dpkg-statoverrides: unrecoverable fatal error, aborting:
     syntax error: unknown group 'cdemu' in statoverride file
    dpkg-statoverrides: unrecoverable fatal error, aborting:
     syntax error: unknown group 'cdemu' in statoverride file
    dpkg: error processing transmission-daemon (--configure):
     subprocess installed post-installation script returned error exit status 2
    Setting up vhba-dkms (1.2.1-0ubuntu7) ...
    
    Error! DKMS tree already contains: vhba-1.2.1
    You cannot add the same module/version combo more than once.
    ERROR: Failed to add dkms add module
    dpkg: error processing vhba-dkms (--configure):
     subprocess installed post-installation script returned error exit status 1
    dpkg: dependency problems prevent configuration of cdemu-daemon:
     cdemu-daemon depends on vhba-dkms (>= 1.1.0); however:
      Package vhba-dkms is not configured yet.
    dpkg: error processing cdemu-daemon (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of cdemu-client:
     cdemu-client depends on cdemu-daemon (>= 1.1.0); however:
      Package cdemu-daemon is not configured yet.
    dpkg: error processing cdemu-client (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of gcdemu:
     gcdemu depends on cdemu-daemon (>= 1.1.0); however:
      Package cdemu-daemon is not configured yet.
    dpkg: error processing gcdemu (--configure):
     dependency problems - leaving unconfigured
    Errors were encountered while processing:
     transmission-daemon
     vhba-dkms
     cdemu-daemon
     cdemu-client
     gcdemu

  2. #2
    Join Date
    Apr 2009
    Beans
    29

    Re: Update problems!! (dpkg)

    anyone? any suggestions are welcome... I would really like to get my Ubuntu updated. Cheers.

  3. #3
    Join Date
    Apr 2008
    Location
    UK
    Beans
    496
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Update problems!! (dpkg)

    Try

    Code:
    sudo dpkg --configure --pending
    sudo apt-get -f install
    If you're still having trouble, see if the output from this helps at all:

    Code:
    sudo dpkg --audit
    Last edited by stderr; June 6th, 2010 at 08:33 AM.
    Ace1 FreeBSD/Gnome 2, i5 2300, 16GB, HX750W, 20TB ZFS pool, 60GB SSD, Fractal Design XL
    Ace2 Ubuntu/Xubuntu, i7 2600, 16GB, HX850W, 4TB, Asus HD6970, Fractal Design R3
    Ace3 Ubuntu/XFCE, E7200, 4GB, OCZ GameXStream 700W, 8TB

  4. #4
    Join Date
    Apr 2009
    Beans
    29

    Re: Update problems!! (dpkg)

    Thanks for the suggestions.

    first two commands did not solve it.

    The output of the second suggestion is:

    Code:
    david@ubuntu-laptop:(~)$ sudo dpkg --audit
    The following packages are in a mess due to serious problems during
    installation.  They must be reinstalled for them (and any packages
    that depend on them) to function properly:
     gcdemu               A GNOME panel applet to control CDEmu daemon
    
    The following packages have been unpacked but not yet configured.
    They must be configured using dpkg --configure or the configure
    menu option in dselect for them to work:
     cdemu-daemon         CDEmu daemon
     cdemu-client         A simple command-line client to control CDEmu daemon
    
    The following packages are only half configured, probably due to problems
    configuring them the first time.  The configuration should be retried using
    dpkg --configure <package> or the configure menu option in dselect:
     transmission-daemon  lightweight BitTorrent client (daemon)
     vhba-dkms            VHBA virtual host bus adapter module
    It seems gcdemu is my biggest problem. I tried to purge it through synaptic... but it wouldn't allow me to do so. It also wouldn't allow me to reinstall it, so.... ??? any other tips? Thanks a ton.

  5. #5
    Join Date
    Apr 2009
    Beans
    29

    Re: Update problems!! (dpkg)

    anyone have some suggestions?... I'd really like to avoid a fresh install.

  6. #6
    Join Date
    Apr 2008
    Location
    UK
    Beans
    496
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Update problems!! (dpkg)

    You shouldn't have to reinstall due to this

    I'd try doing what audit suggests. Re-audit after each attempt to see if anything helped:

    Code:
    sudo dpkg --configure transmission-daemon vhba-dkms
    sudo dpkg --audit

    Code:
    sudo dpkg --configure cdemu-daemon cdemu-client
    sudo dpkg --audit
    Code:
    sudo apt-get -f install
    sudo apt-get --reinstall install gcdemu
    Failing that, have you got the original .deb you used to install gcdemu? Try:

    Code:
    sudo dpkg -i path/to/the_gcdemu_installer.deb
    Last edited by stderr; June 6th, 2010 at 05:21 PM.
    Ace1 FreeBSD/Gnome 2, i5 2300, 16GB, HX750W, 20TB ZFS pool, 60GB SSD, Fractal Design XL
    Ace2 Ubuntu/Xubuntu, i7 2600, 16GB, HX850W, 4TB, Asus HD6970, Fractal Design R3
    Ace3 Ubuntu/XFCE, E7200, 4GB, OCZ GameXStream 700W, 8TB

  7. #7
    Join Date
    Apr 2010
    Beans
    10

    Re: Update problems!! (dpkg)

    Can someone tell me how to upgrade my ubuntu system??
    Attached Images Attached Images

  8. #8
    Join Date
    Jun 2010
    Beans
    2

    Re: Update problems!! (dpkg)

    Try this:
    Code:
    sudo dkms remove -m vhba -v 1.2.1 --all
    sudo dpkg --configure vhba-dkms

  9. #9
    Join Date
    Jun 2010
    Beans
    2

    Re: Update problems!! (dpkg)

    Another thing to note - it might be worth removing vhba-dkms first, then upgrading, then reinstalling it

  10. #10
    Join Date
    Apr 2007
    Beans
    1

    Smile Re: Update problems!! (dpkg)

    Quote Originally Posted by bluTaz View Post
    Having some problems with updating my system. I believe it was caused when I accidentally powered off the machine while it was updating. Any suggestions will be greatly appreciated. Thanks in advance.

    OUTPUT:
    Code:
    Extracting templates from packages: 100%
    Preconfiguring packages ...
    dpkg: unrecoverable fatal error, aborting:
     syntax error: unknown group 'cdemu' in statoverride file
    E: Sub-process /usr/bin/dpkg returned an error code (2)
    A package failed to install.  Trying to recover:
    Setting up transmission-daemon (1.93-0ubuntu0~ppa1) ...
    dpkg-statoverrides: unrecoverable fatal error, aborting:
     syntax error: unknown group 'cdemu' in statoverride file
    dpkg-statoverrides: unrecoverable fatal error, aborting:
     syntax error: unknown group 'cdemu' in statoverride file
    dpkg: error processing transmission-daemon (--configure):
     subprocess installed post-installation script returned error exit status 2
    Setting up vhba-dkms (1.2.1-0ubuntu7) ...
    
    Error! DKMS tree already contains: vhba-1.2.1
    You cannot add the same module/version combo more than once.
    ERROR: Failed to add dkms add module
    dpkg: error processing vhba-dkms (--configure):
     subprocess installed post-installation script returned error exit status 1
    dpkg: dependency problems prevent configuration of cdemu-daemon:
     cdemu-daemon depends on vhba-dkms (>= 1.1.0); however:
      Package vhba-dkms is not configured yet.
    dpkg: error processing cdemu-daemon (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of cdemu-client:
     cdemu-client depends on cdemu-daemon (>= 1.1.0); however:
      Package cdemu-daemon is not configured yet.
    dpkg: error processing cdemu-client (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of gcdemu:
     gcdemu depends on cdemu-daemon (>= 1.1.0); however:
      Package cdemu-daemon is not configured yet.
    dpkg: error processing gcdemu (--configure):
     dependency problems - leaving unconfigured
    Errors were encountered while processing:
     transmission-daemon
     vhba-dkms
     cdemu-daemon
     cdemu-client
     gcdemu
    try
    sudo vim /var/lib/dpkg/statoverride
    remove the line with cdemu
    this might not be a proper solution
    but somehow it works

Page 1 of 2 12 LastLast

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
  •