[RISOLTO] cvsnt non si disinstalla

Installazione, configurazione e uso di programmi e strumenti.
Ophys
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 270
Iscrizione: domenica 7 ottobre 2007, 16:47

[RISOLTO] cvsnt non si disinstalla

Messaggio da Ophys »

volevo installare cvs per usare xwinwrap ma quando provo ad installarlo mi da questo errore

Codice: Seleziona tutto

ophys@ophys-desktop:~$ sudo apt-get install cvs
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  cvsnt
The following NEW packages will be installed:
  cvs
0 upgraded, 1 newly installed, 1 to remove and 2 not upgraded.
Need to get 0B/1700kB of archives.
After this operation, 1077kB of additional disk space will be used.
Do you want to continue [Y/n]? s
Preconfiguring packages ...
(Reading database ... 221049 files and directories currently installed.)
Removing cvsnt ...
Stopping CVSNT Lock Server Daemon: invoke-rc.d: initscript cvsnt, action "stop" failed.
dpkg: error processing cvsnt (--remove):
 subprocess pre-removal script returned error exit status 1
Starting CVSNT Lock Server Daemon: cvslockd.
Errors were encountered while processing:
 cvsnt
E: Sub-process /usr/bin/dpkg returned an error code (1)
Allora prova a disinstallare cvsnt

Codice: Seleziona tutto

ophys@ophys-desktop:~$ sudo apt-get purge cvsnt
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  cvsnt*
0 upgraded, 0 newly installed, 1 to remove and 2 not upgraded.
After this operation, 2646kB disk space will be freed.
Do you want to continue [Y/n]? s
(Reading database ... 221049 files and directories currently installed.)
Removing cvsnt ...
Stopping CVSNT Lock Server Daemon: invoke-rc.d: initscript cvsnt, action "stop" failed.
dpkg: error processing cvsnt (--purge):
 subprocess pre-removal script returned error exit status 1
Starting CVSNT Lock Server Daemon: cvslockd.
Errors were encountered while processing:
 cvsnt
E: Sub-process /usr/bin/dpkg returned an error code (1)
ophys@ophys-desktop:~$
e da lo stesso errore-  ??? ???
Ultima modifica di Ophys il sabato 16 agosto 2008, 19:15, modificato 1 volta in totale.
Avatar utente
blupenguin
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 2342
Iscrizione: martedì 15 gennaio 2008, 18:54

Re: cvsnt non si disinstalla

Messaggio da blupenguin »

hai provato a dare:

Codice: Seleziona tutto

sudo apt-get -f install
e poi riprovare la procedura?
Ophys
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 270
Iscrizione: domenica 7 ottobre 2007, 16:47

Re: cvsnt non si disinstalla

Messaggio da Ophys »

:-\ :-\ stessa cosa
Avatar utente
blupenguin
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 2342
Iscrizione: martedì 15 gennaio 2008, 18:54

Re: cvsnt non si disinstalla

Messaggio da blupenguin »

ok, avevo letto in un post una volta di un problema simile e mi sono preso giù l'appunto di come aveva risolto.
Praticamente potresti fare così:

Codice: Seleziona tutto

sudo gedit /var/lib/dpkg/info/cvsnt.postrm
nel file aperto aggiungi alla prima riga exit 0 dopo #!/bin/sh

A questo punto rifai il processo di rimozione con apt-get che non incontrerà più ostacoli e dopo aver fatto ciò riediti il file di prima e gli togli il valore exit 0
Ophys
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 270
Iscrizione: domenica 7 ottobre 2007, 16:47

Re: cvsnt non si disinstalla

Messaggio da Ophys »

niente da fare  :-\ stessa cosa
Ophys
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 270
Iscrizione: domenica 7 ottobre 2007, 16:47

Re: cvsnt non si disinstalla

Messaggio da Ophys »

up
Ophys
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 270
Iscrizione: domenica 7 ottobre 2007, 16:47

Re: cvsnt non si disinstalla

Messaggio da Ophys »

Ok, ci sono riuscito, cercando su google ho trovato questo

http://groups.google.se/group/linux.deb ... 5bb522c1f6

in pratica per chi ha lo stesso problema basta fare così:

digitate su terminale sudo gedit /etc/init.d/cvsnt
cancellate le righe sotto dove c'è scritto stop (cioè le righe che indicano quel domando, non le altre)
disinstallate con apt

:) :) :) :)
Scrivi risposta

Ritorna a “Applicazioni”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 9 ospiti