web-dev-qa-db-fra.com

roundcube dpkg-reconfigure a échoué

Je n'ai plus aucune idée de dpkg-reconfigure roundcube-core

a échoué sans raison. J'ai réinstallé roundcube plusieurs fois, sans effet. Semble être un problème de dpkg sur Ubuntu 16.04 LTS

Voici une erreur

apt-get install --reinstall debconf
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  php-sqlite3 php7.0-sqlite3 sqlite3
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 213 not upgraded.
Need to get 0 B/136 kB of archives.
After this operation, 0 B of additional disk space will be used.
Preconfiguring packages ...
dpkg: warning: files list file for package 'roundcube-core' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'roundcube-mysql' missing; assuming package has no files currently installed
(Reading database ... 331508 files and directories currently installed.)
Preparing to unpack .../debconf_1.5.58ubuntu1_all.deb ...
Unpacking debconf (1.5.58ubuntu1) over (1.5.58ubuntu1) ...
Setting up debconf (1.5.58ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...
1
orfruit

Après quelques difficultés, résolu. Au cas où quelqu'un aurait besoin, voici la réponse:

Nettoyer d'abord:

Sudo apt-get update
Sudo apt-get autoremove
Sudo apt-get autoclean
Sudo apt-get --purge remove

Ensuite, essayez de reconfigurer et de forcer la sortie de débogage, c’est important:

Sudo dpkg-reconfigure $ (dpkg -l | awk '{print $ 2}' | grep "^ roundcube" | tr '\ n' '')

Hmm .. cela montre l'erreur, cette autre manière n'est pas affichée du tout!

/usr/sbin/dpkg-reconfigure: roundcube-plugins is broken or not fully installed

Maintenant, réinstallez ce paquet ... et ça marche.

apt-get install roundcube-plugins
2
orfruit