Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
KDE - Rimozioni vecchie versioni
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
maruscya
Guru
Guru


Joined: 13 Aug 2004
Posts: 507

PostPosted: Fri Sep 02, 2005 9:26 am    Post subject: KDE - Rimozioni vecchie versioni Reply with quote

CIao a tutti.

Sto usando l'ultima versione di KDE.... 3.4, pero' mi sono reso conto che ci sono ancora le versioni precedenti di KDE. In realta l' aggiornamento e' stata un'aggiunta di una nuova versione di KDE.

Quasto mi va anche bene.. pero' sto per finire lo spazio sul disco e vorrei togliere quello che non serve.

Come posso fare ?

MaruscyA
Back to top
View user's profile Send private message
alexzndr
n00b
n00b


Joined: 11 Jan 2005
Posts: 55
Location: Somewhere in Time

PostPosted: Fri Sep 02, 2005 10:58 am    Post subject: Reply with quote

Succede perche' la 3.4 e' messa su uno slot differente.
Non so come hai istallato kde, se hai istallato tutto penso basti
Code:

emerge -C \<kde-3.4.*


Poi c'e' da togliere anche arts e le kdelibs vecchie:
comunque prima passa il comando con -p almeno controlli se e' tutto ok!
ciao ciao
_________________
User #271594 and Machines #154911 #198029
Back to top
View user's profile Send private message
guerro
Guru
Guru


Joined: 21 Jun 2004
Posts: 402
Location: Brescia

PostPosted: Fri Sep 02, 2005 1:09 pm    Post subject: Reply with quote

Io utilizzo questo scrippettino:
remove-old-kde
Code:

#!/bin/sh
#Rimuove la vecchia versione indicata dalla variabile VERSION

VERSION='3.3'

for PACCHETTO in $(ls -1d /var/db/pkg/kde-base/kde*-$VERSION* | cut -f6 -d/)
do
      emerge -C $PACCHETTO
done

#Rimuove Arts
for PACCHETTO in $(ls -1d /var/db/pkg/kde-base/arts*-$VERSION* | cut -f6 -d/)
do
      emerge -C $PACCHETTO
done


Per avere un anterpima di quali pacchetti rimuoverà basta aggiungere il parametro -p al comando di emerge. :P:lol:
_________________
(.(*. .*).)
.. G u e r r o ..
(.(.* *.).)


Last edited by guerro on Mon Sep 05, 2005 7:35 am; edited 1 time in total
Back to top
View user's profile Send private message
maruscya
Guru
Guru


Joined: 13 Aug 2004
Posts: 507

PostPosted: Fri Sep 02, 2005 2:46 pm    Post subject: Reply with quote

Sto provando il tuo scrippettino... ma ho questo bell'error...

Code:

these are the packages that I would merge, in order:

Calculating dependencies

!!! Problem in kde-base/kde-3.3.2 dependencies.
!!! "Specific key requires an operator (kde-base/kde-3.3.2) (try adding an '=')" exceptions



Non credo che sia normale !

NB: per test ho messo -p al posto -C e ho cambiato il path da "kdebase" a "kde-base" ....
Back to top
View user's profile Send private message
jikko
Apprentice
Apprentice


Joined: 17 Nov 2004
Posts: 192
Location: Pioltello Milano Italy

PostPosted: Fri Sep 02, 2005 3:09 pm    Post subject: Reply with quote

io ti suggerisco unclepine di xcris.
_________________
...Bill nostro che non sei nei cieli e non capisci il perche', e questa cosa ti sta sull ca@@o da morire, dacci oggi il nostro chip quotidiano...
(Luciano Ligabue, baby e' un mondo super)
Back to top
View user's profile Send private message
alexzndr
n00b
n00b


Joined: 11 Jan 2005
Posts: 55
Location: Somewhere in Time

PostPosted: Fri Sep 02, 2005 4:55 pm    Post subject: Reply with quote

Quote:
Non credo che sia normale !

NB: per test ho messo -p al posto -C e ho cambiato il path da "kdebase" a "kde-base" ....


Non devi metterlo al posto di -C ma devi aggiungerlo.
Poi hai scritto la versione corretta da eliminare?

Comunque prima non c'avevo pensato ma sono d'accordo con jikko :)
_________________
User #271594 and Machines #154911 #198029
Back to top
View user's profile Send private message
guerro
Guru
Guru


Joined: 21 Jun 2004
Posts: 402
Location: Brescia

PostPosted: Mon Sep 05, 2005 7:35 am    Post subject: Reply with quote

CHIEDO VENIA!! :oops: :oops:
per l'errore segnalato da maruscya.
Effettivamente il path corretto è "/var/db/pkg/kde-base/" come ho provveduto a correggere, il fatto è che ricopiandolo a mano mi è sfuggito... :oops: :cry:
_________________
(.(*. .*).)
.. G u e r r o ..
(.(.* *.).)
Back to top
View user's profile Send private message
maruscya
Guru
Guru


Joined: 13 Aug 2004
Posts: 507

PostPosted: Tue Sep 06, 2005 9:55 am    Post subject: Reply with quote

Grazie a tutti per l'aiuto...

Sto provando unclepine.... mi devo fare un po' le ossa ma al primo tentativo di rimozione del software vecchio mi ha tolto oltre un gb di roba.. :)

Tra i quali c'erano anche tutte le vecchie versione di KDE

Grazie mille..
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