Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: sound hosed after running python-updater
Date: Tue, 02 Sep 2008 07:06:08
Message-Id: 200809020905.50512.alan.mckinnon@gmail.com
In Reply to: Re: [gentoo-user] Re: sound hosed after running python-updater by Dale
1 On Monday 01 September 2008 18:43:35 Dale wrote:
2 > Nikos Chantziaras wrote:
3 > > Matthew R. Lee wrote:
4 > >> Yesterday I was having problems with a few packages, like openoffice,
5 > >> because of java issues. The advice I found to correct the problem was
6 > >> to run python-updater, which I did. It reemerged 33 packages one of
7 > >> which was alsa-libs. It reemerged alsa-lib, it did not upgrade it.
8 > >
9 > > This should fix it:
10 > >
11 > > revdep-rebuild -X -i --ask
12 > >
13 > > the problem seems to be a link problem with the ALSA lib. When you
14 > > hear "link problem", revdep-rebuild is the solution most of the time.
15 > > It will rebuild packages that use the ALSA lib.
16 >
17 > I ran into this the other day. It doesn't like the -a or --ask option.
18 >
19 > root@smoker / # revdep-rebuild -i --ask
20 >
21 > Encountered unrecognized option --ask.
22 >
23 > revdep-rebuild no longer automatically passes unrecognized options to
24 > portage.
25 > Separate emerge-only options from revdep-rebuild options with the -- flag.
26 >
27 > For example, revdep-rebuild -v -- --ask
28 ^^^^^^^^^^^^^^^^^^^^^^^^^^
29 You missed this bit. It's working as designed.
30
31 Command line parsers are written this way to avoid option conflicts. If
32 revdep-rebuild and emerge both have -a options, which one should be used?
33 Logic says it should be revdep-rebuild gets the -a option but what if you do
34 want to pass it to emerge? That's why there's a "--" and why you have to use
35 it
36
37 --
38 alan dot mckinnon at gmail dot com

Replies

Subject Author
Re: [gentoo-user] Re: sound hosed after running python-updater Dale <dalek1967@×××××××××.net>