maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900 (https://talk.maemo.org/showthread.php?t=84829)

joerg_rw 2012-10-07 14:21

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Quote:

Originally Posted by solbrit (Post 1277574)
I know this question has already been asked but I can't find any answer: is there a way to reinstall the default camera-ui without otherwise affecting the cssu-thumb installation?

Code:

IroN900:~# apt-cache search camera-ui
camera-ui - Camera UI application
camera-ui-dbg - Debug symbols for Camera UI application
osso-camera-ui-l10n-cscz - language files for osso-camera-ui (cs_CZ)
osso-camera-ui-l10n-ruru - language files for osso-camera-ui (ru_RU)
osso-camera-ui-l10n-dede - language files for osso-camera-ui (de_DE)
osso-camera-ui-l10n-ptpt - language files for osso-camera-ui (pt_PT)
osso-camera-ui-l10n-dadk - language files for osso-camera-ui (da_DK)
osso-camera-ui-l10n-eses - language files for osso-camera-ui (es_ES)
osso-camera-ui-l10n-nono - language files for osso-camera-ui (no_NO)
osso-camera-ui-l10n-frca - language files for osso-camera-ui (fr_CA)
osso-camera-ui-l10n-nlnl - language files for osso-camera-ui (nl_NL)
osso-camera-ui-l10n-fifi - language files for osso-camera-ui (fi_FI)
osso-camera-ui-l10n-engb - language files for osso-camera-ui (en_GB)
osso-camera-ui-l10n-svse - language files for osso-camera-ui (sv_SE)
osso-camera-ui-l10n-mr0 - osso-camera-ui marketing release package
osso-camera-ui-l10n-esmx - language files for osso-camera-ui (es_MX)
osso-camera-ui-l10n-itit - language files for osso-camera-ui (it_IT)
osso-camera-ui-l10n-enus - language files for osso-camera-ui (en_US)
osso-camera-ui-l10n-plpl - language files for osso-camera-ui (pl_PL)
osso-camera-ui-l10n-frfr - language files for osso-camera-ui (fr_FR)
IroN900:~# apt-cache policy camera-ui
camera-ui:
  Installed: 1.1.29.2+0cssu13
  Candidate: 1.1.29.2+0cssu13
  Version table:
 *** 1.1.29.2+0cssu13 0
        500 http://repository.maemo.org fremantle/free Packages
        100 /var/lib/dpkg/status
    1.1.29.2+0cssu12 0
        500 http://repository.maemo.org fremantle/free Packages
    1.1.29.2+0cssu11 0
        500 http://repository.maemo.org fremantle/free Packages
    1.1.29.2+0cssu10 0
        500 http://repository.maemo.org fremantle/free Packages
    1.1.29.2+0cssu8 0
        500 http://repository.maemo.org fremantle/free Packages
    1.1.29.2+0cssu7 0
        500 http://repository.maemo.org fremantle/free Packages
    1.1.29.2+0cssu6 0
        500 http://repository.maemo.org fremantle/free Packages
    1.1.29.2+0cssu5 0
        500 http://repository.maemo.org fremantle/free Packages
    1.1.29.2+0cssu4 0
        500 http://repository.maemo.org fremantle/free Packages
    1.1.29.2+0cssu1 0
        500 http://repository.maemo.org fremantle/free Packages
    1.1.29.1+0m5 0
        500 https://downloads.maemo.nokia.com ./ Packages
IroN900:~# apt-get install camera-ui=1.1.29.1+0m5 0
############ logged install ###########
Reading package lists... Done
Building dependency tree     
Reading state information... Done
E: Couldn't find package 0
IroN900:~# apt-get install camera-ui=1.1.29.1+0m5
############ logged install ###########
Reading package lists... Done
Building dependency tree     
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libcpaboutcssu libqt4-test rtcom-accounts-voip-support status-area-orientationlock-applet modest-home-applet qtquickcompat maemo-optify-runonce
Use 'apt-get autoremove' to remove them.
The following packages will be DOWNGRADED:
  camera-ui
0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 30 not upgraded.
Need to get 0B/135kB of archives.
After this operation, 86,0kB of additional disk space will be used.
Do you want to continue [Y/n]?
WARNING: The following packages cannot be authenticated!
  camera-ui
Install these packages without verification [y/N]? y
dpkg - warning: downgrading camera-ui from 1.1.29.2+0cssu13 to 1.1.29.1+0m5.
(Reading database ... 37499 files and directories currently installed.)
Preparing to replace camera-ui 1.1.29.2+0cssu13 (using .../camera-ui_1.1.29.1+0m5_armel.deb) ...
Unpacking replacement camera-ui ...
Setting up camera-ui (1.1.29.1+0m5) ...
Installing new version of config file /etc/X11/Xsession.post/17camera-ui ...
result: 0
IroN900:~#

possibly this won't work as smooth when your system still has mp-fremantle-community-pr installed, mine got nuked during some tweaking I did lately

pichlo 2012-10-07 16:33

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Quote:

Originally Posted by dr_frost_dk (Post 1246036)
when using HAM i get:
To update your device to this version of the operation system you must use Nokia PC Suite on your PC.
Connect the device to your PC via a USB cable and launch the application.

I had the same problem. I wasn't really keen to look for a Windows machine to do that but, having read this thread and TFM on apt-get, I found a simple solution:
apt-get -o dir::cache=/home/user/MyDocs/apt-cache upgrade
It tells apt-get to use a specific folder for its cache for downloading and expanding packages. By default this is in rootfs. The upgrade needed about 48MB in my case and I simply did not have that much spare in rootfs.

I may have had an error or two (about directories not present) but those were pretty straightforward to sort out :) I am now running SCCU-Thumb at 850MHz and the device is snappier than ever.

Sorry if this has already been said; the thread is getting a bit long to keep up with every post.

solbrit 2012-10-07 17:45

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
@ joerg_rw

Thanks, I tried but in my case it removes mp-fremantle-community-pr as well, so no good... Is there a way to force it to downgrade camera-ui without removing mp-fremantle-community-pr? Or to reinstall mp-fremantle-community-pr without automatically installing camera-ui2?

hxka 2012-10-07 18:56

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Quote:

Originally Posted by pichlo (Post 1277704)
By default this is in rootfs.

It is not.
Code:

~ $ readlink -f /var/cache/apt/
/opt/var/cache/apt

Your advice is useless.

misiak 2012-10-07 19:00

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Quote:

Originally Posted by hxka (Post 1277757)
It is not.
Code:

~ $ readlink -f /var/cache/apt/
/opt/var/cache/apt

Your advice is useless.

Unless someone has less than these 48 mb of free space on /opt, which is also possible - then using cache on MyDocs may help ;) By the way, 48mb on rootfs required for update - that would be insane :eek:

joerg_rw 2012-10-07 19:54

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Quote:

Originally Posted by solbrit (Post 1277732)
@ joerg_rw

Thanks, I tried but in my case it removes mp-fremantle-community-pr as well, so no good... Is there a way to force it to downgrade camera-ui without removing mp-fremantle-community-pr? Or to reinstall mp-fremantle-community-pr without automatically installing camera-ui2?

well, you maybe could simply copy the needed binary and symlink to the system:


lrwxrwxrwx 1 root root 22 2012-10-07 16:16 /usr/bin/camera-ui -> /usr/bin/maemo-invoker

-rwxr-xr-x 1 root root 278852 2010-07-27 10:29 /usr/bin/camera-ui.launch

wget http://maemo.cloud-7.de/maemo5/usr/s...mera-ui.launch

/j

pichlo 2012-10-07 20:02

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Quote:

Originally Posted by hxka (Post 1277757)
It is not.
Code:

~ $ readlink -f /var/cache/apt/
/opt/var/cache/apt

Your advice is useless.

Hmm...
Code:

N900:~# ls -l /var/cache/apt
lrwxrwxrwx    1 root    root          18 May 25  2010 /var/cache/apt -> /opt/var/cache/apt

I stand corrected, thank you. I would not go as far as saying it was useless, though :) After all, it does solve the problem of HAL complaining. But it was hasty and incomplete. It looks like apt-get upgrade would have done without the redirection. It might be worth trying, although it's a bit late for me :)

hxka 2012-10-07 20:12

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Quote:

Originally Posted by pichlo (Post 1277778)
It looks like apt-get upgrade would have done without the redirection.

That's correct.

joerg_rw 2012-10-07 20:24

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Quote:

Originally Posted by misiak (Post 1277758)
... By the way, 48mb on rootfs required for update - that would be insane :eek:

And yet that's exactly the problem we seen with early maemo5 upgrades, like PR1.0 ->PR1.0.1 iirc

Estel 2012-10-07 21:26

Re: [ANNOUNCE] CSSU-thumb thread - stable Thumb2 on N900
 
Quote:

Originally Posted by solbrit (Post 1277732)
in my case it removes mp-fremantle-community-pr as well, so no good... Is there a way to force it to downgrade camera-ui without removing mp-fremantle-community-pr? Or to reinstall mp-fremantle-community-pr without automatically installing camera-ui2?

Binary file replacement - as suggested - is one way, but You could also grab vanilla camera-ui package, unpack it, edit control files to mimic CSSU'ish camera-ui, and pack it again - installing such version should satisfy dependencies. While it's more elegant solution than just replacing binaries, it's still dirty hack, and You will need to redo it with every update of CSSU's camera-ui (to mimic next version).

May I ask, what made you (other than possible masochism) to go through all this pain, for getting vanilla camera-ui, instead of Nicolai's one?

/Estel


All times are GMT. The time now is 21:51.

vBulletin® Version 3.8.8