Siduction Forum
Siduction Forum => Upgrade Warnings => Topic started by: orinoco on 2014/06/06, 18:32:49
-
Hello,
today I got this messages after d-u
Setting up cups-daemon (1.7.3-1) ...
A dependency job for cups.service failed. See 'journalctl -xn' for details.
invoke-rc.d: initscript cups, action "start" failed.
dpkg: error processing package cups-daemon (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of cups-core-drivers:
cups-core-drivers depends on cups-daemon (>= 1.7.3-1); however:
Package cups-daemon is not configured yet.
dpkg: error processing package cups-core-drivers (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of cups:
cups depends on cups-core-drivers (>= 1.7.3-1); however:
Package cups-core-drivers is not configured yet.
cups depends on cups-daemon (>= 1.7.3-1); however:
Package cups-daemon is not configured yet.
dpkg: error processing package cups (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
cups-daemon
cups-core-drivers
cups
E: Sub-process /usr/bin/dpkg returned an error code (1)
journalctl -xn
Jun 06 18:28:43 jake systemd[1]: Reloading.
Jun 06 18:28:43 jake systemd[1]: Starting CUPS Printing Service Sockets.
-- Subject: Unit cups.socket has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit cups.socket has begun starting up.
Jun 06 18:28:43 jake systemd[1]: ^[[1;39mcups.socket failed to listen on sockets: Cannot assign requested address
Jun 06 18:28:43 jake systemd[1]: Failed to listen on CUPS Printing Service Sockets.
-- Subject: Unit cups.socket has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation: http://www.freedesktop.org/wiki/Software/systemd/catalog/be02cf6855d2428ba40df7e9d022f03d
--
-- Unit cups.socket has failed.
--
-- The result is failed.
Jun 06 18:28:43 jake systemd[1]: Dependency failed for CUPS Printing Service.
-- Subject: Unit cups.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation: http://www.freedesktop.org/wiki/Software/systemd/catalog/be02cf6855d2428ba40df7e9d022f03d
--
-- Unit cups.service has failed.
--
-- The result is dependency.
-
Is it causing your printer to fail?
I'm not seeing the error ... I get:
Jun 06 15:44:12 siduction64kdefx systemd[1]: Started CUPS Printing Service.
-- Subject: Unit cups.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit cups.service has finished starting up.
--
-- The start-up result is done.
-
I don't know because I did the d-u remote. I can't test till monday evening.
-
This d-u completed without error just now, on 64-bit KDE:
root@imerabox:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
libxcb-randr0-dev libxcb-shape0-dev libxcb-xfixes0-dev
The following packages will be upgraded:
cups cups-bsd cups-client cups-core-drivers cups-daemon cups-ppdc curl dput
fonts-stix libbrlapi0.6 libcups2 libcups2-dev libcupscgi1 libcupsimage2
libcupsimage2-dev libcupsmime1 libcupsppdc1 libcurl3 libcurl3-gnutls
libgadu3 libxcb-composite0 libxcb-damage0 libxcb-dri2-0 libxcb-dri2-0:i386
libxcb-dri2-0-dev libxcb-dri3-0 libxcb-dri3-0:i386 libxcb-dri3-dev
libxcb-glx0 libxcb-glx0:i386 libxcb-glx0-dev libxcb-present-dev
libxcb-present0 libxcb-present0:i386 libxcb-randr0 libxcb-render0
libxcb-render0-dev libxcb-shape0 libxcb-shm0 libxcb-shm0-dev libxcb-sync-dev
libxcb-sync1 libxcb-sync1:i386 libxcb-xfixes0 libxcb-xtest0 libxcb-xv0
libxcb1 libxcb1:i386 libxcb1-dev python-numpy qemu-kvm qemu-system-common
qemu-system-x86 qemu-utils vlc vlc-nox vlc-plugin-notify vlc-plugin-pulse
wget xkb-data
60 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 13.2 MB of archives.
After this operation, 4,173 kB of additional disk space will be used.
Do you want to continue? [Y/n]
-
my d-u ended:
Nach dieser Operation werden 20,5 kB Plattenplatz zusätzlich benutzt.
(Lese Datenbank ... 149472 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../cups-daemon_1.7.3-6_amd64.deb ...
Failed to issue method call: Unit cups.service not loaded.
invoke-rc.d: initscript cups, action "stop" failed.
dpkg: Warnung: Unterprozess altes pre-removal-Skript gab den Fehlerwert 5 zurück
dpkg: stattdessen wird Skript aus dem neuen Paket probiert ...
Failed to issue method call: Unit cups.service not loaded.
invoke-rc.d: initscript cups, action "stop" failed.
dpkg: Fehler beim Bearbeiten des Archivs /var/cache/apt/archives/cups-daemon_1.7.3-6_amd64.deb (--unpack):
Unterprozess neues pre-removal-Skript gab den Fehlerwert 5 zurück
Failed to issue method call: Unit cups.service failed to load: Invalid argument. See system logs and 'systemctl status cups.service' for details.
invoke-rc.d: initscript cups, action "start" failed.
dpkg: Fehler beim Aufräumen:
Unterprozess installiertes post-installation-Skript gab den Fehlerwert 6 zurück
Fehler traten auf beim Bearbeiten von:
/var/cache/apt/archives/cups-daemon_1.7.3-6_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
??
-
and what does
systemctl status cups.service
say?
greetz
devil
-
and what does
journalctl -xn
say
Have you tried
apt-get -f install
Might also try
systemctl --system daemon-reload
systemctl enable cups.service
Post errors
-
systemctl status cups.service
cups.service - CUPS Printing Service
Loaded: error (Reason: Invalid argument)
Active: inactive (dead)
Docs: man:cupsd(8)
man:cupsd.conf(5)
Jul 09 19:00:22 siductionbox systemd[1]: Cannot add dependency job for unit cups.service, ignoring: Invalid argument
Logs begin at Mi 2014-07-09 19:00:20 CEST, end at Mi 2014-07-09 19:02:37 CEST. --
Jul 09 19:02:36 siductionbox org.gtk.Private.UDisks2VolumeMonitor[656]: ^[[1;39m(process:694): GLib-GObject-CRITICAL **: g_ob$
Jul 09 19:02:36 siductionbox org.gtk.Private.UDisks2VolumeMonitor[656]: ^[[1;39m(process:694): GVFS-RemoteVolumeMonitorDaemon$
Jul 09 19:02:36 siductionbox org.gtk.Private.UDisks2VolumeMonitor[656]: ^[[1;39m(process:694): GVFS-RemoteVolumeMonitorDaemon$
Jul 09 19:02:36 siductionbox org.gtk.Private.UDisks2VolumeMonitor[656]: ^[[1;39m(process:694): GVFS-RemoteVolumeMonitorDaemon$
Jul 09 19:02:37 siductionbox org.gtk.Private.AfcVolumeMonitor[656]: Volume monitor alive
Jul 09 19:02:37 siductionbox org.a11y.Bus[656]: ^[[1;39mActivating service name='org.a11y.atspi.Registry'
Jul 09 19:02:37 siductionbox org.a11y.Bus[656]: ^[[1;39mSuccessfully activated service 'org.a11y.atspi.Registry'
Jul 09 19:02:37 siductionbox org.a11y.atspi.Registry[718]: SpiRegistry daemon is running with well-known name - org.a11y.atsp$
Jul 09 19:02:37 siductionbox org.a11y.atspi.Registry[718]: ^[[1;39m** (at-spi2-registryd:721): WARNING **: Failed to register$
Jul 09 19:02:37 siductionbox org.a11y.atspi.Registry[718]: ^[[1;39m** (at-spi2-registryd:721): WARNING **: Unable to register$
apt-get -f install
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Die folgenden zusätzlichen Pakete werden installiert:
cups-daemon
Vorgeschlagene Pakete:
cups cups-bsd foomatic-db-compressed-ppds foomatic-db printer-driver-gutenprint printer-driver-hpcups hplip cups-pdf
Empfohlene Pakete:
colord cups-browsed avahi-daemon
Die folgenden Pakete werden aktualisiert (Upgrade):
cups-daemon
1 aktualisiert, 0 neu installiert, 0 zu entfernen und 80 nicht aktualisiert.
40 nicht vollständig installiert oder entfernt.
Es müssen noch 0 B von 372 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 20,5 kB Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren? [J/n] J
(Lese Datenbank ... 149472 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../cups-daemon_1.7.3-6_amd64.deb ...
Failed to issue method call: Unit cups.service not loaded.
invoke-rc.d: initscript cups, action "stop" failed.
dpkg: Warnung: Unterprozess altes pre-removal-Skript gab den Fehlerwert 5 zurück
dpkg: stattdessen wird Skript aus dem neuen Paket probiert ...
Failed to issue method call: Unit cups.service not loaded.
invoke-rc.d: initscript cups, action "stop" failed.
dpkg: Fehler beim Bearbeiten des Archivs /var/cache/apt/archives/cups-daemon_1.7.3-6_amd64.deb (--unpack):
Unterprozess neues pre-removal-Skript gab den Fehlerwert 5 zurück
Failed to issue method call: Unit cups.service failed to load: Invalid argument. See system logs and 'systemctl status cups.service' for details.
invoke-rc.d: initscript cups, action "start" failed.
dpkg: Fehler beim Aufräumen:
Unterprozess installiertes post-installation-Skript gab den Fehlerwert 6 zurück
Fehler traten auf beim Bearbeiten von:
/var/cache/apt/archives/cups-daemon_1.7.3-6_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
-
systemctl --system daemon-reload
root@siductionbox:~# systemctl enable cups.service
Synchronizing state for cups.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d cups defaults
Executing /usr/sbin/update-rc.d cups enable
The unit files have no [Install] section. They are not meant to be enabled
using systemctl.
Possible reasons for having this kind of units are:
1) A unit may be statically enabled by being symlinked from another unit's
.wants/ or .requires/ directory.
2) A unit's purpose may be to act as a helper for some other unit which has
a requirement dependency on it.
3) A unit may be started when needed via activation (socket, path, timer,
D-Bus, udev, scripted systemctl call, ...).
? what is to do ?
-
once again: for devil:
systemctl status cups.service
cups.service - CUPS Printing Service
Loaded: error (Reason: Invalid argument)
Active: inactive (dead)
Docs: man:cupsd( 8 )
man:cupsd.conf(5)
Jul 09 19:00:22 siductionbox systemd[1]: Cannot add dependency job for unit cups.service, ignoring: Invalid argument
Jul 09 19:06:33 siductionbox systemd[1]: cups.service lacks ExecStart setting. Refusing.
Jul 09 19:06:33 siductionbox systemd[1]: cups.service lacks ExecStart setting. Refusing.
Jul 09 19:06:35 siductionbox systemd[1]: cups.service lacks ExecStart setting. Refusing.
Jul 09 19:07:12 siductionbox systemd[1]: cups.service lacks ExecStart setting. Refusing.
Jul 09 19:07:26 siductionbox systemd[1]: cups.service lacks ExecStart setting. Refusing.
Jul 09 19:24:42 siductionbox systemd[1]: cups.service lacks ExecStart setting. Refusing.
Jul 09 19:24:42 siductionbox systemd[1]: cups.service lacks ExecStart setting. Refusing.
Jul 09 19:24:44 siductionbox systemd[1]: cups.service lacks ExecStart setting. Refusing.
-
apt-get install --reinstall cups-daemon
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Vorgeschlagene Pakete:
cups-bsd foomatic-db-compressed-ppds foomatic-db printer-driver-gutenprint
printer-driver-hpcups hplip cups-pdf
Empfohlene Pakete:
colord cups-browsed avahi-daemon
Die folgenden Pakete werden aktualisiert (Upgrade):
cups-daemon
1 aktualisiert, 0 neu installiert, 0 zu entfernen und 108 nicht aktualisiert.
2 nicht vollständig installiert oder entfernt.
Es müssen noch 0 B von 372 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 20,5 kB Plattenplatz zusätzlich benutzt.
dpkg-preconfigure: unable to re-open stdin: Datei oder Verzeichnis nicht gefunden
(Lese Datenbank ... 150219 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../cups-daemon_1.7.3-6_amd64.deb ...
Failed to issue method call: Unit cups.service not loaded.
invoke-rc.d: initscript cups, action "stop" failed.
dpkg: Warnung: Unterprozess altes pre-removal-Skript gab den Fehlerwert 5 zurück
dpkg: stattdessen wird Skript aus dem neuen Paket probiert ...
Failed to issue method call: Unit cups.service not loaded.
invoke-rc.d: initscript cups, action "stop" failed.
dpkg: Fehler beim Bearbeiten des Archivs /var/cache/apt/archives/cups-daemon_1.7.3-6_amd64.deb (--unpack):
Unterprozess neues pre-removal-Skript gab den Fehlerwert 5 zurück
Failed to issue method call: Unit cups.service failed to load: Invalid argument. See system logs and 'systemctl status cups.service' for details.
invoke-rc.d: initscript cups, action "start" failed.
dpkg: Fehler beim Aufräumen:
Unterprozess installiertes post-installation-Skript gab den Fehlerwert 6 zurück
Fehler traten auf beim Bearbeiten von:
/var/cache/apt/archives/cups-daemon_1.7.3-6_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
dpkg-reconfigure cups-daemon
/usr/sbin/dpkg-reconfigure: cups-daemon is broken or not fully installed
?
-
Can you try these 3 commands, then reboot
systemctl disable cups.socket
systemctl enable cups.service
systemctl start cups.service
Can you access this page http://localhost:631/
-
hi piper :)
sorry - it-s still broken ....is there a possibility to remove it with force or so ?
pipers-choice:
systemctl disable cups.socket
systemctl enable cups.service
Synchronizing state for cups.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d cups defaults
Executing /usr/sbin/update-rc.d cups enable
The unit files have no [Install] section. They are not meant to be enabled
using systemctl.
Possible reasons for having this kind of units are:
1) A unit may be statically enabled by being symlinked from another unit's
.wants/ or .requires/ directory.
2) A unit's purpose may be to act as a helper for some other unit which has
a requirement dependency on it.
3) A unit may be started when needed via activation (socket, path, timer,
D-Bus, udev, scripted systemctl call, ...).
root@siductionbox:/home/linux# systemctl start cups.service
Failed to issue method call: Unit cups.service failed to load: Invalid argument. See system logs and 'systemctl status cups.service' for details.
and : REBOOT ....
then:
apt-get -f install
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Abhängigkeiten werden korrigiert ... Fertig
Die folgenden zusätzlichen Pakete werden installiert:
cups-daemon
Vorgeschlagene Pakete:
cups cups-bsd foomatic-db-compressed-ppds foomatic-db
printer-driver-gutenprint printer-driver-hpcups hplip cups-pdf
Empfohlene Pakete:
colord cups-browsed avahi-daemon
Die folgenden Pakete werden aktualisiert (Upgrade):
cups-daemon
1 aktualisiert, 0 neu installiert, 0 zu entfernen und 32 nicht aktualisiert.
66 nicht vollständig installiert oder entfernt.
Es müssen noch 0 B von 372 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 20,5 kB Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren? [J/n] J
(Lese Datenbank ... 150144 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../cups-daemon_1.7.3-6_amd64.deb ...
Failed to issue method call: Unit cups.service not loaded.
invoke-rc.d: initscript cups, action "stop" failed.
dpkg: Warnung: Unterprozess altes pre-removal-Skript gab den Fehlerwert 5 zurück
dpkg: stattdessen wird Skript aus dem neuen Paket probiert ...
Failed to issue method call: Unit cups.service not loaded.
invoke-rc.d: initscript cups, action "stop" failed.
dpkg: Fehler beim Bearbeiten des Archivs /var/cache/apt/archives/cups-daemon_1.7.3-6_amd64.deb (--unpack):
Unterprozess neues pre-removal-Skript gab den Fehlerwert 5 zurück
insserv: warning: current start runlevel(s) (empty) of script `cups' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (1 2 3 4 5) of script `cups' overrides LSB defaults (1).
Job for cups.path failed. See 'systemctl status cups.path' and 'journalctl -xn' for details.
Fehler traten auf beim Bearbeiten von:
/var/cache/apt/archives/cups-daemon_1.7.3-6_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@siductionbox:/home/linux# systemctl disable cups.socket
root@siductionbox:/home/linux# systemctl enable cups.service
Synchronizing state for cups.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d cups defaults
insserv: warning: current start runlevel(s) (empty) of script `cups' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (1 2 3 4 5) of script `cups' overrides LSB defaults (1).
Executing /usr/sbin/update-rc.d cups enable
The unit files have no [Install] section. They are not meant to be enabled
using systemctl.
Possible reasons for having this kind of units are:
1) A unit may be statically enabled by being symlinked from another unit's
.wants/ or .requires/ directory.
2) A unit's purpose may be to act as a helper for some other unit which has
a requirement dependency on it.
3) A unit may be started when needed via activation (socket, path, timer,
D-Bus, udev, scripted systemctl call, ...).
root@siductionbox:/home/linux# systemctl start cups.service
Failed to issue method call: Unit cups.service failed to load: Invalid argument. See system logs and 'systemctl status cups.service' for details.
root@siductionbox:/home/linux# systemctl status cups.service
cups.service - CUPS Printing Service
Loaded: error (Reason: Invalid argument)
Active: inactive (dead)
Docs: man:cupsd(8)
man:cupsd.conf(5)
Jul 11 12:45:31 siductionbox systemd[1]: cups.service lacks ExecStart setting. Refusing.
Jul 11 12:45:32 siductionbox systemd[1]: cups.service lacks ExecStart setting. Refusing.
Jul 11 12:45:34 siductionbox systemd[1]: cups.service lacks ExecStart setting. Refusing.
Jul 11 12:56:02 siductionbox systemd[1]: cups.service lacks ExecStart setting. Refusing.
Jul 11 12:56:02 siductionbox systemd[1]: cups.service lacks ExecStart setting. Refusing.
Jul 11 12:56:03 siductionbox systemd[1]: cups.service lacks ExecStart setting. Refusing.
Jul 11 12:56:47 siductionbox systemd[1]: cups.service lacks ExecStart setting. Refusing.
Jul 11 12:56:57 siductionbox systemd[1]: cups.service lacks ExecStart setting. Refusing.
-
dmesg
5.167221] systemd[1]: cups.service lacks ExecStart setting. Refusing.
Es wurden 1.717 kB in 4 s geholt (429 kB/s).
dpkg-preconfigure: unable to re-open stdin: Datei oder Verzeichnis nicht gefunden
(Lese Datenbank ... 150143 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../libcupsimage2_1.7.4-1_amd64.deb ...
Entpacken von libcupsimage2:amd64 (1.7.4-1) über (1.7.3-6) ...
Vorbereitung zum Entpacken von .../libcupsppdc1_1.7.4-1_amd64.deb ...
Entpacken von libcupsppdc1:amd64 (1.7.4-1) über (1.7.3-6) ...
Vorbereitung zum Entpacken von .../libcupscgi1_1.7.4-1_amd64.deb ...
Entpacken von libcupscgi1:amd64 (1.7.4-1) über (1.7.3-6) ...
Vorbereitung zum Entpacken von .../libcupsmime1_1.7.4-1_amd64.deb ...
Entpacken von libcupsmime1:amd64 (1.7.4-1) über (1.7.3-6) ...
Vorbereitung zum Entpacken von .../cups-common_1.7.4-1_all.deb ...
Entpacken von cups-common (1.7.4-1) über (1.7.3-6) ...
Vorbereitung zum Entpacken von .../cups-client_1.7.4-1_amd64.deb ...
Entpacken von cups-client (1.7.4-1) über (1.7.3-6) ...
Vorbereitung zum Entpacken von .../cups-daemon_1.7.4-1_amd64.deb ...
Failed to issue method call: Unit cups.service not loaded.
invoke-rc.d: initscript cups, action "stop" failed.
dpkg: Warnung: Unterprozess altes pre-removal-Skript gab den Fehlerwert 5 zurück
dpkg: stattdessen wird Skript aus dem neuen Paket probiert ...
Failed to issue method call: Unit cups.service not loaded.
invoke-rc.d: initscript cups, action "stop" failed.
dpkg: Fehler beim Bearbeiten des Archivs /var/cache/apt/archives/cups-daemon_1.7.4-1_amd64.deb (--unpack):
Unterprozess neues pre-removal-Skript gab den Fehlerwert 5 zurück
Failed to issue method call: Unit cups.service failed to load: Invalid argument. See system logs and 'systemctl status cups.service' for details.
invoke-rc.d: initscript cups, action "start" failed.
dpkg: Fehler beim Aufräumen:
Unterprozess installiertes post-installation-Skript gab den Fehlerwert 6 zurück
Vorbereitung zum Entpacken von .../libcups2_1.7.4-1_amd64.deb ...
Entpacken von libcups2:amd64 (1.7.4-1) über (1.7.3-6) ...
Trigger für man-db (2.6.7.1-1) werden verarbeitet ...
Fehler traten auf beim Bearbeiten von:
/var/cache/apt/archives/cups-daemon_1.7.4-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
dpkg --force-all -P cups-daemon
dpkg: Warnung: Problem wird übergangen, weil --force angegeben ist:
dpkg: Warnung: Paket ist in einem sehr schlechten inkonsistenten Zustand - Sie sollten
es erneut installieren, bevor Sie es zu entfernen versuchen.
(Lese Datenbank ... 150143 Dateien und Verzeichnisse sind derzeit installiert.)
Entfernen von cups-daemon (1.7.3-3) ...
Failed to open /dev/tty: Kein passendes Gerät bzw. keine passende Adresse gefunden
Failed to issue method call: Unit cups.service not loaded.
invoke-rc.d: initscript cups, action "stop" failed.
dpkg: Fehler beim Bearbeiten des Paketes cups-daemon (--purge):
Unterprozess installiertes pre-removal-Skript gab den Fehlerwert 5 zurück
Failed to issue method call: Unit cups.service failed to load: Invalid argument. See system logs and 'systemctl status cups.service' for details.
invoke-rc.d: initscript cups, action "start" failed.
dpkg: Fehler beim Aufräumen:
Unterprozess installiertes post-installation-Skript gab den Fehlerwert 6 zurück
Fehler traten auf beim Bearbeiten von:
cups-daemon
? can anybody help
-
The only thing I can think of off hand, because I have no clue to what happened to your cups is to reinstall all, as far as I know, you are the only one this happened to, I have not checked the german side of things, sorry.
dpkg -l |grep cups
Perhaps start there, by reinstalling everything in that output
Have no idea why cups.service is giving you a hard time
Should post these files, maybe can see something wrong
/etc/systemd/system/printer.target.wants/cups.service
/lib/systemd/system/cups.service
/var/lib/systemd/deb-systemd-helper-enabled/cups.service.dsh-also
/var/lib/systemd/deb-systemd-helper-enabled/printer.target.wants/cups.service
Other than the above, I am stumped
-
dpkg -l |grep cups
iU cups-client 1.7.4-1 amd64 Common UNIX Printing System(tm) - client programs (SysV)
iU cups-common 1.7.4-1 all Common UNIX Printing System(tm) - common files
iFR cups-daemon 1.7.3-3 amd64 Common UNIX Printing System(tm) - daemon
ii cups-filters 1.0.54-3+b1 amd64 OpenPrinting CUPS Filters - Main Package
ii cups-filters-core-drivers 1.0.54-3+b1 amd64 OpenPrinting CUPS Filters - PPD-less printing
ii cups-ppdc 1.7.3-6 amd64 Common UNIX Printing System(tm) - PPD manipulation utilities
ii cups-server-common 1.7.3-6 all Common UNIX Printing System(tm) - server common files
iU libcups2:amd64 1.7.4-1 amd64 Common UNIX Printing System(tm) - Core library
iU libcupscgi1:amd64 1.7.4-1 amd64 Common UNIX Printing System(tm) - CGI library
ii libcupsdriver1:amd64 1.5.3-1 amd64 Common UNIX Printing System(tm) - Driver library
ii libcupsfilters1:amd64 1.0.54-3+b1 amd64 OpenPrinting CUPS Filters - Shared library
iU libcupsimage2:amd64 1.7.4-1 amd64 Common UNIX Printing System(tm) - Raster image library
iU libcupsmime1:amd64 1.7.4-1 amd64 Common UNIX Printing System(tm) - MIME library
iU libcupsppdc1:amd64 1.7.4-1 amd64 Common UNIX Printing System(tm) - PPD manipulation library
/etc/systemd/system/printer.target.wants/cups.service
bash: /etc/systemd/system/printer.target.wants/cups.service: Datei oder Verzeichnis nicht gefunden
/lib/systemd/system/cups.service
bash: /lib/systemd/system/cups.service: Keine Berechtigung
root@siductionbox:/home/linux# /var/lib/systemd/deb-systemd-helper-enabled/cups.service.dsh-also
bash: /var/lib/systemd/deb-systemd-helper-enabled/cups.service.dsh-also: Keine Berechtigung
root@siductionbox:/home/linux# /var/lib/systemd/deb-systemd-helper-enabled/printer.target.wants/cups.service
bash: /var/lib/systemd/deb-systemd-helper-enabled/printer.target.wants/cups.service: Keine Berechtigung
(mmh, by the way : i have no printer - and i need no printer ...) and: ...lines with "no found=nicht gefunden" should i make a file ?
-
can you purge cups completely?
-
no, dear alf ...
nothing helped:
dpkg -P --force-all cups-daemon
apt-get purge cups-daemon
dpkg -i --force-all --no-triggers /var/cache/apt/archives/cups_daemon_1.7.3-6_amd64.deb
so i decided to check:
/var/lib/dpkg/status (alles mit cups-daemon)
und hab einfach alles mit cups-daemon dort herausgenommen :)
danach ein :
apt-get -f install
und jetzt läuft der d-u durch !!!
...bin mal gespannt, wo er hängen bleibt ...
-
nu ja - bei mir sähe das mit dem deinstallieren so aus:
agaida@razorbox:~$ sudo apt-get purge cups-d*
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Note, selecting 'cups-core-drivers' for regex 'cups-d*'
Note, selecting 'cups-server-common' for regex 'cups-d*'
Note, selecting 'cups-daemon' for regex 'cups-d*'
Note, selecting 'cups-client' for regex 'cups-d*'
Note, selecting 'cups-backend-bjnp' for regex 'cups-d*'
Note, selecting 'cups-pk-helper' for regex 'cups-d*'
Note, selecting 'cups-driver-gutenprint' for regex 'cups-d*'
Note, selecting 'cups-browsed' for regex 'cups-d*'
Note, selecting 'cups-pdf' for regex 'cups-d*'
Note, selecting 'cups-filters-core-drivers' for regex 'cups-d*'
Note, selecting 'cups-bsd' for regex 'cups-d*'
Note, selecting 'cups-filters' for regex 'cups-d*'
Note, selecting 'cups-tea4cups' for regex 'cups-d*'
Note, selecting 'cups-common' for regex 'cups-d*'
Note, selecting 'libnet-cups-perl' for regex 'cups-d*'
Note, selecting 'hal-cups-utils' for regex 'cups-d*'
Note, selecting 'cups-dbg' for regex 'cups-d*'
Note, selecting 'cups-ppdc' for regex 'cups-d*'
Paket »hal-cups-utils« ist nicht installiert, wird also auch nicht entfernt.
Paket »cups-dbg« ist nicht installiert, wird also auch nicht entfernt.
Paket »cups-backend-bjnp« ist nicht installiert, wird also auch nicht entfernt.
Paket »cups-driver-gutenprint« ist nicht installiert, wird also auch nicht entfernt.
Paket »libnet-cups-perl« ist nicht installiert, wird also auch nicht entfernt.
Paket »cups-tea4cups« ist nicht installiert, wird also auch nicht entfernt.
Die folgenden zusätzlichen Pakete werden installiert:
foomatic-filters lprng
Vorgeschlagene Pakete:
magicfilter lprng-doc
Empfohlene Pakete:
colord
Die folgenden Pakete werden ENTFERNT:
cups* cups-browsed* cups-bsd* cups-client* cups-common* cups-core-drivers* cups-daemon* cups-filters* cups-filters-core-drivers* cups-pdf* cups-pk-helper*
cups-ppdc* cups-server-common* cupsddk* foomatic-db-engine*
Die folgenden NEUEN Pakete werden installiert:
foomatic-filters lprng
0 aktualisiert, 2 neu installiert, 15 zu entfernen und 8 nicht aktualisiert.
0 aktualisiert, 2 neu installiert, 15 zu entfernen und 8 nicht aktualisiert.
Es müssen 1.404 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 7.404 kB Plattenplatz freigegeben.
Möchten Sie fortfahren? [J/n]
nöö - mach ich mal lieber nich
und das Zeug - oder Teile davon wieder ins System geworfen und alles wäre gut gewesen :)
-
sudo apt-get purge cups-d*
...
Entfernen von cups-daemon (1.7.3-3) ...
Failed to open /dev/tty: Kein passendes Gerät bzw. keine passende Adresse gefunden
Failed to issue method call: Unit cups.service not loaded.
invoke-rc.d: initscript cups, action "stop" failed.
dpkg: Fehler beim Bearbeiten des Paketes cups-daemon (--purge):
Unterprozess installiertes pre-removal-Skript gab den Fehlerwert 5 zurück
Failed to issue method call: Unit cups.service failed to load: Invalid argument. See system logs and 'systemctl status cups.service' for details.
invoke-rc.d: initscript cups, action "start" failed.
dpkg: Fehler beim Aufräumen:
Unterprozess installiertes post-installation-Skript gab den Fehlerwert 6 zurück
Fehler traten auf beim Bearbeiten von:
cups-daemon
-
apt-get -f install
-
Failed to issue method call: Unit cups.service not loaded.
invoke-rc.d: initscript cups, action "stop" failed.
dpkg: Warnung: Unterprozess altes pre-removal-Skript gab den Fehlerwert 5 zurück
Nothing you do with dpkg or apt-get will fix this problem. The problem is the pre-removal script is failing, something that should never happen.
Since dpkg cannot be forced to ignore the maintainer scripts, you have to either delete or fix the script yourself.
Edit /var/lib/dpkg/cups-daemon.prerm
somewhere it probably says "invoke-rc.d stop cups-daemon". This is what fails. Either cups is not actually running or systemd had broken yet-another-thing. Since *supposedly* the pre-removal script only wants to (unnecessarily) stop the service so that it can then be restarted, you can "safely" (but I cannot tell you for sure) delete the script (unless you know how to fix it), i.e.
# rm /var/lib/dpkg/cups-daemon.prerm
then do "dpkg -P cups-daemon" and hope for the best. Then apt-get -f install and then apt-get upgrade.
-
If systemd had broken yet-another-thing, many more users here would be posting about broken cups, I on the other hand am using my printer as we speak (work) , my wife has to use it all day, every day.
I du 3-4 times a day, unless on holiday, then, it's up to the cat, that lazy no good moth%^ &^@#!* !, so it ends up done when I get home ;)
I can't remember the last time I had an issue with cups, hmm, kanotix, knoppix days, many years ago
You would also be seeing this (failing) at #debian-systemd and I haven't unless I missed something