bird2 package for debian broken

Logan V. logan at protiumit.com
Thu Dec 19 04:32:41 CET 2019


Worked this out in bionic, here is an example Dockerfile:
http://paste.openstack.org/raw/787759/

The issue with the post-installation script complaining about "Error: The
new file /usr/share/doc/bird2/examples/bird.conf does not exist!" was due
to the Bionic container image containing a config line in
/etc/dpkg/dpkg.cfg.d/excludes which filters out most files in
/usr/share/doc:
path-exclude=/usr/share/doc/*

This was causing dpkg not to install the bird example configuration, and
the post-installation script to fail.

Additionally bird fails to start because /run/bird was not created (not
sure if the package should be expected to lay that path down?) but that
needs to be manually created at this point.

Logan

On Mon, Dec 9, 2019 at 11:29 PM Logan V. <logan at protiumit.com> wrote:

> Bumping this since the package remains broken on bionic. Just tested with
> bird2 2.0.7-2+ubuntu18.04.1+deb.sury.org+1
>
>
> On Tue, Oct 22, 2019 at 5:10 PM Logan V. <logan at protiumit.com> wrote:
>
>> Currently seeing this on bionic also:
>>
>> root at 96b59285bce6:~# apt install -y bird2
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> Suggested packages:
>>   bird2-doc
>> The following NEW packages will be installed:
>>   bird2
>> 0 upgraded, 1 newly installed, 0 to remove and 105 not upgraded.
>> Need to get 376 kB of archives.
>> After this operation, 1061 kB of additional disk space will be used.
>> Get:1 http://ppa.launchpad.net/cz.nic-labs/bird/ubuntu bionic/main amd64
>> bird2 amd64 2.0.7-1+ubuntu18.04.1+deb.sury.org+1 [376 kB]
>> Fetched 376 kB in 1s (476 kB/s)
>> debconf: delaying package configuration, since apt-utils is not installed
>> Selecting previously unselected package bird2.
>> (Reading database ... 21849 files and directories currently installed.)
>> Preparing to unpack .../bird2_2.0.7-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb
>> ...
>> Unpacking bird2 (2.0.7-1+ubuntu18.04.1+deb.sury.org+1) ...
>> Processing triggers for systemd (237-3ubuntu10.15) ...
>> Setting up bird2 (2.0.7-1+ubuntu18.04.1+deb.sury.org+1) ...
>> Error: The new file /usr/share/doc/bird2/examples/bird.conf does not
>> exist!
>> dpkg: error processing package bird2 (--configure):
>>  installed bird2 package post-installation script subprocess returned
>> error exit status 1
>> Processing triggers for systemd (237-3ubuntu10.15) ...
>> Errors were encountered while processing:
>>  bird2
>> E: Sub-process /usr/bin/dpkg returned an error code (1)
>> root at 96b59285bce6:~# ls /usr/share/doc/bird2/examples
>> bird.conf.gz
>>
>> On Fri, Oct 4, 2019 at 3:10 PM Ondrej Filip <feela at network.cz> wrote:
>>
>>> On 04. 10. 19 21:35, Christoph wrote:
>>> > Hello,
>>>
>>> Hi!
>>> Thank you for the report. I will check it.
>>>         Ondrej
>>>
>>>
>>> >
>>> > the bird2 package from bird.network.cz
>>> > for debian buster appears to be broken >
>>> >> apt install bird2
>>> >> Reading package lists... Done
>>> >> Building dependency tree
>>> >> Reading state information... Done
>>> >> The following NEW packages will be installed:
>>> >>    bird2
>>> >> 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
>>> >> Need to get 0 B/640 kB of archives.
>>> >> After this operation, 1,327 kB of additional disk space will be used.
>>> >> Selecting previously unselected package bird2.
>>> >> (Reading database ... 35407 files and directories currently
>>> installed.)
>>> >> Preparing to unpack
>>> .../bird2_2.0.6-1+0~20190916.13+debian10~1.gbp14a7a6_amd64.deb ...
>>> >> Unpacking bird2 (2.0.6-1+0~20190916.13+debian10~1.gbp14a7a6) ...
>>> >> Setting up bird2 (2.0.6-1+0~20190916.13+debian10~1.gbp14a7a6) ...
>>> >> Error: The new file /usr/share/doc/bird2/examples/bird.conf does not
>>> exist!
>>> >> dpkg: error processing package bird2 (--configure):
>>> >>   installed bird2 package post-installation script subprocess
>>> returned error exit status 1
>>> >> Processing triggers for man-db (2.8.5-2) ...
>>> >> Processing triggers for systemd (241-7~deb10u1) ...
>>> >> Errors were encountered while processing:
>>> >>   bird2
>>> >> E: Sub-process /usr/bin/dpkg returned an error code (1)
>>>
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20191218/09b2424f/attachment.htm>


More information about the Bird-users mailing list