Skip to content
This repository has been archived by the owner on May 19, 2022. It is now read-only.

Prefer absolute paths for latest compatibility #171

Merged
merged 1 commit into from
Apr 27, 2021

Conversation

nickbabcock
Copy link
Contributor

As reported here: nickbabcock/dness#278
installing a package with relative paths will fail on ubuntu 21.04 with
the following error message

dpkg: error processing archive latest.deb (--install):
 conffile name 'etc/dness/dness.conf' is not an absolute pathname

This appears to be a relative recent change to dpkg:
https://www.mail-archive.com/debian-dpkg-cvs@lists.debian.org/msg07446.html

This commit changes all references that are relative paths to absolute
paths which allows the built package to be installable on 21.04

As reported here: nickbabcock/dness#278
installing a package with relative paths will fail on ubuntu 21.04 with
the following error message

```
dpkg: error processing archive latest.deb (--install):
 conffile name 'etc/dness/dness.conf' is not an absolute pathname
```

This appears to be a relative recent change to dpkg:
https://www.mail-archive.com/debian-dpkg-cvs@lists.debian.org/msg07446.html

This commit changes all references that are relative paths to absolute
paths.
@kornelski kornelski merged commit d79b50e into mmstick:master Apr 27, 2021
@kornelski
Copy link
Collaborator

kornelski commented Apr 27, 2021

This changes only the input, but doesn't fix existing packages that used paths without the leading slash.

How about changing the code to add the slash if it's missing?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants