LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-21-2004, 05:13 AM   #1
southpole.dk
Member
 
Registered: Apr 2004
Location: Denmark
Distribution: Debian
Posts: 32

Rep: Reputation: 15
Why does apt-rpm .... ???


Hey ..o0( )

I have been using apt-rpm for some time now, but now when I try to "apt-get upgrade"

it gives me:

The following packages have been kept back
apt docbookdtds expat gaim grip ....

and so on! In totalt 28 packages!

Why?
 
Old 05-21-2004, 06:58 AM   #2
odd
Member
 
Registered: Apr 2004
Location: England
Distribution: Redhat 9
Posts: 123

Rep: Reputation: 15
I'm not sure but maybe you have the latest release of those programs? I'm still pretty new to using it, so im probably wrong.
 
Old 05-21-2004, 08:16 AM   #3
southpole.dk
Member
 
Registered: Apr 2004
Location: Denmark
Distribution: Debian
Posts: 32

Original Poster
Rep: Reputation: 15
No. I have a lot of other programs, also the latest releases.
 
Old 05-21-2004, 03:45 PM   #4
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
There must be a dependancy that is not being upgraded, so those packages cannot be upgraded until that other package (a dependancy) is resolved. You'll probably have to wait a few days, but it usually irons out.
 
Old 05-21-2004, 05:47 PM   #5
comp12345
Member
 
Registered: Feb 2004
Posts: 467

Rep: Reputation: 30
Try an
Code:
apt-get dist-upgrade
This may happen when there is a software conflict (i.e. upgrading one package requires the removal of another). Rather than removing the package, updated packages are held back.
 
Old 05-22-2004, 03:01 AM   #6
jon_k
Member
 
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547

Rep: Reputation: 30
Quote:
Originally posted by comp12345
[B]Try an
Code:
apt-get dist-upgrade
I'd definately not try that if I were you. With my expierience on Redhat, Fedora, AND Debian every time I upgrade my entire distribution I end up rebooting to a totally fcked system.

I don't know how everyone else has had luck with it but I've always had a fxked system, so just a friendly warning
 
Old 05-22-2004, 04:59 AM   #7
southpole.dk
Member
 
Registered: Apr 2004
Location: Denmark
Distribution: Debian
Posts: 32

Original Poster
Rep: Reputation: 15
I have the same experience as jon_k I'm afraid.

Any other suggestions?
 
Old 05-22-2004, 11:25 PM   #8
Xian
Member
 
Registered: Feb 2004
Location: 33.31N -111.97W
Distribution: SuSE
Posts: 919

Rep: Reputation: 32
comp12345 makes an accurate diagnosis. I have found that most packages held back during a "upgrade" command are not present during a "dist-upgrade" command, for the very reason mentioned in his post. jon_k is also correct in saying that dist-upgrade can definitely cause some nasty issues if you don't take good precautions.

There are some important things to note before doing a dist-upgrade:

- Verify the apt components present in your sources.list. This is key. There is some good information here on what components to leave out under most upgrade scenarios.
- Make use of the "Hold" option in your apt.conf file. Use this when there are some specific packages (like kernel upgrades) that you don't want to install, but you do need the component from which it is located.

After preparing the sources.list and apt.conf file, try the dist-upgrade command and if nothing else just see what it recommends. It won't actually download and install anything until you give it permission. Does it take care of your held back packages? Keep in mind that you often have to run dist-upgrade more than once to finally remove all held packages.

Read the Hints section throughly.
 
Old 05-23-2004, 12:17 AM   #9
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Quite true.

Apt-get upgrade upgrades what you have, leaving any new deps as they are - resulting in the occasional hold

Apt-get dist-upgrade trys to resolve new dependancies as well and upgrade it all. You can see why this would be essential for a Distribution upgrade...
 
Old 05-23-2004, 06:30 AM   #10
southpole.dk
Member
 
Registered: Apr 2004
Location: Denmark
Distribution: Debian
Posts: 32

Original Poster
Rep: Reputation: 15
Xian, I did as you said, and it worked! thx. :-)
 
  


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 for both rpm and deb abd_bela Conectiva 1 02-16-2005 08:40 AM
RPM dependency help (apt 4 rpm) Cubsy Linux - Software 4 10-08-2004 04:15 PM
apt for RPM maenho Linux - Software 5 04-29-2004 10:57 AM
Can I use both apt and rpm? sonofdbn Linux - Software 1 02-29-2004 11:15 AM
apt-rpm Antoine Linux - Software 6 08-11-2003 07:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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