LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-26-2003, 09:45 AM   #1
joesbox
Member
 
Registered: Feb 2003
Location: hampton va
Distribution: ubuntu
Posts: 502

Rep: Reputation: 30
Question what does "The following packages have been kept back" mean


here is what the term looks like after apt-get upgrade
Code:
geekazoid:~# apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages have been kept back
  imagemagick libmng1 libpango1.0-0 libpango1.0-common libpango1.0-dev python
  python-tk python2.2 python2.2-tk tasksel
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
geekazoid:~#
what does the "...kept back" quote mean. do i have to upgrade them individually or do i not have to upgrade them at all or what??
 
Old 10-26-2003, 10:05 AM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
It is possible that the packages that have been kept back depend on a new package, or the Debian distribution site you're using is not complete (in an inconsistent state - this is not very likely, it has never happened to me). apt-get upgrade will not install new packages, even to satisfy denendencies, so try using apt-get dist-upgrade instead. You will have to do this if you run Testing or Unstable since package dependencies are altered all the time in these distributions.

Håkan
 
Old 10-26-2003, 04:35 PM   #3
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Re: what does "The following packages have been kept back" mean

Quote:
Originally posted by joesbox
here is what the term looks like after apt-get upgrade
Code:
geekazoid:~# apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages have been kept back
  imagemagick libmng1 libpango1.0-0 libpango1.0-common libpango1.0-dev python
  python-tk python2.2 python2.2-tk tasksel
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
geekazoid:~#
what does the "...kept back" quote mean. do i have to upgrade them individually or do i not have to upgrade them at all or what??
Kept back means that some of the programs require another program or library that is not going to be installed at the version needed or you have put the program/library on hold to prevent their upgrade. If you absolutely need the newer versions of the programs that are being held back the you need to find the problem and correct it otherwise you can just wait until the required version of the program/library is installable and the programs being held back will install.

To find the program/library holding back the install start with say python apt-get -s install python to simulate the install if it looks like it will install then more than likely it is pulling in the newer version that was holding it back so remove the -s from the line to install and you now should be able to proceed with the upgrade if you get a screen that tells you that XYZ needs to be version >= 1.2.3 and version 1.2.2 is going to be installed you would use apt-cache policy XYZ to see the available versions of XYZ and where they will be installed from, now say that version 1.2.3-1 is availabe from unstable for XYZ then to install it you would apt-get install XYZ/unstable or apt-get install -t unstable XYZ to install from the unstable branch, apt-get install XYZ=1.2.3-1 will install the exact version number. You would now proceed with trying the upgrade again if the programs are being held back still then you would repeat the procedure until you track down and install everything that is needed for the upgrade to complete. Sometimes you end up with two or more programs/libraries that will not install without the newer version of each other with this situation you would put them all on the same command line to install eg. apt-get install -t unstable program1 program2 program3.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Where to download rpm packages of "gocr" and "kooka" satimis Linux - Software 6 02-23-2006 11:35 PM
how to install the "packages that have been held back" when doing "apt-get upgrade&qu zero79 Debian 5 06-27-2004 08:19 PM
Where can I find the "make" & "cc" packages?? sayeed_ather Mandriva 2 04-28-2004 02:02 AM
"I have a4 tech 5 button mouse but can't use the two for back&forward in browsing " aicholate Linux - Hardware 1 02-26-2004 11:16 AM
How to find back "history" database after "history -c" ? san_lss Linux - Newbie 1 01-07-2004 11:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration