<div dir="ltr">Worked this out in bionic, here is an example Dockerfile: <a href="http://paste.openstack.org/raw/787759/">http://paste.openstack.org/raw/787759/</a><div><br></div><div>The issue with the post-installation script complaining about "Error: The new file /usr/share/doc/bird2/examples/bird.conf <span class="gmail-il">does</span> <span class="gmail-il">not</span> <span class="gmail-il">exist</span>!" 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:</div><div>path-exclude=/usr/share/doc/*<br></div><div><br></div><div>This was causing dpkg not to install the bird example configuration, and the post-installation script to fail.</div><div><br></div><div>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.</div><div><br></div><div>Logan</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Dec 9, 2019 at 11:29 PM Logan V. <<a href="mailto:logan@protiumit.com">logan@protiumit.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Bumping this since the package remains broken on bionic. Just tested with bird2 2.0.7-2+ubuntu18.04.1+<a href="http://deb.sury.org" target="_blank">deb.sury.org</a>+1<div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 22, 2019 at 5:10 PM Logan V. <<a href="mailto:logan@protiumit.com" target="_blank">logan@protiumit.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Currently seeing this on bionic also:<div><br></div><div>root@96b59285bce6:~# apt install -y bird2<br>Reading package lists... Done<br>Building dependency tree<br>Reading state information... Done<br>Suggested packages:<br>  bird2-doc<br>The following NEW packages will be installed:<br>  bird2<br>0 upgraded, 1 newly installed, 0 to remove and 105 not upgraded.<br>Need to get 376 kB of archives.<br>After this operation, 1061 kB of additional disk space will be used.<br>Get:1 <a href="http://ppa.launchpad.net/cz.nic-labs/bird/ubuntu" target="_blank">http://ppa.launchpad.net/cz.nic-labs/bird/ubuntu</a> bionic/main amd64 bird2 amd64 2.0.7-1+ubuntu18.04.1+<a href="http://deb.sury.org" target="_blank">deb.sury.org</a>+1 [376 kB]<br>Fetched 376 kB in 1s (476 kB/s)<br>debconf: delaying package configuration, since apt-utils is not installed<br>Selecting previously unselected package bird2.<br>(Reading database ... 21849 files and directories currently installed.)<br>Preparing to unpack .../bird2_2.0.7-1+ubuntu18.04.1+<a href="http://deb.sury.org" target="_blank">deb.sury.org</a>+1_amd64.deb ...<br>Unpacking bird2 (2.0.7-1+ubuntu18.04.1+<a href="http://deb.sury.org" target="_blank">deb.sury.org</a>+1) ...<br>Processing triggers for systemd (237-3ubuntu10.15) ...<br>Setting up bird2 (2.0.7-1+ubuntu18.04.1+<a href="http://deb.sury.org" target="_blank">deb.sury.org</a>+1) ...<br>Error: The new file /usr/share/doc/bird2/examples/bird.conf does not exist!<br>dpkg: error processing package bird2 (--configure):<br> installed bird2 package post-installation script subprocess returned error exit status 1<br>Processing triggers for systemd (237-3ubuntu10.15) ...<br>Errors were encountered while processing:<br> bird2<br>E: Sub-process /usr/bin/dpkg returned an error code (1)<br></div><div>root@96b59285bce6:~# ls /usr/share/doc/bird2/examples<br>bird.conf.gz<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Oct 4, 2019 at 3:10 PM Ondrej Filip <<a href="mailto:feela@network.cz" target="_blank">feela@network.cz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 04. 10. 19 21:35, Christoph wrote:<br>
> Hello,<br>
<br>
Hi!<br>
Thank you for the report. I will check it.<br>
        Ondrej<br>
<br>
<br>
> <br>
> the bird2 package from <a href="http://bird.network.cz" rel="noreferrer" target="_blank">bird.network.cz</a><br>
> for debian buster appears to be broken ><br>
>> apt install bird2<br>
>> Reading package lists... Done<br>
>> Building dependency tree<br>
>> Reading state information... Done<br>
>> The following NEW packages will be installed:<br>
>>    bird2<br>
>> 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.<br>
>> Need to get 0 B/640 kB of archives.<br>
>> After this operation, 1,327 kB of additional disk space will be used.<br>
>> Selecting previously unselected package bird2.<br>
>> (Reading database ... 35407 files and directories currently installed.)<br>
>> Preparing to unpack .../bird2_2.0.6-1+0~20190916.13+debian10~1.gbp14a7a6_amd64.deb ...<br>
>> Unpacking bird2 (2.0.6-1+0~20190916.13+debian10~1.gbp14a7a6) ...<br>
>> Setting up bird2 (2.0.6-1+0~20190916.13+debian10~1.gbp14a7a6) ...<br>
>> Error: The new file /usr/share/doc/bird2/examples/bird.conf does not exist!<br>
>> dpkg: error processing package bird2 (--configure):<br>
>>   installed bird2 package post-installation script subprocess returned error exit status 1<br>
>> Processing triggers for man-db (2.8.5-2) ...<br>
>> Processing triggers for systemd (241-7~deb10u1) ...<br>
>> Errors were encountered while processing:<br>
>>   bird2<br>
>> E: Sub-process /usr/bin/dpkg returned an error code (1)<br>
<br>
</blockquote></div>
</blockquote></div>
</blockquote></div>