public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] emerge -U world with mixed stable/unstable ebuilds
@ 2003-03-26 11:35 Chris Bainbridge
  2003-03-26 14:04 ` Marshall T. Vandegrift
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Bainbridge @ 2003-03-26 11:35 UTC (permalink / raw
  To: gentoo-dev

I have some unstable ~x86 ebuilds installed. When I emerge -U world I get 
errors like:

# emerge -U world --deep -p
>>> --upgradeonly implies --update... adding --update to options.

These are the packages that I would merge, in order:

Calculating world dependencies \
!!! all ebuilds that could satisfy ">=app-sci/lard-20030204" have been masked.
!!!    (dependency required by "app-sci/tbass-20030318" [ebuild])

!!! Problem with ebuild app-sci/tbass-20030318
!!! Possibly a DEPEND/*DEPEND problem.

!!! Depgraph creation failed.

I could modify my local portage tree after syncing to mark every ebuild I want 
stable, but is there an easier way? Preferably some way to update all stable 
ebuilds to the latest stable version and all unstable ones to the latest 
unstable...?

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-dev] emerge -U world with mixed stable/unstable ebuilds
  2003-03-26 11:35 [gentoo-dev] emerge -U world with mixed stable/unstable ebuilds Chris Bainbridge
@ 2003-03-26 14:04 ` Marshall T. Vandegrift
  0 siblings, 0 replies; 2+ messages in thread
From: Marshall T. Vandegrift @ 2003-03-26 14:04 UTC (permalink / raw
  To: gentoo-dev

Trying again, after realizing that gento-dev dislikes attachments...

Chris Bainbridge <C.J.Bainbridge@ed.ac.uk> writes:

> I could modify my local portage tree after syncing to mark every
> ebuild I want stable, but is there an easier way? Preferably some
> way to update all stable ebuilds to the latest stable version and
> all unstable ones to the latest unstable...?

For a hideous hack that works right now (and is thus the solution I
use) check out the following shell scripts:

----- begin: stable-eup.sh -----
#! /bin/sh

NOCOLOR="true" emerge -up world \
        | grep '^\[ebuild' \
        | grep -v '^\[ebuild    UD\]' \
        | sed -re's/.*?\] (.*?)-[0-9
------ end: stable-eup.sh ------

---- begin: unstable-eup.sh ----
#! /bin/sh

NOCOLOR="true" emerge -up world \
        | grep '^\[ebuild' \
        | grep '^\[ebuild    UD\]' \
        | sed -re's/.*?\] (.*?)-[0-9].*/\1/' \
        | NOCOLOR="true" ACCEPT_KEYWORDS="~x86" xargs emerge -p \
        | grep '^\[ebuild' \
        | grep -v '^\[ebuild   R  \]' \
        | sed -re's/.*?\] (.*?)-[0-9].*/\1/' \
        | ACCEPT_KEYWORDS="~x86" xargs emerge "$@"
----- end: unstable-eup.sh -----

-- 
Marshall T. Vandegrift <vandem2@rpi.edu>

Disciplined and calm, to await the appearance of
disorder and hubbub amongst the enemy:--this is the
art of retaining self-possession.
	-- Sun Tzu (/The Art of War/, 7:30)

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-03-26 14:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-26 11:35 [gentoo-dev] emerge -U world with mixed stable/unstable ebuilds Chris Bainbridge
2003-03-26 14:04 ` Marshall T. Vandegrift

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox