Re: [gentoo-user] Re: Kernel updates

2005-11-01 Thread Neil Bothwick
On Sun, 30 Oct 2005 13:15:16 +0100, Tim Kruse wrote:

 % grep sys-kernel /var/log/emerge.log
 
  should do the trick then

qpkg -I -g sys-kernel


-- 
Neil Bothwick

This is the day for firm decisions! Or is it?


signature.asc
Description: PGP signature


[gentoo-user] Re: Kernel updates

2005-11-01 Thread Tim Kruse
* On 01.11.2005 Neil Bothwick wrote:

 On Sun, 30 Oct 2005 13:15:16 +0100, Tim Kruse wrote:

 % grep sys-kernel /var/log/emerge.log

  should do the trick then

 qpkg -I -g sys-kernel

 This is true. But you should mention, that 'qpkg' is deprecated
and 'equery' should be used:

,-[qpkg --help]
| [...]
| NOTICE: This tool will be phased out at some point in the
| future, please use equery instead.
| Bugs are still fixed but new features won't be added.
| [...]
`-

 There are still missing features of qpgk in equery, though.

 The point is, that 'qpkg' won't be/isn't in your $PATH anymore.
In the latest stable release of gentoolkit (which is 0.2.0-r2 on
my system) it is installed in '/usr/lib/gentoolkit/bin/' and from
0.2.1 on (these are testing atm) it will be found in
'/usr/share/doc/gentoolkit-${VERSION}/deprecated/qpkg/'

 Further, if you have 'portage-utils' installed, you have a
executable called 'qpkg' which does something completely
different. But then you can take 'qlist' for exactly the above:

% qlist -I | grep sys-kernel

 Or you can emerge eix and take eix for it. Or ...

 So long,
tkr

-- 
Next Friday will not be your lucky day.  As a matter of fact, you don't
have a lucky day this year.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Kernel updates

2005-11-01 Thread Neil Bothwick
On Tue, 1 Nov 2005 12:18:00 +0100, Tim Kruse wrote:

  qpkg -I -g sys-kernel
 
  This is true. But you should mention, that 'qpkg' is deprecated
 and 'equery' should be used:

In that case I would have recommended equery to start with. But equery is
horrendously slow to start up, whereas qpkg is virtually instant. It may
be deprecated but it works well, so why not use it?


-- 
Neil Bothwick

Used Iraqi rifles for sale: Dropped once, never fired...


signature.asc
Description: PGP signature


[gentoo-user] Re: Kernel updates

2005-11-01 Thread Tim Kruse
* On 01.11.2005 Neil Bothwick wrote:

  This is true. But you should mention, that 'qpkg' is deprecated
 and 'equery' should be used:

 In that case I would have recommended equery to start with. But equery is
 horrendously slow to start up, whereas qpkg is virtually instant. It may
 be deprecated but it works well, so why not use it?

 Oh, I didn't said that you shouldn't use it. But it isn't in
$PATH anymore - that was what I wanted to make clear.

 And you're right that equery is slow, and it doesn't has some of
qpkg's features. I have made a symbolic link
/usr/local/bin/qpkg-old to qpkg (qpkg-old because I have
portage-utils installed)

 So long,
tkr

-- 
Ahh... the smell of cuprinol and mahogany.  It excites me to...
acts of passion... acts of... ineptitude.


signature.asc
Description: PGP signature


[gentoo-user] Re: Kernel updates

2005-10-30 Thread Tim Kruse
* On 27.10.2005 Qian Qiao wrote:

 P.S. is there an easy way to confirm which kernel source (gentoo/vanilla)
 was originally installed?

 # cat /var/lib/portage/world grep sys-kernel

 UUOC

 The above command should give you the kernel(s) you've emerged.

 Normally the above command should do the trick. But there's a
special case where it doesn't work, though. If you installed with
the portage option '--oneshot' the package isn't recorded to the
world file.

 Then you're still be able to confirm the package, though, if
we're imagin that /var/log/emerge.log hasn't been touched (read:
hasn't been rotated or such):

% grep sys-kernel /var/log/emerge.log

 should do the trick then

 So long,
tkr

-- 
... at least I thought I was dancing, 'til somebody stepped on my hand.
-- J. B. White


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Kernel updates

2005-10-30 Thread Qian Qiao
On 10/30/05, Tim Kruse [EMAIL PROTECTED] wrote:
 * On 27.10.2005 Qian Qiao wrote:
  # cat /var/lib/portage/world grep sys-kernel

  UUOC

I stand corrected. grep sys-kernel  /var/lib/portage/world is a neater way.

-- Joe

--
There are 3 kinds of people in the world:
Those who can count, and those who can't.

Money can't buy everything.
Sometimes money can't even buy a gun...

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Kernel updates

2005-10-30 Thread Tim Kruse
* On 30.10.2005 Qian Qiao wrote:

 # cat /var/lib/portage/world grep sys-kernel

 I have corrupted your command, but realized it too late, sorry.
You originally have written:

 # cat /var/lib/portage/world | grep sys-kernel


  UUOC

 I stand corrected. grep sys-kernel  /var/lib/portage/world is a neater way.

 You don't need the less-than here. grep can work directly on the
file.

% grep sys-kernel /var/lib/portage/world

 So long,
tkr

-- 
You know you're using the computer too much when:
You try and use wget to pick up that pizza.
-- snakattak3


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Kernel updates

2005-10-30 Thread Qian Qiao
On 10/30/05, Tim Kruse [EMAIL PROTECTED] wrote:
  You don't need the less-than here. grep can work directly on the
 file.

 % grep sys-kernel /var/lib/portage/world

doh, :)


  So long,
 tkr

 --
 You know you're using the computer too much when:
 You try and use wget to pick up that pizza.
-- snakattak3





--
There are 3 kinds of people in the world:
Those who can count, and those who can't.

Money can't buy everything.
Sometimes money can't even buy a gun...

-- 
gentoo-user@gentoo.org mailing list