Re: [gentoo-user] Re: any easy way to reemerge kde using equery or similar tool?

2006-01-24 Thread Neil Bothwick
On Tue, 24 Jan 2006 17:00:59 -, Michael Kintzios wrote:

> I see (I think).  Please bear with me while I am catching up:  the
> script will individually emerge every KDE component as opposed to the
> original meta packages which brought in with them their dependencies.
> The latter would not have been in the world file, but by virtue of the
> script they will now be added - unless of course --oneshot is used.

Spot on!

-- 
Neil Bothwick

Would a fly without wings be called a walk?


signature.asc
Description: PGP signature


RE: [gentoo-user] Re: any easy way to reemerge kde using equery or similar tool?

2006-01-24 Thread Michael Kintzios


> -Original Message-
> From: Neil Bothwick [mailto:[EMAIL PROTECTED] 
> Sent: 24 January 2006 16:41
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] Re: any easy way to reemerge kde 
> using equery or similar tool?
> 
> 
> On Tue, 24 Jan 2006 14:01:31 -, Michael Kintzios wrote:
> 
> > > > Of course, it will ruin your world file like 
> > > > this because you didn't use --oneshot.
> 
> > If understand this right --oneshot does not add the packages to the
> > world file.  I assume that if the KDE packages are already 
> in the world
> > file then re-emerging them should not really cause 
> duplicate entries - I
> > guess the ebuild or emerge script checks for packages which 
> have already
> > been installed and amends the world file accordingly, no?  
> Am I missing
> > the point with this --oneshot option?
> 
> You are assuming that all the KDE packages are in your world 
> file, they
> are not. For example, none of the lib* packages should be there. 

I see (I think).  Please bear with me while I am catching up:  the
script will individually emerge every KDE component as opposed to the
original meta packages which brought in with them their dependencies.
The latter would not have been in the world file, but by virtue of the
script they will now be added - unless of course --oneshot is used.
-- 
Regards,
Mick

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: any easy way to reemerge kde using equery or similar tool?

2006-01-24 Thread Neil Bothwick
On Tue, 24 Jan 2006 14:01:31 -, Michael Kintzios wrote:

> > > Of course, it will ruin your world file like 
> > > this because you didn't use --oneshot.

> If understand this right --oneshot does not add the packages to the
> world file.  I assume that if the KDE packages are already in the world
> file then re-emerging them should not really cause duplicate entries - I
> guess the ebuild or emerge script checks for packages which have already
> been installed and amends the world file accordingly, no?  Am I missing
> the point with this --oneshot option?

You are assuming that all the KDE packages are in your world file, they
are not. For example, none of the lib* packages should be there. 


-- 
Neil Bothwick

668 - The neighbour of the beast.


signature.asc
Description: PGP signature


RE: [gentoo-user] Re: any easy way to reemerge kde using equery or similar tool?

2006-01-24 Thread Michael Kintzios


> -Original Message-
> From: Norberto Bensa [mailto:[EMAIL PROTECTED] 
> Sent: 24 January 2006 00:39
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] Re: any easy way to reemerge kde 
> using equery or similar tool?
> 
> 
> Neil Bothwick wrote:
> > Of course, it will ruin your world file like 
> > this because you didn't use --oneshot.
> 
> I ruinned my world file yeeears ago anyway :)
> 
> Thanks Neil.

If understand this right --oneshot does not add the packages to the
world file.  I assume that if the KDE packages are already in the world
file then re-emerging them should not really cause duplicate entries - I
guess the ebuild or emerge script checks for packages which have already
been installed and amends the world file accordingly, no?  Am I missing
the point with this --oneshot option?
-- 
Regards,
Mick

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: any easy way to reemerge kde using equery or similar tool?

2006-01-23 Thread Norberto Bensa
Neil Bothwick wrote:
> Of course, it will ruin your world file like 
> this because you didn't use --oneshot.

I ruinned my world file yeeears ago anyway :)

Thanks Neil.

Best regards,
-- 
Norberto Bensa
Ciudad de Buenos Aires, Argentina
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: any easy way to reemerge kde using equery or similar tool?

2006-01-23 Thread Neil Bothwick
On Mon, 23 Jan 2006 16:27:27 -0300, Norberto Bensa wrote:

> > cd /var/db/pkg/
> > for P in kde-base/*; do echo =$P; done | xargs emerge --oneshot --ask
> 
> Still too complicated.
> 
> # emerge $(qpkg -I -nc kde-base/)

I thought of qpkg first, but I didn't think that would work, without
adding = in front of each package, but qpkg doesn't add a version
number without -v. Of course, it will ruin your world file like
this because you didn't use --oneshot.


-- 
Neil Bothwick

Will we ever get out of this airport? asked Tom interminably.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: any easy way to reemerge kde using equery or similar tool?

2006-01-23 Thread Norberto Bensa
Neil Bothwick wrote:
> On Mon, 23 Jan 2006 00:28:34 -0300, Norberto Bensa wrote:
> > > add a "=" sign for each entry:
> > > emerge -pv \=$(echo $(equery -q l kde-base/) | sed s/\ /\ =/g)
> >
> > Too complicated. I know how to use sed, etc. but I was looking for a
> > cleaner/simpler solution.
>
> cd /var/db/pkg/
> for P in kde-base/*; do echo =$P; done | xargs emerge --oneshot --ask

Still too complicated.

# emerge $(qpkg -I -nc kde-base/)

Cleaner. Simpler. Better.

I wonder _WHY_ qpkg is deprecated when it does the job just well and 
equery doesn't.

-- 
Norberto Bensa
Ciudad de Buenos Aires, Argentina
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: any easy way to reemerge kde using equery or similar tool?

2006-01-23 Thread Neil Bothwick
On Mon, 23 Jan 2006 00:28:34 -0300, Norberto Bensa wrote:

> > add a "=" sign for each entry:
> > emerge -pv \=$(echo $(equery -q l kde-base/) | sed s/\ /\ =/g)
> 
> Too complicated. I know how to use sed, etc. but I was looking for a 
> cleaner/simpler solution.

cd /var/db/pkg/
for P in kde-base/*; do echo =$P; done | xargs emerge --oneshot --ask


-- 
Neil Bothwick

Death is proven to be 99.9% fatal to all laboratory rats.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: any easy way to reemerge kde using equery or similar tool?

2006-01-22 Thread Norberto Bensa
Francesco Talamona wrote:
> On Sunday 22 January 2006 07:06, Norberto Bensa wrote:
> > emerge -pv $(equery -q l kde-base/)
>
> add a "=" sign for each entry:
> emerge -pv \=$(echo $(equery -q l kde-base/) | sed s/\ /\ =/g)

Too complicated. I know how to use sed, etc. but I was looking for a 
cleaner/simpler solution.

Thanks Francesco!

-- 
Norberto Bensa
Ciudad de Buenos Aires, Argentina
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: any easy way to reemerge kde using equery or similar tool?

2006-01-22 Thread Francesco Talamona
On Sunday 22 January 2006 07:06, Norberto Bensa wrote:
> emerge -pv $(equery -q l kde-base/)

add a "=" sign for each entry:
emerge -pv \=$(echo $(equery -q l kde-base/) | sed s/\ /\ =/g)

ciao
Francesco
-- 
Linux Version 2.6.15-gentoo-r1, Compiled #1 PREEMPT Mon Jan 16 07:58:03 
CET 2006
One 1.8GHz AMD Athlon 64 Processor, 2GB RAM, 3613.01 Bogomips Total
aemaeth
-- 
gentoo-user@gentoo.org mailing list