Skip to content

Conversation

@work-robot
Copy link
Contributor

During bootstrap, apt 2.4.14 searches for the status file outside the tree. If it doesn't exist, apt fails with
"E: flAbsPath on /var/lib/dpkg/status.kiwi failed - realpath (2: No such file or directory)"

Newer apt versions apparently create the file themselves.

Fixes #2857.

Changes proposed in this pull request:

  • Create status file outside of tree.

During bootstrap, apt 2.4.14 searches for the status file outside the
tree. If it doesn't exist, apt fails with
"E: flAbsPath on /var/lib/dpkg/status.kiwi failed - realpath (2: No such
file or directory)"

Newer apt versions apparently create the file themselves.

Fixes OSInside#2857
Surrounding code uses 80 char limit.
@schaefi schaefi self-requested a review July 16, 2025 08:46
Copy link
Collaborator

@schaefi schaefi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks

@schaefi schaefi merged commit 3b40799 into OSInside:main Jul 16, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

For Debian/Ubuntu bootstrap, status.kiwi not created in host path

2 participants