Package: console-tools
Version: 2:0.2.3-73
Severity: important

--- Please enter the report below this line. ---
Hi,

Using systemd, I have the following error when upgrading or removing console-tools:

# LANG=C apt-get --purge autoremove console-tools
[…]
Removing console-tools ...
Failed to issue method call: Unit console-screen.sh.service not loaded.
invoke-rc.d: initscript console-screen.sh, action "stop" failed.
dpkg: error processing console-tools (--purge):
subprocess installed pre-removal script returned error exit status 5
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults Failed to issue method call: Unit console-screen.sh.service failed to load: No such file or directory. See system logs and 'systemctl status console-screen.sh.service' for details.
invoke-rc.d: initscript console-screen.sh, action "start" failed.
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 6
Errors were encountered while processing:
console-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

And indeed:
# systemctl status console-screen.sh.service
console-screen.sh.service
Loaded: error (Reason: No such file or directory)
Active: inactive (dead)

The reason is that the name ends with .sh. It may be a failure of systemd. However, the LSB comments says that this script provides "console-screen", so that suggestion will introduce more consistency.

And currently, I will have to cheat to upgrade this package. Or even remove it.

Please ask me for more information,

Adrien

--- System information. ---
Architecture: i386
Kernel: Linux 3.11-1-686-pae

Debian Release: jessie/sid
500 unstable ftp.fr.debian.org
1 experimental ftp.fr.debian.org

--- Package information. ---
Depends (Version) | Installed
=================================-+-==================
libc6 (>= 2.3) | 2.17-95
libconsole (= 1:0.2.3dbs-70) |
debconf | 1.5.52
OR debconf-2.0 |
lsb-base (>= 3.0-10) | 4.1+Debian12


Recommends (Version) | Installed
=======================================-+-=====================
console-setup | 1.103
OR console-data (>= 2002.12.04dbs-1) | 2:1.12-3
console-setup | 1.103
OR console-common | 0.7.87


Suggests (Version) | Installed
=========================-+-===========
kbd-compat |


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to