[Pkg-kde-extras] Bug#842578: quassel-core: Please inform Postgresql users, qt plugin needs to be upgraded

Ben Armstrong synrg at sanctuary.nslug.ns.ca
Sun Oct 30 14:21:32 UTC 2016


Package: quassel-core
Version: 1:0.12.4-2
Severity: normal

I recently upgraded the system hosting my quassel-core from Jessie to Stretch. Upon upgrading, it no longer saw my postgresql database. Instead, it defaulted to sqlite and wanted to guide me through the setup process again when I first connected to it from quassel-client.

Apparently it was long enough since I first configured quassel-core to forget that the QT plugin for postgresql needs to be installed to make this work. Since libqt5sql5-psql is only Suggests:, this is not automatically provided for by the upgrade.

Please consider at least adding NEWS.Debian.gz with text such as:

The QT plugin for the postgresql backend has been upgraded from QT 4 to QT 5. If you configured quassel-core to use postgresql, you will need to install libqt5sql5-psql in order to continue to have access to your database. Otherwise, quassel-client will report that the core is not configured and prompt you to set it up again. A better solution would be to provide a quassel-core-psql package with the necessary package so that APT will resolve the dependency necessary to use the backend (which unfortunately won't help Jessie users, as they would not have this package installed; however, the NEWS.Debian.gz could recommend administrators install the new package to make future upgrades go smoothly).

Thanks,
Ben

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 4.7.0-1-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/bash
Init: systemd (via /run/systemd/system)

Versions of packages quassel-core depends on:
ii  adduser              3.115
ii  init-system-helpers  1.45
ii  libc6                2.24-5
ii  libqca-qt5-2         2.1.1-2
ii  libqt5core5a         5.6.1+dfsg-3+b1
ii  libqt5network5       5.6.1+dfsg-3+b1
ii  libqt5script5        5.6.1+dfsg-2
ii  libqt5sql5           5.6.1+dfsg-3+b1
ii  libqt5sql5-sqlite    5.6.1+dfsg-3+b1
ii  libstdc++6           6.2.0-9
ii  lsb-base             9.20161016
ii  openssl              1.0.2j-1
ii  zlib1g               1:1.2.8.dfsg-2+b1

quassel-core recommends no packages.

Versions of packages quassel-core suggests:
pn  libqt5sql5-psql  <none>

-- Configuration Files:
/etc/init.d/quasselcore changed:
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/bin/quasselcore
NAME=quasselcore
DESC="distributed IRC core"
LOGDIR=/var/log/quassel
PIDFILE=/var/run/quasselcore.pid 
test -x $DAEMON || exit 0
. /lib/lsb/init-functions
DAEMON_OPTS=""
LOGFILE=$LOGDIR/core.log
DATADIR=/var/lib/quassel
DAEMONUSER=quasselcore
LOGLEVEL="Info"
PORT="4242"
if [ -f /etc/default/$NAME ] ; then
    . /etc/default/$NAME
fi
if [ -n "$DAEMONUSER" ] ; then
    getent passwd | grep -q "^$DAEMONUSER:"
    if [ $? -ne 0 ]; then
        log_failure_msg "The user $DAEMONUSER, required to run $NAME does not exist."
        exit 1
    fi
fi
start_server() {
    start-stop-daemon --start --quiet --pidfile $PIDFILE --make-pidfile \
        --background --chuid $DAEMONUSER --exec $DAEMON \
        -- --logfile=$LOGFILE --loglevel=$LOGLEVEL --configdir=$DATADIR \
           --port=$PORT \
           $DAEMON_OPTS
}
stop_server() {
    start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE --user $DAEMONUSER \
        --exec $DAEMON
}
case "$1" in
  start)
	log_daemon_msg "Starting $DESC" "$NAME"
	start_server
	case "$?" in
		0) log_end_msg 0 ;;
		1) log_progress_msg "already started"
		   log_end_msg 0 ;;
		*) log_end_msg $? ;;
	esac
	;;
  stop)
	log_daemon_msg "Stopping $DESC" "$NAME"
	stop_server
	case "$?" in
		0) log_end_msg 0 ;;
		1) log_progress_msg "already stopped"
		   log_end_msg 0 ;;
		*) log_end_msg $? ;;
	esac
	;;
  reload)
        log_warning_msg "Reloading $NAME daemon: not implemented, as the daemon"
        log_warning_msg "cannot re-read the config file (use restart)."
        ;;
  restart|force-reload)
	$0 stop
	$0 start
	;;
  status)
	status_of_proc -p $PIDFILE $DAEMON $NAME && exit 0 || exit $?
	;;
  *)
	echo "Usage: /etc/init.d/$NAME {start|stop|restart|reload|force-reload|status}" >&2
	exit 3
	;;
esac
exit 0


-- no debconf information



More information about the pkg-kde-extras mailing list