Opened 3 years ago
Last modified 3 years ago
#22193 closed defect
/usr/bin/josm is broken (/usr/bin/josm: /usr/bin/bash: bad interpreter: No such file or directory) — at Version 6
Reported by: | sebastic | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 22.07 |
Component: | Ubuntu package | Version: | tested |
Keywords: | linux | Cc: | taylor.smock, sebastic |
Description (last modified by )
#22088 broke /usr/bin/josm
on non-usrmerge systems:
$ /usr/bin/josm bash: /usr/bin/josm: /usr/bin/bash: bad interpreter: No such file or directory
The interpreter change in r18497 needs to be reverted, the following patch is included in the Debian package to do so:
Description: Fix bash path. Author: Bas Couwenberg <sebastic@debian.org> Bug: https://josm.openstreetmap.de/ticket/22088 --- a/native/linux/tested/usr/bin/josm +++ b/native/linux/tested/usr/bin/josm @@ -1,4 +1,4 @@ -#!/usr/bin/bash +#!/bin/bash # Simple wrapper script used to start JOSM in Debian set -e
The same change needs to be applied for josm-latest:
--- a/native/linux/latest/usr/bin/josm-latest +++ b/native/linux/latest/usr/bin/josm-latest @@ -1,4 +1,4 @@ -#!/usr/bin/bash +#!/bin/bash # Simple wrapper script used to start JOSM in Debian set -e
Change History (6)
comment:1 by , 3 years ago
Description: | modified (diff) |
---|
comment:3 by , 3 years ago
I've just installed josm_0.0.svn18463+dfsg-1~bpo11+1_all.deb from bullseye-backports and it suffers the same bug (#22157) on my bullseyes system.
comment:4 by , 3 years ago
Description: | modified (diff) |
---|
comment:5 by , 3 years ago
Cc: | added |
---|
comment:6 by , 3 years ago
Description: | modified (diff) |
---|
Note:
See TracTickets
for help on using tickets.
I'll note a few things:
/bin/bash
and/usr/bin/bash
were exhibiting different behaviors (see comment:13:ticket:22157)/bin/bash
. I am open to moving to/usr/bin/env bash
.dpkg
maintainer being resistant to change.debootstrap
has defaulted to usrmerge since 1.0.102. Which was in buster (2019-07-06). This removed the need for new installs to addusrmerge
.EDIT: FTR, buster is scheduled to go EOL in August.