maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N9 / N950 (https://talk.maemo.org/forumdisplay.php?f=51)
-   -   mp-harmattan-009-pr removed! (https://talk.maemo.org/showthread.php?t=91672)

malmostoso 2013-10-26 09:52

mp-harmattan-009-pr removed!
 
Hello t.m.o,

I was fiddling with my N9 and I removed mp-harmattan-009-pr. I know I know, I should have known better.

Now I have tried to reinstall it, but it seems to depend on a twitter version that is not available in the repo anymore.
Can anyone give me a link to the deb package with "1.3.50+0m8" version of twitter?

I have tried to take the 1.3.95+0m8 version, change the DEBIAN/control file to the 1.3.50 version and then repackage it, but upon installation I get "Aegis rejecting the package".

Is there anyway I can force the installation? dpkg -i --force-all does not work either.

Thank you for your help!

coderus 2013-10-26 10:00

Re: mp-harmattan-009-pr removed!
 
edit dpkg status file to have twitter version match mp-harmattan depends. edit back if successful :)

nieldk 2013-10-26 10:10

Re: mp-harmattan-009-pr removed!
 
http://talk.maemo.org/showpost.php?p...33&postcount=7

malmostoso 2013-10-26 10:32

Re: mp-harmattan-009-pr removed!
 
Ah you see, I saw that but since I removed that package it was not in dpkg status!
Anyway, I found this (of which I wished more mirrors existed):

http://maemo-archive.wedrop.it/downl...harmattan/009/

and I downloaded four packages:
Code:

twitter-meego_1.3.50+0m8_armel.deb
libmeegotwitter1_1.3.50+0m8_armel.deb 
twitter-qml_1.3.50+0m8_armel.deb
twitter_1.3.50+0m8_armel.deb

Then I removed them from my system
Code:

# dpkg -r twitter-meego libmeegotwitter1 twitter-qml twitter
and of course reinstalled them
Code:

# dpkg -i twitter-meego_1.3.50+0m8_armel.deb
libmeegotwitter1_1.3.50+0m8_armel.deb 
twitter-qml_1.3.50+0m8_armel.deb
twitter_1.3.50+0m8_armel.deb

For some reason "twitter" failed to install the first time around so I had to install it again. After that, I simply reinstalled mp-harmattan-009-pr
Code:

# apt-get install mp-harmattan-009-pr
and everything is back to normal, and the whole system is not on the autoremovable list.

Thanks for your replies!

ginggs 2014-03-01 07:50

Re: mp-harmattan-009-pr removed!
 
Quote:

Originally Posted by malmostoso (Post 1382500)
I was fiddling with my N9 and I removed mp-harmattan-009-pr. I know I know, I should have known better.

I have just done the same. :o

I recently flashed my device with PR1.3 to repair it after it got into a boot loop. Previously I had flashed PR1.2 and done the PR1.3 upgrade OTA.

I ran an 'apt-get dist-upgrade' and twitter-qml 1.3.95+0m8 was installed and (I think) mp-harmattan-009-pr was removed. Everything seemed fine until I installed something from the store. The installation took really long, probably because most of my system was being uninstalled!

Now, when I open a terminal I get:
Code:

BusyBox v1.20.0.git (MeeGo 3:1.20-0.2+0m8) built-in shell (ash)
Enter 'help' for a list of built-in commands.

-sh: /usr/bin/aegis-session: not found
-sh: /usr/bin/aegis-session: not found

I can't reinstall mp-harmattan-009-pr as the only source I have in /etc/apt/sources.list.d/ is osa.list:
Code:

deb-exec /usr/bin/osa
Is it worth trying to fix, or should I just flash PR1.3 again?

minimos 2014-03-03 06:26

Re: mp-harmattan-009-pr removed!
 
If the mp-harmattan package got uninstalled, you probably lost half of the packages as well, so I think you definitely spend less time by reflashing PR1.3.
Next time, do not blindly use the 'apt-get dist-upgrade'. At very least, check what the command is proposing to do, and if any package is marked to be removed, abort the operation and update in smaller steps.

ginggs 2014-03-03 12:18

Re: mp-harmattan-009-pr removed!
 
Quote:

Originally Posted by minimos (Post 1415186)
If the mp-harmattan package got uninstalled, you probably lost half of the packages as well, so I think you definitely spend less time by reflashing PR1.3.

Thanks for the answer. This is indeed what I ended up doing.
Quote:

Originally Posted by minimos (Post 1415186)
Next time, do not blindly use the 'apt-get dist-upgrade'. At very least, check what the command is proposing to do, and if any package is marked to be removed, abort the operation and update in smaller steps.

Yes, and the sad thing is I knew of this problem with twitter and have changed twitter (= 1.3.50+0m8) to twitter (>= 1.3.50+0m8) in /var/lib/dpkg/status in my previous installation.

I guess I was curious to see what would happen, or if Nokia had fixed the problem, and thought I would have seen some warning before everything got uninstalled. :mad:

peterleinchen 2014-03-03 12:46

Re: mp-harmattan-009-pr removed!
 
Quote:

Originally Posted by ginggs (Post 1415213)
... if Nokia had fixed the problem ...

Har har :D

ViBE 2015-03-06 06:57

Re: mp-harmattan-009-pr removed!
 
i wanted to run apt-get dist-upgrade and it say the "mp-harmattan-009-pr" will be removed. It's a system packages asap so how the hell can I update the phone and other apps without removing system packages like this?

pichlo 2015-03-06 07:33

Re: mp-harmattan-009-pr removed!
 
As a rule of thumb, you don't need the MP. It stands for "meta package" and has no content, its only purpose is to pull in other packages as its dependencies. If you do not want all the other packages, having an MP is actually more of a nuisance than help.

Having said that, apt-vet dist-upgrade is generally not a good idea. At least on Fremantle, but I would be very surprised if it were any different on Harmattan.

minimos 2015-03-06 10:12

Re: mp-harmattan-009-pr removed!
 
The problem with removing the meta-package is that many packages are bound by that one, and without it become 'orphans'.
This means that next time you install some package the auto-removal function that in apt-get is executed after the installation is completed will wipe them out.

pichlo 2015-03-06 11:04

Re: mp-harmattan-009-pr removed!
 
Quote:

Originally Posted by minimos (Post 1463223)
The problem with removing the meta-package is that many packages are bound by that one, and without it become 'orphans'.
This means that next time you install some package the auto-removal function that in apt-get is executed after the installation is completed will wipe them out.

That hasn't happened to me on Fremantle. I haven't tried it on Harmattan though. In the worst case, you can manually install those packages again.

ViBE 2015-03-06 16:25

Re: mp-harmattan-009-pr removed!
 
Quote:

Originally Posted by pichlo (Post 1463230)
That hasn't happened to me on Fremantle. I haven't tried it on Harmattan though. In the worst case, you can manually install those packages again.

I want to be careful. if possible I don't want to remove any system related packages anymore. I have bad memories about this.

coderus 2015-03-06 16:33

Re: mp-harmattan-009-pr removed!
 
you should never call dist-upgrade on harmattan. use apt-get upgrade instead.

ViBE 2015-03-06 16:44

Re: mp-harmattan-009-pr removed!
 
Quote:

Originally Posted by coderus (Post 1463266)
you should never call dist-upgrade on harmattan. use apt-get upgrade instead.

could you explain why not you recommend please?

thedead1440 2015-03-06 16:54

Re: mp-harmattan-009-pr removed!
 
Quote:

Originally Posted by ViBE (Post 1463267)
could you explain why not you recommend please?

apt-get on Harmattan is not the same as apt-get on Debian; it's a patched version to suit the eccentricities of Harmattan.

For e.g. the priority of packages from Nokia Store, the dependency of all packages on the meta package etc. Unless you remove these dependencies, the removal of meta package will leave you with an empty system as all other packages are uninstalled too.

Search around and you will see the different examples.

ViBE 2015-03-09 10:28

Re: mp-harmattan-009-pr removed!
 
okay i think i got it. but apt-get upgrade does not update. everytime i run i get the same output:

Code:

~ # apt-get upgrade
Csomaglisták olvasása... Kész
Függőségi fa építése     
Állapot adatok olvasása... Kész
Az alábbi csomagok vissza lesznek tartva: (restricted packages)
  gnupg libgpg-error0 libogg0 libxml2 lzop twitter usbutils
Az alábbi csomagok frissítve lesznek: (will be updated)
  libsdl-ttf2.0-0 mobilebrowser
2 frissített, 0 újonnan telepített, 0 eltávolítandó és 7 nem frissített. (2 will be updated, 0 new, 0 removable, 7 not updated)
Letöltendő az archívumokból: 120kB/137kB
E művelet után további 0B lemez-területetet használok fel.
Folytatni akarod [Y/n]? Y
Letöltés:1 http://harmattan.openrepos.net personal/main mobilebrowser 0:1.0-0~rzr1 [120kB]
Letöltve 120kB 0s alatt (145kB/s)
Aegis rejecting /var/cache/apt/archives/libsdl-ttf2.0-0_2.0.9-1+maemo3+0m6_armel.deb: package 'libsdl-ttf2.0-0' already installed from 'com.nokia.maemo/net.openrepos.harmattan' -- not replacing it from less trusted source 'com.nokia.maemo'
(Adatbázis olvasása ... 62744 files and directories currently installed.)
mobilebrowser 1.0-0~rzr1 cseréjének előkészítése (e csomaggal: .../mobilebrowser_0%3a1.0-0~rzr1_armel.deb) ...
Csere kicsomagolása: mobilebrowser ...
aegis-installing mobilebrowser (from 'com.nokia.maemo/net.openrepos.harmattan')
dpkg: warning: A(z) libsdl-ttf2.0-0 csomag már települt és be van állítva
Beállítás: mobilebrowser (1.0-0~rzr1) ...
Updating desktop entries... Done


coderus 2015-03-09 10:49

Re: mp-harmattan-009-pr removed!
 
execute with LANG=C please

ViBE 2015-03-09 10:54

Quote:

Originally Posted by coderus (Post 1463508)
execute with LANG=C please

how can i? i never did it before.

coderus 2015-03-09 11:04

Re: mp-harmattan-009-pr removed!
 
LANG=C apt-get upgrade

ViBE 2015-03-09 11:12

Re: mp-harmattan-009-pr removed!
 
Quote:

Originally Posted by coderus (Post 1463511)
LANG=C apt-get upgrade

Code:

~ # LANG=C apt-get upgrade
Reading package lists... Done
Building dependency tree     
Reading state information... Done
The following packages have been kept back:
  gnupg libgpg-error0 libogg0 libxml2 lzop twitter usbutils
The following packages will be upgraded:
  libsdl-ttf2.0-0 mobilebrowser
2 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
Need to get 120kB/137kB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://harmattan.openrepos.net personal/main mobilebrowser 0:1.0-0~rzr1 [120kB]
Fetched 120kB in 0s (143kB/s) 
Aegis rejecting /var/cache/apt/archives/libsdl-ttf2.0-0_2.0.9-1+maemo3+0m6_armel.deb: package 'libsdl-ttf2.0-0' already installed from 'com.nokia.maemo/net.openrepos.harmattan' -- not replacing it from less trusted source 'com.nokia.maemo'
(Reading database ... 62744 files and directories currently installed.)
Preparing to replace mobilebrowser 1.0-0~rzr1 (using .../mobilebrowser_0%3a1.0-0~rzr1_armel.deb) ...
Unpacking replacement mobilebrowser ...
aegis-installing mobilebrowser (from 'com.nokia.maemo/net.openrepos.harmattan')
dpkg: warning: package libsdl-ttf2.0-0 is already installed and configured
Setting up mobilebrowser (1.0-0~rzr1) ...
Updating desktop entries... Done



All times are GMT. The time now is 22:20.

vBulletin® Version 3.8.8