Debian package problem
I was installing nas...but I seem to have messed something up. Because now the package is stuck somewhere between being installed and not being installed, and I can't get it to either install or uninstall so I can start over again.
What should I do to get this thing unstuck?
What should I do to get this thing unstuck?
[root@terrania nvidia]# apt-get install nas Reading Package Lists... Done Building Dependency Tree... Done Sorry, nas is already the newest version. 0 packages upgraded, 0 newly installed, 0 to remove and 3 not upgraded. 1 packages not fully installed or removed. Need to get 0B of archives. After unpacking 0B will be used. Setting up nas (1.5-1) ... update-rc.d: /etc/init.d/nas: file does not exist dpkg: error processing nas (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: nas E: Sub-process /usr/bin/dpkg returned an error code (1) [root@terrania nvidia]# apt-get remove nas Reading Package Lists... Done Building Dependency Tree... Done The following packages will be REMOVED: nas 0 packages upgraded, 0 newly installed, 1 to remove and 3 not upgraded. 1 packages not fully installed or removed. Need to get 0B of archives. After unpacking 258kB will be freed. Do you want to continue? [Y/n] (Reading database ... 81810 files and directories currently installed.) Removing nas ... /var/lib/dpkg/info/nas.prerm: /etc/init.d/nas: No such file or directory dpkg: error processing nas (--remove): subprocess pre-removal script returned error exit status 1 /var/lib/dpkg/info/nas.postinst: /etc/init.d/nas: No such file or directory dpkg: error while cleaning up: subprocess post-installation script returned error exit status 1 Errors were encountered while processing: nas E: Sub-process /usr/bin/dpkg returned an error code (1)
