bip: fails on "configure" if /var/lib/bip does not already exist.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bip (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: bip
$ lsb_release -rd
Description: Ubuntu 10.04.1 LTS
Release: 10.04
=======
$ apt-cache policy bip
bip:
Installed: 0.8.2-1
Candidate: 0.8.2-1
Version table:
*** 0.8.2-1 0
600 http://
100 /var/lib/
=======
Steps to reproduce:
sudo apt-get -qqqy update
sudo apt-get -qqqy --purge remove bip
sudo killall bip
sudo rm -Rf /var/lib/bip
sudo apt-get -qqqy install --reinstall bip
=======
Expected result:
Selecting previously deselected package bip.
(Reading database ... 249220 files and directories currently installed.)
Unpacking bip (from .../archives/
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up bip (0.8.2-1) ...
Adding group `bip' (GID 126) ...
Done.
=======
What happened:
Selecting previously deselected package bip.
(Reading database ... 249220 files and directories currently installed.)
Unpacking bip (from .../archives/
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up bip (0.8.2-1) ...
Adding group `bip' (GID 126) ...
Done.
adduser: The user `bip' already exists. Exiting.
dpkg: error processing bip (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
bip
E: Sub-process /usr/bin/dpkg returned an error code (1)
=======
Suggested fix:
Add
sudo mkdir -p /var/lib/bip
to bip.postinst (right after declaring BIPHOME)
=======
Cheers,
--