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(a)mail.wlug.org
> > http://mail.wlug.org/mailman/listinfo/wlug
-----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'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.
Any and all help would be greatly appreciated - thanks!
Here's the command and its output from Kubuntu 6.10.
==========
# apt-get install cpufrequtils
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libcpufreq0
The following NEW packages will be installed:
cpufrequtils libcpufreq0
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 32.7kB of archives.
After unpacking 254kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com edgy/universe libcpufreq0 002-1 [10.3kB]
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 libcpufreq0.
(Reading database ... 88398 files and directories currently installed.)
Unpacking libcpufreq0 (from .../libcpufreq0_002-1_amd64.deb) ...
Selecting previously deselected package cpufrequtils.
Unpacking cpufrequtils (from .../cpufrequtils_002-1_amd64.deb) ...
Setting up libcpufreq0 (002-1) ...
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)
==========
- --
Andy Stewart, Founder
Worcester Linux Users' Group
Worcester, MA, USA
http://www.wlug.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iD8DBQFFldO9Hl0iXDssISsRAq1gAJ46+gxWgO9YomxhdJsp0i02GG30XgCfTll1
k584/OlsBqwCFII50BVox90=
=VxI2
-----END PGP SIGNATURE-----
My laptop has been doing weird stuff lately. I built it a while ago from
Gentoo 2006.0 Stage 3, and every now and again it would turn off while
compiling something (usually if I had to upgrade glibc). I was just trying
to update mythtv and it crashed so I decided to level it and start from
scratch. I installed Gentoo 2006.1 Stage 3 and it's doing the same thing.
I went down to Stage 2 and I'm still having a problem. I've done memtest in
the past with clean results, but I'm stuck because I don't know what the
error is. While building a few minutes ago I forgot to turn on swap space
and it ran out of memory before crashing (turning off).
Is there anything I can do aside from piping the output to a file to capture
what the problem might be (tried it, not much help)? Has anybody had
similar problems with gcc / glibc?
Thanks in advance
Eric
i'll give it a shot, thanks.
-Eric
-----Original Message-----
From: Karl Hiramoto <karl(a)hiramoto.org>
Subj: Re: [Wlug] Problem w/gcc
Date: Sun Dec 24, 2006 6:36 am
Size: 1K
To: Worcester Linux Users Group <wlug(a)mail.wlug.org>
Eric Martin wrote:
> My laptop has been doing weird stuff lately. I built it a while ago
> from Gentoo 2006.0 Stage 3, and every now and again it would turn off
> while compiling something (usually if I had to upgrade glibc). I was
> just trying to update mythtv and it crashed so I decided to level it
> and start from scratch. I installed Gentoo 2006.1 Stage 3 and it's
> doing the same thing. I went down to Stage 2 and I'm still having a
> problem. I've done memtest in the past with clean results, but I'm
> stuck because I don't know what the error is. While building a few
> minutes ago I forgot to turn on swap space and it ran out of memory
> before crashing (turning off).
>
> Is there anything I can do aside from piping the output to a file to
> capture what the problem might be (tried it, not much help)? Has
> anybody had similar problems with gcc / glibc?
>
> Thanks in advance
> Eric
My laptop will turn it self off if the temperature gets above 70C.
Most laptops have some kind of temperature shut off function.. I would
monitor your temperature with lmsensors, or mbmon (acpi temp zone).
For me to control my Gentoo laptop temperature while compiling big
packages, I have to have cpu frequency scaling running. If i run my
2.8ghz P4 laptop at 50% speed 1.4Ghz I don't have any temperature
problems. I usually use the "powersave" or "ondemand" shedulers.
Also you could try keeping a big enough space blow your laptop for air..
Assuming the temperature is the problem.
--
--
Karl Hiramoto http://karl.hiramoto.org/
US VOIP: (1) 603.966.4448
Spain Casa (34) 951.273.347
Spain Mobil (34) 617.463.826
Yahoo_IM = karl_hiramoto GTalk= karl.hiramoto [at] gmail [d0t] com
--
The most exciting phrase to hear in science, the one that heralds new
discoveries, is not "Eureka!" (I found it!) but "That's funny ..."
-- Isaac Asimov
Thanks to all who found/offered a PCI graphics card. My problem has
been solved, even though it hasn't been really understood.
A friend found a card of unknown condition, and I tried it. As
expected, the motherboard graphics became inactive when I booted with
the PCI card. However, the PCI card didn't work either. (It's that
"unknown condition" thing, I think.) After a couple of power cycles,
I removed the PCI card, and, magically, the motherboard graphics began
to work.
I don't see anything new in the X config, so I can only think that the
system reset the motherboard graphics card back to a functional
state. If anyone has a better theory, I'd like to hear it.
Thanks to all who responded with an offer of a graphics card.
Thanks,
Bill
On Saturday 23 December 2006 22:58, d.maly(a)ieee.org wrote:
> Anyway, let me ask you this: would you direct me to a few more places
> that would obviously carry the 'residue' of wrong group members, if
> any?
off the top of my head, i cant think of anything
> I was considering forcing ownership to 'me' because normally 'me' does
> not have root access to the files ... may be specific to Ubuntu ...
nah, not Ubuntu specific ... but running like:
chown -R me:users /home/me
should certainly be safe
-mike
I stumbled across bug #48545
(https://launchpad.net/distros/ubuntu/+source/control-center/+bug/48545)
when sound wouldn't work only for the "primary" user ('me') ... it *did*
work for the other users on this computer, including others with access
to root.
The fix is to add 'me' to the audio line in /etc/group:
audio:x:29:user1,user2,user3,me
In the meantime, I noticed there were several lines in this file which
included all users except 'me'. So here's the question: should I add
'me' to all such lines? Seems too crude ... and there must be some file
"upstream" that would lead to 'me' being left off in the first place ??
Thanks, Doug