LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   broken noflushd (https://www.linuxquestions.org/questions/debian-26/broken-noflushd-157963/)

datadriven 03-15-2004 10:17 AM

broken noflushd
 
Help!

Preparing to replace noflushd 2.7.1-1 (using .../noflushd_2.7.1-2_i386.deb) ...
Stopping No Flush Daemon: invoke-rc.d: initscript noflushd, action "stop" failed.
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
Stopping No Flush Daemon: invoke-rc.d: initscript noflushd, action "stop" failed.
dpkg: error processing /var/cache/apt/archives/noflushd_2.7.1-2_i386.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
Starting No Flush Daemon: Error: Your kernel is configured with devfs, but devfs is not
mounted anywhere. This means noflushd cannot work.
Please consult the noflushd README for details
invoke-rc.d: initscript noflushd, action "start" failed.
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 1
Selecting previously deselected package ksmp3play.
Unpacking ksmp3play (from .../ksmp3play_0.5.1-3.2_i386.deb) ...
Errors were encountered while processing:
/var/cache/apt/archives/noflushd_2.7.1-2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


I can't install or remove any software until this is resolved. How do I disable, remove, or fix noflushd?

debian:/home/jeff# uname -a
Linux debian 2.4.22-1-386 #9 Sat Oct 4 14:30:39 EST 2003 i686 GNU/Linux
debian:/home/jeff# lspci
00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03)
00:04.0 CardBus bridge: Texas Instruments PCI1225 (rev 01)
00:04.1 CardBus bridge: Texas Instruments PCI1225 (rev 01)
00:07.0 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)
00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02)
00:08.0 Multimedia audio controller: ESS Technology ES1978 Maestro 2E (rev 10)
00:10.0 Communication controller: Lucent Microelectronics WinModem 56k (rev 01)
01:00.0 VGA compatible controller: ATI Technologies Inc Rage Mobility P/M AGP 2x (rev 64)
debian:/home/jeff# lsmod
Module Size Used by Not tainted
orinoco_cs 3860 1
orinoco 29780 0 [orinoco_cs]
hermes 4708 0 [orinoco_cs orinoco]
ds 5908 2 [orinoco_cs]
apm 8492 2 (autoclean)
mousedev 3732 1
hid 18820 0 (unused)
usbmouse 1848 0 (unused)
input 3040 0 [mousedev hid usbmouse]
af_packet 11624 1 (autoclean)
usb-uhci 19696 0 (unused)
usbcore 52588 0 [hid usbmouse usb-uhci]
maestro 25360 0
soundcore 3268 2 [maestro]
ide-scsi 8464 0
scsi_mod 85344 1 [ide-scsi]
yenta_socket 8832 2
pcmcia_core 35360 0 [orinoco_cs ds yenta_socket]
agpgart 35416 0 (unused)
parport_pc 19400 1 (autoclean)
lp 5952 0 (autoclean)
parport 21800 1 (autoclean) [parport_pc lp]
ide-cd 27936 0
cdrom 25088 0 [ide-cd]
rtc 6120 0 (autoclean)
ide-disk 12384 2 (autoclean)
ext3 53220 1 (autoclean)
jbd 34824 1 (autoclean) [ext3]
ide-detect 9008 0 (autoclean)
piix 7240 1 (autoclean)
ide-core 84216 2 (autoclean) [ide-scsi ide-cd ide-disk ide-detect piix]
unix 13260 159 (autoclean)

Let me know what other information is necessary.

Mr Angry 03-15-2004 10:28 AM

"Stopping No Flush Daemon: invoke-rc.d: initscript noflushd, action "stop" failed."


If you are in kde o gnome, press alt+F1 and in console mode type init 1, after that apt-get -f install

datadriven 03-15-2004 01:13 PM

debian:/home/jeff# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
noflushd
Suggested packages:
kernel-patch-scsi-idle
The following packages will be upgraded:
noflushd
1 upgraded, 0 newly installed, 0 to remove and 69 not upgraded.
61 not fully installed or removed.
Need to get 0B/55.4kB of archives.
After unpacking 4096B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Preconfiguring packages ...
Selecting previously deselected package noflushd.
(Reading database ... 103077 files and directories currently installed.)
Preparing to replace noflushd 2.7.1-1 (using .../noflushd_2.7.1-2_i386.deb) ...
Stopping No Flush Daemon: invoke-rc.d: initscript noflushd, action "stop" failed.
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
Stopping No Flush Daemon: invoke-rc.d: initscript noflushd, action "stop" failed.
dpkg: error processing /var/cache/apt/archives/noflushd_2.7.1-2_i386.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
Starting No Flush Daemon: Error: Your kernel is configured with devfs, but devfs is not
mounted anywhere. This means noflushd cannot work.
Please consult the noflushd README for details
invoke-rc.d: initscript noflushd, action "start" failed.
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/noflushd_2.7.1-2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

debian:/home/jeff# apt-get -f remove noflushd
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
noflushd
0 upgraded, 0 newly installed, 1 to remove and 69 not upgraded.
61 not fully installed or removed.
Need to get 0B of archives.
After unpacking 205kB disk space will be freed.
Do you want to continue? [Y/n] Y
dpkg: error processing noflushd (--remove):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
noflushd
E: Sub-process /usr/bin/dpkg returned an error code (1)

Is this something that can be fixed with a # in a config file somewhere? I REALLY don't want to reinstall the OS on this machine. But apt fails EVERY operation until this is resolved.

Mr Angry 03-15-2004 02:09 PM

dpkg --force-overwrite -i /var/cache/apt/archives/noflushd_2.7.1-2_i386.deb

then uninstall it

datadriven 03-15-2004 03:26 PM

same error message

Mr Angry 03-15-2004 04:18 PM

init 1


dpkg --force-remove-reinstreq /var/cache/apt/archives/noflushd_2.7.1-2_i386.deb

datadriven 03-15-2004 04:41 PM

Man i miss slackware. This would be gone if i was using pkgtool

debian:/home/jeff# dpkg --force-remove-reinstreq /var/cache/apt/archives/noflushd_2.7.1-2_i386.deb
dpkg: need an action option

Type dpkg --help for help about installing and deinstalling packages[*];
Use dselect for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Type dpkg --licence for copyright licence and lack of warranty (GNU GPL)[*].

Options marked[*] produce a lot of output - pipe it through `less' or `more' !

datadriven 03-15-2004 04:42 PM

what's the difference between using init 1 and su in a console window?

Mr Angry 03-15-2004 06:26 PM

Quote:

Originally posted by datadriven
what's the difference between using init 1 and su in a console window?
Sorry, the comand was dpkg --force-remove-reinstreq -i /var/cache/apt/archives/noflushd_2.7.1-2_i386.deb

-su in console is basically logging in your profile as super user or root with all current processes running, init 1 is for running your system with basic kernel process stopping al daemons.

datadriven 03-15-2004 07:04 PM

(Reading database ... 103096 files and directories currently installed.)
Preparing to replace noflushd 2.7.1-1 (using .../noflushd_2.7.1-2_i386.deb) ...
Stopping No Flush Daemon: invoke-rc.d: initscript noflushd, action "stop" failed .
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
Stopping No Flush Daemon: invoke-rc.d: initscript noflushd, action "stop" failed .
dpkg: error processing /var/cache/apt/archives/noflushd_2.7.1-2_i386.deb (--inst all):
subprocess new pre-removal script returned error exit status 1
Starting No Flush Daemon: Error: Your kernel is configured with devfs, but devfs is not
mounted anywhere. This means noflushd cannot work.
Please consult the noflushd README for details
invoke-rc.d: initscript noflushd, action "start" failed.
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/noflushd_2.7.1-2_i386.deb

Thanks for all your help but I think I'm going to put slackware back on my laptop


All times are GMT -5. The time now is 02:32 AM.