DPKG Error

Discussion in 'Command Line' started by bashcommando, Aug 4, 2014.

  1. bashcommando

    bashcommando Active Member

    Messages:
    212
    Likes Received:
    43
    Trophy Points:
    28
    Code:
    Reading package lists... Done
    Building dependency tree     
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:
    
    The following packages have unmet dependencies:
    virtualbox-qt : Depends: libqt4-opengl (>= 4:4.7.2) but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.


  2. bashcommando

    bashcommando Active Member

    Messages:
    212
    Likes Received:
    43
    Trophy Points:
    28
    Best Answer
    Know what? I'll just get linux mint and make sure not to do such a foolish thing again. Thanks for all your help and I'll at least know what to do.
  3. ryanvade

    ryanvade Administrator Staff Member Staff Writer

    Messages:
    1,273
    Likes Received:
    431
    Trophy Points:
    83
    Is libqt4-opengl available and in the repos? Correct version is available?
  4. bashcommando

    bashcommando Active Member

    Messages:
    212
    Likes Received:
    43
    Trophy Points:
    28
    Yes. I don't know.
  5. curtaintwitcher

    curtaintwitcher New Member

    Messages:
    11
    Likes Received:
    1
    Trophy Points:
    3
    Have a look at the output of
    Code:
    $ apt-cache policy
  6. bashcommando

    bashcommando Active Member

    Messages:
    212
    Likes Received:
    43
    Trophy Points:
    28
    Code:
    Package files:
    100 /var/lib/dpkg/status
        release a=now
    500 http://packages.linuxdeepin.com/deepin/ raring/universe i386 Packages
        release v=13.06,o=Linux Deepin,n=raring,l=Deepin,c=universe
        origin packages.linuxdeepin.com
    500 http://packages.linuxdeepin.com/deepin/ raring/non-free i386 Packages
        release v=13.06,o=Linux Deepin,n=raring,l=Deepin,c=non-free
        origin packages.linuxdeepin.com
    500 http://packages.linuxdeepin.com/deepin/ raring/main i386 Packages
        release v=13.06,o=Linux Deepin,n=raring,l=Deepin,c=main
        origin packages.linuxdeepin.com
    500 http://ftp.us.debian.org/debian/ wheezy-updates/main Translation-en
    500 http://ftp.us.debian.org/debian/ wheezy-updates/main i386 Packages
        release o=Debian,a=stable-updates,n=wheezy-updates,l=Debian,c=main
        origin ftp.us.debian.org
    500 http://security.debian.org/ wheezy/updates/main Translation-en
    500 http://security.debian.org/ wheezy/updates/main i386 Packages
        release v=7.0,o=Debian,a=stable,n=wheezy,l=Debian-Security,c=main
        origin security.debian.org
    500 http://ftp.us.debian.org/debian/ wheezy/main Translation-en
    500 http://ftp.us.debian.org/debian/ wheezy/main i386 Packages
        release v=7.6,o=Debian,a=stable,n=wheezy,l=Debian,c=main
        origin ftp.us.debian.org
    Pinned packages:
  7. curtaintwitcher

    curtaintwitcher New Member

    Messages:
    11
    Likes Received:
    1
    Trophy Points:
    3
    Well it looks like you've made the infamous noobish mistake of mixing repositories and in doing so have broken your dependency chain.

    You can run linux deepin which is based on Ubuntu 13.04, or Debian Wheezy which is not binary compatible and roughly 1 - 2 years older, but not both at the same time.

    Which system did you start out with and which did you add later on?
  8. bashcommando

    bashcommando Active Member

    Messages:
    212
    Likes Received:
    43
    Trophy Points:
    28
  9. curtaintwitcher

    curtaintwitcher New Member

    Messages:
    11
    Likes Received:
    1
    Trophy Points:
    3
    You need to forcibly remove the deepin stuff and then dist-upgrade the system.

    Do not change your sources.list yet.

    Post the output of the following:
    Code:
    $ aptitude search '?narrow(?origin(packages.linuxdeepin.com), ~i)'
  10. bashcommando

    bashcommando Active Member

    Messages:
    212
    Likes Received:
    43
    Trophy Points:
    28
    Best Answer
    Know what? I'll just get linux mint and make sure not to do such a foolish thing again. Thanks for all your help and I'll at least know what to do.

Share This Page