Public bug reported:

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.

** Affects: tinyproxy (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1803424

Title:
  package install fails.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tinyproxy/+bug/1803424/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to