[Pkg-roundcube-maintainers] Bug#810980: roundcube-core: apt-get dist-upgrade to roundcube-core_1.1.5 fails on cannot switch to symlink

mark mark at klaver.fr
Wed Aug 16 15:04:01 UTC 2017

Package: roundcube
Version: 0.7.2-9+deb7u1
Followup-For: Bug #810980

apt-get dist-upgrade followed by apt-get -f install results in error
message below; 

Preconfiguring packages ...
(Reading database ... 89065 files and directories currently installed.)
Preparing to unpack .../roundcube-core_1.1.5+dfsg.1-1~bpo8+5_all.deb ...
dpkg-maintscript-helper: error: directory '/var/lib/roundcube/config'
contains files not owned by package roundcube-core:all, cannot switch to
dpkg: error processing archive
 subprocess new pre-installation script returned error exit status 1
 dbconfig-common: flushing administrative password
 Errors were encountered while processing:
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  root at tigger:~# apt-get -s install reportbug
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  reportbug is already the newest version.
  You might want to run 'apt-get -f install' to correct these:
  The following packages have unmet dependencies:
   roundcube-core : Depends: roundcube-mysql (= 0.7.2-9+deb7u1) but
   1.1.5+dfsg.1-1~bpo8+5 is
   to be installed or
  roundcube-pgsql (= 0.7.2-9+deb7u1) but 1.1.5+dfsg.1-1~bpo8+5 is
 to be installed
 roundcube-plugins : Depends:roundcube-core (= 1.1.5+dfsg.1-1~bpo8+5)
 but 0.7.2-9+deb7u1 is to be installed 
 E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


-- System Information:
Debian Release: 8.9
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages roundcube-core depends on:
ii  apache2 [httpd]             2.4.10-10+deb8u10
ii  apache2-mpm-worker [httpd]  2.4.10-10+deb8u10
ii  dbconfig-common             1.8.47+nmu3+deb8u1
ii  debconf [debconf-2.0]       1.5.56+deb8u1
ii  libjs-jquery                1.7.2+dfsg-3.2
ii  libjs-jquery-ui             1.10.1+dfsg-1
ii  libmagic1                   1:5.22+15-2+deb8u3
ii  lighttpd [httpd]            1.4.35-4+deb8u1
ii  nginx-full [httpd]          1.6.2-5+deb8u5
ii  php-auth                    1.6.4-1
ii  php-mail-mime               1.8.9-1+deb8u1
ii  php-mdb2                    2.5.0b5-1
ii  php-net-smtp                1.6.2-2
ii  php-net-socket              1.0.14-1
ii  php5                        5.6.30+dfsg-0+deb8u1
ii  php5-gd                     5.6.30+dfsg-0+deb8u1
ii  php5-intl                   5.6.30+dfsg-0+deb8u1
ii  php5-mcrypt                 5.6.30+dfsg-0+deb8u1
ii  php5-pspell                 5.6.30+dfsg-0+deb8u1
iu  roundcube-mysql             1.1.5+dfsg.1-1~bpo8+5
ii  roundcube-pgsql             1.1.5+dfsg.1-1~bpo8+5
ii  tinymce                     3.4.8+dfsg0-1
ii  ucf                         3.0030

roundcube-core recommends no packages.

Versions of packages roundcube-core suggests:
ii  php-auth-sasl      1.0.6-1+deb8u1
pn  php-crypt-gpg      <none>
iu  roundcube-plugins  1.1.5+dfsg.1-1~bpo8+5

-- Configuration Files:
/etc/roundcube/lighttpd.conf changed [not included]

-- debconf information:
  roundcube/mysql/admin-user: root
  roundcube/db/dbname: roundcube
  roundcube/remove-error: abort
* roundcube/database-type: mysql
  roundcube/dbconfig-reinstall: false
  roundcube/internal/reconfiguring: false
  roundcube/language: nl_NL
  roundcube/pgsql/admin-user: postgres
  roundcube/pgsql/authmethod-user: password
  roundcube/mysql/method: unix socket
  roundcube/pgsql/changeconf: false
  roundcube/restart-webserver: true
  roundcube/reconfigure-webserver: apache2, lighttpd
  roundcube/pgsql/method: unix socket
  roundcube/missing-db-package-error: abort
  roundcube/pgsql/authmethod-admin: ident
  roundcube/upgrade-error: abort
  roundcube/install-error: abort
  roundcube/db/app-user: roundcube
* roundcube/dbconfig-remove:
  roundcube/internal/skip-preseed: false
* roundcube/dbconfig-upgrade: true
  roundcube/upgrade-backup: true
* roundcube/dbconfig-install: true
  roundcube/purge: false

More information about the Pkg-roundcube-maintainers mailing list