Preconfigure stage fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bandwidthd (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Bandwithd fails to install it's conf file:
Get:1 http://
Fetched 80.5 kB in 0s (266 kB/s)
Preconfiguring packages ...
cp: cannot stat `/usr/share/
bandwidthd failed to preconfigure with exit status 1.
Selecting previously deselected package bandwidthd.
(Reading database ... 347977 files and directories currently installed.)
Unpacking bandwidthd (from .../bandwidthd_
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up bandwidthd (2.0.1+
* Reloading web server config apache2 [ OK ]
* BandwidthD: No configuration file found, not starting.
This is because:
debian/
However in debian/rules the configuration is done before the manpage installation that installs the bandwidthd.conf file
Running
sudo dpkg-reconfigure bandwidthd
installs the correcting conf file as the conf file in /usr/share is now there
'lsb_release -rd'
Description: Ubuntu 11.04
Release: 11.04
apt-cache policy bandwidthd
bandwidthd:
Installed: 2.0.1+cvs20090917-4
Candidate: 2.0.1+cvs20090917-4
Version table:
*** 2.0.1+cvs20090917-4 0
500 http://
100 /var/lib/
Changed in bandwidthd (Ubuntu): | |
status: | New → Confirmed |