Came across this error while trying to install cvs and remove cvsnt: $ 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 9 not upgraded. Need to get 0B/1716kB of archives. After this operation, 1135kB of additional disk space will be used. Do you want to continue [Y/n]? Preconfiguring packages ... (Reading database ... 118673 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)
It seems as though there is some kind of error with the cvsnt startup/shutdown script. The workaround was to shutdown the cvsnt server manually : $ sudo /etc/init.d/cvsnt stop and then remove the script $ sudo rm /etc/init.d/cvsnt That then allowed cvsnt to be removed and cvs to be installed via apt-get. Regards, - Robert --~--~---------~--~----~------------~-------~--~----~ Central West End Linux Users Group (via Google Groups) Main page: http://www.cwelug.org To post: [email protected] To subscribe: [email protected] To unsubscribe: [email protected] More options: http://groups.google.com/group/cwelug -~----------~----~----~----~------~----~------~--~---
