LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-09-2007, 05:06 PM   #1
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,623

Rep: Reputation: 51
apt-get upgrade packages have been kept back


hi

I have sarge stable sarge installed:
Code:
# uname -a
Linux cc.mydomain.net 2.6.8-2-686 #1 Tue Aug 16 13:22:48 UTC 2005 i686 GNU/Linux
knows someone why some packages have been kept back and howto solve this problem ?
Code:
# apt-get update
Hit http://ftp.ch.debian.org sarge/main Packages
Hit http://ftp.ch.debian.org sarge/main Release
Hit http://ftp.ch.debian.org sarge/main Sources
Hit http://ftp.ch.debian.org sarge/main Release
Hit http://security.debian.org stable/updates/main Packages
Hit http://security.debian.org stable/updates/main Release
Reading Package Lists... Done
# apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages have been kept back:
  dia-common dia-gnome dia-libs file inkscape libkrb53 libmagic1
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
 
Old 04-09-2007, 05:11 PM   #2
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 77
I have seen it do that before. Have you tried using the --force option?
 
Old 04-09-2007, 05:29 PM   #3
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,623

Original Poster
Rep: Reputation: 51
Quote:
Originally Posted by Carlwill
I have seen it do that before. Have you tried using the --force option?
thanks, but how it shoud work ?
 
Old 04-09-2007, 05:54 PM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by cccc
thanks, but how it shoud work ?
Just try apt-get install dia-common dia-gnome dia-libs file inkscape libkrb53 libmagic1 and the packages should install, if apt complains about a package(s) missing add it/them to the end of the line until it will install.
 
Old 04-10-2007, 11:10 AM   #5
jdog006
LQ Newbie
 
Registered: Jan 2005
Posts: 12

Rep: Reputation: 0
The easiest way to install packages which have been kept back is to do "apt-get dist-upgrade".
 
Old 04-11-2007, 03:22 AM   #6
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,623

Original Poster
Rep: Reputation: 51
thanks a lot !
 
Old 04-11-2007, 08:11 AM   #7
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Something that might bite you soon ... You're pulling application updates from "Sarge" and security updates from "stable" ... Those two are no longer the same. Consider uprading to Etch, the new Stable, soon.

Read the Release Notes first.
 
Old 04-11-2007, 02:35 PM   #8
jdog006
LQ Newbie
 
Registered: Jan 2005
Posts: 12

Rep: Reputation: 0
One more tip. Besides using dist-upgrade, I'd recommend changing your sources list.

Instead of specifying a release name in your sources list (etch, sarge, etc), list the repository name (stable, testing, unstable). That way you won't really be affected by future releases. You will always pull updates from the debian branch that you want (stable, testing, unstable) regardless of what it might be named at the time.
 
  


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
apt-get upgrade: packages kept back, etch jameslaw Debian 1 04-28-2006 03:27 PM
apt-get upgrade packages held back manicman Linux - Newbie 3 11-25-2005 06:21 PM
apt-get upgrade lists many packages kept back malbery Debian 2 01-05-2005 01:15 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
Why does apt 'keep back' packages for gaim and grip? Bruce Hill Linux - Newbie 4 07-18-2003 07:53 PM

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

All times are GMT -5. The time now is 02:48 AM.

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