package install fails.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tinyproxy (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
on a fresh bionic install (cloudimg)
apt install tinyproxy fails due to bad assumptions in dpkg install scripts.
```
Setting up tinyproxy (1.10.0-1) ...
chmod: cannot access '/var/log/
dpkg: error processing package tinyproxy (--configure):
installed tinyproxy package post-installation script subprocess returned error exit status 1
```
I touch a file in that directory so that glob matches and it exists, and run again:
```
Setting up tinyproxy (1.10.0-1) ...
chown: cannot access '/var/log/
dpkg: error processing package tinyproxy (--configure):
installed tinyproxy package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
tinyproxy
E: Sub-process /usr/bin/dpkg returned an error code (1)
```
I touch a file matching that glob and try again:
```
$ sudo touch /var/log/
...
Setting up tinyproxy (1.10.0-1) ...
Created symlink /etc/systemd/
inyproxy.service.
```
Expected: ability to install the tinyproxy package without workarounds.
Status changed to 'Confirmed' because the bug affects multiple users.