View previous topic :: View next topic |
Author |
Message |
Finswimmer Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/1672586922424daf205ec26.jpg)
Joined: 02 Sep 2004 Posts: 5467 Location: Langen (Hessen), Germany
|
Posted: Sun Dec 12, 2010 8:05 am Post subject: /etc/portage säubern |
|
|
Hi,
in letzter Zeit hat sich da sehr viel alte Zeug angesammelt. So zum Beispiel kdelibs:4, etc.
Wie kann ich das wegbekommen?
An sich stört es nicht, aber wenn man mal was sucht, ist es nicht so toll, wenn plötzlich 8x kdelibs auftaucht, bis man zu dem eigentlichen Eintrag kommt.
Ich habe ein paar Tips im alten Gentoo-Wiki gefunden, aber die haben nicht funktioniert, wenn packages.keywords ein Ordner ist.
Danke
Tobi _________________ Bitte auf Rechtschreibung, korrekte Formatierung und Höflichkeit achten!
Danke |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Christian99 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 28 May 2009 Posts: 1721
|
Posted: Sun Dec 12, 2010 12:03 pm Post subject: |
|
|
eix-test-obsolete zeigt dir an was für falsche/unnötige einträge in allen packages.* Dateien vorhanden sind, leider nicht in welcher datei.
Code: | grep kdelibs /etc/portage/package.keywords/* |
zeigt dir an, in welchen dateien kdelibs steht. danach per hand entfernen. so mach ich das immer.
ich versuche auch nach möglichkeit mehrfache einträge zu vermeiden, indem ich das ein bischen gruppiere kde-base/*, kde-misc/* und so kommen in eine datei kde, unmaskierte spiele in games-datei etc. hatte so bisher noch keine großen probleme. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Finswimmer Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/1672586922424daf205ec26.jpg)
Joined: 02 Sep 2004 Posts: 5467 Location: Langen (Hessen), Germany
|
Posted: Sun Dec 12, 2010 1:19 pm Post subject: |
|
|
Das ist ein Anfang, aber automatisiert wäre mir lieber.
Ich erinnere mich, dass es früher mal ein Skript gab. Leider funktionierte das wohl ab Portage-2.x nicht mehr. _________________ Bitte auf Rechtschreibung, korrekte Formatierung und Höflichkeit achten!
Danke |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Christian99 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 28 May 2009 Posts: 1721
|
Posted: Sun Dec 12, 2010 8:33 pm Post subject: |
|
|
vielleciht kann das: app-portage/flaggie ja was du willst, habs leider selber och nicht ausprobiert. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Finswimmer Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/1672586922424daf205ec26.jpg)
Joined: 02 Sep 2004 Posts: 5467 Location: Langen (Hessen), Germany
|
Posted: Mon Dec 13, 2010 7:50 am Post subject: |
|
|
Quote: | The following cleanup actions are supported:
- `--drop-ineffective` to drop all flag declarations which are
considered ineffective. In other words, those which are overriden
by the entries or flags following them.
In other words, the following example file:
app-misc/foo bar baz
app-misc/foo -bar bar
would be written as:
app-misc/foo baz
app-misc/foo bar
- `--sort-entries` to sort all entries in the file by package name.
- `--sort-flags` to sort all flags (keywords, licenses) in the entries
by their basename.
- `--drop-unmatched-pkgs` to remove all `package.*` file entries
referring to packages not having a match in portdb (thus, either
being a typo, outdated or coming from a removed repo).
- `--drop-unmatched-flags` to remove all flags, keywords and licenses
which do not match the package metadata (`IUSE`, `KEYWORDS`
and `LICENSE` keys respectively). In other words, this should remove
outdated flags. Please note that, in order to avoid mistakes, this
action won't remove flags for packages which do not have a match
in portdb (`--drop-unmatched-pkgs` is useful for that).
|
Das klingt vielversprechend.
Ich teste es heute abend mal.
Danke _________________ Bitte auf Rechtschreibung, korrekte Formatierung und Höflichkeit achten!
Danke |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Yamakuzure Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/46484627558b6ccf846e49.jpg)
Joined: 21 Jun 2006 Posts: 2305 Location: Adendorf, Germany
|
Posted: Mon Dec 13, 2010 8:05 am Post subject: |
|
|
Einfachstes Tool: app-portage/portpeek _________________ Edited 220,176 times by Yamakuzure |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|