LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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, 06:06 PM   #1
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,618

Rep: Reputation: 48
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, 06:11 PM   #2
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

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

Original Poster
Rep: Reputation: 48
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, 06:54 PM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 64
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, 12:10 PM   #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, 04:22 AM   #6
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,618

Original Poster
Rep: Reputation: 48
thanks a lot !
 
Old 04-11-2007, 09: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: 60
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, 03: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 04:27 PM
apt-get upgrade packages held back manicman Linux - Newbie 3 11-25-2005 07:21 PM
apt-get upgrade lists many packages kept back malbery Debian 2 01-05-2005 02:15 PM
how to install the "packages that have been held back" when doing "apt-get upgrade&qu zero79 Debian 5 06-27-2004 09:19 PM
Why does apt 'keep back' packages for gaim and grip? Bruce Hill Linux - Newbie 4 07-18-2003 08:53 PM


All times are GMT -5. The time now is 02:21 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration