LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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-19-2006, 05:06 PM   #1
Nivram
LQ Newbie
 
Registered: Apr 2006
Distribution: Debian
Posts: 9

Rep: Reputation: 0
aptitude: release of package?


I'm wondering if in aptitude (not command line version ) there is the possibility to get the information of which release (stable, testing, unstable) a given package (version number) is from. That would tell me more than just the version number.
 
Old 07-19-2006, 08:58 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
I don't know, but when I navigate my Sarge aptitude menu, the version number of a package is usually something like 2.37-sarge2... Is it that way for testing/unstable?
 
Old 07-19-2006, 09:16 PM   #3
JackieBrown
Member
 
Registered: Dec 2004
Location: San Antonio, TX
Distribution: Debian-AMD64 Sid
Posts: 481

Rep: Reputation: 31
Quote:
Originally Posted by pljvaldez
I don't know, but when I navigate my Sarge aptitude menu, the version number of a package is usually something like 2.37-sarge2... Is it that way for testing/unstable?
No it is not
 
Old 07-19-2006, 09:23 PM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by pljvaldez
I don't know, but when I navigate my Sarge aptitude menu, the version number of a package is usually something like 2.37-sarge2... Is it that way for testing/unstable?
That combination with a sarge? in the version number would be telling you that it is a security updated package. To Nivram you may want to check into apt-show-versions it does what you want I believe.

Code:
apt-cache show apt-show-versions
Package: apt-show-versions
Priority: optional
Section: admin
Installed-Size: 34
Maintainer: Christoph Martin <christoph.martin@uni-mainz.de>
Architecture: all
Version: 0.09
Depends: perl | perl-5.005 | perl-5.004, apt, libapt-pkg-perl, libstorable-perl
Filename: pool/main/a/apt-show-versions/apt-show-versions_0.09_all.deb
Size: 18872
MD5sum: 9b61912855fdd5808779dee4e4cb9acf
SHA1: 7fc3606ca42b786ed67004e5232e438eee6fe3e8
SHA256: f27985bb3faad8b8bf916983547d65f75cef9d52ccb9a690527bb03a324629c3
Description: lists available package versions with distribution
 apt-show-versions parses the dpkg status file and the APT lists for
 the installed and available package versions and distribution and
 shows upgrade options within the specific distribution of the selected
 package.
 .
 This is really useful if you have a mixed stable/testing environment
 and want to list all packages which are from testing and can be
 upgraded in testing.
Tag: admin::package-management, interface::commandline, made-of::lang:perl, suite::debian, use::checking, works-with::software:package
 
Old 07-20-2006, 02:38 AM   #5
Nivram
LQ Newbie
 
Registered: Apr 2006
Distribution: Debian
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by HappyTux
Code:
apt-cache show apt-show-versions
Yeah, that's the same that i get from the aptitude command line (aptitude show...).

But imagine, i'm in aptitude, fumbling with my package versions, and then aptitude wants me to decide, if i should take 1.0.2-1 or 1.6.5-4?!? Now, do i have to leave aptitude and use the aptitude command line?!? That's absurd. The info is available in aptitude, so just show me.

I mean i should at least know whether i'm entering unstable (experimental)...
 
  


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
Preventing aptitude installing a package that I have built manually Simon Fisher Debian 3 06-30-2006 04:48 AM
Aptitude wants to uninstall virtually every package?! TheMusicGuy Debian 19 05-25-2006 07:33 PM
Is base-config package removed from your system with aptitude dist-upgrade? Akhran Debian 6 03-18-2006 07:52 PM
[Aptitude] Is it possible to check which package automatically install packageA? Akhran Debian 2 03-13-2006 12:34 PM
Any aptitude command to find out what packages belong to a virtual package? Akhran Debian 9 11-05-2005 09:40 PM

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

All times are GMT -5. The time now is 07:53 PM.

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