davesteele / cloudprint-service

Debian packaging for the Python cloudprint proxy utility
GNU General Public License v3.0
71 stars 4 forks source link

init-system-helpers (>= 1.18~) but it is not going to be installed #48

Open ctar opened 7 years ago

ctar commented 7 years ago

I saw the closed issue on dependencies, but I couldn't follow all the threads. I have what I think is a fully updated raspberry pi 2 that is giving me these init-system-helpers errors. I also saw the note about 0.11 not being the latest, but AFAICT I'm getting 0.18 when I apt-get (based on an apt-cache show) Greatly appreciated if you have any suggestions/pointers.

pi@raspberrymac ~ $ sudo apt-get update Hit http://davesteele.github.io cloudprint-jessie Release.gpg Hit http://davesteele.github.io cloudprint-jessie Release
... Reading package lists... Done
pi@raspberrymac ~ $ sudo apt-get dist-upgrade Reading package lists... Done Building dependency tree
Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. pi@raspberrymac ~ $ uname -a Linux raspberrymac 4.1.19+ #858 Tue Mar 15 15:52:03 GMT 2016 armv6l GNU/Linux pi@raspberrymac ~ $ sudo apt-get -y install cloudprint-service 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: cloudprint-service : Depends: init-system-helpers (>= 1.18~) but it is not going to be installed E: Unable to correct problems, you have held broken packages. pi@raspberrymac ~ $

davesteele commented 7 years ago

I just took a Raspberry Pi 3 with 2016-11-25-raspbian-jessie-12-31-comitup.img (which is just the latest Raspbian with some extra networking packages installed), did an apt-get dist-upgrade, then did the cloudprint install procedure. It installed fine. the 'init-system-helpers' dependency was satisfied before the cloudprint install.

# dpkg --list | grep init-system-helpers ii init-system-helpers 1.22 all helper tools for all init systems

I don't know what your situation is.

Note that 0.18 is not a valid choice for the cloudprint packages.

davesteele commented 7 years ago

Did you replace systemd?

davesteele commented 7 years ago

init-system-helpers 1.18 is in the raspberry pi repository, referenced in /etc/apt/sources.d/raspi.list. The Jessie raspbian version is 1.22. In either case, it should already be installed

Could you try:

dpkg --list | grep init-system-helpers
sudo apt-get -o Debug::pkgProblemResolver=yes install cloudprint-service

BTW, it appears you can work around the problem by manually installing init-system-helpers.