Failure to install QGIS - held broken packages

Asked by Josh Hatt on 2013-10-06

I previously had a working version of QGIS with OpenLayers plugin working. When I updated to the new version the OpenLayers plugin stopped working and I tried all manner of methods on the internet to get it to work. Eventually I gave up and used windows again waiting for the much anticipated release of QGIS 2. This has now come out but I cannot install a working version with OpenLayers plugin and at the moment it just stops at the error: "E: Unable to correct problems, you have held broken packages."

Nothing seems to work to try and fix this. Any help appreciated.

Thanks,

Josh

The terminal log is:
joshua@toshiba-l300:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

/etc/apt/sources_20131001-10:07:40/sources.list.d/fossfreedom-packagefixes-raring.list

     1 deb http://ppa.launchpad.net/fossfreedom/packagefixes/ubuntu raring main
     2 # deb-src http://ppa.launchpad.net/fossfreedom/packagefixes/ubuntu raring main

/etc/apt/sources_20131001-10:07:40/sources.list.d/ubuntugis-ubuntugis-unstable-raring.list

     1 # deb-src http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu raring main
     2 deb http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu raring main
     3 # deb-src http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu raring main

/etc/apt/sources_20131001-10:07:40/sources.list.d/http-ppa-raring.list

     1 deb http://ppa.launchpad.net/http/ppa/ubuntu raring main
     2 # deb-src http://ppa.launchpad.net/http/ppa/ubuntu raring main
     3 # deb-src http://ppa.launchpad.net/http/ppa/ubuntu raring main

/etc/apt/sources_20131001-10:07:40/sources.list.d/andreas-diesner-garminplugin-raring.list

     1 deb http://ppa.launchpad.net/andreas-diesner/garminplugin/ubuntu raring main

/etc/apt/sources_20131001-10:07:40/sources.list.d/google-talkplugin.list

     1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
     2 # You may comment out this entry, but any other modifications may be lost.
     3 deb http://dl.google.com/linux/talkplugin/deb/ stable main

/etc/apt/sources_20131001-10:07:40/sources.list.d/google-earth.list

     1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
     2 # You may comment out this entry, but any other modifications may be lost.
     3 deb http://dl.google.com/linux/earth/deb/ stable main

/etc/apt/sources_20131001-10:07:40/sources.list.d/-ppa-raring.list

     1 deb http://ppa.launchpad.net//ppa/ubuntu raring main
     2 # deb-src http://ppa.launchpad.net//ppa/ubuntu raring main

/etc/apt/sources_20131001-10:07:40/sources.list

     1 # deb cdrom:[Ubuntu 13.04 _Raring Ringtail_ - Release i386 (20130424)]/ raring main restricted
     2 # deb cdrom:[Ubuntu 13.04 _Raring Ringtail_ - Release i386 (20130424)]/ raring main restricted
     3
     4 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     5 # newer versions of the distribution.
     6 # deb http://archive.ubuntu.com/ubuntu raring main restricted
     7 # deb-src http://archive.ubuntu.com/ubuntu raring main restricted
     8
     9 ## Major bug fix updates produced after the final release of the
    10 ## distribution.
    11 ##deb http://archive.ubuntu.com/ubuntu raring-updates main restricted
    12 ##deb-src http://archive.ubuntu.com/ubuntu raring-updates main restricted
    13
    14 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    15 ## team. Also, please note that software in universe WILL NOT receive any
    16 ## review or updates from the Ubuntu security team.
    17 ##deb http://archive.ubuntu.com/ubuntu raring universe
    18 ##deb-src http://archive.ubuntu.com/ubuntu raring universe
    19 ##deb http://archive.ubuntu.com/ubuntu raring-updates universe
    20 ##deb-src http://archive.ubuntu.com/ubuntu raring-updates universe
    21
    22 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    23 ## team, and may not be under a free licence. Please satisfy yourself as to
    24 ## your rights to use the software. Also, please note that software in
    25 ## multiverse WILL NOT receive any review or updates from the Ubuntu
    26 ## security team.
    27 ##deb http://archive.ubuntu.com/ubuntu raring multiverse
    28 ##deb-src http://archive.ubuntu.com/ubuntu raring multiverse
    29 ##deb http://archive.ubuntu.com/ubuntu raring-updates multiverse
    30 ##deb-src http://archive.ubuntu.com/ubuntu raring-updates multiverse
    31
    32 ## N.B. software from this repository may not have been tested as
    33 ## extensively as that contained in the main release, although it includes
    34 ## newer versions of some applications which may provide useful features.
    35 ## Also, please note that software in backports WILL NOT receive any review
    36 ## or updates from the Ubuntu security team.
    37 ##deb http://archive.ubuntu.com/ubuntu raring-backports main restricted universe multiverse
    38 ##deb-src http://archive.ubuntu.com/ubuntu raring-backports main restricted universe multiverse
    39
    40 # deb http://archive.ubuntu.com/ubuntu raring-security main restricted
    41 # deb-src http://archive.ubuntu.com/ubuntu raring-security main restricted
    42 # deb http://archive.ubuntu.com/ubuntu raring-security universe
    43 # deb-src http://archive.ubuntu.com/ubuntu raring-security universe
    44 # deb http://archive.ubuntu.com/ubuntu raring-security multiverse
    45 # deb-src http://archive.ubuntu.com/ubuntu raring-security multiverse
    46
    47
    48 ## Uncomment the following two lines to add software from Canonical's
    49 ## 'partner' repository.
    50 ## This software is not part of Ubuntu, but is offered by Canonical and the
    51 ## respective vendors as a service to Ubuntu users.
    52 deb http://archive.canonical.com/ubuntu raring partner
    53 deb-src http://archive.canonical.com/ubuntu raring partner
    54
    55 ## This software is not part of Ubuntu, but is offered by third-party
    56 ## developers who want to ship their latest software.
    57 deb http://extras.ubuntu.com/ubuntu raring main
    58 deb-src http://extras.ubuntu.com/ubuntu raring main
    59
    60 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
    61 # newer versions of the distribution.
    62
    63 ## Major bug fix updates produced after the final release of the
    64 ## distribution.
    65
    66 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    67 ## team. Also, please note that software in universe WILL NOT receive any
    68 ## review or updates from the Ubuntu security team.
    69
    70 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    71 ## team, and may not be under a free licence. Please satisfy yourself as to
    72 ## your rights to use the software. Also, please note that software in
    73 ## multiverse WILL NOT receive any review or updates from the Ubuntu
    74 ## security team.
    75
    76 ## N.B. software from this repository may not have been tested as
    77 ## extensively as that contained in the main release, although it includes
    78 ## newer versions of some applications which may provide useful features.
    79 ## Also, please note that software in backports WILL NOT receive any review
    80 ## or updates from the Ubuntu security team.
    81
    82 ## This software is not part of Ubuntu, but is offered by third-party
    83 deb http://www.openprinting.org/download/printdriver/debian/ lsb3.2 main
    84 ## developers who want to ship their latest software.
    85
    86 deb http://archive.ubuntu.com/ubuntu raring main universe restricted multiverse
    87 deb http://security.ubuntu.com/ubuntu/ raring-security main universe multiverse restricted
    88 deb http://archive.ubuntu.com/ubuntu raring-updates main universe multiverse restricted
    89 deb http://archive.ubuntu.com/ubuntu raring-proposed main universe multiverse restricted
    90 deb http://archive.ubuntu.com/ubuntu raring-backports main universe multiverse restricted
    91
    92 deb http://qgis.org/debian raring main
    93 deb-src http://qgis.org/debian raring main
    94

/etc/apt/sources.list.d/fossfreedom-packagefixes-raring.list

     1 deb http://ppa.launchpad.net/fossfreedom/packagefixes/ubuntu raring main
     2 # deb-src http://ppa.launchpad.net/fossfreedom/packagefixes/ubuntu raring main

/etc/apt/sources.list.d/ubuntugis-ubuntugis-unstable-raring.list

     1 # deb-src http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu raring main
     2 # deb http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu raring main
     3 # deb-src http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu raring main
     4 # deb-src http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu raring main

/etc/apt/sources.list.d/http-ppa-raring.list

     1 # deb http://ppa.launchpad.net/http/ppa/ubuntu raring main
     2 # deb-src http://ppa.launchpad.net/http/ppa/ubuntu raring main
     3 # deb-src http://ppa.launchpad.net/http/ppa/ubuntu raring main

/etc/apt/sources.list.d/andreas-diesner-garminplugin-raring.list

     1 deb http://ppa.launchpad.net/andreas-diesner/garminplugin/ubuntu raring main

/etc/apt/sources.list.d/google-talkplugin.list

     1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
     2 # You may comment out this entry, but any other modifications may be lost.
     3 deb http://dl.google.com/linux/talkplugin/deb/ stable main

/etc/apt/sources.list.d/google-earth.list

     1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
     2 # You may comment out this entry, but any other modifications may be lost.
     3 deb http://dl.google.com/linux/earth/deb/ stable main

/etc/apt/sources.list.d/-ppa-raring.list

     1 # deb http://ppa.launchpad.net//ppa/ubuntu raring main
     2 # deb-src http://ppa.launchpad.net//ppa/ubuntu raring main

/etc/apt/sources.list

     1 # deb cdrom:[Ubuntu 13.04 _Raring Ringtail_ - Release i386 (20130424)]/ raring main restricted
     2 # deb cdrom:[Ubuntu 13.04 _Raring Ringtail_ - Release i386 (20130424)]/ raring main restricted
     3
     4 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     5 # newer versions of the distribution.
     6 # deb http://archive.ubuntu.com/ubuntu raring main restricted
     7 # deb-src http://archive.ubuntu.com/ubuntu raring main restricted
     8
     9 ## Major bug fix updates produced after the final release of the
    10 ## distribution.
    11 ##deb http://archive.ubuntu.com/ubuntu raring-updates main restricted
    12 ##deb-src http://archive.ubuntu.com/ubuntu raring-updates main restricted
    13
    14 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    15 ## team. Also, please note that software in universe WILL NOT receive any
    16 ## review or updates from the Ubuntu security team.
    17 ##deb http://archive.ubuntu.com/ubuntu raring universe
    18 ##deb-src http://archive.ubuntu.com/ubuntu raring universe
    19 ##deb http://archive.ubuntu.com/ubuntu raring-updates universe
    20 ##deb-src http://archive.ubuntu.com/ubuntu raring-updates universe
    21
    22 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    23 ## team, and may not be under a free licence. Please satisfy yourself as to
    24 ## your rights to use the software. Also, please note that software in
    25 ## multiverse WILL NOT receive any review or updates from the Ubuntu
    26 ## security team.
    27 ##deb http://archive.ubuntu.com/ubuntu raring multiverse
    28 ##deb-src http://archive.ubuntu.com/ubuntu raring multiverse
    29 ##deb http://archive.ubuntu.com/ubuntu raring-updates multiverse
    30 ##deb-src http://archive.ubuntu.com/ubuntu raring-updates multiverse
    31
    32 ## N.B. software from this repository may not have been tested as
    33 ## extensively as that contained in the main release, although it includes
    34 ## newer versions of some applications which may provide useful features.
    35 ## Also, please note that software in backports WILL NOT receive any review
    36 ## or updates from the Ubuntu security team.
    37 ##deb http://archive.ubuntu.com/ubuntu raring-backports main restricted universe multiverse
    38 ##deb-src http://archive.ubuntu.com/ubuntu raring-backports main restricted universe multiverse
    39
    40 # deb http://archive.ubuntu.com/ubuntu raring-security main restricted
    41 # deb-src http://archive.ubuntu.com/ubuntu raring-security main restricted
    42 # deb http://archive.ubuntu.com/ubuntu raring-security universe
    43 # deb-src http://archive.ubuntu.com/ubuntu raring-security universe
    44 # deb http://archive.ubuntu.com/ubuntu raring-security multiverse
    45 # deb-src http://archive.ubuntu.com/ubuntu raring-security multiverse
    46
    47
    48 ## Uncomment the following two lines to add software from Canonical's
    49 ## 'partner' repository.
    50 ## This software is not part of Ubuntu, but is offered by Canonical and the
    51 ## respective vendors as a service to Ubuntu users.
    52 deb http://archive.canonical.com/ubuntu raring partner
    53 deb-src http://archive.canonical.com/ubuntu raring partner
    54
    55 ## This software is not part of Ubuntu, but is offered by third-party
    56 ## developers who want to ship their latest software.
    57 # deb http://extras.ubuntu.com/ubuntu raring main
    58 # deb-src http://extras.ubuntu.com/ubuntu raring main
    59
    60 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
    61 # newer versions of the distribution.
    62
    63 ## Major bug fix updates produced after the final release of the
    64 ## distribution.
    65
    66 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    67 ## team. Also, please note that software in universe WILL NOT receive any
    68 ## review or updates from the Ubuntu security team.
    69
    70 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    71 ## team, and may not be under a free licence. Please satisfy yourself as to
    72 ## your rights to use the software. Also, please note that software in
    73 ## multiverse WILL NOT receive any review or updates from the Ubuntu
    74 ## security team.
    75
    76 ## N.B. software from this repository may not have been tested as
    77 ## extensively as that contained in the main release, although it includes
    78 ## newer versions of some applications which may provide useful features.
    79 ## Also, please note that software in backports WILL NOT receive any review
    80 ## or updates from the Ubuntu security team.
    81
    82 ## This software is not part of Ubuntu, but is offered by third-party
    83 deb http://www.openprinting.org/download/printdriver/debian/ lsb3.2 main
    84 ## developers who want to ship their latest software.
    85
    86 deb http://archive.ubuntu.com/ubuntu raring main universe restricted multiverse
    87 deb-src http://archive.ubuntu.com/ubuntu raring main multiverse universe restricted #Added by software-properties
    88 deb http://security.ubuntu.com/ubuntu/ raring-security main universe multiverse restricted
    89 deb-src http://security.ubuntu.com/ubuntu/ raring-security main universe multiverse restricted #Added by software-properties
    90 deb http://archive.ubuntu.com/ubuntu raring-updates main universe multiverse restricted
    91 deb-src http://archive.ubuntu.com/ubuntu raring-updates main universe multiverse restricted #Added by software-properties
    92 deb http://archive.ubuntu.com/ubuntu raring-proposed main universe multiverse restricted
    93 deb-src http://archive.ubuntu.com/ubuntu raring-proposed main universe multiverse restricted #Added by software-properties
    94 deb http://archive.ubuntu.com/ubuntu raring-backports main universe multiverse restricted
    95 deb-src http://archive.ubuntu.com/ubuntu raring-backports main universe multiverse restricted #Added by software-properties
    96
    97 deb http://qgis.org/debian raring main
    98 deb-src http://qgis.org/debian raring main
    99
joshua@toshiba-l300:~$

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Last query:
2013-10-06
Last reply:
2013-10-06

What is the output of:

sudo apt-get update; sudo apt-get -f install

Thanks

Josh Hatt (josh-rockstock) said : #2

Hi Actionparsnip

The sudo apt-get update and sudo apt-get -f install ends with:

Fetched 526 kB in 23s (22,4 kB/s)
Reading package lists... Done
joshua@toshiba-l300:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

Regards,

Josh

Ok and the output of:

sudo apt-get upgrade

Thanks

Josh Hatt (josh-rockstock) said : #4

joshua@toshiba-l300:~$ sudo apt-get upgrade
[sudo] password for joshua:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
  libqgis-dev libqgis2.0.1
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

What is the output of:

apt-cache policy libqgis-dev libqgis2.0.1

Thanks

Josh Hatt (josh-rockstock) said : #6

joshua@toshiba-l300:~$ apt-cache policy libqgis-dev libqgis2.0.1
libqgis-dev:
  Installed: 2.0.1-1~raring1
  Candidate: 2.0.1-2+raring1
  Version table:
     2.0.1-2+raring1 0
        500 http://qgis.org/debian/ raring/main i386 Packages
 *** 2.0.1-1~raring1 0
        100 /var/lib/dpkg/status
     1.7.4+1.7.5~20120320-1.1 0
        500 http://archive.ubuntu.com/ubuntu/ raring/universe i386 Packages
libqgis2.0.1:
  Installed: 2.0.1-1~raring1
  Candidate: 2.0.1-2+raring1
  Version table:
     2.0.1-2+raring1 0
        500 http://qgis.org/debian/ raring/main i386 Packages
 *** 2.0.1-1~raring1 0
        100 /var/lib/dpkg/status

Then your 3rd party needs contacting. I'm surprised it updates at all with all that 3rd party stuff you have.

Josh Hatt (josh-rockstock) said : #8

Please can you elaborate I'm not too sure what you mean? If you mean I should disable or remove stuff please feel free to say.

Thanks,

Josh

The packages are held because their dependancies are not met. The guys at qgus have set a dependancy on a package hich your OS cannot satisfy.

Josh Hatt (josh-rockstock) said : #10

Many Thanks

I thought I was just being useless. I'll try and send the thread through to them.

Regards,

Josh

Can you help with this problem?

Provide an answer of your own, or ask Josh Hatt for more information if necessary.

To post a message you must log in.