When trying to repair broken packages, I get the dpkg error 'invoke-rc.d: initscript emifreq-applet, action "start" failed'

Asked by dallas heikkinen

When running updates get the error E: em freq -applet: subprocess post-installation returned error exit Status 2
Thinking that there maybe a problem with the packages I get emit freq -applet failed to install or upgrade

being new to Linux, I am not sure of what steps to take next.

Running Ubuntu 9.04 on an AMD 64 bit quad processor.

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#1

Hi,

First please make sure to close all open programs, including all package managers like Synaptic, Add/remove programs, etc ...

Then please try this procedure:

Step 1: Open Terminal from "Applications->Accessories->
Terminal"

Step 2: Please COPY-PASTE each line below into the Terminal then hit <enter> after each line)

sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
sudo rm -rf /var/lib/dpkg/updates/*
sudo rm /var/lib/apt/lists/*
sudo mkdir /var/lib/apt/lists/partial
sudo aptitude clean
sudo aptitude autoclean
sudo apt-get update
sudo dpkg --clear-avail
sudo dpkg --configure -a
sudo aptitude install -f
sudo aptitude update
sudo aptitude dist-upgrade

Step 3: Please post results (copy/paste terminal output from each command) on this thread

Hope it helps,

Regards,

Mark

Revision history for this message
dallas heikkinen (dallas12) said :
#2

This was going really smooth until
sudo dpkg --configure -a when i got the following error

Setting up emifreq-applet (0.18-4ubuntu1) ...
Starting CPU frequency scaling daemon: CpuFreq support not available. Check sysfs is mounted and your CPU-specific module is loaded or built in the kernel.
invoke-rc.d: initscript emifreq-applet, action "start" failed.
dpkg: error processing emifreq-applet (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 emifreq-applet

Revision history for this message
dallas heikkinen (dallas12) said :
#3

Mark Rijckenberg wrote:
> Your question #82592 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/82592
>
> Status: Open => Answered
>
> Mark Rijckenberg proposed the following answer:
> Hi,
>
>
> First please make sure to close all open programs, including all package managers like Synaptic, Add/remove programs, etc ...
>
>
> Then please try this procedure:
>
>
> Step 1: Open Terminal from "Applications->Accessories->
> Terminal"
>
>
> Step 2: Please COPY-PASTE each line below into the Terminal then hit <enter> after each line)
>
> sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
> sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
> sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
> sudo rm -rf /var/lib/dpkg/updates/*
> sudo rm /var/lib/apt/lists/*
> sudo mkdir /var/lib/apt/lists/partial
> sudo aptitude clean
> sudo aptitude autoclean
> sudo apt-get update
> sudo dpkg --clear-avail
> sudo dpkg --configure -a
> sudo aptitude install -f
> sudo aptitude update
> sudo aptitude dist-upgrade
>
>
> Step 3: Please post results (copy/paste terminal output from each command) on this thread
>
>
> Hope it helps,
>
>
> Regards,
>
>
> Mark
>
>
Thanks

Dallas

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#4
Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#5

Try running the following command to erase the problematic package emifreq-applet

sudo aptitude purge emifreq-applet

Then run the following commands

sudo dpkg --clear-avail
sudo dpkg --configure -a
sudo aptitude install -f
sudo aptitude update
sudo aptitude dist-upgrade

Please post output of all the commands here.

Can you help with this problem?

Provide an answer of your own, or ask dallas heikkinen for more information if necessary.

To post a message you must log in.