Recuperar da instalação abortada do tt-rss

0

Eu tentei instalar o tt-rss ea meio caminho decidi que não queria instalar um servidor de banco de dados e Web, então abri a instalação. Agora não consigo instalar nenhuma atualização. O gerenciador de pacotes está me dizendo para consertar as coisas com apt-get -f install para instalar qualquer coisa.

Quando corro, recebo:

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

e, em seguida, a parte relevante:

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#

Eu tentei

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

Eu estou supondo que 'reload' é o desinstalador tentando recarregar o servidor web e o servidor de banco de dados que nunca foram instalados. Eu simplesmente não tenho idéia do que fazer a partir daqui.

    
por jb510 18.03.2016 / 07:19

1 resposta

0

Não tenho certeza se é o melhor caminho, mas acabei entrando em: /var/lib/dpkg/info

e encontrou o tt-rss pré e pós instalar / remover arquivos %código% que eu renomei para: tt-rss.postrm tt-rss.prerm

Com os deficientes: %código% trabalhei para limpar e remover o tt-rss.

    
por jb510 18.03.2016 / 07:37