Siduction Forum

Siduction Forum => Upgrade Warnings => Topic started by: dibl on 2017/10/11, 14:28:11

Title: SOLVED 14 OCT 2017 -- Caution -- python3 upgrade will remove hplip
Post by: dibl on 2017/10/11, 14:28:11
Today's upgrade of python3 to 3.6.3-1 will cause removal of hplip and hplip-gui.  Afterward, hplip is not installable:


Code: [Select]
hplip : Depends: python3 (< 3.6) but 3.6.3-1 is to be installed
E: Unable to correct problems, you have held broken packages.
Title: Re: Caution -- python3 upgrade will remove hplip
Post by: dibl on 2017/10/12, 23:30:59
Note: with printer-driver-hpcups installed, it is still possible to print to an HP printer (not sure about all models).  So removal of hplip and hplip-gui is not fatal to your ability to print, it just forces you back to the CUPS for administration.
Title: Re: Caution -- python3 upgrade will remove hplip
Post by: CCarpenter on 2017/10/14, 11:19:29
If u need a proprietary plugin i suggest it is not possible anymore to print via this printer. My M1217nfw does not work anymore.
Title: Re: Caution -- python3 upgrade will remove hplip
Post by: ReinerS on 2017/10/14, 12:05:33
Blueman is also to be removed.

regards

Reiner
Title: Re: Caution -- python3 upgrade will remove hplip
Post by: ReinerS on 2017/10/14, 12:34:22
Hmm, has been solved just with todays upgrade.

regards

Reiner
Title: Re: Caution -- python3 upgrade will remove hplip
Post by: vilde on 2017/10/14, 14:15:04
Hmm, has been solved just with todays upgrade.

regards

Reiner
No, not here, hplip will still be removed on my XFCE install.
Title: Re: Caution -- python3 upgrade will remove hplip
Post by: samoht on 2017/10/14, 16:21:50
On my machine:

Code: [Select]
# LANG=C apt policy hplip
hplip:
  Installed: (none)
  Candidate: 3.17.9+repack0-1+b1
  Version table:
     3.17.9+repack0-1+b1 500
        500 https://incoming.debian.org/debian-buildd buildd-unstable/main amd64 Packages
     3.17.9+repack0-1 500
        500 https://deb.debian.org/debian testing/main amd64 Packages
        500 https://deb.debian.org/debian unstable/main amd64 Packages
        100 /var/lib/dpkg/status

# LANG=C apt install hplip hplip-doc hplip-gui
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libsane-hpaio
Suggested packages:
  python3-notify2 system-config-printer
Recommended packages:
  printer-driver-postscript-hp python3-notify2 xsane | simple-scan | skanlite
The following NEW packages will be installed:
  hplip hplip-doc hplip-gui libsane-hpaio
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 2080 kB of archives.
After this operation, 3995 kB of additional disk space will be used.

Title: Re: Caution -- python3 upgrade will remove hplip
Post by: GoinEasy9 on 2017/10/14, 16:46:01
My brand new patience LXQt install is waiting for its first dist-upgrade, 3 days now, and I'm still getting warnings that hplip will be removed.  Oh well, we'll try again later today.

BTW - KDE patience bombed on this EEEpc 1015px, but LXQt, is working great. It also has a great look about it.

Over 1000 updates listed, I hope that first update goes clean.
Title: Re: Caution -- python3 upgrade will remove hplip
Post by: pjnsmb on 2017/10/14, 17:12:05
What happens if you put hplip on hold ?


should help you do a dist-upgrade
Title: Re: Caution -- python3 upgrade will remove hplip
Post by: GoinEasy9 on 2017/10/14, 17:42:57
I tried an apt resolver to try to get around the problem, but it came up with errors.

# apt-get --solver=aspcud dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Can't call external solver 'aspcud' as it is not in a configured directory!

This was always my goto instead of hold.  I have about 7 applications to remove that have to do with printing.  Since I haven't played with SID for quite a few months I don't know if the resolver is obsolete or not, but, even if it is, I'd rather wait till python 3 gets into the repos, rather than put 7 programs on hold. 

Thanks for the reply.
Title: Re: Caution -- python3 upgrade will remove hplip
Post by: ghstryder on 2017/10/14, 18:48:53
KDE - I would have lost hplip this morning, I just tried again and it went through without removing it.
Title: Re: Caution -- python3 upgrade will remove hplip
Post by: dibl on 2017/10/14, 20:08:47
Confirmed -- hplip and hplip-gui are installable on my KDE rig as of 1400 Saturday U.S. Eastern zone. I am marking it solved -- if others still have a problem with hplip tomorrow, I suggest a new thread under "Software" as I believe the original python dependency issue has been fixed.
Title: Re: SOLVED 14 OCT 2017 -- Caution -- python3 upgrade will remove hplip
Post by: GoinEasy9 on 2017/10/14, 20:48:24
Thanks for the update, now I'm off to do my big dist-upgrade.  I still have a few removals, but, they don't seem to be a problem.  I'll list them here just in case:

The following packages will be REMOVED:
  foomatic-db-gutenprint ijsgutenprint libgles1-mesa libnomacscore3
  libnomacsgui3 libnomacsloader3 qt5-style-plugins

Thanks again.
Title: Re: SOLVED 14 OCT 2017 -- Caution -- python3 upgrade will remove hplip
Post by: dibl on 2017/10/14, 21:20:35
Yes it looks like most of those packages are gone from the sid repos:


Code: [Select]
root@hp-350g:~# apt policy foomatic-db-gutenprint foomatic-db-gutenprint:
  Installed: (none)
  Candidate: (none)
  Version table:
root@hp-350g:~# apt policy ijsgutenprint
ijsgutenprint:
  Installed: (none)
  Candidate: (none)
  Version table:
     5.2.11-1+b2 -1
        100 /var/lib/dpkg/status
root@hp-350g:~# apt policy libgles1-mesa
libgles1-mesa:
  Installed: (none)
  Candidate: 13.0.6-1+b2
  Version table:
     13.0.6-1+b2 500
        500 http://http.debian.net/debian unstable/main amd64 Packages
root@hp-350g:~# apt -s install libgles1-mesa
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
 
The following packages have unmet dependencies:
 libgles1-mesa : Depends: libglapi-mesa (= 13.0.6-1+b2) but 17.2.2-1 is to be installed
E: Unable to correct problems, you have held broken packages.
root@hp-350g:~# apt policy libnomascore3
N: Unable to locate package libnomascore3
root@hp-350g:~# apt policy libnomacscore3
libnomacscore3:
  Installed: (none)
  Candidate: (none)
  Version table:
root@hp-350g:~# apt policy libnomacsgui3
libnomacsgui3:
  Installed: (none)
  Candidate: (none)
  Version table:
root@hp-350g:~# apt policy libnomacsloader3
libnomacsloader3:
  Installed: (none)
  Candidate: (none)
  Version table:
root@hp-350g:~# apt policy qt5style-plugins
N: Unable to locate package qt5style-plugins
root@hp-350g:~# apt policy qt5-style-plugins
qt5-style-plugins:
  Installed: (none)
  Candidate: 5.0.0+git23.g335dbec-2+b1
  Version table:
     5.0.0+git23.g335dbec-2+b1 500
        500 http://http.debian.net/debian unstable/main amd64 Packages
 
Title: Re: SOLVED 14 OCT 2017 -- Caution -- python3 upgrade will remove hplip
Post by: GoinEasy9 on 2017/10/14, 22:10:58
Thanks for checking dibl.  I appreciate it.

The big DU went through flawlessly, and I'm happy, This LXQt has got to be the best DM I've had on this little machine in a while. So far everything works perfectly.  Debian LXDE was the last OS on here, but, wasn't as polished as patience is.

1055 upgraded, 74 newly installed, 7 to remove and 2 not upgraded.

Who said Sid was dangerous ... Heh.
Title: Re: SOLVED 14 OCT 2017 -- Caution -- python3 upgrade will remove hplip
Post by: vilde on 2017/10/14, 22:50:52
Yes, hplip will be updated among other, and nothing will be removed for me either. XFCE.
Title: Re: SOLVED 14 OCT 2017 -- Caution -- python3 upgrade will remove hplip
Post by: dibl on 2017/10/14, 23:42:19
Quote from: GoingEasy9
This LXQt has got to be the best DM I've had on this little machine in a while. So far everything works perfectly.


I'm running LXQt on two older laptops, one in my home and one elsewhere that only gets updated once or twice a month.  You are correct, it is a nice, light, highly functional DE.  Thanks to melmarker for that!
Title: Re: SOLVED 14 OCT 2017 -- Caution -- python3 upgrade will remove hplip
Post by: GoinEasy9 on 2017/10/15, 00:16:54
Yes dibl, I just looked at the github page and saw that it was melmarker who did such a fabulous job on LXQt (Razor-Qt).

@dibl  Is your hplip running from the menu after the update.  I have to type in /usr/bin/hp-toolbox from the terminal in order to make it run.  I can't find the menu configuration settings, so I'm at a loss at this point as to what is wrong.

Reportbug is also not responding from the menu.

I'm just wondering if it's happening to all LXQt users, or just me.
Title: Re: SOLVED 14 OCT 2017 -- Caution -- python3 upgrade will remove hplip
Post by: melmarker on 2017/10/15, 01:23:00

(http://pb.5id.eu/D6J9.jpg)
Title: Re: SOLVED 14 OCT 2017 -- Caution -- python3 upgrade will remove hplip
Post by: GoinEasy9 on 2017/10/15, 04:43:42
I installed gir1, sent an initial bug report, then checked the errors thrown up by hp-check by verifying installation and versions of required applications, and, added then into an additional information e-mail.

By calling hp-toolbox in the terminal using /usr/bin/hp-toolbox, I was able to successfully setup my printer.  As I said in my bug report, the only problem I have is when I try to bring it up from the menu, under Preferences.  I've only used LXQt for 3 days now, I'll try playing with it more tomorrow.

FYI - This was Debian Bug#458803
Title: Re: SOLVED 14 OCT 2017 -- Caution -- python3 upgrade will remove hplip
Post by: melmarker on 2017/10/15, 13:00:29
ok, only for the records - i never used the GTK interface, i use reportbug only from the command line - same for hp-toolbox, my last HP Printer was in 1997 ... :D
Title: Re: SOLVED 14 OCT 2017 -- Caution -- python3 upgrade will remove hplip
Post by: dibl on 2017/10/15, 16:59:07

@GoinEasy9, I just played around with my LXQt laptop, and hplip, hplip-gui, CUPS, etc.  I'm not sure I understand everything that I see here, but I'll share the info and maybe you or Alf or someone else can use it.


1. My printer is a P1606dn -- an older laser printer that requires a proprietary HP plugin to function.
2. My LXQt system is shown below.
3. I don't have the gir1.2-vte-2.91 package installed, as shown below.


hplip and hplip-gui installed correctly and appear to run correctly, although hplip toolbox was strangely slow the first time I tried to use it. hp-check warns that sid is not supported, but it didn't find any required missing dependencies. It did install the proprietary plugin and then I sent a test page and it is printing correctly.


So, I can print from this system, and I can use hplip toolbox which is now parked on the panel.


Code: [Select]
root@n5110:/# apt policy gir1.2-vte-2.91
gir1.2-vte-2.91:
  Installed: (none)
  Candidate: 0.50.1-1
  Version table:
     0.50.1-1 500
        500 http://deb.debian.org/debian unstable/main amd64 Packages
root@n5110:/# inxi -Fz
System:    Host: n5110 Kernel: 4.13.4-towo.1-siduction-amd64 x86_64 bits: 64
           Desktop: LXQt                                                       
           Distro: siduction 17.1.0 Patience - lxqt - (201703051830)           
Machine:   Device: portable System: Dell product: Inspiron N5110 serial: <filter>                                                                             
           Mobo: Dell model: 034W60 v: A11 serial: <filter>                   
           BIOS: Dell v: A11 date: 08/03/2012                                 
CPU:       Dual core Intel Core i3-2330M (-HT-MCP-) cache: 3072 KB             
           clock speeds: max: 2200 MHz 1: 2195 MHz 2: 2195 MHz 3: 2195 MHz     
           4: 2195 MHz                                                         
Graphics:  Card: Intel 2nd Generation Core Integrated Graphics Controller     
           Display Server: x11 (X.Org 1.19.4 )                                 
           drivers: modesetting (unloaded: fbdev,vesa)                         
           Resolution: 1366x768@60.00hz                                       
           OpenGL: renderer: Mesa DRI Intel Sandybridge Mobile                 
           version: 3.3 Mesa 17.2.2                                           
Audio:     Card Intel 6 Series/C200 Series Family High Def. Audio Controller   
           driver: snd_hda_intel                                               
           Sound: ALSA v: k4.13.4-towo.1-siduction-amd64                       
Network:   Card-1: Realtek RTL8101/2/6E PCIE Fast/Gigabit Ethernet controller 
           driver: r8169                                                       
           IF: enp5s0 state: down mac: <filter>                               
           Card-2: Intel Centrino Wireless-N 1030 [Rainbow Peak]               
           driver: iwlwifi                                                     
           IF: wlp9s0 state: up mac: <filter>                                 
Drives:    HDD Total Size: 80.0GB (11.8% used)                                 
           ID-1: /dev/sda model: INTEL_SSDSA2CW08 size: 80.0GB                 
Partition: ID-1: / size: 16G used: 6.9G (47%) fs: ext4 dev: /dev/sda1         
           ID-2: swap-1 size: 2.15GB used: 0.00GB (0%)                         
           fs: swap dev: /dev/sda2                                             
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present         
Sensors:   System Temperatures: cpu: 52.0C mobo: N/A                           
           Fan Speeds (in rpm): cpu: N/A                                       
Info:      Processes: 191 Uptime: 17 min Memory: 829.7/3863.2MB               
           Client: Shell (bash) inxi: 2.3.40
Title: Re: SOLVED 14 OCT 2017 -- Caution -- python3 upgrade will remove hplip
Post by: Camelot on 2017/10/15, 17:03:03
I use hp-setup -i (https://helpmanual.io/help/hp-setup/) for my old HP LaserJet 1018. I don't need a GUI

Alternative hannah-foo2zjs without HPLIP.
Title: Re: SOLVED 14 OCT 2017 -- Caution -- python3 upgrade will remove hplip
Post by: GoinEasy9 on 2017/10/15, 17:24:08
Good Morning

I'm starting to think that the huge update had something to do with my hplip problems.  For the record, I have an Officejet 6700 Pro, which runs wireless.  HPLIP allows me to check the manual install, enter the static IP address and it sets the printer up, every time.  Cups isn't always as forgiving.

Now, last night, I ran update-menus, and the HP icon appeared in the system tray.  Clicking on the icon, it came up. The printer was already installed from earlier, but, hplip-gui is functioning fine.

I ran patience LXQt live, on a desktop, and the printer settings menu entry was working fine, not like on my EEEpc that was updated. I'm now installing it on a desktop, and will do the update, and see if it affects hplip on the desktop like it did the EEEpc.

Thanks for all the responses.
Title: Re: SOLVED 14 OCT 2017 -- Caution -- python3 upgrade will remove hplip
Post by: GoinEasy9 on 2017/10/15, 19:38:41
So, it seems it was the massive update. From the Prefernces men, "Printer Settings" was working after installation, but, after the update it is not. I installed hplip-gui and it would not work off of the Preferences menu, so, I executed a /usr/bin/hp-toolbox and the HP icon appeared on the system tray.  Pressing the icon did nothing until I ran update-menus and rebooted. Now, hp-toolbox runs from the icon but not from the Preferences menu.

At this point I'll wait till I hear back from the hplip maintainer before looking any further. As long as I have it working from the icon, I'm good.

Thanks again for all the responses.
Title: Re: SOLVED 14 OCT 2017 -- Caution -- python3 upgrade will remove hplip
Post by: tommy2 on 2017/10/16, 10:17:32
@GoinEasy9, I let hplip go as mentioned above and reinstalled all seems to be working fine.  :)

Tom
Title: Re: SOLVED 14 OCT 2017 -- Caution -- python3 upgrade will remove hplip
Post by: GoinEasy9 on 2017/10/16, 15:59:06
@tommy2 Thanks for the response.

I removed hplip and hplip-gui and reinstalled, but, it didn't make a difference on my machine.  It's ok, printer is set up and I'm going to take melmarker's advice and draw LXQt from experimental and experiment.
Title: Re: SOLVED 14 OCT 2017 -- Caution -- python3 upgrade will remove hplip
Post by: tommy2 on 2017/10/17, 16:07:53
@GoinEasy9, let us know how it works out!

tom