Назад | Перейти на главную страницу

чашки не устанавливаются

Мне пришлось снять чашки с машины, чтобы провести несколько тестов. Я просто удалил его с помощью чашек для очистки apt-get, но теперь я не могу установить его снова, поэтому не могу печатать. Я никогда не видел такой ошибки, может кто-нибудь дать мне какие-то объяснения о том, что происходит? (В основном я хочу узнать и понять свою ошибку, но я погуглил ее, и здесь так много разных случаев. Я использую 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

Если ваш CUPS все еще установлен, похоже, что ваш initscript заблокирован. Вы вручную изменили сценарий запуска CUPS или заголовки LSB?

Переустановка Ubuntu сделала это. Немного грубо.