Problem packaging application on Ubuntu 20.04 #1346
Replies: 1 comment 4 replies
-
Hello @DuncanSmith147. Can you please provide the log file that Briefcase created for the error? It sounds like you may be using an older version of Briefcase (i.e. The latest version of Briefcase ( It is also possible to create a Flatpak. Given these options, do you know which package type you would like to create for Linux? AppImages can be finicky and difficult to get right while native packages are more straightforward but you are constrained to the version of Python that ships with the target version of Linux. Flatpaks can avoid either of these issues if that ecosystem works for you. |
Beta Was this translation helpful? Give feedback.
-
I'm struggling to package my application under Ubuntu. It is already successfully packaged for Windows on another machine. But under Ubuntu 'briefcase create' fails because python3.10-dev and python3.10-venv cannot be found. This seems to be something to do with Docker trying to build a container image. There are several references to Ubuntu 18.04, e.g.
#3 [internal] load metadata for docker.io/library/ubuntu:18.04
and Docker seems to be searching bionic (18.04) repos for the relevant packages. I'm not sure how much output I need to paste here, but I get the following error.
ERROR: failed to solve: executor failed running [/bin/sh -c apt-get update -y && apt-get install --no-install-recommends -y git file python${PY_VERSION}-dev python${PY_VERSION}-venv]: exit code: 100
I'm hoping the problem is obvious to people with greater knowledge than me of briefcase and docker. If not I can paste more output. Any help appreciated.
Duncan
Beta Was this translation helpful? Give feedback.
All reactions