Kirjoittaja Aihe: bandwidthd pois kuinka ?  (Luettu 3414 kertaa)

lappari

  • Käyttäjä
  • Viestejä: 8
    • Profiili
bandwidthd pois kuinka ?
« : 10.11.06 - klo:19.07 »
Eli kyseessä on Ubuntu Edgy ja kokeilin poistaa kyseisen ohjelman joka ei suostu poistumaan sitten kirveelläkään ja versio on bandwidthd  2.0.1+cvs20050208-9 (edgy)

~$ sudo apt-get remove bandwidthd <--ei vaikutusta

Sanoo: Package is in a very bad inconsistent state - you should
 reinstall it before attempting a removal.
terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_S_construct NULL not valid

noh synaptic kautta yritän poistaa mark for complete removal..ei onnistu
eikä päivittäminen kanssa eikä unmark.
Sanoo: E:dpkg was interrupted,you must manually run dpkg --configure -a to correct the problem.

Myöskään Force version ei onnistu.

Alaspäin päivitystä en osaa joten olisi mukavaa jos joku viitsisi vähäsen neuvoa :)
Update manager yrittää nyt päivittää sitä muka että 1 päivitys olisi mutta ei onnistu,miten saisin bandwidthdin kokonaan sen pois? AApuva :)
« Viimeksi muokattu: 10.11.06 - klo:19.09 kirjoittanut lappari »

eliasj

  • Käyttäjä
  • Viestejä: 4075
    • Profiili
Re: bandwidthd pois kuinka ?
« Vastaus #1 : 10.11.06 - klo:19.11 »
Komenna
Koodia: [Valitse]
sudo dpkg --configure -a
sudo apt-get install --reinstall bandwidthd
sudo apt-get --purge remove bandwidthd
alias vililikku

lappari

  • Käyttäjä
  • Viestejä: 8
    • Profiili
Re: bandwidthd pois kuinka ?
« Vastaus #2 : 10.11.06 - klo:19.31 »
ei kyllä tuottanut toivottua tulosta :)
Samat löpinät tulee suunnilleen noista

dpkg: error processing bandwidthd (--purge):
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting a removal.
terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_S_construct NULL not valid
Aborted

Synapticin listassa vielä bandwidthd ja se on keltaisella install/update ja sitä ei saa pois päältä,ei muitakaan päivtyksiä / lisäyksiä ei  voi tehdä.

prkl..joutuuko tässä nyt uudestaan tämän asentamaan..

eliasj

  • Käyttäjä
  • Viestejä: 4075
    • Profiili
Re: bandwidthd pois kuinka ?
« Vastaus #3 : 10.11.06 - klo:19.34 »
Mitä tulee päätteeseen kun komennat
Koodia: [Valitse]
sudo dpkg --configure -aEntä kun komennat
Koodia: [Valitse]
sudo apt-get install --reinstall bandwidthdJa entäs kun komennat
Koodia: [Valitse]
sudo apt-get --purge remove bandwidthd
alias vililikku

lappari

  • Käyttäjä
  • Viestejä: 8
    • Profiili
Re: bandwidthd pois kuinka ?
« Vastaus #4 : 10.11.06 - klo:19.52 »
Koodia: [Valitse]
sudo dpkg --configure -a <--ei tule mitään

Koodia: [Valitse]
sudo apt-get install --reinstall bandwidthd

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  xchat-gnome-common
Use 'apt-get autoremove' to remove them.
The following packages will be upgraded:
  bandwidthd
1 upgraded, 0 newly installed, 0 to remove and 47 not upgraded.
1 not fully installed or removed.
Need to get 0B/62.9kB of archives.
After unpacking 28.7kB 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 ... 116547 files and directories currently installed.)
Preparing to replace bandwidthd 2.0.1 (using .../bandwidthd_2.0.1+cvs20050208-9_i386.deb) ...
/etc/init.d/bandwidthd: 19: Syntax error: "(" unexpected
invoke-rc.d: initscript bandwidthd, action "stop" failed.
dpkg: warning - old pre-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
/etc/init.d/bandwidthd: 19: Syntax error: "(" unexpected
invoke-rc.d: initscript bandwidthd, action "stop" failed.
dpkg: error processing /var/cache/apt/archives/bandwidthd_2.0.1+cvs20050208-9_i386.deb (--unpack):
 subprocess new pre-removal script returned error exit status 2
/etc/init.d/bandwidthd: 19: Syntax error: "(" unexpected
invoke-rc.d: initscript bandwidthd, action "start" failed.
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/bandwidthd_2.0.1+cvs20050208-9_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Koodia: [Valitse]
sudo apt-get --purge remove bandwidthd

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  xchat-gnome-common bandwidthd
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  bandwidthd*
0 upgraded, 0 newly installed, 1 to remove and 47 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 201kB disk space will be freed.
Do you want to continue [Y/n]? y
dpkg: error processing bandwidthd (--purge):
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting a removal.
terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_S_construct NULL not valid
Aborted
*******:~$ Errors were encountered while processing:
 bandwidthd

eliasj

  • Käyttäjä
  • Viestejä: 4075
    • Profiili
Re: bandwidthd pois kuinka ?
« Vastaus #5 : 10.11.06 - klo:19.54 »
Mitä sanoo kun komennat
Koodia: [Valitse]
sudo apt-get install -f
alias vililikku

lappari

  • Käyttäjä
  • Viestejä: 8
    • Profiili
Re: bandwidthd pois kuinka ?
« Vastaus #6 : 10.11.06 - klo:20.02 »
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  xchat-gnome-common
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  bandwidthd
The following packages will be upgraded:
  bandwidthd
1 upgraded, 0 newly installed, 0 to remove and 47 not upgraded.
1 not fully installed or removed.
Need to get 0B/62.9kB of archives.
After unpacking 28.7kB of additional disk space will be used.
Do you want to continue [Y/n]? y
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 ... 116547 files and directories currently installed.)
Preparing to replace bandwidthd 2.0.1 (using .../bandwidthd_2.0.1+cvs20050208-9_i386.deb) ...
/etc/init.d/bandwidthd: 19: Syntax error: "(" unexpected
invoke-rc.d: initscript bandwidthd, action "stop" failed.
dpkg: warning - old pre-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
/etc/init.d/bandwidthd: 19: Syntax error: "(" unexpected
invoke-rc.d: initscript bandwidthd, action "stop" failed.
dpkg: error processing /var/cache/apt/archives/bandwidthd_2.0.1+cvs20050208-9_i386.deb (--unpack):
 subprocess new pre-removal script returned error exit status 2
/etc/init.d/bandwidthd: 19: Syntax error: "(" unexpected
invoke-rc.d: initscript bandwidthd, action "start" failed.
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/bandwidthd_2.0.1+cvs20050208-9_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Voi että menee kyl jo minulla yli ja pahasti.. :)

eliasj

  • Käyttäjä
  • Viestejä: 4075
    • Profiili
Re: bandwidthd pois kuinka ?
« Vastaus #7 : 10.11.06 - klo:20.05 »
Mitäs sanoo komento
Koodia: [Valitse]
sudo apt-get install xchat-gnome-common bandwidthd
alias vililikku

lappari

  • Käyttäjä
  • Viestejä: 8
    • Profiili
Re: bandwidthd pois kuinka ?
« Vastaus #8 : 10.11.06 - klo:20.26 »
sudo apt-get install xchat-gnome-common bandwidthd
Reading package lists... Done
Building dependency tree       
Reading state information... Done
xchat-gnome-common is already the newest version.
The following packages were automatically installed and are no longer required:
  xchat-gnome-common
Use 'apt-get autoremove' to remove them.
The following packages will be upgraded:
  bandwidthd
1 upgraded, 0 newly installed, 0 to remove and 47 not upgraded.
1 not fully installed or removed.
Need to get 62.9kB of archives.
After unpacking 28.7kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com edgy/universe bandwidthd 2.0.1+cvs20050208-9 [62.9kB]
Fetched 62.9kB in 6s (9749B/s)                                                 
Preconfiguring packages ...
Selecting previously deselected package bandwidthd.
(Reading database ... 116547 files and directories currently installed.)
Preparing to replace bandwidthd 2.0.1 (using .../bandwidthd_2.0.1+cvs20050208-9_i386.deb) ...
/etc/init.d/bandwidthd: 19: Syntax error: "(" unexpected
invoke-rc.d: initscript bandwidthd, action "stop" failed.
dpkg: warning - old pre-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
/etc/init.d/bandwidthd: 19: Syntax error: "(" unexpected
invoke-rc.d: initscript bandwidthd, action "stop" failed.
dpkg: error processing /var/cache/apt/archives/bandwidthd_2.0.1+cvs20050208-9_i386.deb (--unpack):
 subprocess new pre-removal script returned error exit status 2
/etc/init.d/bandwidthd: 19: Syntax error: "(" unexpected
invoke-rc.d: initscript bandwidthd, action "start" failed.
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/bandwidthd_2.0.1+cvs20050208-9_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

eliasj

  • Käyttäjä
  • Viestejä: 4075
    • Profiili
Re: bandwidthd pois kuinka ?
« Vastaus #9 : 10.11.06 - klo:20.34 »
aaargh! No kokeillaas vielä. Mitä sanoo komento
Koodia: [Valitse]
sudo apt-get install -f xchat-gnome-common bandwidthd Jos tulee erroria mitä sanoo komento
Koodia: [Valitse]
sudo apt-get --purge remove xchat-gnome-common bandwidthd Jos tulee erroria mitä sanoo
Koodia: [Valitse]
sudo apt-get --reinstall install xchat-gnome-common bandwidthd
alias vililikku

lappari

  • Käyttäjä
  • Viestejä: 8
    • Profiili
Re: bandwidthd pois kuinka ?
« Vastaus #10 : 10.11.06 - klo:20.45 »
hehe samat löpinät tulee..

(Reading database ... 116545 files and directories currently installed.)
Removing xchat-gnome-common ...

Siihen tilttaa se ja mitään ei tapahdu


eliasj

  • Käyttäjä
  • Viestejä: 4075
    • Profiili
Re: bandwidthd pois kuinka ?
« Vastaus #11 : 10.11.06 - klo:20.52 »
Laita vaan se kok tuloste mitä tulee minkäkin komennon jälkeen. Laita mieltuiten
Koodia: [Valitse]
code tageihin. ;)
alias vililikku

lappari

  • Käyttäjä
  • Viestejä: 8
    • Profiili
Re: bandwidthd pois kuinka ?
« Vastaus #12 : 10.11.06 - klo:21.05 »
Koodia: [Valitse]
sudo apt-get install -f xchat-gnome-common bandwidthd

Reading package lists... Done
Building dependency tree       
Reading state information... Done
xchat-gnome-common is already the newest version.
The following packages were automatically installed and are no longer required:
  xchat-gnome-common
Use 'apt-get autoremove' to remove them.
The following packages will be upgraded:
  bandwidthd
1 upgraded, 0 newly installed, 0 to remove and 47 not upgraded.
1 not fully installed or removed.
Need to get 0B/62.9kB of archives.
After unpacking 28.7kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously deselected package bandwidthd.
(Reading database ... 116547 files and directories currently installed.)
Preparing to replace bandwidthd 2.0.1 (using .../bandwidthd_2.0.1+cvs20050208-9_i386.deb) ...
/etc/init.d/bandwidthd: 19: Syntax error: "(" unexpected
invoke-rc.d: initscript bandwidthd, action "stop" failed.
dpkg: warning - old pre-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
/etc/init.d/bandwidthd: 19: Syntax error: "(" unexpected
invoke-rc.d: initscript bandwidthd, action "stop" failed.
dpkg: error processing /var/cache/apt/archives/bandwidthd_2.0.1+cvs20050208-9_i386.deb (--unpack):
 subprocess new pre-removal script returned error exit status 2
/etc/init.d/bandwidthd: 19: Syntax error: "(" unexpected
invoke-rc.d: initscript bandwidthd, action "start" failed.
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/bandwidthd_2.0.1+cvs20050208-9_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


Koodia: [Valitse]
sudo apt-get --purge remove xchat-gnome-common bandwidthd

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  xchat-gnome-common bandwidthd
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  bandwidthd* xchat-gnome-common*
0 upgraded, 0 newly installed, 2 to remove and 47 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 4379kB disk space will be freed.
Do you want to continue [Y/n]? y
dpkg: error processing bandwidthd (--purge):
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting a removal.
(Reading database ... terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_S_construct NULL not valid
Aborted
i~$ 116545 files and directories currently installed.)
Removing xchat-gnome-common ... <---sen jälkeen ei sano mitään vaan jää junnaamaan paikalleen


Koodia: [Valitse]
sudo apt-get --reinstall install xchat-gnome-common bandwidthd

E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.

« Viimeksi muokattu: 10.11.06 - klo:21.07 kirjoittanut lappari »

eliasj

  • Käyttäjä
  • Viestejä: 4075
    • Profiili
Re: bandwidthd pois kuinka ?
« Vastaus #13 : 10.11.06 - klo:22.12 »
Komenna nyt
Koodia: [Valitse]
sudo dpkg --configure -a
sudo apt-get --reinstall install xchat-gnome-common bandwidthd
alias vililikku