View Single Post
Posts: 4 | Thanked: 9 times | Joined on Apr 2010
#1085
Originally Posted by lemmyslender View Post
I did as suggested and installed kernel-power-settings.

However, I know get errors installing/updating other apps (some packages have unmet dependencies).

It suggests to run apt-get -f install to correct, which just wants to remove kernel-power-settings.

Any suggestions?




I was trying to install nano via cli, got an error. Also tried using fapman to update Plastic theme pack.

After running apt-get -f install (and letting it remove kernel-power-settings) overclocking in maemo fails to work. Upon reboot, it reverts back to normal 600mHz.

Code:
Nokia-N900:/home/user/MyDocs/downloads/nitdroid# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
  kernel-power-settings: Depends: kernel-power-flasher (>= 2.6.28-maemo25) but it is not installed
E: Unmet dependencies. Try using -f.
Any ideas. I'd like to play with nitdroid, but I also want to o/c maemo.
sorry about that. That's one thing I haven't tried. It did give me the same error when i run "apt-get upgrade".
But I was able to update fapman using Application Manager, though.

You may find Bratag's post useful:
Originally Posted by Bratag View Post
The problem here is that 2.9 breaks dependencies. According to Jay-C he cant hep it as he needs multiboot-power and it conflicts with kernel-power, hence no kernel-power-settings.

Now onto a solution. This works for me - I take no responsibility if you brick your phone. Assume that all these commands need you to be root. You can either sudo gainroot or use sudo. Your call.

First remove kernel-power-settings. We can't keep it in place while we want to install new apps etc.

dpkg -r kernel-power-settings

Next we need to get the contents of the package extracted. First move your kernel-power deb to somewhere temporary.

mv /home/user/MyDocs/kernel-power-settings_0.11_armel.deb /home/user/MyDocs/tmp

(please note if the tmp dir doesnt exist you will need to create it)

Ok now we have it in a temp dir lets extract it.

cd /home/user/MyDocs/tmp
dpkg-deb -x kernel-power-settings_0.11_armel.deb /home/user/MyDocs/tmp


Now you should see in that directory two new dirs. One will be called usr and one called etc

You now need to copy the contents of those folders into the system. For example.

cp /home/user/MyDocs/tmp/etc/event.d/* /etc/event.d

Once you have done this the last step is to change the perms on the two binaries.

chmod +x /usr/sbin/kernel-*

Thats about it. Now keep in mind this means you wont get update notifications about kernel-power etc as you are essentially just copying files and not installing the package itself.