maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   overclock kernels and version info loss (https://talk.maemo.org/showthread.php?t=49923)

mirakels 2010-04-13 15:36

overclock kernels and version info loss
 
As the overclock thread is so big that certain issues tend to be lost I created a seperate thread for this specific problen:

After having some problems with the overclock kernel I reverted back to the stock kernel.

But now the version info in the settings about screen shows "unknown". I tried to resolve this by reinstalling mp-fremantle-generic-pr but this fails because of an hildon-initscripts dependency failure:

The following packages have unmet dependencies:
mp-fremantle-generic-pr: Depends: hildon-initscripts (= 1.26-1+0m5) but 1.26-1+dp1 is to be installed
E: Broken packages

Is there another way to fix this? I tried to force just download of the mp-fremantle* package, but this gives the same problem. Adding the -f switch to apt-get does not help.

I also tried to download the package manually using wget but this fails. I probably do not use/know the proper URL for the package.

Is someone willing to show the output of:

dpkg -L mp-fremantle-generic-pr

Oreven better, download the package using "apt-get install -d mp-fremantle-generic-pr" and make the package available to us?

I hope that can help to get the version info back

Thanks

Rob1n 2010-04-13 15:38

Re: overclock kernels and version info loss
 
I think you should be able to just run (as root) /var/lib/dpkg/info/mp-fremantle-generic-pr.postinst and reboot.

MohammadAG 2010-04-13 15:49

Re: overclock kernels and version info loss
 
Disable all repos except the official ones (extras, -testing and -devel are fine)
Quote:

Nokia-N900-02-8:~# apt-get --reinstall install mp-fremantle-generic-pr
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 15 not upgraded.
Need to get 0B/14.6kB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]?

mirakels 2010-04-13 17:21

Re: overclock kernels and version info loss
 
Rob1n, that is just what I want to do. But the mp-fremantle-generic-pr package is not on my n900 anymore. I think it was removed because apt-get told me a 'long' time ago that it was not needed anymore... so it was removed. Therefor I want to reinstall it but thn get the mentioned error message concerning the hildon-initscripts version mismatch (probably caused by some other strange update I may have done in the past...)

So I want to know the contents of the mp-fremantle-generic-pr (e.g. dpkg -L mp-fremantle-generic-pr) or like download the package manually somewhere.

Rob1n 2010-04-13 18:03

Re: overclock kernels and version info loss
 
Quote:

Originally Posted by mirakels (Post 608961)
Rob1n, that is just what I want to do. But the mp-fremantle-generic-pr package is not on my n900 anymore. I think it was removed because apt-get told me a 'long' time ago that it was not needed anymore... so it was removed. Therefor I want to reinstall it but thn get the mentioned error message concerning the hildon-initscripts version mismatch (probably caused by some other strange update I may have done in the past...)

So I want to know the contents of the mp-fremantle-generic-pr (e.g. dpkg -L mp-fremantle-generic-pr) or like download the package manually somewhere.

The mp-fremantle-generic-pr package that apt-get is offering is the correct one. The version of hildon-initscripts you have installed is not, which is why you get the conflict. Presumably you've installed a replacement for one or another of the core packages, which has forced the removal of mp-fremantle-generic-pr. You could try forcing the installation of the correct hildon-initscripts package:

Code:

apt-get install hildon-initscripts=1.26-1+0m5

mirakels 2010-04-13 18:34

Re: overclock kernels and version info loss
 
YES! this allowed me to reinstall mp-fremantle again/
It actually just runs an osso-product-info command to set version info.

Before rebooting it seems nothing has happened, but after the reboot all is fine again!

Many Thanks to Rob1n

cpitchford 2010-04-13 18:40

Re: overclock kernels and version info loss
 
These instructions seem to ignore regional versions..

dpkg -l |grep "^ii *mp-fremantle[^ ]*-pr" |awk '{print $2}'

Should tell you which package you need to reinstall

mirakels 2010-04-13 19:42

Re: overclock kernels and version info loss
 
this does not help much when mp-fremantle-* is not installed.

You might figure which one you need by

grep "Package: mp-fremantle" /var/lib/apt/lists/*

gordonshowers 2010-04-13 19:54

Re: overclock kernels and version info loss
 
Quote:

Originally Posted by cpitchford (Post 609106)
These instructions seem to ignore regional versions..

dpkg -l |grep "^ii *mp-fremantle[^ ]*-pr" |awk '{print $2}'

Should tell you which package you need to reinstall

Thanks cpitchford, this fixed it for me.

cpitchford 2010-04-13 21:26

Re: overclock kernels and version info loss
 
Quote:

Originally Posted by mirakels (Post 609205)
this does not help much when mp-fremantle-* is not installed.

You might figure which one you need by

grep "Package: mp-fremantle" /var/lib/apt/lists/*

I hope you DO have an mp-fremantle package installed.. isn't it the Maemo 5 meta package??

I've noticed the name of the package changes between Maemo variations.. On the UK 203 variation it is:
mp-fremantle-203-pr

whereas on the global version it seems to be:
mp-fremantle-generic-pr

but either way, there should be a mp-fremantle-something-pr package, I believe

Gordonshowers: Glad to help out!


All times are GMT. The time now is 07:47.

vBulletin® Version 3.8.8