Siduction Forum

Siduction Forum => Upgrade Warnings => Topic started by: dibl on 2017/08/05, 11:18:00

Title: SOLVED -- hplip to be removed
Post by: dibl on 2017/08/05, 11:18:00
Full-upgrade today will remove hplip.  I have not investigated which package upgrade will cause this -- just wanted to give the caution.

EDIT:

(on a system that does not need to print)

Code: [Select]
root@hp-350g:/# apt -s install hplip 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:
 hplip : Depends: hplip-data (= 3.17.7+repack0-1~OdyX0) but 3.17.6+repack0-2 is to be installed
E: Unable to correct problems, you have held broken packages.
 




EDIT: The newer hplip-data package is now in the repo, so the upgrade goes through with no remove.
Title: Re: SOLVED -- hplip to be removed
Post by: KrunchTime on 2017/08/19, 10:58:40
Didn't see that, but full-upgrade on my systems currently want to remove the hplip-gui package.
Title: Re: SOLVED -- hplip to be removed
Post by: dibl on 2017/08/19, 11:36:30
Right, same here.  But this time it is not due to the hplip-data version -- it is surely due to the ongoing qt transition, although I have not tracked down the exact reason that affects hplip.  There are also lots of KDE packages to be removed, if you use a KDE desktop.


You can use


Code: [Select]
apt full-upgrade -d

and download the packages to be updated, but not do the installation.  That way, when the dependency conflicts are resolved, the full-upgrade will not take as long.
Title: Re: SOLVED -- hplip to be removed
Post by: KrunchTime on 2017/08/19, 21:53:58
Quote function doesn't appear to be working...

Thank you for the apt command to only download.
Title: Re: SOLVED -- hplip to be removed
Post by: dibl on 2017/08/20, 01:07:35
Yeah .... longtime issue (https://forum.siduction.org/index.php?topic=6430.msg52764#msg52764) but if it's important you can put quote tags around whatever you want to quote:

Quote from: KrunchTime
Quote function doesn't appear to be working...
.
Title: Re: SOLVED -- hplip to be removed
Post by: KrunchTime on 2017/08/21, 07:53:57
Hmmm...I don't remember having a problem with it in the past.

Regarding...
Code: [Select]
sudo apt full-upgrade -dI just tried that and it looks like packages will still be removed.  Is that correct?  If so, I need to wait as quite a few packages will be removed...
Code: [Select]
The following packages will be REMOVED:
  build-essential debhelper dh-autoreconf dh-make dh-strip-nondeterminism
  equivs g++ g++-4.9 g++-6 g++-7 geany-plugin-py geany-plugins hplip-gui
  libc6-dev libexpat1-dev libpython-dev libpython2.7-dev libstdc++-4.9-dev
  libstdc++-6-dev libstdc++-7-dev libtool python-dev python2.7-dev
  python3-pyqt5
Title: Re: SOLVED -- hplip to be removed
Post by: dibl on 2017/08/21, 09:21:31
Yes, apt will inform you of the packages to be removed, installed, and upgraded.  But the "-d" option tells it only to download, and not to proceed with removals and installations of any packages.  So the result is that the needed packages are downloaded and then the process is concluded.
Title: Re: SOLVED -- hplip to be removed
Post by: KrunchTime on 2017/08/21, 10:54:24
Worked like a charm; thank you.


Quote
Download complete and in download only mode