package install fails.

Bug #1803424 reported by Jay R. Wren
14
This bug affects 3 people
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/tinyproxy/*': No such file or directory
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/tinyproxy.*': No such file or directory
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/tinyproxy.delme
...
Setting up tinyproxy (1.10.0-1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/tinyproxy.service → /lib/systemd/system/t
inyproxy.service.
```

Expected: ability to install the tinyproxy package without workarounds.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in tinyproxy (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.