View Single Post
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#7586
Originally Posted by coderus View Post
@Schturman dpkg --configure -a writing dpkg/updates to dpkg/status
OK, now understand, thank you

I have another question. From the last reflash I again removed some packages via old your tweak AA. It include twitter too before updating twitter version.
Now when I trying to restore this tweak, it reinstalled all needed packages, it also updated the "status" file (the mp-harmattan block), but when I try to reinstall mp-harmattan-* I get this message:
Code:
RM696-21-3_PR_001:~# apt-get install --reinstall mp-harmattan-001-pr
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
  mp-harmattan-001-pr: Depends: twitter (= 1.3.50+0m8) but 1.3.95+0m8 is to be installed
E: Broken packages
RM696-21-3_PR_001:~#
I checked tweak file and I see it have twitter (= 1.3.50+0m8. I updated it to twitter (= 1.3.95+0m8) and rerun this tweak again. Checked the "status" file (the mp-harmattan block) and now it show the right version for twitter, But I still can't reinstall mp-harmattan-*, I still get the same error about twitter.
Can I do something else instead reflash ?
Thanks

EDIT:
Ok, I solved this problem by:
Code:
echo "Package: twitter
Status: install ok installed
Priority: extra
Section: comm
Installed-Size: 36
Maintainer: Nick Leppanen Larsson <nick.leppanen-larsson@nokia.com>
Architecture: armel
Version: 1.3.50+0m8
Depends: twitter-qml (>= 1.3.95), libmeegotwitter1 (>= 1.3.95), twitter-meego (>= 1.3.95)
Description: MeeGo twitter application metapackage.
 MeeGo twitter application metapackage takes care of installing necessary dependencies
 for the app twitter and its functionality. Helps in un/installing twitter application." > /var/lib/dpkg/updates/0000
dpkg --configure -a
Now mp-harmattan reinstalled with some errors:
Code:
RM696-21-3_PR_001:~# apt-get install --reinstall mp-harmattan-001-pr
Reading package lists
Building dependency tree
Reading state information... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  mp-harmattan-001-pr
1 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 2 not upgraded.
Need to get 25.9kB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Get: 1 https://downloads.maemo.nokia.com ./ mp-harmattan-001-pr 40.2012.21-3 [25.9kB]
Fetched 25.9kB in 1s (17.0kB/s)
file /var/lib/dpkg/tmp.ci/digsigsums cannot be opened
No digsigsums file
(Reading database ... 54066 files and directories currently installed.)
Preparing to replace mp-harmattan-001-pr 40.2012.21-3 (using .../mp-harmattan-001-pr_40.2012.21-3_all.deb) ...
Package mp-harmattan-001-pr: File '/var/lib/dpkg/info/mp-harmattan-001-pr.postinst' not in digsigsums -- warning
Unpacking replacement mp-harmattan-001-pr ...
No digsigsums file
aegis-installing mp-harmattan-001-pr (from 'com.nokia.maemo')
Setting up mp-harmattan-001-pr (40.2012.21-3) ...
Staging file /var/lib/fiasco-flasher/staging/cert-sw ...
Updating desktop entries... Done
RM696-21-3_PR_001:~#
Also I checked the "status" file and in the mp-harmattan block it also write twitter (= 1.3.50+0m8)
That mean with new method I also will get the same problem if I will remove twitter ?

EDIT2: Now I tested with your new method.. But I get the same result when I trying to reinstall mp-harmattan
That means the prefered way to use this tweak, it is not to remove twitter ?

EDIT3:
Another tests..
Ok, it can work only in one way if I will change the twitter to 1.3.50 in the "status" file. And leave this. And you can't reinstall twitter (apt-get install --reinstall twitter) because it suggest you to run "apt-get autoremove" and it will show the wall of the system packages that want to be removed and want to remove mp-harmattan too:
Code:
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED
  mp-harmattan-001-pr
The following packages will be upgraded:
  twitter
1 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 2,980B of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.
It because mp-harmattan package is NOT updated from the last official update (PR1.3) But the some packages already updated like twitter, facebook... Probably with facebook we will get the same result... or I miss something ?

Last edited by Schturman; 2013-08-08 at 08:45.