[Opendnssec-user] Opendnssec in PPA b0rked?

Dick Visser visser at terena.org
Fri Aug 16 07:22:14 UTC 2013


Thanks for the explanation, and for the fixing!
It was a wake-up call for me as well, to make VM snapshots before
upgrading semi-critical packages ;-)

DIck

On 5 August 2013 09:14, Ondřej Surý <ondrej at sury.org> wrote:
> Hi Dick,
>
> it was caused by the different upstream versions Debian and Ubuntu PPA had.
> The packages handled correctly only the upgrades from Debian. The repository
> should be fixed with +2 upload as I have bumped the incompatible versions to
> 1.3.14.
>
> The problem was that I had moved the documentation into a separate package -
> opendnssec-doc, but the old opendnssec-auditor also had the documentation
> included. This is usually solved by adding Breaks/Replaces fields to Debian
> control files and I did that. But because of different versions in Debian
> (1.3.9...) and Ubuntu PPA (1.3.10...) it wasn't taken into an account.
>
> Sorry it took so long to fix it, I was quite busy with IETF,
>
> Ondrej
> --
> Have you tried Knot DNS – https://www.knot-dns.cz/
> – a high-performance authoritative-only DNS server
>
>
> On Wed, Jul 31, 2013 at 2:34 PM, Dick Visser <visser at terena.org> wrote:
>>
>> I
>> tried, but I'm not sure what to choose.
>> In any case, I
>>  took
>> a
>> snapshots of the VM, so at least I can try some stuff out ;-)
>>
>> If I "apt-get dist-upgrade", then things break:
>>
>> root at cajones:~# apt-get dist-upgrade
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> Calculating upgrade... Done
>> The following NEW packages will be installed:
>>   opendnssec-doc
>> The following packages will be upgraded:
>>   libhsm-bin libldns1 opendnssec opendnssec-auditor opendnssec-common
>> opendnssec-enforcer
>>   opendnssec-enforcer-sqlite3 opendnssec-signer
>> 8 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
>> Need to get 35.8 MB of archives.
>> After this operation, 276 kB of additional disk space will be used.
>> Do you want to continue [Y/n]?
>> Get:1 http://ppa.launchpad.net/pkg-opendnssec/ppa/ubuntu/ precise/main
>> libldns1 amd64 1.6.16-1~precise+1 [162 kB]
>> Get:2 http://ppa.launchpad.net/pkg-opendnssec/ppa/ubuntu/ precise/main
>> opendnssec-enforcer all 1:1.3.14-3~precise+1
>> [34.4 kB]
>> Get:3 http://ppa.launchpad.net/pkg-opendnssec/ppa/ubuntu/ precise/main
>> opendnssec-enforcer-sqlite3 amd64 1:1.3.14-3~precise+1 [160 kB]
>> Get:4 http://ppa.launchpad.net/pkg-opendnssec/ppa/ubuntu/ precise/main
>> opendnssec-signer amd64 1:1.3.14-3~precise+1
>> [146 kB]
>> Get:5 http://ppa.launchpad.net/pkg-opendnssec/ppa/ubuntu/ precise/main
>> libhsm-bin amd64 1:1.3.14-3~precise+1 [63.1
>>
>> kB]
>> Get:6 http://ppa.launchpad.net/pkg-opendnssec/ppa/ubuntu/ precise/main
>> opendnssec-common all 1:1.3.14-3~precise+1 [ 41.2 kB]
>> Get:7 http://ppa.launchpad.net/pkg-opendnssec/ppa/ubuntu/ precise/main
>> opendnssec-doc all 1:1.3.14-3~precise+1 [35.1 MB]
>> Get:8 http://ppa.launchpad.net/pkg-opendnssec/ppa/ubuntu/ precise/main
>> opendnssec all 1:1.3.14-3~precise+1 [22.2 kB]
>> Get:9 http://ppa.launchpad.net/pkg-opendnssec/ppa/ubuntu/ precise/main
>> opendnssec-auditor all 1:1.3.14-3~precise+1[75.6 kB]
>> Fetched 35.8 MB in 5s (6,286 kB/s)
>> Reading changelogs...
>> apt-listchanges: Mailing root: apt-listchanges: changelogs for cajones
>> (Reading database ... 182910 files and directories currently installed.)
>> Preparing to replace libldns1 1.6.12-2~precise+1 (using
>> .../libldns1_1.6.16-1~precise+1_amd64.deb) ...
>> Unpacking replacement libldns1 ...
>> Preparing to replace opendnssec-enforcer 1:1.3.10-1~precise+1 (using
>> .../opendnssec-enforcer_1%3a1.3.14-3~precise+1_all.deb) ...
>> Unpacking replacement opendnssec-enforcer ...
>> Preparing to replace opendnssec-enforcer-sqlite3 1:1.3.10-1~precise+1
>> (using .../opendnssec-enforcer-sqlite3_1%3a1.3.14-3~precise+1_amd64.deb) ...
>> Unpacking replacement opendnssec-enforcer-sqlite3 ...
>> Preparing to replace opendnssec-signer 1:1.3.10-1~precise+1 (using
>> .../opendnssec-signer_1%3a1.3.14-3~precise+1_amd64.deb) ...
>> Unpacking replacement opendnssec-signer ...
>> Preparing to replace libhsm-bin 1:1.3.10-1~precise+1 (using
>> .../libhsm-bin_1%3a1.3.14-3~precise+1_amd64.deb) ...
>> Unpacking replacement libhsm-bin ...
>> Preparing to replace opendnssec-common 1:1.3.10-1~precise+1 (using
>> .../opendnssec-common_1%3a1.3.14-3~precise+1_all.deb) ...
>> Unpacking replacement opendnssec-common ...
>> Selecting previously unselected package opendnssec-doc.
>> Unpacking opendnssec-doc (from
>> .../opendnssec-doc_1%3a1.3.14-3~precise+1_all.deb) ...
>> dpkg: error processing
>> /var/cache/apt/archives/opendnssec-doc_1%3a1.3.14-3~precise+1_all.deb
>> (--unpack):
>>  trying to overwrite
>> '/usr/share/doc/opendnssec-auditor/html/files/__/__/auditor/lib/kasp_auditor_rb.html',
>> which is also in package opendnssec-auditor 1:1.3.10-1~precise+1
>> No apport report written because MaxReports is reached already
>>                                                              dpkg-deb:
>> error: subprocess paste was killed by signal (Broken pipe)
>> Preparing to replace opendnssec 1:1.3.10-1~precise+1 (using
>> .../opendnssec_1%3a1.3.14-3~precise+1_all.deb) ...
>> Unpacking replacement opendnssec ...
>> Preparing to replace opendnssec-auditor 1:1.3.10-1~precise+1 (using
>> .../opendnssec-auditor_1%3a1.3.14-3~precise+1_all.deb) ...
>> Unpacking replacement opendnssec-auditor ...
>> Processing triggers for ureadahead ...
>> ureadahead will be reprofiled on next reboot
>> Processing triggers for man-db ...
>> Errors were encountered while processing:
>>  /var/cache/apt/archives/opendnssec-doc_1%3a1.3.14-3~precise+1_all.deb
>> E: Sub-process /usr/bin/dpkg returned an error code (1)
>>
>>
>> However, if I first "
>> apt-get upgrade
>> ", and then "apt-get dist-upgrade"
>> , it work
>> s:
>>
>> root at cajones:~# apt-get upgrade
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> The following packages have been kept back:
>>   opendnssec
>> The following packages will be upgraded:
>>   libhsm-bin libldns1 opendnssec-auditor opendnssec-common
>> opendnssec-enforcer opendnssec-enforcer-sqlite3
>>   opendnssec-signer
>> 7 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
>> Need to get 682 kB of archives.
>> After this operation, 50.7 MB disk space will be freed.
>> Do you want to continue [Y/n]?
>> Get:1 http://ppa.launchpad.net/pkg-opendnssec/ppa/ubuntu/ precise/main
>> libldns1 amd64 1.6.16-1~precise+1 [162 kB]
>> Get:2 http://ppa.launchpad.net/pkg-opendnssec/ppa/ubuntu/ precise/main
>> opendnssec-enforcer all 1:1.3.14-3~precise+1 [34.4 kB]
>> Get:3 http://ppa.launchpad.net/pkg-opendnssec/ppa/ubuntu/ precise/main
>> opendnssec-enforcer-sqlite3 amd64 1:1.3.14-3~precise+1 [160 kB]
>> Get:4 http://ppa.launchpad.net/pkg-opendnssec/ppa/ubuntu/ precise/main
>> opendnssec-signer amd64 1:1.3.14-3~precise+1 [146 kB]
>> Get:5 http://ppa.launchpad.net/pkg-opendnssec/ppa/ubuntu/ precise/main
>> libhsm-bin amd64 1:1.3.14-3~precise+1 [63.1 kB]
>> Get:6 http://ppa.launchpad.net/pkg-opendnssec/ppa/ubuntu/ precise/main
>> opendnssec-common all 1:1.3.14-3~precise+1 [41.2 kB]
>> Get:7 http://ppa.launchpad.net/pkg-opendnssec/ppa/ubuntu/ precise/main
>> opendnssec-auditor all 1:1.3.14-3~precise+1 [75.6 kB]
>> Fetched 682 kB in 0s (2,132 kB/s)
>> Reading changelogs...
>> apt-listchanges: Mailing root: apt-listchanges: changelogs for cajones
>> (Reading database ... 213630 files and directories currently installed.)
>> Preparing to replace libldns1 1.6.12-2~precise+1 (using
>> .../libldns1_1.6.16-1~precise+1_amd64.deb) ...
>> Unpacking replacement libldns1 ...
>> Preparing to replace opendnssec-enforcer 1:1.3.10-1~precise+1 (using
>> .../opendnssec-enforcer_1%3a1.3.14-3~precise+1_all.deb) ...
>> Unpacking replacement opendnssec-enforcer ...
>> Preparing to replace opendnssec-enforcer-sqlite3 1:1.3.10-1~precise+1
>> (using .../opendnssec-enforcer-sqlite3_1%3a1.3.14-3~precise+1_amd64.deb) ...
>> Unpacking replacement opendnssec-enforcer-sqlite3 ...
>> Preparing to replace opendnssec-signer 1:1.3.10-1~precise+1 (using
>> .../opendnssec-signer_1%3a1.3.14-3~precise+1_amd64.deb) ...
>> Unpacking replacement opendnssec-signer ...
>> Preparing to replace libhsm-bin 1:1.3.10-1~precise+1 (using
>> .../libhsm-bin_1%3a1.3.14-3~precise+1_amd64.deb) ...
>> Unpacking replacement libhsm-bin ...
>> Preparing to replace opendnssec-common 1:1.3.10-1~precise+1 (using
>> .../opendnssec-common_1%3a1.3.14-3~precise+1_all.deb) ...
>> Unpacking replacement opendnssec-common ...
>> Preparing to replace opendnssec-auditor 1:1.3.10-1~precise+1 (using
>> .../opendnssec-auditor_1%3a1.3.14-3~precise+1_all.deb) ...
>> Unpacking replacement opendnssec-auditor ...
>> Processing triggers for ureadahead ...
>> ureadahead will be reprofiled on next reboot
>> Processing triggers for man-db ...
>> Setting up libldns1 (1.6.16-1~precise+1) ...
>> Setting up opendnssec-common (1:1.3.14-3~precise+1) ...
>> Setting up opendnssec-signer (1:1.3.14-3~precise+1) ...
>> OpenDNSSEC signer engine version 1.3.14
>> Setting up libhsm-bin (1:1.3.14-3~precise+1) ...
>> Setting up opendnssec-auditor (1:1.3.14-3~precise+1) ...
>> Setting up opendnssec-enforcer-sqlite3 (1:1.3.14-3~precise+1) ...
>> Setting up opendnssec-enforcer (1:1.3.14-3~precise+1) ...
>> OpenDNSSEC ods-enforcerd started (version 1.3.14), pid 29475
>> Processing triggers for libc-bin ...
>> ldconfig deferred processing now taking place
>>
>> If I now apt-get dist-upgrade, opendnssec-doc is installed alongside:
>> root at cajones:~# apt-get dist-upgrade
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> Calculating upgrade... Done
>> The following NEW packages will be installed:
>>   opendnssec-doc
>> The following packages will be upgraded:
>>   opendnssec
>> 1 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
>> Need to get 35.2 MB of archives.
>> After this operation, 51.0 MB of additional disk space will be used.
>> Do you want to continue [Y/n]?
>> Get:1 http://ppa.launchpad.net/pkg-opendnssec/ppa/ubuntu/ precise/main
>> opendnssec-doc all 1:1.3.14-3~precise+1 [35.1 MB]
>> Get:2 http://ppa.launchpad.net/pkg-opendnssec/ppa/ubuntu/ precise/main
>> opendnssec all 1:1.3.14-3~precise+1 [22.2 kB]
>> Fetched 35.2 MB in 5s (6,286 kB/s)
>> Reading changelogs...
>> Selecting previously unselected package opendnssec-doc.
>> (Reading database ... 211895 files and directories currently installed.)
>> Unpacking opendnssec-doc (from
>> .../opendnssec-doc_1%3a1.3.14-3~precise+1_all.deb) ...
>> Preparing to replace opendnssec 1:1.3.10-1~precise+1 (using
>> .../opendnssec_1%3a1.3.14-3~precise+1_all.deb) ...
>> Unpacking replacement opendnssec ...
>> Setting up opendnssec-doc (1:1.3.14-3~precise+1) ...
>> Setting up opendnssec (1:1.3.14-3~precise+1) ...
>>
>>
>> Dunno what this is, but it seems to work now...
>>
>> Thnaks!
>>
>>
>>
>> On 30 July 2013 18:43, Ondřej Surý <ondrej at sury.org> wrote:
>>>
>>> The amd64 build was broken. Restarting the build has helped.
>>>
>>> Can you try it now?
>>>
>>> O.
>>>
>>>
>>> On Fri, Jul 26, 2013 at 3:35 PM, Dick Visser <visser at terena.org> wrote:
>>>>
>>>> amd64
>>>>
>>>>
>>>> On 25 July 2013 10:47, Ondřej Surý <ondrej at sury.org> wrote:
>>>>>
>>>>> Hi Dick,
>>>>>
>>>>> which arch are you using?
>>>>>
>>>>> O.
>>>>>
>>>>>
>>>>> On Wed, Jul 24, 2013 at 3:03 PM, Dick Visser <visser at terena.org> wrote:
>>>>>>
>>>>>> Hi
>>>>>>
>>>>>> I just tried upgrading OpenDNSSEC (the PPA one) on an Ubuntu 12.04
>>>>>> host from 1.3.10 to 1.3.14, but now am stuck with unmet dependencies.
>>>>>> To verify I didn't accidentally screw up myself, I just tried it on a
>>>>>> clean Ubuntu, and there it's the same:
>>>>>>
>>>>>>
>>>>>> root at precise:~# apt-get install opendnssec
>>>>>> 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:
>>>>>>  opendnssec : Depends: opendnssec-enforcer-sqlite3 but it is not going
>>>>>> to be installed or
>>>>>>                        opendnssec-enforcer but it is not going to be
>>>>>> installed
>>>>>>               Depends: opendnssec-signer but it is not going to be
>>>>>> installed
>>>>>>               Depends: libhsm-bin but it is not going to be installed
>>>>>> E: Unable to correct problems, you have held broken packages.
>>>>>>
>>>>>> When I try to install libhsm-bin:
>>>>>>
>>>>>>
>>>>>> root at precise:~# apt-get install libhsm-bin
>>>>>> 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:
>>>>>>  libhsm-bin : Depends: opendnssec-common (= 1.3.4-1ubuntu1) but
>>>>>> 1:1.3.14-3~precise+1 is to be installed
>>>>>> E: Unable to correct problems, you have held broken packages.
>>>>>>
>>>>>>
>>>>>> Any ideas?
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Dick Visser
>>>>>> System & Networking Engineer
>>>>>> TERENA Secretariat
>>>>>> Singel 468 D, 1017 AW Amsterdam
>>>>>> The Netherlands
>>>>>> _______________________________________________
>>>>>> Opendnssec-user mailing list
>>>>>> Opendnssec-user at lists.opendnssec.org
>>>>>> https://lists.opendnssec.org/mailman/listinfo/opendnssec-user
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Ondřej Surý <ondrej at sury.org>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Dick Visser
>>>> System & Networking Engineer
>>>> TERENA Secretariat
>>>> Singel 468 D, 1017 AW Amsterdam
>>>> The Netherlands
>>>
>>>
>>>
>>>
>>> --
>>> Ondřej Surý <ondrej at sury.org>
>>
>>
>>
>>
>> --
>> Dick Visser
>> System & Networking Engineer
>> TERENA Secretariat
>> Singel 468 D, 1017 AW Amsterdam
>> The Netherlands
>
>
>
>
> --
> Ondřej Surý <ondrej at sury.org>



-- 
Dick Visser
System & Networking Engineer
TERENA Secretariat
Singel 468 D, 1017 AW Amsterdam
The Netherlands



More information about the Opendnssec-user mailing list