Ubuntu
杯子無法安裝
我不得不從機器上取下杯子來做一些測試。我剛剛用 apt-get purge cups 將其刪除,但現在我無法再次安裝它,因此無法列印。我從來沒有見過這樣的錯誤,有人可以給我一些關於發生了什麼的解釋嗎?(我主要想了解和理解我的錯誤,但我用Google搜尋了它,發現有很多不同的情況。我正在執行 Ubuntu 10.04)。
當我嘗試使用 apt-get install cups 安裝它時,我得到了以下結果:
root@pc-desktop:/home/pc# apt-get install cups Reading package lists... Done Building dependency tree Reading state information... Done cups is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 3 not fully installed or removed. After this operation, 0B of additional disk space will be used. Setting up cups (1.4.3-1ubuntu1.5) ... update-rc.d: warning: /etc/init.d/cups missing LSB information update-rc.d: see <http://wiki.debian.org/LSBInitScripts> /usr/sbin/cupsd: symbol lookup error: /usr/sbin/cupsd: undefined symbol: _httpReadGNUTLS cups: unable to start scheduler. invoke-rc.d: initscript cups, action "start" failed. dpkg: error processing cups (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of ghostscript-cups: ghostscript-cups depends on cups; however: Package cups is not configured yet. dpkg: error processing ghostscript-cups (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of cups-driver-gutenprint: cups-driver-gutenprint depends on cups (>= 1.3.0); however: Package cups is not configured yet. cups-driver-gutenprint depends on ghostscript-cups; however: Package ghostscript-cups is not configured yet. dpkg: error processing cups-driver-gutenprint (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure. No apport report written because the error message indicates its a followup error from a previous failure. Errors were encountered while processing: cups ghostscript-cups cups-driver-gutenprint E: Sub-process /usr/bin/dpkg returned an error code (1)
我又有提示了。
有人有任何線索嗎?我真的不知道我應該從哪裡開始搜尋。
非常感謝您提前。
帕特里克。
嗯安裝後嘗試自動刪除:
sudo apt-get purge cups && sudo apt-get autoremove sudo apt-get update && sudo apt-get install cups
怎麼樣
apt-get install --reinstall cups