maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   [SOLVED][HELP] How to trick Maemo into thinking a package is already installed? (https://talk.maemo.org/showthread.php?t=64870)

ThePooBurner 2010-11-01 16:27

[SOLVED][HELP] How to trick Maemo into thinking a package is already installed?
 
I had a failed PR1.3 OTA update. My phone still works, but it thinks that none of the official packages are installed. When i try to do an "apt-get -f" it tells me that it needs to reinstall the package "cherry" but that it can't find a download for it and fails.

Is there a way to fool the OS into thinking that Cherry is already installed (since it wasn't actually uninstalled in the first place) so that the the "apt-get -f" will continue?

-------------------------------
Edit: For those of you just joining us:
Problem: OTA Install of PR1.3 failed when FAM crashed.
Problem 2: Couldn't run 'apt-get install -f' in Xterm.

Solution: I had the official repos disabled in HAM which is what apt-get uses, not the settings in FAM, which i didn't realize. This was causing the 'apt-get install -f' to fail. After re-enabling the repos in HAM 'install -f' proceeded as it should have and finished the install. The phone is now officially on PR1.3 and is working perfectly.

antezz 2010-11-01 16:41

Re: [HELP] How to trick Maemo into thinking a package is already installed?
 
Cherry = http://wiki.maemo.org/PR1.2_compulso...a_subscription

There's a command how to stop it from running and how to wget it.

ossipena 2010-11-01 17:10

Re: [HELP] How to trick Maemo into thinking a package is already installed?
 
you'd need to know which package has cherry as dependancy, that probably will get you at least further...

hawaii 2010-11-01 17:45

Re: [HELP] How to trick Maemo into thinking a package is already installed?
 
mp-fremantle-generic-pr is the meta-package?

ThePooBurner 2010-11-01 17:52

Re: [HELP] How to trick Maemo into thinking a package is already installed?
 
Quote:

Originally Posted by antezz (Post 859860)
Cherry = http://wiki.maemo.org/PR1.2_compulso...a_subscription

There's a command how to stop it from running and how to wget it.

Code:

~ $ wget --no-check-certificate https://qa9recEP:Pat2UGuP@downloads.maemo.nokia.com/fremantle/ssu/mr0/cherry_0.20-2+0m5_armel.deb
--10:33:46--  https://qa9recEP:*password*@downloads.maemo.nokia.com/fremantle/ssu/mr0/cherry_0.20-2+0m5_armel.deb
          => `cherry_0.20-2+0m5_armel.deb'
Resolving downloads.maemo.nokia.com... 64.210.72.18, 64.210.72.19
Connecting to downloads.maemo.nokia.com|64.210.72.18|:443... connected.
WARNING: Certificate verification error for downloads.maemo.nokia.com: unable to get local issuer certificate
WARNING: certificate common name `a248.e.akamai.net' doesn't match requested host name `downloads.maemo.nokia.com'.
HTTP request sent, awaiting response... 404 Not Found
10:33:51 ERROR 404: Not Found.

the link in the article doesn't work.

ThePooBurner 2010-11-01 18:01

Re: [HELP] How to trick Maemo into thinking a package is already installed?
 
Quote:

Originally Posted by hawaii (Post 859940)
mp-fremantle-generic-pr is the meta-package?

mp-fremantle-002-pr is the package i am retrying to install and getting the error on.

hawaii 2010-11-01 19:04

Re: [HELP] How to trick Maemo into thinking a package is already installed?
 
Edit the control file and remove the cherry dependency from it.

Or, if the above makes no sense to you - reflash your device and carry on.

ThePooBurner 2010-11-01 19:25

Re: [HELP] How to trick Maemo into thinking a package is already installed?
 
How do i download just the control file so i can remove the dependency? I've tried doing an 'apt-get --download-only' but the attempt fails.

ThePooBurner 2010-11-01 19:26

Re: [HELP] How to trick Maemo into thinking a package is already installed?
 
Feel free to be as technical as you want. I am new to linux, but am a seasoned with windows and basic programming.

lunat 2010-11-01 23:12

Re: [HELP] How to trick Maemo into thinking a package is already installed?
 
i might be wrong(guessing blindly without seeing anything of what is happening on your phone) but it sounds like broken dependencies. it sounds like you added lines to the sources.list.

yea you can trick it but that worsens the situation. rather straighten the sources list and the pinning and deinstall the things that disturbing(is a little tricky).

Edit: is the same as what ossipenia states.


All times are GMT. The time now is 12:03.

vBulletin® Version 3.8.8