Siduction Forum

Siduction Forum => Software - Support => Topic started by: molen15 on 2018/12/29, 10:59:35

Title: SOLVED: 7 updates HP won't install
Post by: molen15 on 2018/12/29, 10:59:35
Hello, I have installed my HP Deskjet 2130 All-in-one Printer/Scanner. Now there are 7 updates from HP are holding back by the system. I can't install them. What to do?
Title: Re: 7 updates HP won't install
Post by: piper on 2018/12/29, 11:36:32
patience

It's all you can do at this moment
Title: Re: 7 updates HP won't install
Post by: molen15 on 2018/12/29, 11:38:05
Thank you. I will wait.
Title: Re: 7 updates HP won't install
Post by: axt on 2018/12/29, 12:16:05
Waiting for what and for how long?

I could install hplip with all dependencies. So there is no general problem. Posting a terminal output wouldn't be bad.

Code: [Select]
apt install -s hplip
Is the system up to date?

Title: Re: 7 updates HP won't install
Post by: molen15 on 2018/12/29, 12:22:13
In dutch is this the result:

bert@bert-pc:~$ apt install -s hplip
OPMERKING: Dit is slechts een simulatie!
    Voor daadwerkelijke uitvoering heeft apt beheerdersrechten nodig.
    Houd er ook rekening mee dat vergrendeling is uitgeschakeld.
    Steun dus niet op haar relevantie voor de huidige concrete situatie!
Pakketlijsten worden ingelezen... Klaar
Boom van vereisten wordt opgebouwd       
De statusinformatie wordt gelezen... Klaar
Sommige pakketten konden niet geïnstalleerd worden. Dit kan betekenen
dat u om een onmogelijke situatie gevraagd heeft, of, indien u
de distributie 'unstable' gebruikt, dat sommige benodigde pakketten nog gemaakt moeten worden of uit 'Incoming' verwijderd werden.
De volgende informatie kan misschien helpen de situatie op te lossen:

De volgende pakketten hebben niet-voldane vereisten:
 hplip : Vereisten: libhpmud0 (= 3.18.12+dfsg0-2) maar 3.17.10+repack0-5 zal geïnstalleerd worden
         Vereisten: libsnmp30 (>= 5.7.3+dfsg-4+b1~dfsg) maar 5.7.3+dfsg-3 zal geïnstalleerd worden
         Aanbevelingen: sane-utils maar het zal niet geïnstalleerd worden
E: Kan problemen niet verhelpen, u houdt defecte pakketten vast.

Title: Re: 7 updates HP won't install
Post by: Jörg on 2018/12/29, 15:23:15
Just a little help for my country-man:

bert@bert-pc:~$ apt install -s hplip
NOTE: This is just a simulation!
    For actual execution apt needs administrator rights.
    Also note that lock is disabled.
    So do not rely on its relevance to the current concrete situation!
Package lists are read in... Ready
Tree of requirements is built up       
The status information is read... Ready
Some packages could not be installed. This may mean
that you have asked for an impossible situation, or, if you are
used the distribution 'unstable', that some required packages still need to be created or were removed from 'Incoming'.
The following information may help to resolve the situation:

The following packages have unsatisfied requirements:
hplip : requirements: libhpmud0 (= 3.18.12+dfsg0-2) but 3.17.10+repack0-5 will be installed
         Requirements: libsnmp30 (>= 5.7.3+dfsg-4+b1~dfsg) but 5.7.3+dfsg-3 will be installed
         Recommendations: sane-utils but it will not be installed
E: Could not fix problems, you are holding defective packages.

Greetings and best wishes for all,
Jörg
Title: Re: 7 updates HP won't install
Post by: axt on 2018/12/29, 15:35:28
It's quite obvious, even without translation. "Opmerking" sounds funny in German. ;) Codebox (the # icon) would have been more important. Never mind.

molen15, I asked, is the system up to date?

Code: [Select]
apt update; apt upgrade
Title: Re: 7 updates HP won't install
Post by: molen15 on 2018/12/29, 16:54:43
I updated it and did an upgrade. After that I got this:

root@bert-pc:/home/bert# apt install -s hplip
Pakketlijsten worden ingelezen... Klaar
Boom van vereisten wordt opgebouwd       
De statusinformatie wordt gelezen... Klaar
Sommige pakketten konden niet geïnstalleerd worden. Dit kan betekenen
dat u om een onmogelijke situatie gevraagd heeft, of, indien u
de distributie 'unstable' gebruikt, dat sommige benodigde pakketten nog gemaakt moeten worden of uit 'Incoming' verwijderd werden.
De volgende informatie kan misschien helpen de situatie op te lossen:

De volgende pakketten hebben niet-voldane vereisten:
 hplip : Vereisten: libhpmud0 (= 3.18.12+dfsg0-2) maar 3.17.10+repack0-5 zal geïnstalleerd worden
         Vereisten: libsnmp30 (>= 5.7.3+dfsg-4+b1~dfsg) maar 5.7.3+dfsg-3 zal geïnstalleerd worden
         Aanbevelingen: sane-utils maar het zal niet geïnstalleerd worden
E: Kan problemen niet verhelpen, u houdt defecte pakketten vast.

Title: Re: 7 updates HP won't install
Post by: hendrikL on 2018/12/29, 18:35:10
hi,
if you want share the output of apt, for example use the
LANG=C option in front of your command.

Like
Code: [Select]
LANG=C apt policy hplip
hplip:
  Installed: (none)
  Candidate: 3.18.12+dfsg0-2
  Version table:
     3.18.12+dfsg0-2 500
        500 http://deb.debian.org/debian unstable/main amd64 Packages
     3.17.10+repack0-7.1 500
        500 https://packages.siduction.org/fixes unstable/main amd64 Packages
so the output is in english!
The other question, why the hack not
Code: [Select]
apt full-upgrade!?
We are using debian sid aka unstable and NOT ubuntu, so full-upgrade is the tool to use.

So i think your system is NOT up-to-date, some packages may, but your whole system not, if you use
apt upgrade and not apt full-upgrade!

Code: [Select]
~$ LANG=C apt -s install hplip hplip-gui
NOTE: This is only a simulation!
      apt needs root privileges for real execution.
      Keep also in mind that locking is deactivated,
      so don't depend on the relevance to the real current situation!
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-4.19.10-towo.1-siduction-amd64 linux-headers-4.19.11-towo.2-siduction-amd64 linux-image-4.19.10-towo.1-siduction-amd64 linux-image-4.19.11-towo.2-siduction-amd64
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  hplip-data libsane-hpaio printer-driver-postscript-hp python3-dbus.mainloop.pyqt5 python3-notify2 python3-olefile python3-pexpect python3-pil python3-ptyprocess python3-renderpm
  python3-reportlab python3-reportlab-accel
Suggested packages:
  hplip-doc python-pexpect-doc python-pil-doc python3-pil-dbg python3-renderpm-dbg python3-egenix-mxtexttools python-reportlab-doc
The following NEW packages will be installed:
  hplip hplip-data hplip-gui libsane-hpaio printer-driver-postscript-hp python3-dbus.mainloop.pyqt5 python3-notify2 python3-olefile python3-pexpect python3-pil python3-ptyprocess
  python3-renderpm python3-reportlab python3-reportlab-accel
0 upgraded, 14 newly installed, 0 to remove and 266 not upgraded.
Inst hplip-data (3.18.12+dfsg0-2 Debian:unstable [all])
Inst libsane-hpaio (3.18.12+dfsg0-2 Debian:unstable [amd64])
Inst python3-ptyprocess (0.6.0-1 Debian:unstable [all])
Inst python3-pexpect (4.6.0-1 Debian:unstable [all])
Inst python3-pil (5.3.0-1 Debian:unstable [amd64])
Inst python3-reportlab-accel (3.5.12-1 Debian:unstable [amd64])
Inst python3-reportlab (3.5.12-1 Debian:unstable [all])
Inst hplip (3.18.12+dfsg0-2 Debian:unstable [amd64])
Inst python3-dbus.mainloop.pyqt5 (5.11.3+dfsg-1+b3 Debian:buildd-unstable, Debian:unstable [amd64])
Inst hplip-gui (3.18.12+dfsg0-2 Debian:unstable [all])
Inst printer-driver-postscript-hp (3.18.12+dfsg0-2 Debian:unstable [amd64])
Inst python3-notify2 (0.3-3 Debian:unstable [all])
Inst python3-olefile (0.46-1 Debian:unstable [all])
Inst python3-renderpm (3.5.12-1 Debian:unstable [amd64])
Conf hplip-data (3.18.12+dfsg0-2 Debian:unstable [all])
Conf libsane-hpaio (3.18.12+dfsg0-2 Debian:unstable [amd64])
Conf python3-ptyprocess (0.6.0-1 Debian:unstable [all])
Conf python3-pexpect (4.6.0-1 Debian:unstable [all])
Conf python3-pil (5.3.0-1 Debian:unstable [amd64])
Conf python3-reportlab-accel (3.5.12-1 Debian:unstable [amd64])
Conf python3-reportlab (3.5.12-1 Debian:unstable [all])
Conf hplip (3.18.12+dfsg0-2 Debian:unstable [amd64])
Conf python3-dbus.mainloop.pyqt5 (5.11.3+dfsg-1+b3 Debian:buildd-unstable, Debian:unstable [amd64])
Conf hplip-gui (3.18.12+dfsg0-2 Debian:unstable [all])
Conf printer-driver-postscript-hp (3.18.12+dfsg0-2 Debian:unstable [amd64])
Conf python3-notify2 (0.3-3 Debian:unstable [all])
Conf python3-olefile (0.46-1 Debian:unstable [all])
Conf python3-renderpm (3.5.12-1 Debian:unstable [amd64]

and yes, my system is not up-to-date, because i didn't run a full-upgrade the last days.

greetings

EDIT
Code: [Select]
~$ LANG=C apt policy libhpmud0 libsnmp30
libhpmud0:
  Installed: 3.18.12+dfsg0-2
  Candidate: 3.18.12+dfsg0-2
  Version table:
 *** 3.18.12+dfsg0-2 500
        500 http://deb.debian.org/debian unstable/main amd64 Packages
        100 /var/lib/dpkg/status
     3.17.10+repack0-7.1 500
        500 https://packages.siduction.org/fixes unstable/main amd64 Packages
libsnmp30:
  Installed: 5.7.3+dfsg-4+b1
  Candidate: 5.7.3+dfsg-4+b2
  Version table:
     5.7.3+dfsg-4+b2 500
        500 http://deb.debian.org/debian unstable/main amd64 Packages
 *** 5.7.3+dfsg-4+b1 100
        100 /var/lib/dpkg/status

please paste the output of

Code: [Select]
LANG=C apt policy libhpmud0 libsnmp30

Title: Re: 7 updates HP won't install
Post by: axt on 2018/12/29, 19:57:05
Quote from: hendrikL
We are using debian sid aka unstable and NOT ubuntu, so full-upgrade is the tool to use.
Kurzer Weg von D zu D. Ich nutze seit jeher "apt full-upgrade" bzw. unter Lubuntu bis vor einiger Zeit noch das Äquivalent "apt-get dist-upgrade", nur in absoluten Ausnahmefällen nur "apt upgrade". So einer ist gegenwärtig durch die noch nicht völlig gelaufene qt-Transition bei Problemen durchaus angebracht. Das hat also seinen Grund, weshalb ich das hier gebracht habe. Du darfst Dich da auch gern mit agaida herumstreiten (https://forum.siduction.org/index.php?topic=7515.msg61333#msg61333).
Title: Re: 7 updates HP won't install
Post by: melmarker on 2018/12/29, 22:21:32
Solved now - there is a new version of libsensors5 and our mesa was in conflict.
Title: Re: SOLVED: 7 updates HP won't install
Post by: molen15 on 2018/12/30, 10:45:59
Thank you for all the efforts.