After trying to update debian I get the following errors:
Preparing to replace acpid 1.0.8-6 (using .../acpid_1.0.8-7_i386.deb) ...
* Stopping ACPI services... [ OK ]
invoke-rc.d: initscript acpid, action "stop" failed.
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
* Stopping ACPI services... [ OK ]
invoke-rc.d: initscript acpid, action "stop" failed.
dpkg: error processing /var/cache/apt/archives/acpid_1.0.8-7_i386.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
* Starting ACPI services... [ OK ]
invoke-rc.d: initscript acpid, 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/acpid_1.0.8-7_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
dpkg: error processing acpid (--configure):
Package is in a very bad inconsistent state - you should
reinstall it before attempting configuration.
The solution was simple though:
su
mv /etc/lsb-base-logging.sh /etc/lsb-base-logging.sh.backup
Then try again :)
apt-get upgrade
A blog with solutions, tips and more about computers, health, training and everyday life.
Bitcoin donations are welcome:14snQXeLcnJtWUduKZ6rC2MHdPYrYar1Tw
Showing posts with label upgrade. Show all posts
Showing posts with label upgrade. Show all posts
Saturday, May 2, 2009
Friday, April 17, 2009
Sound not working in Debian
After the latest updates/distro-upgrade of Debian testing as of April 2009, my mouse (as mentioned and fixed earlyer) and soundcard stopped working.. Here is the fix for the soundcard:
What I noticed was mplayers error:
Can't open audio device /dev/dsp
/dev/dsp was missing. In order to get it back again all I had to do was(as root):
dpkg-reconfigure alsa-base
And it was fixed :) Now just make sure your soundcard isn't muted, because if it is you can max the volume without getting any sound. I prefer using gmix (Gnome 2.0 Mixer in Fluxbox) for that.
Hope it helps you out :)
What I noticed was mplayers error:
Can't open audio device /dev/dsp
/dev/dsp was missing. In order to get it back again all I had to do was(as root):
dpkg-reconfigure alsa-base
And it was fixed :) Now just make sure your soundcard isn't muted, because if it is you can max the volume without getting any sound. I prefer using gmix (Gnome 2.0 Mixer in Fluxbox) for that.
Hope it helps you out :)
Subscribe to:
Posts (Atom)