Hmmm weird. I just tried to install cpufrequtils on my box and I didn't run into that problem. Sounds like a fluke to me. Try deleting the package from the cache '/var/cache/apt/archives' and reinstalling as Aaron detailed. I ran Kubuntu for a bit and switched back to Ubuntu as I find the integration is much better. But under the hood they should be the same system. When I was running Kubuntu I did find that it already had a cpufreq tool built into its power management. cpufrequtils is in universe and would be an add on. I know Ubuntu's Gnome package manager, Synaptic, has a "fix broken packages" option which may also fix this problem. Perhaps Adapt has something similar. *Ubuntu also has smart if you are familiar with that. sudo apt-get install smart-pm ~Mike
On Sat, 2006-12-30 at 07:11 -0500, Aaron Haviland wrote:
Andy Stewart wrote, on Dec 29, 2006 at 21:49 EST:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
HI gang,
I'm taking my first adventurous steps in the use of a Debian based system (Kubuntu) on my new laptop (LC2464T). (No, I'm not trashing Suse on all of my other systems). I've never previously used an APT based system, so in this sense, I'm quite the newbie.
I wouldn't suggest *Ubuntu as a canonical APT-based distro. There are still bugs there but the eye candy is better.
I'm getting an error when I install a package, and I'm not sure how to resolve it. I've googled to no avail. Note in the output below that it says that the file /etc/init.d/cpufrequtils does not exist, and yet (I think) this is a file that belongs to the package which I'm trying to install.
Indeed it should be part of the package you're trying to install. Could you verify that the files does exist? By this point in the installation, the package is fully extracted, just not configured.
A quick & dirty version of the dpkg installation procedure (APT is a front-end to dpkg/wget/etc) is:
1) Extract control information from the package. (You can find this stuff in /var/lib/dpkg/info/${PACKAGE}.*
2) Execute pre-install script, if it exists
3) Extract package.
4) Run post-install script, if it exists. (I think almost all packages have one)
5) ...
6) Profit!
<snipped ...>
Get:2 http://us.archive.ubuntu.com edgy/universe cpufrequtils 002-1 [22.4kB] Fetched 32.7kB in 1s (31.8kB/s)
Selecting previously deselected package cpufrequtils.
1, 2
3
Unpacking cpufrequtils (from .../cpufrequtils_002-1_amd64.deb) ...
4
Setting up cpufrequtils (002-1) ... update-rc.d: /etc/init.d/cpufrequtils: file does not exist dpkg: error processing cpufrequtils (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: cpufrequtils E: Sub-process /usr/bin/dpkg returned an error code (1) ==========
So at this point, the package should be completely extracted, but the postinstall is not processing correctly... the command it's trying to execute would be: "update-rc.d cpufrequtils defaults" to add the default init rc symlinks...
It might be a bug in the package. It might be a fluke. Usually, try re-installing it (as you won't be able to do much else until you get it resolved, anyway...)
apt-get install --reinstall cpufrequtils
If not... good luck figuring out ubuntu's bug system. Debian's is quite nice, but if you've got a ubuntu bug, you *have* to use ubuntu's BTS instead. (And it appears there are no current bugs filed for ubuntu's cpufrequtils. Interestingly enough, Debian's BTS lists several bugs against the package, but none seemingly related to your problem.)
Hmmm... also, how long ago did this happen? Ubuntu doesn't seem to have 002-1 in its archives anymore. The current version is 002-2.
I don't know if you're using a front-end to APT, or taking it plain, but you might need to run "apt-get update" to refresh the package lists.
That was a bit longer than I meant it to be... good luck!
Alternatively, Some friends of mine in #linuxhelp on OFTC are usually around to help. I'm in there as 'guinea-pig'
_______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug