View previous topic :: View next topic |
Author |
Message |
fbcyborg Advocate
Joined: 16 Oct 2005 Posts: 3056 Location: ROMA
|
Posted: Mon Dec 01, 2008 9:04 pm Post subject: [risolto] --depclean --with-bdeps y: proteggere un pacchetto |
|
|
Ogni tanto utilizzo il comando Code: | emerge --depclean --with-bdeps y | per ripulire un po' il sistema.
Sul mio sistema ho installato distcc e ho usato per compilare anche per quell'architettura, oltre che a i686 che è quella principale per l'architettura locale.
Il problema è che quando lancio l'emerge --depclean --with-bdeps y, mi viene cancellato anche gcc per x86_64, infatti facendo gcc-config -l non lo trovo più.
Come posso proteggere gcc per x86_64 affinché non venga cancellato con un depclean, onde evitare di rifare crossdev -t x86_64 nuovamente?
Grazie. _________________ [HOWTO] Come criptare la /home usando cryptsetup e luks
[HOWTO] Abilitare il supporto al dom0 XEN su kernel 3.X
Help answer the unanswered
Last edited by fbcyborg on Mon Dec 01, 2008 11:01 pm; edited 3 times in total |
|
Back to top |
|
|
ckx3009 Guru
Joined: 08 Apr 2008 Posts: 362 Location: Milano, Italy
|
Posted: Mon Dec 01, 2008 10:19 pm Post subject: |
|
|
# emerge --depclean
* Always study the list of packages to be cleaned for any obvious
* mistakes. Packages that are part of the world set will always
* be kept. They can be manually added to this set with
* `emerge --noreplace <atom>`. Packages that are listed in
* package.provided (see portage(5)) will be removed by
* depclean, even if they are part of the world set.
*
* As a safety measure, depclean will not remove any packages
* unless *all* required dependencies have been resolved. As a
* consequence, it is often necessary to run `emerge --update
* --newuse --deep @system @world` prior to depclean.
quindi "emerge --noreplace gcc_x86_64" o come si chiama |
|
Back to top |
|
|
fbcyborg Advocate
Joined: 16 Oct 2005 Posts: 3056 Location: ROMA
|
Posted: Mon Dec 01, 2008 10:44 pm Post subject: |
|
|
OK, grazie.
Dunque, sull'amd64, dal momento che per avere i686-pc-linux-gnu-4.1.2 ho fatto crossdev -t i686, non so a priori quali pacchetti dovrei proteggere, però ad occhio, posso vedere quali sono i pacchetti incriminati dall'output del depclean...
cross-i686-pc-linux-gnu/glibc
cross-i686-pc-linux-gnu/linux-headers
cross-i686-pc-linux-gnu/gcc
cross-i686-pc-linux-gnu/binutils
Immagino quindi che se facessi l'emerge --noreplace per ogni pacchetto appena listato risolverei il problema.. Se ho capito bene quindi, l'opzione --noreplace, non implica la ricompilazione di tutti i suddetti pacchetti.
EDIT: Ok, risolto in quel modo! Grazie mille ancora _________________ [HOWTO] Come criptare la /home usando cryptsetup e luks
[HOWTO] Abilitare il supporto al dom0 XEN su kernel 3.X
Help answer the unanswered |
|
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
|
|