Bug#1037537: Upgrade To Bookworm Fails with Roundcube Update
Thanks for the reply, Guilhem. After restoring my VM back to Debian 11.7, I then tried upgrading Roundcube, first: # sed -i s/bullseye/bookworm/ /etc/apt/sources.list # apt-get install roundcube-core This worked. I then was able to do the full upgrade to bookworm. While I'm not sure why this worked, I'm happy to get the upgrade completed. Thanks, Bryan
Bug#1037537: Upgrade To Bookworm Fails with Roundcube Update
On Tue, 13 Jun 2023 at 20:45:19 -0500, Bryan K. Walton wrote: > Previous Roundcube version: 1.4.13+dfsg.1-1~deb11u1 > Previous Debian version: 11.7 Which DB backend are you using? I'm unable to reproduce this in a Bullseye (11.7) VM with roundcube-mysql (the default): ~# apt install -y default-mysql-server ~# apt install -y roundcube-core ## don't change pre-selected debconf values ## replace /etc/roundcube/config.inc.php with yours (except $config['des_key']) ~# sed -i s/bullseye/bookworm/ /etc/apt/sources.list ~# apt update ~# apt dist-upgrade Works here, both when selecting “install the package maintainer's version” or “keep the local version currently installed” for /etc/roundcube/config.inc.php. (In both cases, I answered “Yes” to “Perform upgrade on database for roundcube with dbconfig-common?”.) Does `apt install -f` fix the problem for you? If not, you might want to edit /var/lib/dpkg/info/roundcube-core.postinst and replace `set -e` with `set -ex` to get a debug trace. > $config['plugins'] = array( > 'archive', > 'twofactor_gauthenticator', > 'carddav', > 'chbox', > ); AFAICT ‘twofactor_gauthenticator’, ‘carddav’ and ‘chbox’ don't come from Debian. Does it help to remove these 3 from the array? -- Guilhem. signature.asc Description: PGP signature
Bug#1037537: Upgrade To Bookworm Fails with Roundcube Update
On Tue, Jun 13, 2023 at 11:41:48PM +0200, Guilhem Moulin wrote: > Control: tag -1 unreproducible moreinfo > > On Tue, 13 Jun 2023 at 16:16:51 -0500, Bryan K. Walton via > Pkg-roundcube-maintainers wrote: > > Today, I tried to upgrade my webserver to Debian 12.0 (bookworm). > > Everything succeeded but Roundcube. > > What was the previous Roundcube (and Debian itself) version? Please > also share your roundcube configuration file. piuparts checks the > upgrade path of the stock config (for all of DB backends) and that > appear to be smooth. Thank you for your reply! Previous Roundcube version: 1.4.13+dfsg.1-1~deb11u1 Previous Debian version: 11.7 I've attached the Roundcube configuration file, as requested. Please note, for privacy reasons, I have replaced the real des_key value with a series of "#" symbols. The same applies to the host value in the default_host setting. Thanks! Bryan Walton
Bug#1037537: Upgrade To Bookworm Fails with Roundcube Update
Control: tag -1 unreproducible moreinfo On Tue, 13 Jun 2023 at 16:16:51 -0500, Bryan K. Walton via Pkg-roundcube-maintainers wrote: > Today, I tried to upgrade my webserver to Debian 12.0 (bookworm). > Everything succeeded but Roundcube. What was the previous Roundcube (and Debian itself) version? Please also share your roundcube configuration file. piuparts checks the upgrade path of the stock config (for all of DB backends) and that appear to be smooth. -- Guilhem. signature.asc Description: PGP signature
Bug#1037537: Upgrade To Bookworm Fails with Roundcube Update
Package: roundcube-core Version: 1.6.1+dfsg-1 Today, I tried to upgrade my webserver to Debian 12.0 (bookworm). Everything succeeded but Roundcube. The upgrade of Roundcube fails with the following: Installing new version of config file /etc/roundcube/htaccess ... Installing new version of config file /etc/roundcube/mimetypes.php ... INFO: Running /usr/share/roundcube/bin/update.sh as user 'www-data' dpkg: error processing package roundcube-core (--configure): installed roundcube-core package post-installation script subprocess returned error exit status 255 dpkg: dependency problems prevent configuration of roundcube-plugins: roundcube-plugins depends on roundcube-core (= 1.6.1+dfsg-1); however: Package roundcube-core is not configured yet. dpkg: error processing package roundcube-plugins (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of roundcube: roundcube depends on roundcube-core (= 1.6.1+dfsg-1); however: Package roundcube-core is not configured yet. dpkg: error processing package roundcube (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: roundcube-core roundcube-plugins roundcube E: Sub-process /usr/bin/dpkg returned an error code (1)