Public bug reported:

I am unable to perform focal buildd image builds. DNS resolution is
broken in the chroot when attempting to install packages:

[...]
The following NEW packages will be installed:
  policyrcd-script-zg2
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 5610 B of archives.
After this operation, 18.4 kB of additional disk space will be used.
Err:1 http://archive.ubuntu.com/ubuntu focal/main amd64 policyrcd-script-zg2 
all 0.1-3
  Temporary failure resolving 'archive.ubuntu.com'
E: Failed to fetch 
http://archive.ubuntu.com/ubuntu/pool/main/p/policyrcd-script-zg2/policyrcd-script-zg2_0.1-3_all.deb
  Temporary failure resolving 'archive.ubuntu.com'
E: Unable to fetch some archives, maybe run apt-get update or try with 
--fix-missing?
E: config/hooks/49-policy-rc-d.binary failed (exit non-zero). You should check 
for errors.
P: Begin unmounting filesystems...
P: Saving caches...
P: Begin unmounting filesystems...
P: Saving caches...
[...]

This bug was introduced in this MP:

https://code.launchpad.net/~davidkrauser/livecd-rootfs/+git/livecd-
rootfs/+merge/373916

To reproduce (using ubuntu-bartender from ubuntu-old-fashioned[1]):

ubuntu-bartender -- --project ubuntu-base --subproject buildd --series
focal

See attached MP for a proposed fix.

1: https://github.com/chrisglass/ubuntu-old-fashioned

** Affects: livecd-rootfs (Ubuntu)
     Importance: Undecided
         Status: New

** Merge proposal linked:
   
https://code.launchpad.net/~davidkrauser/livecd-rootfs/+git/livecd-rootfs/+merge/376597

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1855930

Title:
  Build failures when specifying: project=ubuntu-base and
  subproject=buildd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1855930/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to