Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-27-2012, 09:22 PM   #1
LQ Newbie
Registered: Oct 2005
Posts: 15

Rep: Reputation: 1
using apt. how to tell if a package is superseded


I am using the distribution aptosid and I have a question about the debian package management system. I think I have seen it before but is there a way to tell if a package is being replaced by another package with a different name? Sometimes when I do an apt-get dist-upgrade a package is sometimes replaced by another package with another name as the new package supplies what the old package did.

I thought the command was "apt-cache policy <packagename> " but I do not see it what I am looking for. I just want to make sure that I do not remove a package that should not be removed.

If anyone has any questions let me know.


Last edited by bmorency; 04-27-2012 at 09:32 PM.
Old 04-27-2012, 09:53 PM   #2
Senior Member
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,883
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
apt-cache policy shows installed and available, sometimes they are the same version if there is an updated package the versions will be different.

$ apt-cache policy iceweasel
Installed: 10.0.4esr-2
Candidate: 10.0.4esr-2
Version table:
12.0-2 0
1 experimental/main i386 Packages
*** 10.0.4esr-2 0
500 unstable/main i386 Packages
100 /var/lib/dpkg/status

Read the apt-get man pages will explain in more detail. The nice thing about debian is the smart package management system. Install apt--listbugs and apt-listchanges, and enjoy the ride. Or the aptosid manual.
Old 04-28-2012, 09:26 AM   #3
LQ Newbie
Registered: Oct 2005
Posts: 15

Original Poster
Rep: Reputation: 1
ok thanks. I will read up a little more and give those other packages a try.


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
Replaced MB now I get volgroup00 not found Maleki Linux - Newbie 8 10-24-2008 03:47 PM
replaced with ? doughall Fedora 3 08-31-2005 07:26 AM
Gnome replaced KDE gepesz Linux - Software 8 08-09-2005 10:41 AM
/proc replaced by /sys in 2.6? Thaidog Linux - General 1 04-25-2005 07:09 PM
What replaced tqueue.h? forge1968 Linux - Software 1 02-15-2005 03:20 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:56 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration