unable to install python3-venv in subiquity

Bug #1905083 reported by richard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
subiquity
New
Undecided
Unassigned

Bug Description

I am trying to customize Ubuntu 20.04 using user-data.

The following packages work:
  packages:
    - open-vm-tools
    - python3

But if I add python3-venv (or python-pip) it fails:
  packages:
    - open-vm-tools
    - python3
    - python3-venv

The console shows a python stack trace (approximately):
raise subprocess.CalledProcessError(proc.returncode, cmd)
subprocess.CalledProcessError: Command [systemd-catr, --level-prefix-false,
--identifier=curtin_log.1982, /snap/subiquity/1966/usr/bin/python3, -m, curtin, system-install,
-t, /target, --, python3-venv] returned non-zero exit status 100

My secondary provisioner (packer with ansible) requires python-pip be installed.

Revision history for this message
richard (meusburger) wrote :

This turned out to be a name resolution issue.

This was fixed by correctly updating /etc/resolv.conf and refreshing apt packages.

Please consider resolved (not a bug).

Thanks

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.