LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-27-2004, 12:20 AM   #1
zero79
Member
 
Registered: Nov 2003
Location: Ohio
Distribution: Debian Unstable
Posts: 460

Rep: Reputation: 30
how to install the "packages that have been held back" when doing "apt-get upgrade&qu


Hi everyone,

I'm using Debian Sarge, and when i do an "apt-get upgrade," i notice an ever-increasing list of packages that are "kept back." What causes these packages to be held back? cross-dependencies maybe? do i want them to be installed? a lot of them appear to be gnome packages. if i wanted to install them, what would be the best way to go about it? i've tried using synaptic to "upgrade" packages individually, but when i do that, it appears that apt wants to remove a lot of gnome packages before proceeding. i use gnome as my desktop environment, so i decided not to do that. thanks for your thoughts.
 
Old 06-27-2004, 04:27 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
apt

There are several reasons why packages are held back. To find out why a package is being held try to select it manually for upgrade and apt will tell you if it clashes with an already installed package or if it needs some packages on the system similar to itself to be removed before an upgrade/installation is possible. With newer versions of apt you can select smart upgrade and fewer packages are held back.
 
Old 06-27-2004, 10:44 AM   #3
zero79
Member
 
Registered: Nov 2003
Location: Ohio
Distribution: Debian Unstable
Posts: 460

Original Poster
Rep: Reputation: 30
thanks redazz,

i went into synaptic and selected the "upgrade system" icon and selected "smart upgrade" when prompted for the methodology to upgrade, and that upgraded all of the "kept back" packages.

how do i do a "smart upgrade" from the shell? i looked through the apt-get man and couldn't find anything about it. and i did a quick google search, but nothing jumped out right away.

thanks

Last edited by zero79; 06-27-2004 at 10:57 AM.
 
Old 06-27-2004, 11:00 AM   #4
zuralin
Member
 
Registered: Sep 2003
Distribution: Debian testing/unstable
Posts: 229

Rep: Reputation: 32
apt-get dist-upgrade
 
Old 06-27-2004, 08:14 PM   #5
mysterio
Member
 
Registered: Sep 2003
Location: Springfield Ma.
Distribution: Mandrake 9.2,Knoppix 3.7,Slackware 10.0, FreeBSD. 5.3, OpenBSD 3.6, NetBSD 2.0, Debian
Posts: 275

Rep: Reputation: 30
Or aptitude dist-upgrade
 
Old 06-27-2004, 08:19 PM   #6
blindgren
LQ Newbie
 
Registered: Jun 2004
Distribution: Debian Testing
Posts: 13

Rep: Reputation: 0
You can try apt-cache depends "held back package name" to check the dependencies on the package as well to see if it might interfere with an already installed package.
 
  


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
Where to download rpm packages of "gocr" and "kooka" satimis Linux - Software 6 02-23-2006 11:35 PM
apt-get upgrade packages held back manicman Linux - Newbie 3 11-25-2005 06:21 PM
Can't install "glibmm" library. "configure" script can't find "sigc++-2.0&q kornerr Linux - General 4 05-10-2005 02:32 PM
How to use synaptic "smart upgrade or "apt-get dist-upgrade" PenguinMolester Ubuntu 2 04-04-2005 02:11 PM
How can I install just one or two packages from another "favor" with apt-get? davidas Debian 3 04-09-2004 06:58 PM

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

All times are GMT -5. The time now is 03:40 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