Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic:  cups error after d-u  (Read 7910 times)

Offline orinoco

  • User
  • Posts: 233
  • Bullshit artist
cups error after d-u
« on: 2014/06/06, 18:32:49 »
Hello,

today I got this messages after d-u

Code: [Select]
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

Code: [Select]
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.

Offline GoinEasy9

  • User
  • Posts: 560
Re: cups error after d-u
« Reply #1 on: 2014/06/06, 21:43:28 »
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.
Linux Counter number 348347

Offline orinoco

  • User
  • Posts: 233
  • Bullshit artist
Re: cups error after d-u
« Reply #2 on: 2014/06/07, 10:51:24 »
I don't know because I did the d-u remote. I can't test till monday evening.

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.345
    • Land of the Buckeye
Re: cups error after d-u
« Reply #3 on: 2014/06/07, 12:02:47 »
This d-u completed without error just now, on 64-bit KDE:


Code: [Select]
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]
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

Offline rueX

  • User
  • Posts: 135
Re: cups error after d-u
« Reply #4 on: 2014/07/09, 01:05:27 »
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)


??

Offline devil

  • Administrator
  • User
  • *****
  • Posts: 4.838
Re: cups error after d-u
« Reply #5 on: 2014/07/09, 01:26:29 »
and what does
Code: [Select]
systemctl status cups.service say?



greetz
devil

Offline piper

  • User
  • Posts: 1.785
  • we are the priests ... of the temples of syrinx
Re: cups error after d-u
« Reply #6 on: 2014/07/09, 01:34:26 »
and what does

Code: [Select]
journalctl -xn

say

Have you tried

Code: [Select]
apt-get -f install

Might also try

Code: [Select]
systemctl --system daemon-reload

Code: [Select]
systemctl enable cups.service


Post errors
Free speech isn't just fucking saying what you want to say, it's also hearing what you don't want to fucking hear

I either give too many fucks or no fucks at all, it's like I cannot find a middle ground for a moderate fuck distribution, it's like what the fuck

Offline rueX

  • User
  • Posts: 135
Re: cups error after d-u
« Reply #7 on: 2014/07/09, 19:06:55 »
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)



Offline rueX

  • User
  • Posts: 135
Re: cups error after d-u
« Reply #8 on: 2014/07/09, 19:07:51 »
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 ?

Offline rueX

  • User
  • Posts: 135
Re: cups error after d-u
« Reply #9 on: 2014/07/09, 19:28:33 »
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.



Offline rueX

  • User
  • Posts: 135
Re: cups error after d-u
« Reply #10 on: 2014/07/10, 19:32:33 »
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

?

Offline piper

  • User
  • Posts: 1.785
  • we are the priests ... of the temples of syrinx
Re: cups error after d-u
« Reply #11 on: 2014/07/11, 02:18:09 »
Can you try these 3 commands, then reboot

Code: [Select]
systemctl disable cups.socket
systemctl enable cups.service
systemctl start cups.service

Can you access this page    http://localhost:631/
Free speech isn't just fucking saying what you want to say, it's also hearing what you don't want to fucking hear

I either give too many fucks or no fucks at all, it's like I cannot find a middle ground for a moderate fuck distribution, it's like what the fuck

Offline rueX

  • User
  • Posts: 135
Re: cups error after d-u
« Reply #12 on: 2014/07/11, 13:02:18 »
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.

Offline rueX

  • User
  • Posts: 135
Re: cups error after d-u
« Reply #13 on: 2014/07/18, 00:38:54 »
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

Offline piper

  • User
  • Posts: 1.785
  • we are the priests ... of the temples of syrinx
Re: cups error after d-u
« Reply #14 on: 2014/07/18, 02:38:54 »
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.

Code: [Select]
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

Code: [Select]
/etc/systemd/system/printer.target.wants/cups.service
Code: [Select]
/lib/systemd/system/cups.service
Code: [Select]
/var/lib/systemd/deb-systemd-helper-enabled/cups.service.dsh-also
Code: [Select]
/var/lib/systemd/deb-systemd-helper-enabled/printer.target.wants/cups.service
Other than the above, I am stumped
Free speech isn't just fucking saying what you want to say, it's also hearing what you don't want to fucking hear

I either give too many fucks or no fucks at all, it's like I cannot find a middle ground for a moderate fuck distribution, it's like what the fuck