Re: [gentoo-user] emerge entire directory - how?

2003-07-13 Thread Dhruba Bandopadhyay
Klaus D. Neumann wrote:
Hi,

Is there a way to emerge an entire directory with a single command, 
e.g., something like:
emerge gnome-base/* ?

This is nothing short of utterly insane.  The whole point of calculating 
dependencies with Gentoo is so you only get what you need.  With other 
distros such as Redhat, Suse, Mandrake there is no such mechanism so you 
have to put everything on (full install or whatever) just to make sure 
you do not have to go back to the cds.

What exactly do you need the whole directory for?

--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] emerge entire directory - how?

2003-07-13 Thread Dhruba Bandopadhyay
Jason Stubbs wrote:
On Friday 11 July 2003 12:12, Klaus D. Neumann wrote:

Hi,

Is there a way to emerge an entire directory with a single command, e.g.,
something like:
emerge gnome-base/* ?


That's fairly easy. How about the following?
for i in `ls /usr/portage/gnome-base`; do emerge $i; done
Of course, that will re-emerge anything that's already installed. To only
emerge new stuff, you can do this:
for i in `ls /usr/portage/gnome-base`; do [ -a /var/db/pkg/$i ] || emerge
$i; done
Easier: for i in `ls /usr/portage/gnome-base`; do emerge -n $i; done

--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] emerge entire directory - how?

2003-07-11 Thread Spider
begin  quote
On Fri, 11 Jul 2003 00:01:20 -0700
"Klaus D. Neumann" <[EMAIL PROTECTED]> wrote:



> It's not that easy here:

[snip]

> bash-2.05b# emerge *
> Calculating dependencies ...done!
> 
> !!! Error: the gnome-base/gnome-session package conflicts with this
> package and both can't be installed on the same system together.
> 
> The reason for my question was the Portage watch in the latest Gentoo 
> weekly newsletter. The second item (gnome-base/*) made me believe that
> 
> there is a newer version that I should upgrade to.
> 
> Now, how can I overcome the above problem?
> TIA!



I'm not sure why you try to accomplish it by telling your computer to
try and force installation of both gnome 1.4 (gnome-core,gnome-libs) and
gnome-2.2(gnome-terminal, gnome-session, gnome-desktop, libgnome* )

Frankly, there is no problem to overcome here. Just decide on what
version you want installed, you cannot get both. (libraries coexist,
binaries overwrite)


you refer to gnome-base/*  as to being added, yes...  emerge gnome, will
give you the latest metapackage, the * refers to the fact that its a lot
of small packages that make up gnome, instead of "one big lump" 


//Spider
  irate developer





 -- 
begin  .signature
This is a .signature virus! Please copy me into your .signature!
See Microsoft KB Article Q265230 for more information.
end


pgp0.pgp
Description: PGP signature


Re: [gentoo-user] emerge entire directory - how?

2003-07-11 Thread Jason Stubbs
On Friday 11 July 2003 16:01, Klaus D. Neumann wrote:
> On Fri, 11 Jul 2003 06:41:50 +0200, <[EMAIL PROTECTED]> wrote:
> > Quoting Jason Stubbs <[EMAIL PROTECTED]>:
> >> On Friday 11 July 2003 12:12, Klaus D. Neumann wrote:
> >> > Hi,
> >> >
> >> > Is there a way to emerge an entire directory with a single command,
> >>
> >> e.g.,
> >>
> >> > something like:
> >> > emerge gnome-base/* ?
> >
> > ehm... last time i checked, just going to the directory, and typing
> > "emerge *"
> > worked just fine.
>
> bash-2.05b# emerge *
> Calculating dependencies ...done!
>
> !!! Error: the gnome-base/gnome-session package conflicts with this
> package and both can't be installed on the same system together.
>
> The reason for my question was the Portage watch in the latest Gentoo
> weekly newsletter. The second item (gnome-base/*) made me believe that
> there is a newer version that I should upgrade to.

I haven't gotten heavily into gnome yet. However, you can do pretty much
what you want with a couple of commands. I did as follows:

cd /usr/portage/gnome/
grep gnome-session `find * | grep ebuild`

From that output, I found that the package gnome-core is the package that 
conflicts with gnome-terminal. Checking the ebuild, I found that it conflicts 
with gnome-session and gnome-desktop as well. The reason is that gnome-core 
is gnome v1. Therefore, you could do the following:

ls /usr/portage/gnome/ > /tmp/gnome-packages
# edit the file and remove gnome-core manually
nano -w /tmp/gnome-packages
for i in `cat /tmp/gnome-packages`; do emerge -n $i; done

Adding the -n flag, as previously noted by sjors(?), will ensure that only 
older or non-existant versions are installed/upgraded. If it reports any 
other conflicts, just do as I did above and look for a line that says 
"path/to/package.ebuild:  !conflicting/package"

Hope this helps!

Regards,
Jason


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] emerge entire directory - how?

2003-07-10 Thread Klaus D. Neumann
On Fri, 11 Jul 2003 06:41:50 +0200, <[EMAIL PROTECTED]> wrote:

Quoting Jason Stubbs <[EMAIL PROTECTED]>:

On Friday 11 July 2003 12:12, Klaus D. Neumann wrote:
> Hi,
>
> Is there a way to emerge an entire directory with a single command, 
e.g.,
> something like:
> emerge gnome-base/* ?
ehm... last time i checked, just going to the directory, and typing 
"emerge *"
worked just fine.
It's not that easy here:
bash-2.05b# emerge -pv *
These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R  ] gnome-base/ORBit-0.5.17  +nls [ebuildU ] gnome- 
base/ORBit2-2.6.2 [2.6.1] [ebuild   R  ] gnome-base/bonobo-1.0.22  +nls 
[ebuildU ] gnome-base/bonobo-activation-2.2.2 [2.2.1.1] -doc [ebuild
U ] gnome-base/control-center-2.2.2-r1 [2.2.1] [ebuild   R  ] gnome- 
base/eel-2.2.4  [ebuildU ] gnome-base/gail-1.2.2 [1.2.1] -doc [ebuild   
U ] gnome-base/gconf-2.2.1 [2.2.0] -doc [ebuildU ] gnome-base/gdm- 
2.4.1.4 [2.4.1.3] [ebuild   R  ] gnome-base/gnome-2.2.1  [ebuildU ] 
gnome-base/gnome-applets-2.2.2 [2.2.1] -doc [ebuild   R  ] gnome- 
base/gnome-common-1.2.4-r3  [blocks B] gnome-base/gnome-session (from 
pkg gnome-base/gnome-core-1.4.2-r1)
[blocks B] x11-terms/gnome-terminal (from pkg gnome-base/gnome-core- 
1.4.2-r1)
[blocks B] gnome-base/gnome-desktop (from pkg gnome-base/gnome-core- 
1.4.2-r1)
[ebuild  N   ] gnome-base/gnome-core-1.4.2-r1  +kde +nls +cups [ebuildU 
] gnome-base/gnome-desktop-2.2.2 [2.2.1-r1] [ebuild   R  ] gnome- 
base/gnome-libs-1.4.2  -doc +nls +kde [ebuild  N   ] gnome-base/gnome- 
light-2.2.1  [ebuildU ] gnome-base/gnome-mime-data-2.2.1 [2.2.0] 
[ebuildU ] gnome-base/gnome-panel-2.2.2.1 [2.2.1] -doc [ebuildU ] 
gnome-base/gnome-print-0.37 [0.35-r3] +nls [ebuildU ] gnome-base/gnome- 
session-2.2.2 [2.2.1] [ebuildU ] gnome-base/gnome-vfs-2.2.5 [2.2.4] - 
doc +ssl [ebuildU ] gnome-base/libbonobo-2.2.3 [2.2.1] -doc [ebuild
U ] gnome-base/libbonoboui-2.2.2 [2.2.0.1] -doc [ebuild   R  ] gnome- 
base/libghttp-1.0.9-r3  [ebuild   R  ] gnome-base/libglade-2.0.1  -doc +nls 
[ebuildU ] gnome-base/libgnome-2.2.2 [2.2.0.1] -doc [ebuildU ] 
gnome-base/libgnomecanvas-2.2.1 [2.2.0.2] -doc [ebuildU ] gnome- 
base/libgnomeprint-2.2.1.3 [2.2.1.2] +cups -doc [ebuildU ] gnome- 
base/libgnomeprintui-2.2.1.3 [2.2.1.2] -doc [ebuildU ] gnome- 
base/libgnomeui-2.2.1 [2.2.0.1] -doc [ebuildU ] gnome-base/libgtop- 
2.0.2-r1 [2.0.1] [ebuild   R  ] gnome-base/librsvg-2.2.5  -doc [ebuild   R  
] gnome-base/nautilus-2.2.4  +oggvorbis [ebuild   R  ] gnome-base/oaf- 
0.6.10  +nls

bash-2.05b# emerge *
Calculating dependencies ...done!
!!! Error: the gnome-base/gnome-session package conflicts with this package 
and both can't be installed on the same system together.

The reason for my question was the Portage watch in the latest Gentoo 
weekly newsletter. The second item (gnome-base/*) made me believe that 
there is a newer version that I should upgrade to.

Now, how can I overcome the above problem?
TIA!
--
Best regards,
Klaus
--
Gentoo-Linux = the better choice!
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] emerge entire directory - how?

2003-07-10 Thread Jason Stubbs
On Friday 11 July 2003 13:41, [EMAIL PROTECTED] wrote:
> Quoting Jason Stubbs <[EMAIL PROTECTED]>:
> > On Friday 11 July 2003 12:12, Klaus D. Neumann wrote:
> > > Hi,
> > >
> > > Is there a way to emerge an entire directory with a single command,
> > > e.g., something like:
> > > emerge gnome-base/* ?
>
> ehm... last time i checked, just going to the directory, and typing "emerge
> *" worked just fine.
hehe. Exactly what I did below, just without telling bash how to do shell 
expansion! ;-)

>
> > That's fairly easy. How about the following?
> > for i in `ls /usr/portage/gnome-base`; do emerge $i; done
> >
> > Of course, that will re-emerge anything that's already installed. To only
> > emerge new stuff, you can do this:
> >
> > for i in `ls /usr/portage/gnome-base`; do [ -a /var/db/pkg/$i ] || emerge
> > $i; done
>
> that's what emerge -n is for (do not remerge packages, only install or
> update)

I always did do things the hard way. ;-)

--
Regards,
Jason


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] emerge entire directory - how?

2003-07-10 Thread sjors
Quoting Jason Stubbs <[EMAIL PROTECTED]>:

>
> On Friday 11 July 2003 12:12, Klaus D. Neumann wrote:
> > Hi,
> >
> > Is there a way to emerge an entire directory with a single command, e.g.,
> > something like:
> > emerge gnome-base/* ?

ehm... last time i checked, just going to the directory, and typing "emerge *"
worked just fine.

>
> That's fairly easy. How about the following?
> for i in `ls /usr/portage/gnome-base`; do emerge $i; done
>
> Of course, that will re-emerge anything that's already installed. To only
> emerge new stuff, you can do this:
>
> for i in `ls /usr/portage/gnome-base`; do [ -a /var/db/pkg/$i ] || emerge
> $i; done

that's what emerge -n is for (do not remerge packages, only install or update)

>
> Regards,
> Jason
>
>
> --
> [EMAIL PROTECTED] mailing list
>
>




bin0.bin
Description: PGP Public Key
--
[EMAIL PROTECTED] mailing list

Re: [gentoo-user] emerge entire directory - how?

2003-07-10 Thread Jason Stubbs
On Friday 11 July 2003 12:12, Klaus D. Neumann wrote:
> Hi,
>
> Is there a way to emerge an entire directory with a single command, e.g.,
> something like:
> emerge gnome-base/* ?

That's fairly easy. How about the following?
for i in `ls /usr/portage/gnome-base`; do emerge $i; done

Of course, that will re-emerge anything that's already installed. To only
emerge new stuff, you can do this:

for i in `ls /usr/portage/gnome-base`; do [ -a /var/db/pkg/$i ] || emerge
$i; done

Regards,
Jason


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] emerge entire directory - how?

2003-07-10 Thread Norberto BENSA
[EMAIL PROTECTED] ~ $ date ; echo ${Ernie Schroder}
Friday 11 July 2003 01:13 am

> On Thursday 10 July 2003 11:12 pm, Klaus D. Neumann wrote:
> > Hi,
> >
> > Is there a way to emerge an entire directory with a single command,
> > e.g., something like:
> > emerge gnome-base/* ?
>
> Emerge gnome?

better question: for what?

Norberto


pgp0.pgp
Description: signature


Re: [gentoo-user] emerge entire directory - how?

2003-07-10 Thread Ernie Schroder
On Thursday 10 July 2003 11:12 pm, Klaus D. Neumann wrote:
> Hi,
>
> Is there a way to emerge an entire directory with a single command,
> e.g., something like:
> emerge gnome-base/* ?


Emerge gnome?
-- 
Regards, Ernie
100% Microsoft and Intel free


--
[EMAIL PROTECTED] mailing list



[gentoo-user] emerge entire directory - how?

2003-07-10 Thread Klaus D. Neumann
Hi,

Is there a way to emerge an entire directory with a single command, e.g., 
something like:
emerge gnome-base/* ?

--
Best regards,
Klaus
--
Gentoo-Linux = the better choice!
--
[EMAIL PROTECTED] mailing list