bandwidthd fails to preconfigure: cp: cannot stat `/usr/share/doc/bandwidthd/bandwidthd.conf'

Bug #245947 reported by Adam Porter
36
This bug affects 4 people
Affects Status Importance Assigned to Milestone
bandwidthd (Debian)
Fix Released
Unknown
bandwidthd (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: bandwidthd

The following NEW packages will be installed:
  bandwidthd
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 65.2kB of archives. After unpacking 238kB will be used.
Writing extended state information... Done
Get:1 http://us.archive.ubuntu.com hardy/universe bandwidthd 2.0.1+cvs20050208-11 [65.2kB]
Fetched 65.2kB in 8s (7322B/s)
Preconfiguring packages ...

[debconf runs here, seems to work fine, but then...]

cp: cannot stat `/usr/share/doc/bandwidthd/bandwidthd.conf': No such file or directory
bandwidthd failed to preconfigure, with exit status 1
Selecting previously deselected package bandwidthd.
(Reading database ... 289721 files and directories currently installed.)
Unpacking bandwidthd (from .../bandwidthd_2.0.1+cvs20050208-11_i386.deb) ...
Setting up bandwidthd (2.0.1+cvs20050208-11) ...

Creating config file /etc/bandwidthd/bandwidthd.conf with new version
Starting BandwidthD: bandwidthd.

Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Building tag database... Done

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Can you try with latest Ubuntu release? Thanks in advance.

Changed in bandwidthd (Ubuntu):
status: New → Incomplete
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

This is fixed in the latest version. Don't hesitate to submit any new bug.

Changed in bandwidthd (Ubuntu):
status: Incomplete → Fix Released
Changed in bandwidthd (Debian):
status: Unknown → New
Revision history for this message
berduchwal (marcin-maleccy) wrote :

Ubuntu 9.10 64bit
----
marcin@marcin-desktop:~$ sudo apt-get install bandwidthd
[sudo] password for marcin:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed
  bandwidthd
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 72.6kB of archives.
After this operation, 258kB of additional disk space will be used.
Get: 1 http://gb.archive.ubuntu.com karmic/universe bandwidthd 2.0.1+cvs20071208-3 [72.6kB]
Fetched 72.6kB in 0s (141kB/s)
Preconfiguring packages ...
cp: cannot stat `/usr/share/doc/bandwidthd/bandwidthd.conf': No such file or directory
bandwidthd failed to preconfigure with exit status 1.
Selecting previously deselected package bandwidthd.
(Reading database ... 241789 files and directories currently installed.)
Unpacking bandwidthd (from .../bandwidthd_2.0.1+cvs20071208-3_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Setting up bandwidthd (2.0.1+cvs20071208-3) ...
*** WARNING: ucf was run from a maintainer script that uses debconf, but
             the script did not pass --debconf-ok to ucf. The maintainer
             script should be fixed to not stop debconf before calling ucf,
             and pass it this parameter. For now, ucf will revert to using
             old-style, non-debconf prompting. Ugh!

             Please inform the package maintainer about this problem.

Creating config file /etc/bandwidthd/bandwidthd.conf with new version
 * Starting BandwidthD bandwidthd

Revision history for this message
berduchwal (marcin-maleccy) wrote :

marcin@marcin-desktop:~$ bandwidthd
Cannot open ./etc/bandwidthd.conf

Changed in bandwidthd (Ubuntu):
status: Fix Released → Incomplete
Revision history for this message
b1os2000 (riendi-pratama) wrote : Re: [Bug 245947] Re: bandwidthd fails to preconfigure

NOT SURE I INSTALLED ON KARMIC WILL SEE STILL GOT PROBLEM OR NOT

On 13 February 2010 21:19, berduchwal <email address hidden> wrote:

> marcin@marcin-desktop:~$ bandwidthd
> Cannot open ./etc/bandwidthd.conf
>
>
> ** Changed in: bandwidthd (Ubuntu)
> Status: Fix Released => Incomplete
>
> --
> bandwidthd fails to preconfigure
> https://bugs.launchpad.net/bugs/245947
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Changed in bandwidthd (Debian):
status: New → Fix Released
Revision history for this message
First (first00-deactivatedaccount) wrote : Re: bandwidthd fails to preconfigure

I get this when I "sudo apt-get install bandwidthd" in Ubuntu Lucid.

The following NEW packages will be installed:
  bandwidthd
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/74.8kB of archives.
After this operation, 274kB of additional disk space will be used.
Preconfiguring packages ...
cp: cannot stat `/usr/share/doc/bandwidthd/bandwidthd.conf': No such file or directory
bandwidthd failed to preconfigure, with exit status 1
Selecting previously deselected package bandwidthd.
(Reading database ... 186924 files and directories currently installed.)
Unpacking bandwidthd (from .../bandwidthd_2.0.1+cvs20090917-3_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up bandwidthd (2.0.1+cvs20090917-3) ...
No apache MPM package installed

Creating config file /etc/bandwidthd/bandwidthd.conf with new version
 * Starting BandwidthD bandwidthd [ OK ]

Changed in bandwidthd (Ubuntu):
importance: Undecided → Low
status: Incomplete → Triaged
summary: - bandwidthd fails to preconfigure
+ bandwidthd fails to preconfigure: cp: cannot stat
+ `/usr/share/doc/bandwidthd/bandwidthd.conf'
Revision history for this message
Andreas Moog (ampelbein) wrote :

This is actually fixed now, the error you see is purely cosmetical.

Changed in bandwidthd (Ubuntu):
status: Triaged → Fix Released
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.