Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[risolto] --depclean --with-bdeps y: proteggere un pacchetto
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
fbcyborg
Advocate
Advocate


Joined: 16 Oct 2005
Posts: 3056
Location: ROMA

PostPosted: Mon Dec 01, 2008 9:04 pm    Post subject: [risolto] --depclean --with-bdeps y: proteggere un pacchetto Reply with quote

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
Code:
crossdev -t x86_64
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
View user's profile Send private message
ckx3009
Guru
Guru


Joined: 08 Apr 2008
Posts: 362
Location: Milano, Italy

PostPosted: Mon Dec 01, 2008 10:19 pm    Post subject: Reply with quote

# 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
View user's profile Send private message
fbcyborg
Advocate
Advocate


Joined: 16 Oct 2005
Posts: 3056
Location: ROMA

PostPosted: Mon Dec 01, 2008 10:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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