Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RISOLTO] Non riesco a disinstallare sys-libs/libstdc++-v3
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
lsegalla
l33t
l33t


Joined: 27 Jun 2007
Posts: 796

PostPosted: Tue Feb 17, 2009 12:25 pm    Post subject: [RISOLTO] Non riesco a disinstallare sys-libs/libstdc++-v3 Reply with quote

Stavo facendo una pulizia dei pacchetti che non mi servono, fra i quali ho trovato libstdc++ che devo aver installato quando ho fatto dei tentativi con parallels-desktop, infatti:
Code:
gentoo-linux portage # qdepends -Q libstdc++
app-emulation/parallels-workstation-2.2.2112-r1


poi ho dato
Code:

gentoo-linux portage # emerge -C libstdc++

 virtual/libstdc++
    selected: 3.3
   protected: none
     omitted: none

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 1
>>> Unmerging virtual/libstdc++-3.3...

 * GNU info directory index is up-to-date.


e quindi
Code:
gentoo-linux portage # emerge -C parallels-workstation

 app-emulation/parallels-workstation
    selected: 2.2.2112-r1
   protected: none
     omitted: none

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 1
>>> Unmerging app-emulation/parallels-workstation-2.2.2112-r1...

 * GNU info directory index is up-to-date.


Appena pero' faccio un
Code:
gentoo-linux portage # emerge -uDNp world

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-libs/libstdc++-v3-3.3.6  USE="(-build%) (-nptl%*)"
[ebuild  N    ] virtual/libstdc++-3.3


Allora con eix ho provato a vedere e ho trovato che è ancora installato:
Code:
gentoo-linux portage # eix libstdc
[I] sys-libs/libstdc++-v3
     Available versions:  (5)  3.3.6
        {multilib nls}
     Installed versions:  3.3.6(5)(22:07:51 01/23/08)(nls nptl -build -multilib)
     Homepage:            http://gcc.gnu.org/libstdc++/
     Description:         Compatibility package for running binaries linked against a pre gcc 3.4 libstdc++

* sys-libs/libstdc++-v3-bin
     Available versions:  *3.3.6!s
     Homepage:            http://gcc.gnu.org/libstdc++/
     Description:         Compatibility package for running binaries linked against a pre gcc 3.4 libstdc++

* virtual/libstdc++
     Available versions:  (3.3)  3.3
     Homepage:            http://www.gentoo.org/proj/en/base/
     Description:         Virtual for the GNU Standard C++ Library

Found 3 matches.


Come faccio a liberarmi di quesot pacchetto?
Come mai continuo a ritrovarmelo ?


Last edited by lsegalla on Wed Feb 18, 2009 12:11 pm; edited 1 time in total
Back to top
View user's profile Send private message
bandreabis
Advocate
Advocate


Joined: 18 Feb 2005
Posts: 2490
Location: イタリアのロディで

PostPosted: Tue Feb 17, 2009 12:51 pm    Post subject: Reply with quote

Non so, prova ad aggiungere -t a emerge.
Magari vediamo da quale pacchetto dipende.

Forse era meglio se disinstallavi parallels-workstation e poi davi un emerge --depclean.
_________________
Il numero di post non fa di me un esperto! Anzi!
Back to top
View user's profile Send private message
Scen
Retired Dev
Retired Dev


Joined: 29 Jul 2003
Posts: 2470
Location: Padova, Italy

PostPosted: Tue Feb 17, 2009 1:10 pm    Post subject: Re: Non riesco a disinstallare sys-libs/libstdc++-v3 Reply with quote

lsegalla wrote:

poi ho dato
Code:

gentoo-linux portage # emerge -C libstdc++

 virtual/libstdc++
    selected: 3.3
   protected: none
     omitted: none

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 1
>>> Unmerging virtual/libstdc++-3.3...

 * GNU info directory index is up-to-date.


[...]

Appena pero' faccio un
Code:
gentoo-linux portage # emerge -uDNp world

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-libs/libstdc++-v3-3.3.6  USE="(-build%) (-nptl%*)"
[ebuild  N    ] virtual/libstdc++-3.3



Guarda bene... hai rimosso virtual/libstdc++, non sys-libs/libstdc++-v3, che ovviamente ti vuole reintrodurre il primo pacchetto.

Per cui quello che ti manca è:
Code:

emerge -C sys-libs/libstdc++-v3


bandreabis wrote:

Forse era meglio se disinstallavi parallels-workstation e poi davi un emerge --depclean.

Confermo: è sempre la procedura corretta! Quella che hai seguito tu è sbagliata, nel senso che poi rischi di incappare in situazioni tipo questa, se non si èscaltri :roll:
_________________
I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny
Back to top
View user's profile Send private message
lsegalla
l33t
l33t


Joined: 27 Jun 2007
Posts: 796

PostPosted: Tue Feb 17, 2009 2:40 pm    Post subject: Reply with quote

Avevo provato come ha detto scen ma è evidente che devo aver commesso qualche errore di distrazione.
Adesso se faccio un emerge --depclean sarebbe utile ?
Back to top
View user's profile Send private message
lsegalla
l33t
l33t


Joined: 27 Jun 2007
Posts: 796

PostPosted: Tue Feb 17, 2009 2:58 pm    Post subject: Reply with quote

Se pero' faccio un emerge -uDNp world me lo ripropone questo pacchetto:
Code:

gentoo-linux luca # emerge -uDNp world

These are the packages that would be merged, in order:

Calculating dependencies |^[[1; -^[... done!
[ebuild  N    ] virtual/libstdc++-3.3
Back to top
View user's profile Send private message
bandreabis
Advocate
Advocate


Joined: 18 Feb 2005
Posts: 2490
Location: イタリアのロディで

PostPosted: Tue Feb 17, 2009 3:26 pm    Post subject: Reply with quote

Prova a dare il comando
Code:
emerge -uDNpt world
che dovrebbe indicarti chi richiede quel pacchetto, e anche un
Code:
cat /var/lib/portage/world |grep libstdc
per vedere se nel caso ti sia finito per sbaglio in world.
_________________
Il numero di post non fa di me un esperto! Anzi!
Back to top
View user's profile Send private message
lsegalla
l33t
l33t


Joined: 27 Jun 2007
Posts: 796

PostPosted: Tue Feb 17, 2009 3:28 pm    Post subject: Reply with quote

Code:

gentoo-linux luca # emerge -uDNpt world

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[nomerge      ] dev-java/sun-jre-bin-1.6.0.11
[ebuild  N    ]  virtual/libstdc++-3.3

gentoo-linux luca # cat /var/lib/portage/world |grep libstdc
gentoo-linux luca #
Back to top
View user's profile Send private message
bandreabis
Advocate
Advocate


Joined: 18 Feb 2005
Posts: 2490
Location: イタリアのロディで

PostPosted: Tue Feb 17, 2009 3:35 pm    Post subject: Reply with quote

lsegalla wrote:
Code:

gentoo-linux luca # emerge -uDNpt world

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[nomerge      ] dev-java/sun-jre-bin-1.6.0.11
[ebuild  N    ]  virtual/libstdc++-3.3

gentoo-linux luca # cat /var/lib/portage/world |grep libstdc
gentoo-linux luca #


Chiedo conferma a Scen... quindi virtual/libstdc++-3.3 è una dipendenza necessaria (per java).
_________________
Il numero di post non fa di me un esperto! Anzi!
Back to top
View user's profile Send private message
Scen
Retired Dev
Retired Dev


Joined: 29 Jul 2003
Posts: 2470
Location: Padova, Italy

PostPosted: Tue Feb 17, 2009 4:12 pm    Post subject: Reply with quote

bandreabis wrote:
Chiedo conferma a Scen... quindi virtual/libstdc++-3.3 è una dipendenza necessaria (per java).

Yes :?

Code:

# cat /usr/portage/dev-java/sun-jre-bin/sun-jre-bin-1.6.0.11.ebuild
...
RDEPEND="sys-libs/glibc
        x86? ( =virtual/libstdc++-3.3 )
...

_________________
I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny
Back to top
View user's profile Send private message
lsegalla
l33t
l33t


Joined: 27 Jun 2007
Posts: 796

PostPosted: Wed Feb 18, 2009 12:11 pm    Post subject: Reply with quote

Ho riprovato a rifare l'emerge e ora se lo è riemerso correttamente quindi todo ok
thanks
Back to top
View user's profile Send private message
Elbryan
Guru
Guru


Joined: 13 Nov 2006
Posts: 523
Location: Rovereto (TN)

PostPosted: Wed Feb 18, 2009 3:48 pm    Post subject: Reply with quote

Comunque, tanto per la cronaca e per chiarire la situazione ai ponteziali niubbastri che passassero da questo thread, la sequenza delle operazioni corretta è quella prima di dare un emerge -C $pacchettointeressato, successivamente dare un emerge --depclean -a (lo switch -a è perché chiede conferma, così da controllare bene che non disinstalli cose importanti, e successivamente ancora (facoltativo ma io lo consiglio) dare un revdep-rebuild (che ricordo fa parte del pacchetto/collection gentoolkit).

Questa è la sequenza più corretta e sicura per effettuare le rimozioni dei pacchetti.

Nell'esempio sopra $pacchettointeressato intendo dire il pacchetto del quale ci vogliamo liberare, non della libreria.
emerge -C lo rimuove dal sistema, però, lasciando le dipendenze.
Infatti le librerie sono dipendenze che vengono successivamente rimosse dal "depclean" (se non sono condivise e utilizzate da altri pacchetti).

Il terzo comando, revdep-rebuild, fa un controllo al contrario delle dipendenze (REVerse DEPpendancy rebuild).
Nel caso ci siano file/librerie/pacchetti corrotti/broken/missing lui s'arrangerà a riemergerli.

Se ho scordato qualcosa / scritto qualche boiata correggetemi :)
Back to top
View user's profile Send private message
Onip
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2912
Location: Parma (Italy)

PostPosted: Wed Feb 18, 2009 4:46 pm    Post subject: Reply with quote

Elbryan wrote:
Se ho scordato qualcosa / scritto qualche boiata correggetemi :)

Per estrema sicurezza alla fine di tutto meglio controllare la consistenza del sistema con
Code:
# emerge -DuNav world


A volte, pochissime in realtà, mi è capitato che mi chiedesse di riemergere qualcosa di appena rimosso da depclean stesso. (per lo stesso motivo consiglio anche un quickpkg dei rimuovendi in caso siano mattoni consistenti )
_________________
Linux Registered User n. 373835

Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum
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