Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
depclean und package.use
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
limes
Tux's lil' helper
Tux's lil' helper


Joined: 18 Sep 2004
Posts: 129

PostPosted: Mon Oct 18, 2004 9:03 am    Post subject: depclean und package.use Reply with quote

Immer wieder habe ich gelesen, daß das ohnehin mit vorsicht zu genießende emerge depclean nicht gut arbeitet, wenn man in der make.conf nach und nach die USE-Flags ändert.
Da ich die USE-Flags grundsätzlich nur in package.use für einzelne Pakete eintrage, interessiert es mich, ob ein emerge depclean überhaupt in package.use nachschaut, welche USE-Flags für die einzelnen Pakete gesetzt sind und anhand dieser verwaiste Abhängigkeiten berechnet.

Danke für Tips und Tricks.
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9546
Location: beyond the rim

PostPosted: Mon Oct 18, 2004 9:29 am    Post subject: Reply with quote

soweit ich mich erinnern kann: nein
Back to top
View user's profile Send private message
limes
Tux's lil' helper
Tux's lil' helper


Joined: 18 Sep 2004
Posts: 129

PostPosted: Tue Oct 19, 2004 8:45 am    Post subject: Reply with quote

nein? 8O
Back to top
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Germany

PostPosted: Tue Oct 19, 2004 9:26 am    Post subject: Reply with quote

Das dep-Skript (englisch) von ecatmur macht das, soweit ich weiß.
Back to top
View user's profile Send private message
sirro
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1472
Location: aachen.nrw.de.eu

PostPosted: Tue Oct 19, 2004 2:10 pm    Post subject: Reply with quote

Genone wrote:
soweit ich mich erinnern kann: nein

Doch tut es, zumindest die version, die ich drauf habe (portage-2.0.51_rc9).

Hab auch fast alle USE-Flags in der package.use gesetzt und depclean arbeitet einwandfrei. (Sauberes System vorrausgesetzt!)

Code:
$ grep php /etc/portage/package.use
#www-servers/lighttpd    php
$ emerge -pv depclean
[...]
 dev-php/php-cgi
    selected: 5.0.2
   protected: none
     omitted: none
[...]
$ grep php /etc/portage/package.use
www-servers/lighttpd    php
$ emerge -pv depclean
[...]
Back to top
View user's profile Send private message
limes
Tux's lil' helper
Tux's lil' helper


Joined: 18 Sep 2004
Posts: 129

PostPosted: Mon Oct 25, 2004 7:25 pm    Post subject: Reply with quote

fein, fein

gillt das auch für Pakete die als Abhängigkeit installiert wurden, und auch für Pakete die nicht installiert sind?


Um bei Deinem zweiten Beispiel zu bleiben:
Code:
$ grep php /etc/portage/package.use
www-servers/lighttpd    php

würde php-cgi auch dann geschützt werden, wenn

a) lighttpd nur als Abhängigkeit eines anderen Pakets installiert worden wäre, aber trotzdem wie oben beschrieben in package.use steht?
Also lighttpd nicht explizit in der world Datei steht?
(Annahme: php-cgi ist von lighttpd als Abhängigkeit installiert worden, und kein anderes Paket benötigt php-cgi)

b) lighttpd gar nicht installiert ist, aber wie oben beschrieben in package.use eingetragen ist?
(Annahme: php-cgi ist verwaist, kein installiertes Paket benötigt php-cgi)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
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