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

Reply via email to