Re: Get a list of obsoleted packages

2010-09-12 Thread Petr Voralek
   Hello!

  On 08/27/2010 04:40 PM, *T o n g* wrote, and I quote (in part):

 I use to get the list of obsoleted packages using aptitude. Now that I'm 
 planning to remove aptitude, what are the alternatives?

  I think it would suit you something like this:

apt-show-versions | grep --ignore-case --invert-match testing | grep \
 --ignore-case No available version in archive

-- 
Petr Voralek(JabberID: na...@jabber.cz)

{
 Merry crisis and happy new fear!
}



signature.asc
Description: OpenPGP digital signature


Re: Get a list of obsoleted packages

2010-08-28 Thread Alain Baeckeroot
Le 28/08/2010 à 02:49, T o n g a écrit :
 
 On Fri, 27 Aug 2010 14:04:15 -0600, Javier Vasquez wrote:
 
  . . . Aptitude call a
  package
  obsolete when it is installed/configured but it is no (longer)
  available from any of your configured sources.
  --
  Boyd Stephen Smith Jr.   ,= ,-_-. =.
  
  Well, similar to the last definition is orphan.  I'm not sure if that
  is what's been looked for...  In that case, I suggest deborphan.
 

What is your problem here ?
one the one hand you ask for advices for choosing tools like a newbie
on the other hand you seems to know them rather well and need precise
details, but you don't read the documentation.

my advide is rtfm, and use your favorite search engine, and last ask
on the list :-)

Alain

PS : i am not a english native speaker, i may lack subtle words.
my intend here is to be clear, not rude.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201008281043.22026.alain.baecker...@laposte.net



Re: Get a list of obsoleted packages

2010-08-28 Thread Boyd Stephen Smith Jr.
In 201008281043.22026.alain.baecker...@laposte.net, Alain Baeckeroot wrote:
Le 28/08/2010 à 02:49, T o n g a écrit :
 On Fri, 27 Aug 2010 14:04:15 -0600, Javier Vasquez wrote:
  . . . Aptitude call a
  package
  obsolete when it is installed/configured but it is no (longer)
  available from any of your configured sources.
  
  Well, similar to the last definition is orphan.  I'm not sure if that
  is what's been looked for...  In that case, I suggest deborphan.

What is your problem here ?
one the one hand you ask for advices for choosing tools like a newbie

Newbies are not the only ones can can get use out of new tools.  Even experts 
should be comfortable enough to ask questions; no one knows everything.  I 
feel very comfortable using aptitude and there are very specific features 
(like this one) that I don't know how to reproduce in with the apt tools.

on the other hand you seems to know them rather well and need precise
details, but you don't read the documentation.

No, rather, I've read the documentation and I *still* don't think apt can do 
this simply.

The aptitude UI displays obsolete packages by default.  The aptitude command-
line for showing them is simple: (aptitude search '?obsolete').  Viewing one 
results of apt-cache policy on one of these packages gives an idea of how 
aptitude is finding them; they only have one available version: 
/var/lib/dpkg/status a.k.a. now.  Still, apt-cache and the other apt tools 
don't seem to have a way to search for packages based on their lack of 
available versions that I can find.

So, let me ask the question again, more clearly:  What is the apt equivalent 
of aptitude's (aptitude search '?obsolete')?
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net   ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/


signature.asc
Description: This is a digitally signed message part.


Re: Get a list of obsoleted packages

2010-08-27 Thread Alain Baeckeroot
Le 27/08/2010 à 16:35, T o n g a écrit :
 
 Hi,
 
 I use to get the list of obsoleted packages using aptitude. Now that I'm 
 planning to remove aptitude, what are the alternatives?
 

obsolete = not up to date = need to be upgraded
=
apt-get update  # update the package informations 
apt-get -s upgrade  # will show the list of packages that would 
need to be upgraded but would do nothing

Alain


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201008271648.59327.alain.baecker...@laposte.net



Re: Get a list of obsoleted packages

2010-08-27 Thread Sven Joachim
On 2010-08-27 16:35 +0200, T o n g wrote:

 I use to get the list of obsoleted packages using aptitude. Now that I'm 
 planning to remove aptitude, what are the alternatives?

Why do you want to remove aptitude?

Sven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/8739u0yrr7@turtle.gmx.de



Re: Get a list of obsoleted packages

2010-08-27 Thread Boyd Stephen Smith Jr.
In 201008271648.59327.alain.baecker...@laposte.net, Alain Baeckeroot wrote:
Le 27/08/2010 à 16:35, T o n g a écrit :
 I use to get the list of obsoleted packages using aptitude. Now that I'm
 planning to remove aptitude, what are the alternatives?

obsolete = not up to date = need to be upgraded

That's not what aptitude calls an Obsolete package.  Aptitude call a package 
obsolete when it is installed/configured but it is no (longer) available 
from any of your configured sources.
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net   ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/


signature.asc
Description: This is a digitally signed message part.


Re: Get a list of obsoleted packages

2010-08-27 Thread Javier Vasquez
On 8/27/10, Boyd Stephen Smith Jr. b...@iguanasuicide.net wrote:
 In 201008271648.59327.alain.baecker...@laposte.net, Alain Baeckeroot
 wrote:
Le 27/08/2010 à 16:35, T o n g a écrit :
 I use to get the list of obsoleted packages using aptitude. Now that I'm
 planning to remove aptitude, what are the alternatives?

obsolete = not up to date = need to be upgraded

 That's not what aptitude calls an Obsolete package.  Aptitude call a
 package
 obsolete when it is installed/configured but it is no (longer) available
 from any of your configured sources.
 --
 Boyd Stephen Smith Jr.   ,= ,-_-. =.

Well, similar to the last definition is orphan.  I'm not sure if
that is what's been looked for...  In that case, I suggest
deborphan.

-- 
Javier.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktim4xzoxhv_f+g=ar+jf8svjh6khqiwrs35ka...@mail.gmail.com



Re: Get a list of obsoleted packages

2010-08-27 Thread Alain Baeckeroot
Le 27/08/2010 à 17:04, T o n g a écrit :
 
 On Fri, 27 Aug 2010 16:48:58 +0200, Alain Baeckeroot wrote:
 
  I use to get the list of obsoleted packages using aptitude. . .
  
  obsolete = not up to date = need to be upgraded
 
 sigh... who told you that?

sigh... rtfm 
Alain


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201008280122.50631.alain.baecker...@laposte.net