LinuxQuestions.org
Visit Jeremy's Blog.
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 07-22-2004, 08:10 PM   #1
Whitman
LQ Newbie
 
Registered: Jun 2003
Location: England
Distribution: Debian Sarge
Posts: 17

Rep: Reputation: 0
Reason for packages being held back


Is there a way to find out why certain packages are held back while using apt-get?

For the past few days samba and some related files have been held back on my three machines running sarge, yet on a friends computer also running sarge samba isn't being held back.

Obviously this must be a package I have installed which is preventing the upgrade of samba and if possible I'd like to find out which one.

Thanks.
 
Old 07-22-2004, 08:21 PM   #2
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Try aptitude. I find that it gives better info of what's going on with package upgrades, unmet dependencies, etc than using plain apt-get.
 
Old 07-22-2004, 08:41 PM   #3
colabus
Member
 
Registered: Mar 2004
Distribution: Debian Sarge, FC4
Posts: 100

Rep: Reputation: 15
sounds like you need to update your package list "apt-get update" or perhaps it could even be that your source (in sources.list) is hasn't updated either.
 
Old 07-22-2004, 09:29 PM   #4
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,176

Rep: Reputation: 54
I think packages are held back during upgrading when they require installing NEW packages in addition to upgrading existing ones. Perhaps your friend running sarge has those packages installed so samba is upgraded. If you want to upgrade samba and it is held back just:
Code:
apt-get -t testing install samba
Or you can simulate it to see what happens before you actually upgrade it:
Code:
apt-get -s -t testing install samble
You will probably see that it asks for permission to install some NEW packages.

Last edited by m_yates; 07-22-2004 at 09:30 PM.
 
Old 07-22-2004, 09:31 PM   #5
zuralin
Member
 
Registered: Sep 2003
Distribution: Debian testing/unstable
Posts: 225

Rep: Reputation: 30
Are you using 'apt-get upgrade' when you are having these problems? If so try using 'apt-get dist-upgrade'
 
Old 07-22-2004, 10:07 PM   #6
macondo
Senior Member
 
Registered: Jul 2003
Location: Panama
Distribution: Debian Sid
Posts: 1,014

Rep: Reputation: 49
There is a good example of this problem in the APT-HOWTO at debian.org.
 
Old 07-23-2004, 07:43 AM   #7
Whitman
LQ Newbie
 
Registered: Jun 2003
Location: England
Distribution: Debian Sarge
Posts: 17

Original Poster
Rep: Reputation: 0
Thanks guys, I got it working by simply doing apt-get install samba. It then proceeded to remove an old package and replace it with a new one with a similar name.
 
Old 07-23-2004, 06:54 PM   #8
zero79
Member
 
Registered: Nov 2003
Location: Ohio
Distribution: Debian Unstable
Posts: 460

Rep: Reputation: 30
just do

Code:
apt-get dist-upgrade
that will resolve all the dependencies for the packages that are being held back.
 
  


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 held back manicman Linux - Newbie 3 11-25-2005 06:21 PM
Update to Acrobat 7.0 held back by Synaptic acanton Debian 3 04-11-2005 02:25 AM
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
apt-get held back Redbone981sl Linux - Software 3 01-03-2004 03:00 PM
X drops back to 640x480 for no apparent reason Griffon26 Linux - Software 2 06-24-2002 12:55 PM


All times are GMT -5. The time now is 03:17 AM.

Main Menu
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