View previous topic :: View next topic |
Author |
Message |
/albert n00b
Joined: 17 Jan 2005 Posts: 58
|
Posted: Sat Jul 15, 2006 7:14 pm Post subject: add_keywords.sh, emerge_force.sh and a bit about Portage |
|
|
Hi
I think these 2 little scripts can help somebody, so here they are:
http://www.az2000.de/projects/gentoo_helpers/?lang=en
add_keywords.sh add entries to your package.keywords for all dependencies of a package, who need it (it looks for "masked by ~ARCH keyword").
emerge_force.sh will continue an emerge, if it fails on some package and there are other packages not affected by the error.
See the link for a detailed description.
I think, the second script could be an additional argument for emerge itself, like "--continue-on-error" or somethink. I missed it so much till I hacked the little script together. If I start a greater world-update over night and on the next day, I see the funny message of the screen that the third package of the list of updates results in an error, it makes me angry. Mostly, it's also a very simple error. In a set of cases, emerge could act a bit more intelligent. I missed an "auto-error-detect-and-solver". Well, 90% of all possible errors can't automatically be solved. But the rest 10%, and that are errors I see again and again, can be categoriest very easily and be solved, also. For example an error like "XML::Parser not found". It simply means, I have to reemerge XML-Parser (oder better call perl-cleaner). There are lot's of errors like this.
Greetings
Albert |
|
Back to top |
|
|
mark_alec Bodhisattva
Joined: 11 Sep 2004 Posts: 6066 Location: Melbourne, Australia
|
Posted: Sun Jul 16, 2006 6:50 am Post subject: |
|
|
Moved from Portage & Programming to Unsupported Software. Not a support request and scripts for things like this generally seem to belong here. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|