Pagina 1 di 1

[RISOLTO] cvsnt non si disinstalla

Inviato: sabato 9 agosto 2008, 13:39
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-  ??? ???

Re: cvsnt non si disinstalla

Inviato: sabato 9 agosto 2008, 17:19
da blupenguin
hai provato a dare:

Codice: Seleziona tutto

sudo apt-get -f install
e poi riprovare la procedura?

Re: cvsnt non si disinstalla

Inviato: sabato 9 agosto 2008, 19:49
da Ophys
:-\ :-\ stessa cosa

Re: cvsnt non si disinstalla

Inviato: sabato 9 agosto 2008, 20:33
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

Re: cvsnt non si disinstalla

Inviato: domenica 10 agosto 2008, 11:46
da Ophys
niente da fare  :-\ stessa cosa

Re: cvsnt non si disinstalla

Inviato: martedì 12 agosto 2008, 16:21
da Ophys
up

Re: cvsnt non si disinstalla

Inviato: sabato 16 agosto 2008, 19:14
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

:) :) :) :)