bash-completion.pc doesn't allow to redefine prefix variable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash-completion (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
On Ubuntu 19.10 the file /usr/share/
# cat /usr/share/
prefix=/usr
compatdir=
completionsdir=
helpersdir=
whereas in Ubuntu 19.04 it looks like this:
# cat /usr/share/
prefix=/usr
compatdir=
completionsdir=
helpersdir=
the problem with the first one is that one cannot override the prefix variable:
Ubuntu 19.10:
# pkg-config --variable=
/usr/share/
Ubuntu 19.04:
# pkg-config --variable=
/other_
This is a problem for software that tries to install as a non-root user software in non-system directories.
The problem is known upstream and has been fixed:
https:/
Updating the version of bash-completion to 2.10 (https:/
# pkg-config --variable=
/other_
The currently installed package in my system:
# apt-cache policy bash-completion
bash-completion:
Installed: 1:2.9-1ubuntu1
Candidate: 1:2.9-1ubuntu1
Version table:
*** 1:2.9-1ubuntu1 500
500 http://
100 /var/lib/
ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: bash-completion 1:2.9-1ubuntu1
ProcVersionSign
Uname: Linux 4.15.0-65-generic x86_64
ApportVersion: 2.20.11-0ubuntu8.2
Architecture: amd64
Date: Wed Dec 18 11:44:40 2019
Dependencies:
PackageArchitec
SourcePackage: bash-completion
UpgradeStatus: No upgrade log present (probably fresh install)
Hi,
this bug seems to be have a well defined patch upstream. Would it be possible to apply it to Ubuntu 19.10?
Also, it would be good that a patched version of bash-completion is included in 20.04.