Восстановитесь с прерванной установки tt-rss

Я пытался установить tt-rss и середину пути через решительный, я не хотел устанавливать сервер БД и веб-сервер, таким образом, я прервал установку. Теперь я не могу установить обновления. Диспетчер пакетов говорит мне чинить вещи с apt-get -f install устанавливать что-либо.

Когда я выполняю это, я добираюсь:

root@cabin-htpc:/var/cache/debconf# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  apache2 apache2-data apache2-utils dbconfig-common guile-2.0-libs javascript-common libandroid-properties1 libapache2-mod-php5 libcec-platform1v5
  libedataserverui-1.2-1 libfstrcmp0 libgc1c2 libjs-dojo-core libjs-dojo-dijit libjs-dojo-dojox libjs-prototype libjs-scriptaculous libmcrypt4
  libmysqlclient18 liboxideqt-qmlplugin liboxideqtcore0 liboxideqtquick0 libpgm-5.1-0 libphp-phpmailer libpoppler57 libqt5positioning5 libzmq3 mysql-common
  php-cli php-common php-gettext php-pear php-xml php5 php5-cli php5-common php5-gd php5-json php5-mcrypt php5-mysql php5-readline php7.0-cli php7.0-common
  php7.0-json php7.0-opcache php7.0-readline php7.0-xml phpqrcode qml-module-qt-labs-folderlistmodel qml-module-qt-labs-settings
  qml-module-ubuntu-onlineaccounts qtdeclarative5-accounts-plugin qtdeclarative5-qtfeedback-plugin qtdeclarative5-qtquick2-plugin
  qtdeclarative5-ubuntu-web-plugin signon-keyring-extension unity-webapps-qml
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  fonts-ancient-scripts indicator-sound pulseaudio pulseaudio-module-x11 pulseaudio-utils rtkit ttf-ancient-fonts unity-control-center
Suggested packages:
  unity-greeter-session-broadcast pavumeter pavucontrol paman paprefs

и затем соответствующая часть:

The following packages will be REMOVED:
  tt-rss
The following NEW packages will be installed:
  fonts-ancient-scripts indicator-sound pulseaudio pulseaudio-module-x11 pulseaudio-utils rtkit ttf-ancient-fonts unity-control-center
0 upgraded, 8 newly installed, 1 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0 B/15.3 MB of archives.
After this operation, 29.5 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 222112 files and directories currently installed.)
Removing tt-rss (15.7+git20151123+dfsg-1) ...
/usr/sbin/invoke-rc.d: 600: /usr/sbin/invoke-rc.d: /etc/init.d/10: not found
invoke-rc.d: initscript 10, action "reload" failed.
/usr/sbin/invoke-rc.d: 600: /usr/sbin/invoke-rc.d: /etc/init.d/tt-rss/reconfigure-webserver: not found
invoke-rc.d: initscript tt-rss/reconfigure-webserver, action "reload" failed.
/usr/sbin/invoke-rc.d: 600: /usr/sbin/invoke-rc.d: /etc/init.d/doesn't: not found
invoke-rc.d: initscript doesn't, action "reload" failed.
/usr/sbin/invoke-rc.d: 600: /usr/sbin/invoke-rc.d: /etc/init.d/exist: not found
invoke-rc.d: initscript exist, action "reload" failed.
update-rc.d: error: cannot find a LSB script for tt-rss
dpkg: error processing package tt-rss (--remove):
 subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
 tt-rss
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@cabin-htpc:/var/cache/debconf#

Я попробовал

apt-get remove tt-rss
apt-get purge tt-rss
dpkg -r tt-rss
dpkg -P tt-rss

Я предполагаю, что 'перезагрузка" является деинсталлятором, пытающимся перезагружать веб-сервер и сервер БД, который никогда не устанавливался. Я просто понятия не имею, что делать с этим отсюда.

0
задан 18 March 2016 в 10:23

1 ответ

Не уверенный это - лучший способ, но я в конечном счете вошел: /var/lib/dpkg/info

и найденный tt-rss пред и сообщением устанавливают/удаляют файлы tt-rss.postrm tt-rss.prerm , к которому я переименовал: tt-rss.postrm.backup tt-rss.prerm.backup

С отключенными: dpkg --purge --force-all tt-rss работал, чтобы произвести чистку и удалить tt-rss.

0
ответ дан 29 September 2019 в 10:02

Другие вопросы по тегам:

Похожие вопросы: