maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   [Solved] How to downgrade stock twitter version? (https://talk.maemo.org/showthread.php?t=89281)

TMavica 2013-02-24 14:49

[Solved] How to downgrade stock twitter version?
 
Today I updated the n9 twitter to n950 new version twitter, but problems come out with upgrade the application, how to I downgrade the twitter??

Thanks

https://dl.dropbox.com/u/37229054/Sc...3_22-41-03.png

coderus 2013-02-24 14:59

Re: How to downgrade stock twitter version?
 
you shouldn't do that. just hack /var/lib/dpkg/status harmattan package and remove twitter from depends.

TMavica 2013-02-24 15:01

Re: How to downgrade stock twitter version?
 
friends, can you teach me detaily...

TMavica 2013-02-24 15:23

Re: How to downgrade stock twitter version?
 
solved, thanks!!!!!!!!!!!!!!!!!

chenliangchen 2013-02-24 16:44

Re: [Solved] How to downgrade stock twitter version?
 
@tmavica what exactly happened after you upgrded N950 twitter on your N9??

TMavica 2013-02-24 16:47

Re: [Solved] How to downgrade stock twitter version?
 
as the above pic show, and I cant install any application, it always said incompatible with installed application. If I do apt-get -f install as it said in pic, will get this below.
https://dl.dropbox.com/u/37229054/Sc...3_22-59-56.png

TMavica 2013-02-24 16:50

Re: [Solved] How to downgrade stock twitter version?
 
mp-harmattan-001-pr is depends on = twitter 1.3.50, but I installed 1.3.51 from N950 package, so I get this problem.

To solve, just edit the /var/lib/dpkg/status, find the mp-harmattan-001-pr, in the line depend change twitter 1.3.50 to 1.3.51, then all problem gone

nbedford 2013-02-24 18:55

Re: [Solved] How to downgrade stock twitter version?
 
Think I'll wait for official updated twitter package for N9

zlatko 2013-02-24 18:57

Re: [Solved] How to downgrade stock twitter version?
 
OFF: What are the changes/improvements in this new version?

onethreealpha 2013-02-24 20:24

Re: [Solved] How to downgrade stock twitter version?
 
Quote:

Originally Posted by zlatko (Post 1324859)
OFF: What are the changes/improvements in this new version?

Twitter is forcing obsolescence on V1.0 of its API in a few weeks
I would suggest that this "update", is to make use of 1.1 API. would be surprised to see any real changes beyond that

MoritzJT 2013-02-28 18:26

Botched up Packages | Apt-get | No changes to packages allowed!
 
So the last tinkering I did on my N9 was using inception to install the N950 Twitter update debs (those that wouldn't install on simple touch) - all went fine at first sight.

I continued using my N9 from day to day, though I realized that after that forced twitter update, all my passwords were reset and I had to reauth most of my accounts. Messages and contacts intact though.

Now today I tried updating Tweetian to 1.8.1 and it told me 'installation not possible - program incompatible with other installed program / software'

I tried uninstallint Tweetian manually, it told me 'uninstallation impossible - Tweetian cannot be removed'

So I tried other apps. All are locked.

I opened a terminal, went root and did apt-get update, then install -f to check if some dependencies were not configured properly or locked something up.

This is what I got:


Quote:

~ # apt-get install -f
Reading package lists ... ready
Building dependency tree
Reading status information ... ready
Dependencies corrected ... ready
The following packages were automatically installed and are no longer required:
search busybox-symlinks-dnsutils
libtelepathy-omb-glib0
aegis-enabler-enforce
libmeegoimenginewords0 ipa-fonts
mstartup-l10n-engineering-english
aegis-builder busybox-symlinks-iputils-ping
wl1271-firmware gstreamer0.10-nokia-wm
.................................................. .........................................

maaaany more

.................................................. .........................................


libmusicsuitesettings libclockwidgets
icd2-settings-001 libsofia-sip-ua0
libxkbfile1 libspeexdsp1 libltdl7
xserver-policy-enforcement
account-plugin-gmail-common
qmafw-renderer-policy-plugin
duicontrolpanel-countersapplet
youtube-plugin-meta socialprovider-bin
meego-handwriting-zh
xserver-security-policy l10n-app-google
l10n-app-common npe-maemo0
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
mp-harmattan-001-pr
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
After this operation, 0B of additional disk space will be used.
Would you like to [Y / n] continue?

I am now asking myself: is my N9 potentially suicidal?

Does anyone around here think that there is hope for a fix w/o a reflash?

Did I p*ss of AEGIS too much?

I am kind of clueless at this stage.

Any input is highly welcome and thanks in advance!

[edit]

It seems mp-harmattan-001-pr depends on the former twitter version. No idea though what mp-harmattan-001-pr is. But it tells me on apt-get check that it needs a lower one than installed.

Quote:

# Apt-get check
Reading package lists ... ready
Building dependency tree
Reading status information ... ready
Try 'apt-get-f install' to correct this.
The following packages have unmet dependencies-:
* mp-harmattan-001-pr: Depends: twitter (= 1.3.50 +0 m8) but 1.3.51 +0 m8 is installed
E: Unmet dependencies. Try to use* -f.
~ #
Cheers

bibek 2013-02-28 18:50

Maybe you should try to incept-install back the default twitter client?

MoritzJT 2013-02-28 18:52

Re: Botched up Packages | Apt-get | No changes to packages allowed!
 
Assuming I wanted the old one back, which I don't... How would I do that?

Can't I just tell mp-harmattan-001-pr to shut up and stop complaining? Can I force it to ignore the version twitter has? I'd like to install other stuff and not have to deal with what someone thought to be appropriate for mp-harmattan-001-pr

That meta package mp-harmattan-001-pr seems to be PR1.3 if I'm not mistaken and it demands twitter to be the version that came with it. I now know why it complains. Any way to stop that? Any way to tell it to accept the new one and ignore that error, so I can use my N9 normally again?

Thanks for your input though!

reinob 2013-02-28 21:38

Re: Botched up Packages | Apt-get | No changes to packages allowed!
 
Quote:

Originally Posted by MoritzJT (Post 1326027)
Assuming I wanted the old one back, which I don't... How would I do that?

You'd need to dpkg -P the newer twitter (if it's already installed) and apt-get install mp-harmattan-001-pr.

The problem is that mp-harmattan-001-pr is a meta-package depending on whatever Nokia wanted to have as default, including version numbers.

You could always (at least on the N900) remove mp-harmattan-001-pr and then just apt-get install every single package that has been marked for autoremoval (i.e. to mark it as automatically installed).

MoritzJT 2013-02-28 21:41

Re: Botched up Packages | Apt-get | No changes to packages allowed!
 
What a hassle, so no direct way to elevate my decission above the one that the metapackage dictates? Why can't there be a system where you can be truly in charge? :D

Thank you, I'll purge twitter now. If that is at all working.

Now this is screwed, it won't let me remove the new twitter as it wants to remove mp-harmattan-001-pr first.

Anyway to say, remove twitter first before caring about unmet dependencies?

bibek 2013-03-01 02:51

I'm not an expert on the matter, but I suppose if there's a way to configure dependencies in packages for Linux, you need to follow that, if it exists.

Or is it possible to change the new twitter tarball version before install?

thedead1440 2013-03-01 03:15

Re: Botched up Packages | Apt-get | No changes to packages allowed!
 
MoritzJT,

Thread merged here to keep discussions at one place ;)

Instead of changing the dependency to twitter (= 1.3.5.1+0m8), add a > sign so that you can safely downgrade to stock twitter in the future easily i.e. twitter (>= 1.3.5.0+0m8)

MoritzJT 2013-03-01 03:35

Re: [Solved] How to downgrade stock twitter version?
 
So for the solution...

I did not completely follow the right way to get to a proper result.

The way I did it was simply installing a few of the twitter tarbals debs via touching them and the rest via inception.

While this might even have been okay, it's necessary to unlock the system packages before. We're going to fix this.

First you need to get root.


Run apt-get -f install

It will ask you to remove mp-harmattan-001-pr

Do so. It only removes the metapackage, not the actual dependencies it has.

Only then you can fully purge twitter.

apt-get purge twitter

Once finished do

apt-get install mp-harmattan-001-pr

It will install the old twitter again.

Now you'll need N9 QuickTweak. Pick the latest version from the appropriate thread and use tweak QQ

You'll have to follow the fitting route for your device and it'll be dead obvious what to do.

Select the correct entry (in this case 001) and then option 1 to unlock system packages.

Once done, close N9 QuickTweak and untar the tarbal containing the new twitter debs into a folder, that'll only contain the tarbals contents.

Open a terminal, gain root, cd into the tarbals extracted folder, and use inception on all packages

/usr/sbin/incept *

If I'm not mistaken.

It will install the new Twitter again but this time, the metapackage won't moan ;-)

Thanks for mergin the threads @thedead1440

Cheers and good luck!

zaidk9 2013-03-02 15:13

Can u tell how to install what i shared i have inception and open mode

jalyst 2013-03-02 16:01

Re: More updates coming for N9?
 
"i have inception and open mode..."

Generally you use one or the other...

hood 2013-03-02 16:57

Re: More updates coming for N9?
 
Quote:

Originally Posted by zaidk9 (Post 1326400)
Can u tell how to install what i shared i have inception and open mode

Open mode with
Code:

dpkg -i *.deb
Inception with
Code:

/usr/sbin/incept *.deb
And yes you need just only one of them so you can freely uninstall inception and enjoy open mode.

willi6868 2013-03-03 14:58

Re: More updates coming for N9?
 
Quote:

Originally Posted by zaidk9 (Post 1325364)
Open this tar and install with dpkg-i (as root)
http://www.box.net/s/oxcwvudfmaivizm9rxca
;)

Well I installed this files, too and I have the issue that my feeds (facebook) are not updating anymore (see this: http://talk.maemo.org/showthread.php?t=82253 ).
The mentioned solution ( http://talk.maemo.org/showpost.php?p...3&postcount=64 ) is not working for me :confused:

How can I get the stock (N9-) files or where they are located (using wget)? :o

Dave999 2013-03-03 15:12

Re: More updates coming for N9?
 
When can I download this update?

hood 2013-03-03 15:19

Re: More updates coming for N9?
 
Quote:

Originally Posted by willi6868 (Post 1326589)
How can I get the stock (N9-) files or where they are located (using wget)? :o

I think you should try
Code:

apt-get install --reinstall pakage_name

willi6868 2013-03-03 15:34

Re: More updates coming for N9?
 
Quote:

Originally Posted by hood (Post 1326593)
I think you should try
Code:

apt-get install --reinstall pakage_name

Thanks but this is only reinstalling the already installed packages (i installed the packages for N950).
I want the packages for N9 :rolleyes:

EDIT:
thanks for merging the threads :)

TMavica 2013-03-03 16:00

Re: [Solved] How to downgrade stock twitter version?
 
this is the solve solution when you install latest stock twitter

http://talk.maemo.org/showpost.php?p...33&postcount=7

willi6868 2013-03-03 19:14

Re: Botched up Packages | Apt-get | No changes to packages allowed!
 
Quote:

Originally Posted by thedead1440 (Post 1326097)
Instead of changing the dependency to twitter (= 1.3.5.1+0m8), add a > sign so that you can safely downgrade to stock twitter in the future easily i.e. twitter (>= 1.3.5.0+0m8)

Ok I changed the status-file like shown above and this is not working for me. :(

Well I am not using twitter at all and my eventsscreen shows only facebook feeds.. so how can I get my feeds working again?:eek:

Edit:
All the e-mail-adresses are also gone in all my cotacts.. Do you think this is an tracker issue?

Edit 2:
BTW a backup (without restoring apps) didn't fix this issue

willi6868 2013-03-04 16:33

Re: [Solved] How to downgrade stock twitter version?
 
Sorry for double post but can someone please share
facebookqml_1.3.2+0m8_armel.deb OR give me some advise how to solve my issue?:rolleyes:

thedead1440 2013-03-04 17:00

Re: [Solved] How to downgrade stock twitter version?
 
willi6868,

Could you give a terminal output of "apt-get install --reinstall twitter"

willi6868 2013-03-04 17:57

Re: [Solved] How to downgrade stock twitter version?
 
Quote:

Originally Posted by thedead1440 (Post 1326820)
willi6868,

Could you give a terminal output of "apt-get install --reinstall twitter"

Sure :)

Code:

~ # apt-get install --reinstall twitter
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Status-Informationen einlesen... Fertig
Die folgenden Pakete werden aktualisiert:
  twitter
1 aktualisiert, 0 neu installiert, 1 erneut installiert, 0 zu entfernen und 5 nicht aktualisiert.
Es müssen 2,886B an Archiven heruntergeladen werden.
Nach dieser Operation werden 0B Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren [J/n]? y
Hole:1 https://downloads.maemo.nokia.com ./ twitter 1.3.50+0m8 [2,886B]
Es wurden 2,886B in 1s geholt (2,219B/s)
(Lese Datenbank ... 58196 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Ersetzen von twitter 1.3.50+0m8 (durch .../twitter_1.3.50+0m8_armel.deb) ...
Ersatz für twitter wird entpackt ...
aegis-installing twitter (from 'com.nokia.maemo')
twitter (1.3.50+0m8) wird eingerichtet ...
Updating desktop entries... Done
~ #

(text is in german)

EDIT:


Well I notices it already earlier and this is strange because if i look for twitter in the settings panel it says me that I have 1.3.67+0m8 installed...

thedead1440 2013-03-04 18:18

Re: [Solved] How to downgrade stock twitter version?
 
So twitter issues seem to be solved?

willi6868 2013-03-04 18:22

Re: [Solved] How to downgrade stock twitter version?
 
Quote:

Originally Posted by thedead1440 (Post 1326843)
So twitter issues seem to be solved?

No it's not solved... I reinstalled it already many times ...

I mentioned that I am not using twitter and have only Facebook feeds on my events screen. And this facebook feeds are not updating anymore (after I updated to facebook and twitter version of N950).

thedead1440 2013-03-04 18:38

Re: [Solved] How to downgrade stock twitter version?
 
Try to remove the feeds .config file and then try again.

In terminal type:

rm -rf /home/user/.config/feedreader/eventssubscriptions.conf

Then reboot and try...

willi6868 2013-03-04 19:07

Re: [Solved] How to downgrade stock twitter version?
 
Quote:

Originally Posted by thedead1440 (Post 1326857)
Try to remove the feeds .config file and then try again.

rm -rf /home/user/.config/feedreader/eventssubscriptions.conf

I already deleted the config file (it was without any content -> 0Bytes).
Just tried it with terminal again and it is still not working :eek:

t0lkien 2013-03-10 17:39

Re: [Solved] How to downgrade stock twitter version?
 
Where/how does one get the default Twitter package? I want to re-install mine (it's stopped working).

thedead1440 2013-03-10 18:04

Re: [Solved] How to downgrade stock twitter version?
 
Quote:

Originally Posted by t0lkien (Post 1328182)
Where/how does one get the default Twitter package? I want to re-install mine (it's stopped working).

apt-get install twitter --reinstall

darkphantom93 2013-03-25 15:14

Re: [Solved] How to downgrade stock twitter version?
 
Quote:

Originally Posted by TMavica (Post 1324833)
mp-harmattan-001-pr is depends on = twitter 1.3.50, but I installed 1.3.51 from N950 package, so I get this problem.

To solve, just edit the /var/lib/dpkg/status, find the mp-harmattan-001-pr, in the line depend change twitter 1.3.50 to 1.3.51, then all problem gone

i am noob can u teach me step by step??

TMavica 2013-03-25 15:39

Re: [Solved] How to downgrade stock twitter version?
 
seem you no need do that
N9 got the update of twitter

venomcortx1 2013-03-25 21:53

Re: [Solved] How to downgrade stock twitter version?
 
darkphantom93
__________________

go to the terminal =>
devel-su =>
pass =>
nano /var/lib/dpkg/status =>
find the mp-harmattan-001-pr, in the line depend change twitter 1.3.50 to 1.3.51, then all problem gone (but maybe not 1.3.51 version. find version of twitter in installed apps (in app manager))
then save file and try commands


All times are GMT. The time now is 10:27.

vBulletin® Version 3.8.8