packages kept back

New to Debian (Or Linux in general)? Ask your questions here!

packages kept back

Postby onoff » 2017-09-21 14:08

I get that certain packages can't be installed:

Code: Select all
    $ sudo apt-get upgrade
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Calculating upgrade... Done
    The following packages have been kept back:
      libgd3
    0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.


After searching the web and trying several things I still can't remove this issue. I've tried to use `apt-get install -f`, checked for broken packages in synaptic (but there are none) and tried the distro upgrade. The issue is because of the unmet dependency of the following package:
Code: Select all
    $ sudo apt-get install -f libgd3
    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:
     libgd3 : Depends: libfontconfig1 (>= 2.11.94) but 2.11.0-6.7+b1 is to be installed
    E: Unable to correct problems, you have held broken packages.

What I then tried is to run a apt-cache policy with the following output

Code: Select all
 sudo apt-cache policy libfontconfig1
    libfontconfig1:
      Installed: 2.11.0-6.7+b1
      Candidate: 2.11.0-6.7+b1
      Version table:
     *** 2.11.0-6.7+b1 500
            500 http://http.us.debian.org/debian stable/main amd64 Packages
            100 /var/lib/dpkg/status
         2.9.0-7.1+deb7u1 500
            500 http://security.debian.org wheezy/updates/main amd64 Packages
         2.9.0-7.1 500
            500 http://debian.ethz.ch/debian wheezy/main amd64 Packages


how can I resolve this issue?
onoff
 
Posts: 3
Joined: 2015-02-08 09:30

Re: packages kept back

Postby wizard10000 » 2017-09-21 14:33

Where are you trying to get libgd3 from? Stretch needs libfontconfig1 v2.11 or later, Buster and Sid require 2.12.

Do you have any non-Debian repositories enabled? AFAICT libfontconfig1 2.11.94 isn't in any Debian repo.
we see things not as they are, but as we are.
-- anais nin
User avatar
wizard10000
 
Posts: 1218
Joined: 2011-05-09 20:02
Location: everywhere i go, there i am!

Re: packages kept back

Postby onoff » 2017-09-21 16:40

thanks for your help. To be honest with you, I don't know :) Here is my source.list:

Code: Select all
cat /etc/apt/sources.list
#

# deb cdrom:[Debian GNU/Linux 7 _Wheezy_ - Official Snapshot amd64 LIVE/INSTALL Binary 20140723-17:40]/ wheezy main

# deb cdrom:[Debian GNU/Linux 7 _Wheezy_ - Official Snapshot amd64 LIVE/INSTALL Binary 20140723-17:40]/ wheezy main

deb http://debian.ethz.ch/debian/ wheezy main
deb-src http://debian.ethz.ch/debian/ wheezy main

deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main

# wheezy-updates, previously known as 'volatile'
deb http://debian.ethz.ch/debian/ wheezy-updates main
deb-src http://debian.ethz.ch/debian/ wheezy-updates main

# experimental stuff

deb http://ftp.debian.org/debian experimental main

deb http://http.us.debian.org/debian stable main contrib non-free


deb http://www.apache.org/dist/cassandra/debian 30x main
deb-src http://www.apache.org/dist/cassandra/debian 30x main

deb http://httpredir.debian.org/debian jessie-backports main contrib non-free
deb [arch=amd64] https://download.docker.com/linux/debian stretch stable
# deb-src [arch=amd64] https://download.docker.com/linux/debian stretch stable
# deb-src [arch=amd64] https://download.docker.com/linux/debian stretch stable


I've just wanted to run an update / upgrade and got that message
onoff
 
Posts: 3
Joined: 2015-02-08 09:30

Re: packages kept back

Postby 4D696B65 » 2017-09-21 17:09

Mixing wheezy,jessie, and stretch?
User avatar
4D696B65
 
Posts: 2035
Joined: 2009-06-28 06:09

Re: packages kept back

Postby GarryRicketson » 2017-09-21 17:14

User avatar
GarryRicketson
 
Posts: 4440
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: packages kept back

Postby wizard10000 » 2017-09-21 18:18

4D696B65 wrote:Mixing wheezy,jessie, and stretch?


And Experimental :)
we see things not as they are, but as we are.
-- anais nin
User avatar
wizard10000
 
Posts: 1218
Joined: 2011-05-09 20:02
Location: everywhere i go, there i am!

Re: packages kept back

Postby alan stone » 2017-09-21 18:21

4D696B65 wrote:Mixing wheezy,jessie, and stretch?

onoff wrote:how can I resolve this issue?

Option 1.

Option 2: Please feel free to try to resolve the issues using this manual instead Debian's and/or this picture as wallpaper.
EDIT: And use this dedicated forum.
Debian 8.9 32bit, WM: Openbox
Computers are like air conditioners. They work fine until you start opening windows. - Author Unknown
Programming is like sex. One mistake and you have to support it for the rest of your life. - Michael Sinz
User avatar
alan stone
 
Posts: 219
Joined: 2011-10-22 14:08
Location: In my body.

Re: packages kept back

Postby sunrat » 2017-09-21 21:56

Another case for Repo mix-and-match hit parade

viewtopic.php?f=20&t=114130
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2052
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: packages kept back

Postby stevepusser » 2017-09-21 22:19

onoff wrote:how can I resolve this issue?


This.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Krita 3.3.2.1, Pale Moon 27.6.0, Audacity 2.2.0, mpv 0.27.0, Corebird 1.7.1, Firefox 57.0, SMPlayer 17.11.2
User avatar
stevepusser
 
Posts: 8935
Joined: 2009-10-06 05:53

Re: packages kept back

Postby sunrat » 2017-09-21 22:22

stevepusser wrote:
onoff wrote:how can I resolve this issue?


This.


Translation - reinstall from scratch and don't mix repos.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2052
Joined: 2006-08-29 09:12
Location: Melbourne, Australia


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable