maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   [Announce] ProfileMatic for Harmattan (https://talk.maemo.org/showthread.php?t=79642)

3sigma 2012-07-24 17:43

Re: [Announce/WIP] ProfileMatic for Harmattan
 
Code:

# pkgmgr install -p profilematic
Downloading:  0 %
Error: Failed to fetch exec:////usr/bin/osa --get 'profilematic': Size mismatch

Nokia Store is so Nokia Store...

thedead1440 2012-07-24 17:51

Re: [Announce/WIP] ProfileMatic for Harmattan
 
^^ why don't you do:
Code:

apt-get install profilematic (or whatever the name of the pkg)

3sigma 2012-07-24 17:55

Re: [Announce/WIP] ProfileMatic for Harmattan
 
No need to kill pkgmgrd. But result is the same )

Code:

# LANG="en" apt-get install profilematic
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  profilematic
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 288kB of archives.
After this operation, 1,040kB of additional disk space will be used.
Get:1  [288kB]
0% [1 profilematic 0B]QNetworkReplyImpl::_q_startOperation was called more than once
Fetched 234kB in 0s (278kB/s)
Failed to fetch exec:////usr/bin/osa --get 'profilematic'  Size mismatch
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?


thedead1440 2012-07-24 17:59

Re: [Announce/WIP] ProfileMatic for Harmattan
 
if it fetchd 234kb...the file should be in /var/cache/apt/archives/partial

just rename it to end with .deb then click on it...it'll infrom it needs to download some additional (the difference in file size) after which installation will succeed and very soon you'll get a software update notification which you can update successfully by...well that's what happened in my case...

3sigma 2012-07-24 18:04

Re: [Announce/WIP] ProfileMatic for Harmattan
 
Ahh.. every time different size: 220-230kb. Can you post .deb file?

thedead1440 2012-07-24 18:08

Re: [Announce/WIP] ProfileMatic for Harmattan
 
Ask ajalkane for that as I'm quite sure he wants all downloads to be done via Nokia Store...

3sigma 2012-07-24 18:31

Re: [Announce/WIP] ProfileMatic for Harmattan
 
Code:

# pkgmgr install -p profilematic
Downloading:  0 %
Error: Failed to fetch exec:////usr/bin/osa --get 'profilematic': Size mismatch

# ls -lh /var/cache/apt/archives/partial/
total 232K
-rw-r--r-- 1 root root 229K 2012-07-24 22:12 profilematic_1.7.0_armel.profilematic.FAILED
# mv /var/cache/apt/archives/partial/profilematic_1.7.0_armel.profilematic.FAILED profilematic_1.7.0_armel.deb
# incept profilematic_1.7.0_armel.deb
Do not continue unless you fully trust the package you are about to install.

Password for 'root':
Package profilematic has package signature (origin 'com.nokia.maemo/local')
aegis-loader: Failed loading policy for 'profilematic::/opt/profilematic/bin/profilematicd'
Выбор ранее не выбранного пакета profilematic.
(Чтение базы данных ... на данный момент установлено 50164 файла и каталога.)
Распаковывается пакет profilematic (из файла /var/tmp/inception/pkg_vlrQln)...
aegis-installing profilematic (from 'com.nokia.maemo/local')
Настраивается пакет profilematic (1.6.2) ...
Changing ProfileMatic configuration file ownership to user
Starting profilematicd ...
apps/profilematicd start/running, process 3870
Обрабатываются триггеры для applauncherd-launcher ...
Обрабатываются триггеры для desktop-file-utils ...
Обрабатываются триггеры для hicolor-icon-theme ...


Schturman 2012-07-25 00:39

Re: [Announce/WIP] ProfileMatic for Harmattan
 
Hi ajalkane
Can you add please unlimited option for "Custom action"..
I mean if I want to do a few custom actions on the same rule..
for example i tried to open 2 app in custom action:
Code:

/usr/bin/grob && /usr/bin/fenix
but it not work...
Or maybe I do something wrong ?

EDIT: OK, i found where is my mistake. It should be
Code:

/usr/bin/grob | /usr/bin/fenix

ajalkane 2012-07-25 05:21

Re: [Announce/WIP] ProfileMatic for Harmattan
 
Quote:

Originally Posted by thedead1440 (Post 1242344)
Ask ajalkane for that as I'm quite sure he wants all downloads to be done via Nokia Store...

Why are you guys trying to get ProfileMatic in such weird ways instead of using Nokia Store?

You can get the deb by clicking this url:
http://store.ovi.com/content/216122/download

First you must be signed into the store, and probably have N9 selected as your phone.

ajalkane 2012-07-25 05:26

Re: [Announce/WIP] ProfileMatic for Harmattan
 
Quote:

Originally Posted by Schturman (Post 1242532)
Hi ajalkane
Can you add please unlimited option for "Custom action"..
I mean if I want to do a few custom actions on the same rule..
for example i tried to open 2 app in custom action:
Code:

/usr/bin/grob && /usr/bin/fenix
but it not work...
Or maybe I do something wrong ?

I'm a bit unwilling to run the custom action in a shell... it's unnecessary overhead if you just want to run one application.

If you want to run it in shell like that, then you must run it in shell, for example:

Code:

sh -c "grob && fenix"
Quote:

EDIT: OK, i found where is my mistake. It should be
Code:

/usr/bin/grob | /usr/bin/fenix

That's totally wrong and I have no idea why it works.


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

vBulletin® Version 3.8.8