output
is
[EMAIL PROTECTED]:~$ sb_release -rd
bash: sb_release: command not found
[EMAIL PROTECTED]:~$ lsb_release -rd
Description:    Ubuntu 8.04.1
Release:        8.04
[EMAIL PROTECTED]:~$ apt-cache policy bandwidthd
bandwidthd:
  Installed: 2.0.1
  Candidate: 2.0.1
  Version table:
 *** 2.0.1 0
        100 /var/lib/dpkg/status
[EMAIL PROTECTED]:~$ sudo apt-get remove bandwidthd
sudo: unable to resolve host 007-homebase
[sudo] password for jack: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: The package bandwidthd needs to be reinstalled, but I can't find an archive 
for it.
[EMAIL PROTECTED]:~$ nano /etc/init.d/bandwidth

Error reading /home/jack/.nano_history: Permission denied

Press Enter to continue starting nano.

[EMAIL PROTECTED]:~$ sudo /etc/init.d/bandwidth
sudo: unable to resolve host 007-homebase
sudo: /etc/init.d/bandwidth: command not found
[EMAIL PROTECTED]:~$ sudo nano /etc/init.d/bandwidth
sudo: unable to resolve host 007-homebase
[EMAIL PROTECTED]:~$ sudo nano /etc/init.d/bandwidth
sudo: unable to resolve host 007-homebase
[EMAIL PROTECTED]:~$ cd /etc
[EMAIL PROTECTED]:/etc$ cd /init.d/bandwidth
bash: cd: /init.d/bandwidth: No such file or directory
[EMAIL PROTECTED]:/etc$ cd /init.d/
bash: cd: /init.d/: No such file or directory
[EMAIL PROTECTED]:/etc$ xd init.d
bash: xd: command not found
[EMAIL PROTECTED]:/etc$ cd init.d
[EMAIL PROTECTED]:/etc/init.d$ ba
badblocks   banner      base64      bash        batch       
bandwidthd  baobab      basename    bashbug     
[EMAIL PROTECTED]:/etc/init.d$ bandwidthd 
Segmentation fault (core dumped)
[EMAIL PROTECTED]:/etc/init.d$ ./bandwidthd 
./bandwidthd: 19: Syntax error: "(" unexpected
[EMAIL PROTECTED]:/etc/init.d$ nano bandwidthd 

Error reading /home/jack/.nano_history: Permission denied

Press Enter to continue starting nano.

[EMAIL PROTECTED]:/etc/init.d$ sudo nano bandwidthd 
sudo: unable to resolve host 007-homebase
[EMAIL PROTECTED]:/etc/init.d$ cd /
[EMAIL PROTECTED]:/$ /etc/init.d/bandwidthd stop
++ DAEMON=/usr/sbin/bandwidthd
++ WORKDIR=/var/lib/bandwidthd
++ CONFFILE=/etc/bandwidthd/bandwidthd.conf
++ NAME=bandwidthd
++ DESC=BandwidthD
++ PIDFILE=/var/run/bandwidthd.pid
++ test -x /usr/sbin/bandwidthd
++ case "$1" in
++ stopd
++ echo -n 'Stopping BandwidthD: '
Stopping BandwidthD: ++ start-stop-daemon --stop --quiet --signal TERM 
--pidfile /var/run/bandwidthd.pid --exec /usr/sbin/bandwidthd
[EMAIL PROTECTED]:/$ 

and the /etc/init.d/bandwidthd file
  GNU nano 2.0.7              File: bandwidthd                                  

set -ex
#!/bin/sh
#
#               init.d script for BandwidthD
#               Andreas Henriksson <[EMAIL PROTECTED]>
#
#

DAEMON=/usr/sbin/bandwidthd
WORKDIR=/var/lib/bandwidthd
CONFFILE=/etc/bandwidthd/bandwidthd.conf
NAME=bandwidthd
DESC=BandwidthD
PIDFILE=/var/run/$NAME.pid

test -x $DAEMON || exit 0

-- 
bandwidthd failed to install : /etc/init.d/bandwidthd: 19: Syntax error: "(" 
unexpected
https://bugs.launchpad.net/bugs/282488
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to