Reply
Thread Tools
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#861
Originally Posted by solbrit View Post
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
__________________
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council inaugural member.
MCe.V. foundation member

EX Hildon Foundation approved
Maemo Administration Coordinator (stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/

IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of H-E-N

Last edited by joerg_rw; 2012-10-07 at 14:26.
 
pichlo's Avatar
Posts: 6,447 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#862
Originally Posted by dr_frost_dk View Post
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.
 

The Following 3 Users Say Thank You to pichlo For This Useful Post:
solbrit's Avatar
Posts: 126 | Thanked: 59 times | Joined on Jan 2011
#863
@ 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?
 

The Following User Says Thank You to solbrit For This Useful Post:
Posts: 204 | Thanked: 423 times | Joined on Jan 2011
#864
Originally Posted by pichlo View Post
By default this is in rootfs.
It is not.
Code:
~ $ readlink -f /var/cache/apt/
/opt/var/cache/apt
Your advice is useless.
 

The Following 2 Users Say Thank You to hxka For This Useful Post:
Posts: 804 | Thanked: 1,598 times | Joined on Feb 2010 @ Gdynia, Poland
#865
Originally Posted by hxka View Post
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
 
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#866
Originally Posted by solbrit View Post
@ 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
__________________
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council inaugural member.
MCe.V. foundation member

EX Hildon Foundation approved
Maemo Administration Coordinator (stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/

IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of H-E-N
 

The Following 2 Users Say Thank You to joerg_rw For This Useful Post:
pichlo's Avatar
Posts: 6,447 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#867
Originally Posted by hxka View Post
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
 

The Following 2 Users Say Thank You to pichlo For This Useful Post:
Posts: 204 | Thanked: 423 times | Joined on Jan 2011
#868
Originally Posted by pichlo View Post
It looks like apt-get upgrade would have done without the redirection.
That's correct.
 

The Following 2 Users Say Thank You to hxka For This Useful Post:
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#869
Originally Posted by misiak View Post
... By the way, 48mb on rootfs required for update - that would be insane
And yet that's exactly the problem we seen with early maemo5 upgrades, like PR1.0 ->PR1.0.1 iirc
__________________
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council inaugural member.
MCe.V. foundation member

EX Hildon Foundation approved
Maemo Administration Coordinator (stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/

IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of H-E-N
 
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#870
Originally Posted by solbrit View Post
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
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 
Reply

Tags
code size, dinosaurs, fmg ftw!, fmg.da.king, performance, thumb, thumb life

Thread Tools

 
Forum Jump


All times are GMT. The time now is 16:35.