Alan McKinnon wrote:
On Monday 01 September 2008 18:43:35 Dale wrote:
Nikos Chantziaras wrote:
Matthew R. Lee wrote:
Yesterday I was having problems with a few packages, like openoffice,
because of java issues. The advice I found to correct the problem was
to run python-updater, which I did. It reemerged 33 packages one of
which was alsa-libs. It reemerged alsa-lib, it did not upgrade it.
This should fix it:

  revdep-rebuild -X -i --ask

the problem seems to be a link problem with the ALSA lib.  When you
hear "link problem", revdep-rebuild is the solution most of the time.
It will rebuild packages that use the ALSA lib.
I ran into this the other day.  It doesn't like the -a or --ask option.

[EMAIL PROTECTED] / # revdep-rebuild -i --ask    <<<<<<---------  I entered this  
<<<------

Encountered unrecognized option --ask.   <<<<<------  It said this <<<<------

revdep-rebuild no longer automatically passes unrecognized options to
portage.
Separate emerge-only options from revdep-rebuild options with the -- flag.

For example, revdep-rebuild -v -- --ask
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
You missed this bit. It's working as designed.

Command line parsers are written this way to avoid option conflicts. If revdep-rebuild and emerge both have -a options, which one should be used? Logic says it should be revdep-rebuild gets the -a option but what if you do want to pass it to emerge? That's why there's a "--" and why you have to use it


I saw that but look at what I entered. I did enter --ask or am I still missing something? My command was 'revdep-rebuild -i --ask'. What should the command be for it to ask whether to update or not and pass it on to emerge?

Dale

:-) :-)

Reply via email to