[Bug 2075318] Re: debootstrap: 178: arithmetic expression: expecting EOF: "baseprog 1"
Ravi Kant Sharma
2075318 at bugs.launchpad.net
Mon Aug 5 11:03:36 UTC 2024
** Tags added: update-excuse
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to debootstrap in Ubuntu.
https://bugs.launchpad.net/bugs/2075318
Title:
debootstrap: 178: arithmetic expression: expecting EOF: "baseprog 1"
Status in debootstrap package in Ubuntu:
New
Bug description:
Latest debootstrap from git fails to install oracular. This is needed
by mkosi at v14 creating bootabel image.
debootstrap --variant=minbase --include=ca-certificates --merged-usr
--components=main,universe --arch=amd64 oracular
/var/tmp/mkosi-g57jkd8g/root http://archive.ubuntu.com/ubuntu
Exits with `2`, debootstrap.log:
/usr/local/bin/debootstrap: 178: arithmetic expression: expecting EOF:
"baseprog 1"
Looks like this commit created the problem
https://git.launchpad.net/ubuntu/+source/debootstrap/commit/?id=21725220e63d98107104a122b4fba868f7f1d802
```
@@ -174,7 +175,7 @@ Status: install ok installed" >> "$TARGET/var/lib/dpkg/status"
}
p () {
- baseprog="$(($baseprog + ${1:-1}))"
+ baseprog="$((baseprog 1))"
}
if ! doing_variant fakechroot; then
```
Where `baseprog 1` is not an arithmetic expression.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/2075318/+subscriptions
More information about the foundations-bugs
mailing list