ffnord / ffnord-puppet-gateway

Deploy and manage your Freifunk community gateway, mostly compatible with Gluon.
15 stars 13 forks source link

isc-dhcp-server : Depends: isc-dhcp-common (= 4.2.2.dfsg.1-5+deb70u8) but 4.3.1-6 is to be installed #183

Closed rubo77 closed 7 years ago

rubo77 commented 7 years ago
err: /Stage[main]/Ffnord::Dhcpd::Base/Package[isc-dhcp-server]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install isc-dhcp-server' returned 100: Reading package lists...
==> gc-gw1: Building dependency tree...
==> gc-gw1: Reading state information...
==> gc-gw1: Some packages could not be installed. This may mean that you have
==> gc-gw1: requested an impossible situation or if you are using the unstable
==> gc-gw1: distribution that some required packages have not yet been created
==> gc-gw1: or been moved out of Incoming.
==> gc-gw1: The following information may help to resolve the situation:
==> gc-gw1: 
==> gc-gw1: The following packages have unmet dependencies:
==> gc-gw1:  isc-dhcp-server : Depends: isc-dhcp-common (= 4.2.2.dfsg.1-5+deb70u8) but 4.3.1-6 is to be installed
==> gc-gw1: E: Unable to correct problems, you have held broken packages.

it seems like this is a solution suggested by aptitude:

The following actions will resolve these dependencies:

     Remove the following packages:                                         
1)     isc-dhcp-client                                                      

     Downgrade the following packages:                                      
2)     isc-dhcp-common [4.3.1-6 (now) -> 4.2.2.dfsg.1-5+deb70u8 (oldstable)]

Accept this solution? [Y/n/q/?] y
The following packages will be DOWNGRADED:
  isc-dhcp-common 
The following NEW packages will be installed:
  isc-dhcp-server 
The following packages will be REMOVED:
  isc-dhcp-client{a} 

How can we put this into puppet?

rubo77 commented 7 years ago

closed by https://github.com/ffnord/ffnord-puppet-gateway/commit/a0453fed32bcc38e0d7cefbde9498f2faa17c38b