Public bug reported:

Today I created a new VirtualBox with 22.04 to move my build server on a
newer version of Ubuntu.

When I install my package to create my build server, one of the steps is
to create the build environment for each platform I want to support.

The command line I come up with looks like this:

    pbuilder-dist jammy create --updates-only --mirror --extrapackages "apt-utils lsb-release
vim apt-transport-https ca-certificates eatmydata"

That runs up to the point where it tries to do the equivalent of "apt-
get update" (I'm not too sure which command is used for that purpose).

The command fails with an error saying that
"pbuilder/jammy_result/./Packages" does not exist. If I create that file
before I call the create command, the build works. In older versions of
pbuilder-dist, I did not have to create that file. I think this is a
pretty major issue.

To bypass the issue I just create the directory and that Packages file:

    mkdir -p pbuilder/jammy_result
    touch pbuilder/jammy_result/Packages

just before invoking "pbuilder-dist jammy create ...". Then it works as

** Affects: ubuntu-dev-tools (Ubuntu)
     Importance: Undecided
         Status: New

You received this bug notification because you are a member of MOTU,
which is subscribed to ubuntu-dev-tools in Ubuntu.

  "pbuilder-dist create ..." fails unless I create the "Packages" file
  ahead of call

To manage notifications about this bug go to:

universe-bugs mailing list

Reply via email to