maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] Faster Application Manager (Maemo5) (https://talk.maemo.org/showthread.php?t=57503)

rantom 2010-08-05 21:41

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by hqh (Post 777042)
You already said that they are now showing the same updates :P
Have you compared the lists with the latest version of fapman?

If you have installed a package manually, HAM can possibly show an available update for it even though the version numbers are the same (in which case fapman won't show it). If it bothers you, just update it in HAM and stop worrying :) Also HAM seems to list some updates outside of user/* categories too, are they visible in fapman if you list "all packages (advanced)"?

If there is a real problem (a package is not shown as upgradeable even if one with an actually higher version number is available), then I'd like some more information... Like output of "dpkg --status packagename" for the offending packages and also the exact version numbers HAM lists in the details dialog.

I took a closer look for this and you know what? I'm guessing that the fapman was right all this time, not the HAM. I re-checked some of the earlier posted apps and those were indeed up to date, at least according to the version I managed to find from the site.

So I'm assuming there's no more longer a problem here, but I'll post the output just in case still. :) Thanks for all the help so far, now I know which app to trust and which one not, when it comes to updating files (it starts with the letter F ;)).
Code:

dpkg --status 3g2g-mode-selection-applet
Package: 3g2g-mode-selection-applet
Status: install ok installed
Priority: extra
Section: user/desktop
Installed-Size: 64
Maintainer: Faheem Pervez <trippin1@gmail.com>
Architecture: armel
Version: 0.4-2
Depends: libatk1.0-0 (>= 1.24.0), libc6 (>= 2.5.0-1), libcairo2, libdbus-1-3 (>= 1.1.4), libdbus-glib-1-2 (>= 0.76), libfontconfig1 (>= 2.6.0), libfreetype6 (>= 2.3.9), libgconf2-6 (>= 2.13.5), libglib2.0-0 (>= 2.20.0), libgtk2.0-0 (>= 2:2.12.9-0osso1), libhildon1, libhildondesktop1, libosso-gnomevfs2-0, libpango1.0-0
Description: Switch between the three network modes (3G, 2G and Dual) from the status menu
 Adds three buttons to the Status Menu allowing switching of the Network mode.
 .
 Cell tower icon by biggzy: http://talk.maemo.org/showthread.php?p=459587#post459587
Description-Pl_pl: Przełączanie między 3 trybami sieci (GSM, 3G, Dwuzakresowa) w menu stanu
 .
 Dodaje trzy przyciski do menu stanu pozwalając szybko przełączać tryby sieci.
 .
 Ikona autorstwa biggzy: http://talk.maemo.org/showthread.php?p=459587#post459587
Bugtracker: mailto://trippin1@gmail.com
Maemo-Display-Name: 3G/2G/Dual Mode Selection Applet
Maemo-Icon-26:
 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
 oFanAAAAAElFTkSuQmCC
Maemo-Display-Name-Pl_pl: Aplet do przełączania trybów GSM/3G/Dwuzakresowa


DaSilva 2010-08-05 22:33

Re: [Announce] Faster Application Manager (Maemo5)
 
Could you add a download speed number while downloading applications?
Everything else works really great now!
Only some texts in the Dependency tab are too short.

ndi 2010-08-05 23:28

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by hqh (Post 776789)
* ability to blacklist installed packages

But only at package level, not version level? Any reason beyond not-done-yet? I don't want to completely blacklist a package, if it's installed I like it. I just want to ban a version that's bad for me until the fix appears. Like the new fcam drivers that don't work with Titan's or new version of Titan's that has no new functionality.

lasman 2010-08-05 23:39

Re: [Announce] Faster Application Manager (Maemo5)
 
Hello hqh

I wonder if you saw my post #247 as you had not commented on it. I have seen Flandry's post however as HAM can work around this issue, I thought you may be interested in making fapman do the same.

Here's an extract from the HAM log if that's of any help:
apt-worker: Ignoring version from wrong domain: osso-notes-l10n-mr0 6.11+0m5
apt-worker: /var/lib/apt/lists/downloads.maemo.nokia.com_fremantle_ssu_203_._Pack ages
connected to 2885866c-7a2d-4f15-ae78-035dc777f24f
[ Some installed packages are broken! ]
-----
Upgrading fapman 0.5.2-1 to 0.6-2
apt-worker: free space (/) = 75186176
apt-worker: free space (/home/user/MyDocs/.apt-archive-cache/) = 28312076288
apt-worker: free space (/home/) = 1687576576
apt-worker: total space (/home/) = 2113748992
required disk space: 282864
result code = 0
apt-worker: free space (/) = 75186176
(Reading database ... 29853 files and directories currently installed.)
Preparing to replace fapman 0.5.2-1 (using .../fapman_0.6-2_armel.deb) ...
Unpacking replacement fapman ...
Setting up fapman (0.6-2) ...
apt-worker: Ignoring version from wrong domain: mediaplayer-l10n-ptpt 6.0+r7611+0m5
apt-worker: /var/lib/apt/lists/downloads.maemo.nokia.com_fremantle_ssu_203_._Pack ages

I have updated to version 0.6. Improvements I noticed:
  • The buttons are more visible over the background.
  • Using the hildon notes and showing the size of the download after updating catalog
  • Blacklisting installed applications in the upgrade section (although blacklisting "this version" is not available

Good work!

hqh 2010-08-06 00:06

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by DaSilva (Post 777162)
Only some texts in the Dependency tab are too short.

What do you mean? Could you provide a screenshot?

Quote:

Originally Posted by ndi (Post 777213)
But only at package level, not version level? Any reason beyond not-done-yet? I don't want to completely blacklist a package, if it's installed I like it. I just want to ban a version that's bad for me until the fix appears. Like the new fcam drivers that don't work with Titan's or new version of Titan's that has no new functionality.

It requires more work :)

Quote:

Originally Posted by lasman (Post 777222)
I wonder if you saw my post #247 as you had not commented on it. I have seen Flandry's post however as HAM can work around this issue, I thought you may be interested in making fapman do the same.

I was going to suggest the same thing that Flandry did. I hope I will be able to make fapman handle situations like that better in the future, but at this moment you're better off just fixing your broken packages.

--

Version 0.6.1

* fixed: misbehaviour of package operation selector buttons
* fixed: changing search options during search does not return all the matching packages
* more detailed logging of date fetch

Introduced a stupid bug with the selector buttons in the previous version so had to make a quick bugfix release.

slender 2010-08-06 06:33

Re: [Announce] Faster Application Manager (Maemo5)
 
Feature request:
Ability to fetch "<div class="changelog">" table from package page and parse it to user. This could be done with extra button on package screen. Would be very useful when you are updating packages and want to know fast what has been changed since last version. Of course opening link to package page also does this but parsing it directly to fapman is faster.

.edit
Also upgrade all button would be pretty neat.

shazosbourne 2010-08-06 06:56

Re: [Announce] Faster Application Manager (Maemo5)
 
Hi folks,
I am having trouble with FAPMAN. I had it installed prior to a reflash but since then I have had to use HAM as nothing with install using FAPMAN. I get the following error.

How do I fix this? Thanks for your time.

**EDIT** Looks like it is not a fapman issue.

Code:

--- 2010-08-06 16:44:19 ---
Start reading package lists
--- 2010-08-06 16:44:40 ---
Finished reading package lists
--- 2010-08-06 16:44:40 ---
Start fetching package dates
--- 2010-08-06 16:44:40 ---
need to fetch date for 0 packages
--- 2010-08-06 16:44:40 ---
sent 0 requests, received 0 replies with 0 errors
--- 2010-08-06 16:44:40 ---
Finished fetching package dates
--- 2010-08-06 16:46:02 ---
/usr/bin/apt-get -qsy --allow-unauthenticated --auto-remove -o Dir::Etc::sourcelist=/opt/fapman-cache/sources.list -o Dir::State::lists=/opt/fapman-cache/lists -o Dir::Etc::sourceparts="" install catorisegui catorise
--- 2010-08-06 16:46:20 ---
Output from last process:
---
Reading package lists...
Building dependency tree...
Reading state information...
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  python-pygame: Depends: libsdl-ttf2.0 (>= 2.0.9) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

--- 2010-08-06 16:46:47 ---
/usr/bin/apt-get -q update -o Dir::Etc::sourcelist=/opt/fapman-cache/sources.list -o Dir::State::lists=/opt/fapman-cache/lists -o Dir::Etc::sourceparts=""
Hit https://downloads.maemo.nokia.com ./ Release.gpg
Hit http://repository.maemo.org fremantle-1.2 Release.gpg
Ign https://downloads.maemo.nokia.com ./ Translation-en_GB
Ign http://repository.maemo.org fremantle-1.2/free Translation-en_GB
Hit https://downloads.maemo.nokia.com ./ Release.gpg
Ign http://repository.maemo.org fremantle-1.2/non-free Translation-en_GB
--- 2010-08-06 16:46:55 ---
Cancelled by user - terminating process


Obikelv 2010-08-08 12:38

Re: [Announce] Faster Application Manager (Maemo5)
 
Hi,
I've not been able to use fapman since I installed it. It gives me the following "unknown error" and this is the output from the log


/usr/bin/apt-get -q update -o Dir;;Etc::sourcelist=/opt/fapman-cache/sources.list -o Dir;;State::list=/opt/fapman-cache/list -o Dir;;Etc::sourceparts=""
E: The method driver /usr/lib/apt/methods/Http could not be found
E: The method driver /usr/lib/apt/methods/Http could not be found

hqh 2010-08-08 12:54

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by shazosbourne (Post 777442)
How do I fix this? Thanks for your time.

**EDIT** Looks like it is not a fapman issue.

Yeah, broken packages/dependencies are not exactly a fapman problem. If the suggested "apt-get -f install" doesn't help, I'm sure you'll find plenty of threads here helping you solve them :)

Quote:

Originally Posted by Obikelv (Post 779482)
Hi,
I've not been able to use fapman since I installed it. It gives me the following "unknown error" and this is the output from the log

/usr/bin/apt-get -q update -o Dir;;Etc::sourcelist=/opt/fapman-cache/sources.list -o Dir;;State::list=/opt/fapman-cache/list -o Dir;;Etc::sourceparts=""
E: The method driver /usr/lib/apt/methods/Http could not be found
E: The method driver /usr/lib/apt/methods/Http could not be found

Go to repository settings and ensure that all of your repository urls start with lowercase "http" and not "Http".

I'll add an automatic check to do that in the future.

Obikelv 2010-08-08 16:06

Re: [Announce] Faster Application Manager (Maemo5)
 
Go to repository settings and ensure that all of your repository urls start with lowercase "http" and not "Http".

I'll add an automatic check to do that in the future.[/QUOTE]

Thanks, worked like magic.

hqh 2010-08-08 16:41

Re: [Announce] Faster Application Manager (Maemo5)
 
Version 0.6.2

* try to fetch and show debian changelogs for packages from maemo.org
* show more package dependency information
* fixed: certain characters in depends/conflicts causes them to be cut in the UI
* warn about installing blacklisted packages as dependencies
* show download speed for package downloads
* enabled version-specific blacklisting for upgradeable packages
* some minor UI tweaks

At the moment it cannot be downloaded because the autobuilder is having problems uploading the package to the repository, but should become available after that is fixed.
Now available.

Bingley Joe 2010-08-08 17:40

Re: [Announce] Faster Application Manager (Maemo5)
 
Something I was wondering: can Fapman update Fapman, or is it better to use the regular Apman (AKA Slapman) for that?

towhatend 2010-08-08 17:46

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by Bingley Joe (Post 779670)
Something I was wondering: can Fapman update Fapman, or is it better to use the regular Apman (AKA Slapman) for that?

I´m updating Fapman with Fapman at least. :)

tzsm98 2010-08-08 17:48

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by hqh (Post 779635)
Version 0.6.2

* try to fetch and show debian changelogs for packages from maemo.org
* show more package dependency information
* fixed: certain characters in depends/conflicts causes them to be cut in the UI
* warn about installing blacklisted packages as dependencies
* show download speed for package downloads
* enabled version-specific blacklisting for upgradeable packages
* some minor UI tweaks

At the moment it cannot be downloaded because the autobuilder is having problems uploading the package to the repository, but should become available after that is fixed.

Looking forward to this update. Current version on my device 0.5.2 has an interesting problem.
  • I select applications to remove
  • I click the arrow button
  • The program tries to install an update of itself and fails "dpkg reported errors while processing a package - see log for details"
  • The removal list is aborted

I've tried removing FApMan using apt-get remove
Code:

Do you want to continue? [y/n]? y
dpkg error processing fapman (--remove):
 Package is in a very bad inconsistent state - you should reinstall it before attempting a removal.
Errors were encountered while processing:
fapman
E: Sub-process /usr/bin/dpkg returned and error code (1)

Updating runs into the "post-removal script returned error exit status 255" error. it attempts the old post-removal script and the new post-removal script.

Although this is a special case example I am wondering if it is possible to:
  • separate the update/install "to-do" list from the uninstall "to-do" list. This would allow more flexibility in using the program, it would also allow me to uninstall the programs I want to remove should an update or install fail.
  • allow the failed operations to not end the removal or install but have fapman move on to the next item on the list.

lukash 2010-08-08 18:19

Re: [Announce] Faster Application Manager (Maemo5)
 
I think its not very fortunate idea to use the wallpaper as background. I'm using this theme, and the 'bar' under the operator name is part of the wallpaper. Doesn't look very well in FAM. Also, the wallpaper gets scaled... Whats the problem using the HAM background picture? Not possible?

I think spending time on theme customization is quite useless. I don't want to set my custom background image for an application manager, I want it to look good and fit in by default. Just using the theme color for the background and having the default buttons look would be fine with me.

If big buttons look bad in QT, maybe file a bug? Although it can be a limitation of the GTK Hildon theme and its QT counterpart (which seems to be quite broken). I had similar problem with a progress bar. But I know at least one application, Mobile HotSpot, that has big-sized buttons that look well. Its probably using GTK though. Maybe using a different style for the buttons would be a solution? (Not sure how well would they look) Just call eg. button->setStyle(new QPlastiqueStyle);

hqh 2010-08-08 18:59

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by Bingley Joe (Post 779670)
Something I was wondering: can Fapman update Fapman

Yes it can be done.

Quote:

Originally Posted by tzsm98 (Post 779677)
I've tried removing FApMan using apt-get remove
Code:

Do you want to continue? [y/n]? y
dpkg error processing fapman (--remove):
 Package is in a very bad inconsistent state - you should reinstall it before attempting a removal.
Errors were encountered while processing:
fapman
E: Sub-process /usr/bin/dpkg returned and error code (1)

Updating runs into the "post-removal script returned error exit status 255" error. it attempts the old post-removal script and the new post-removal script.

All the post-removal script does is running update-sudoers, so (I assume) it should not fail on a correctly working system. Dpkg database/package info can get messed up though if dpkg has been forcibly aborted during installation at some point.

Since that version of fapman is no longer in the repos, I don't think you can try --reinstalling it...

What you could try, is removing /var/lib/dpkg/info/fapman.postrm and then fully removing the package with dpkg --purge fapman

Quote:

Originally Posted by tzsm98 (Post 779677)
[*]separate the update/install "to-do" list from the uninstall "to-do" list. This would allow more flexibility in using the program, it would also allow me to uninstall the programs I want to remove should an update or install fail.

That's actually how the program originally operated in the first versions... But doing everything on the same run is faster. And also your first priority should be trying to fix the errors, not to ignore them :)
Edit: I don't know if apt-get always follows this pattern, but usually it should process the packages in the following order anyway: download, remove, install.

Quote:

Originally Posted by tzsm98 (Post 779677)
[*]allow the failed operations to not end the removal or install but have fapman move on to the next item on the list.

No, if apt-get aborts on an error then it's not possible to continue. Forcing apt-get to ignore errors would probably be just asking for trouble.

Quote:

Originally Posted by lukash (Post 779692)
Whats the problem using the HAM background picture? Not possible?

Take a look at the HAM background images that come with the default themes... extreme ugliness in every other program except in what they were originally made for :rolleyes:

Quote:

Originally Posted by lukash (Post 779692)
I think spending time on theme customization is quite useless. I don't want to set my custom background image for an application manager, I want it to look good and fit in by default. Just using the theme color for the background and having the default buttons look would be fine with me.

Thanks for the suggestions. However, I've decided not to touch the looks of the program for now... Because no matter what it looks like, there's always going to be someone who doesn't like it. I'd much rather concentrate on improving functionality. :rolleyes:

ndi 2010-08-08 20:54

Re: [Announce] Faster Application Manager (Maemo5)
 
I understand that you don't care for appearances more than content (good for you), but regarding the appearance I'd like to suggest this: Everyone makes sure their desktop looks nice and is readable - icons visible, links works, etc.

Wouldn't following desktop rules work just fine? For example, use buttons that are an extension of -say- links on desktop. Big picture, text on bottom, smaller. perhaps make buttons wider. The app will look just like a slightly modded desktop.

Just throwing it your way. Don't throw it back :o)

slender 2010-08-09 12:13

Re: [Announce] Faster Application Manager (Maemo5)
 
Minor annoyance:
-When searched app list contains 6 or less results it stops doing "spring" animation when you try to move list up or down.

.edit
And thanks for implementing changelog fetch!

d-iivil 2010-08-09 12:15

Re: [Announce] Faster Application Manager (Maemo5)
 
Hmm.. for some reason I cannot upgrade anything with fapman. It finds the upgrades, but when trying to upgrade I get error and the log says that the package is already at latest version (which is not true). Upgrading via apt-get upgrade goes smooth.

Berserk 2010-08-09 18:47

Re: [Announce] Faster Application Manager (Maemo5)
 
I also had that error (sort of.. I forgot the error message) last week, including the previous Fapman update I believe.. so I used the default app manager for the updates, since then it's just working fine again in Fapman :)

hqh 2010-08-09 20:09

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by D-Iivil (Post 780306)
Hmm.. for some reason I cannot upgrade anything with fapman. It finds the upgrades, but when trying to upgrade I get error and the log says that the package is already at latest version (which is not true). Upgrading via apt-get upgrade goes smooth.

Quote:

Originally Posted by Berserk (Post 780673)
I also had that error (sort of.. I forgot the error message) last week, including the previous Fapman update I believe.. so I used the default app manager for the updates, since then it's just working fine again in Fapman :)

Next time that happens, please include the log in your posts :)

Also you could try if removing /opt/fapman-cache helps (make sure fapman is not running when you do that):
Code:

sudo gainroot
cd /opt
rm -fr fapman-cache

Oh, and by the way... Just to be sure, check your repository settings. At least with the default nokia repos and maemo.org repos everything should be written in lowercase. The text edit widget automatically uppercases the first letters in the current version and that can lead to problems...

DaSilva 2010-08-09 22:24

Re: [Announce] Faster Application Manager (Maemo5)
 
With version 0.6.2 FAM is nearly perfect and so much better than HAM, thank you so much!

I only have a small feature request:
Could FAM start fetching the changelog already when the user clicks on an application to view the details? It would reduce the waiting time to load and display the changelog instead of doing all this only after the user has clicked on "Changes".
And maybe you can add an option to enable prefetching the changelog for all upgradeable packages (on the upgrade page)!?

hqh 2010-08-09 22:37

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by DaSilva (Post 780886)
I only have a small feature request:
Could FAM start fetching the changelog already when the user clicks on an application to view the details? It would reduce the waiting time to load and display the changelog instead of doing all this only after the user has clicked on "Changes".

Yes, that would be easy to implement. I already considered that but then thought that maybe everyone doesn't want the changes to be fetched every time the package dialog is opened. Could make it an option though.

Quote:

Originally Posted by DaSilva (Post 780886)
And maybe you can add an option to enable prefetching the changelog for all upgradeable packages (on the upgrade page)!?

The fetching code is currently part of the package dialog and the changelogs aren't stored anywhere outside of that... So it would require more changes. The answer is maybe :)

d-iivil 2010-08-10 09:31

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by hqh (Post 780753)
Next time that happens, please include the log in your posts :)

Also you could try if removing /opt/fapman-cache helps (make sure fapman is not running when you do that):
Code:

sudo gainroot
cd /opt
rm -fr fapman-cache

Oh, and by the way... Just to be sure, check your repository settings. At least with the default nokia repos and maemo.org repos everything should be written in lowercase. The text edit widget automatically uppercases the first letters in the current version and that can lead to problems...

Happened again, cannot upgrade the power kernel. Here's the log:
Code:

--- 2010-08-10 12:24:57 ---
/usr/bin/apt-get -q update -o Dir::Etc::sourcelist=/opt/fapman-cache/sources.list -o Dir::State::lists=/opt/fapman-cache/lists -o Dir::Etc::sourceparts=""
Get:1 http://repository.maemo.org fremantle-1.2 Release.gpg [489B]
Hit https://downloads.maemo.nokia.com ./ Release.gpg
Ign http://repository.maemo.org fremantle-1.2/free Translation-en_GB
Ign https://downloads.maemo.nokia.com ./ Translation-en_GB
Ign http://repository.maemo.org fremantle-1.2/non-free Translation-en_GB
Get:2 http://repository.maemo.org fremantle Release.gpg [489B]
Ign http://repository.maemo.org fremantle/free Translation-en_GB
Ign http://repository.maemo.org fremantle/non-free Translation-en_GB
Hit https://downloads.maemo.nokia.com ./ Release.gpg
Ign https://downloads.maemo.nokia.com ./ Translation-en_GB
Ign http://repository.sygic.com fremantle Release.gpg
Hit https://downloads.maemo.nokia.com ./ Release
Hit https://downloads.maemo.nokia.com ./ Release
Ign http://repository.sygic.com fremantle/non-free Translation-en_GB
Get:3 http://repository.maemo.org fremantle-1.2 Release [7956B]
Get:4 http://repository.maemo.org fremantle Release [7958B]
Ign http://repository.sygic.com fremantle Release
Ign https://downloads.maemo.nokia.com ./ Packages/DiffIndex
Ign http://repository.maemo.org fremantle-1.2/free Packages/DiffIndex
Ign http://repository.maemo.org fremantle-1.2/non-free Packages/DiffIndex
Ign https://downloads.maemo.nokia.com ./ Packages/DiffIndex
Ign http://repository.maemo.org fremantle/free Packages/DiffIndex
Ign http://repository.maemo.org fremantle/non-free Packages/DiffIndex
Hit https://downloads.maemo.nokia.com ./ Packages
Hit https://downloads.maemo.nokia.com ./ Packages
Ign http://repository.sygic.com fremantle/non-free Packages/DiffIndex
Get:5 http://repository.maemo.org fremantle-1.2/free Packages [1640kB]
Get:6 http://repository.maemo.org fremantle-1.2/non-free Packages [33,5kB]
Get:7 http://repository.maemo.org fremantle/free Packages [5167kB]
Get:8 http://repository.maemo.org fremantle/non-free Packages [341kB]
Hit http://repository.sygic.com fremantle/non-free Packages
Fetched 7199kB in 24s (295kB/s)
Reading package lists...
--- 2010-08-10 12:25:57 ---
Start reading package lists
--- 2010-08-10 12:26:06 ---
Finished reading package lists
--- 2010-08-10 12:26:12 ---
/usr/bin/apt-get -qsy --allow-unauthenticated install kernel-power-flasher
--- 2010-08-10 12:26:37 ---
Output from last process:
---
Reading package lists...
Building dependency tree...
Reading state information...
kernel-power-flasher is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

And here's what apt-get says when ran manually:
Code:

Nokia-N900:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
  fcam-drivers libsdl-mixer1.2
The following packages will be upgraded:
  kernel-power kernel-power-flasher kernel-power-modules
3 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Need to get 5024kB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://repository.maemo.org fremantle/free kernel-power 2.6.28-maemo40 [1976kB]
Get:2 http://repository.maemo.org fremantle/free kernel-power-modules 2.6.28-maemo40 [2881kB]
Get:3 http://repository.maemo.org fremantle/free kernel-power-flasher 2.6.28-maemo40 [167kB]
Fetched 5024kB in 8s (596kB/s)
(Reading database ... 34478 files and directories currently installed.)
Preparing to replace kernel-power 2.6.28-maemo39 (using .../kernel-power_2.6.28-maemo40_armel.deb) ...
Unpacking replacement kernel-power ...
Preparing to replace kernel-power-modules 2.6.28-maemo39 (using .../kernel-power-modules_2.6.28-maemo40_armel.deb) ...
Unpacking replacement kernel-power-modules ...
Setting up kernel-power (2.6.28-maemo40) ...
Setting up kernel-power-modules (2.6.28-maemo40) ...
(Reading database ... 34478 files and directories currently installed.)
Preparing to replace kernel-power-flasher 2.6.28-maemo39 (using .../kernel-power-flasher_2.6.28-maemo40_armel.deb) ...
Unpacking replacement kernel-power-flasher ...
Setting up kernel-power-flasher (2.6.28-maemo40) ...
initctl: Job not changed: softupd
Version 0.4.4 started
Waiting for messages
flasher v2.8.2 (Jan  8 2010)

Image 'kernel', size 1789 kB
        Version 2.6.28-maemo40
Using flashing protocol Mk II.
ISI message from new source (10, 00)
Found device RX-51, hardware revision 2101
Entering update mode
Beginning image update
nand: Finishing %    1024 /    1789 kB  5694 kB/s]
nand: Flashing kernel image
Image flashed successfully in 0.943 s (1896 kB/s)!
Total flashing time 0.947 s
Leaving update mode
SIGTERM received
Nokia-N900:~#


ivgalvez 2010-08-10 09:52

Re: [Announce] Faster Application Manager (Maemo5)
 
First of all thanks for this wonderful piece of software.

There are only two things I don't like very much in the GUI. First of all the wallpaper as a background, as mentioned before by some other users, but I also find that the automatic rotation is a bit messy, it even changes to portrait mode without moving the phone at all and then I have to shake it a few times to return to landscape.

My sensors appear to work right as I have tested them with HealthCheck.

Regards.

ndi 2010-08-10 09:55

Re: [Announce] Faster Application Manager (Maemo5)
 
Hi. Installed Offscreen Candle a while back. Now it doesn't show up in fapman for uninstall. HAM shows it. Clues?

Nipperoid 2010-08-10 10:36

Re: [Announce] Faster Application Manager (Maemo5)
 
Just reflashed the N900, and used fapman to install 150 packages in under 10 mins.

Thank you!

hqh 2010-08-10 12:14

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by D-Iivil (Post 781303)
Happened again, cannot upgrade the power kernel. Here's the log:

Thanks, I've found a bug :)

The directory parameters aren't given correctly to apt-get if the option "autoremove" is not enabled in fapman settings. You can enable that as a workaround, I'll fix the bug for the next version.

Quote:

Originally Posted by ivgalvez (Post 781326)
I also find that the automatic rotation is a bit messy, it even changes to portrait mode without moving the phone at all and then I have to shake it a few times to return to landscape.

The autorotation is what Qt gives you... You can disable it in the options.

Quote:

Originally Posted by ndi (Post 781333)
Hi. Installed Offscreen Candle a while back. Now it doesn't show up in fapman for uninstall. HAM shows it. Clues?

It's an user/hidden category application and thus hidden on purpose. Nokia has removed the ability to handle user/hidden apps from apt-get.
Edit: It seems that they can be removed, but not installed/upgraded. I'll make them visible in the list of installed apps in some future version.

hqh 2010-08-10 12:37

Re: [Announce] Faster Application Manager (Maemo5)
 
In fact the directory bug was bad enough to necessitate an immediate bugfix release:

Version 0.6.3

* fixed: directory parameters are not always correctly given to apt-get
* don't auto-capitalize in text inputs


If you're not able to do the update with fapman itself, enable autoremove option from the settings as a workaround. You can disable the option again if you wish after updating to 0.6.3.

slender 2010-08-10 12:51

Re: [Announce] Faster Application Manager (Maemo5)
 
Weird i can´t upgrade to newest version.

Code:

......snip....
--- 2010-08-10 15:51:16 ---
/usr/bin/apt-get -q update -o Dir::Etc::sourcelist=/opt/fapman-cache/sources.list -o Dir::State::lists=/opt/fapman-cache/lists -o Dir::Etc::sourceparts=""
Hit https://downloads.maemo.nokia.com ./ Release.gpg
Hit http://repository.maemo.org fremantle-1.2 Release.gpg
Ign http://repository.maemo.org fremantle-1.2/free Translation-en_GB
Ign http://repository.maemo.org fremantle-1.2/non-free Translation-en_GB
Get:1 http://repository.maemo.org fremantle Release.gpg [489B]
Ign http://repository.maemo.org fremantle/free Translation-en_GB
Ign https://downloads.maemo.nokia.com ./ Translation-en_GB
Hit https://downloads.maemo.nokia.com ./ Release.gpg
Ign http://repository.maemo.org fremantle/non-free Translation-en_GB
Hit http://repository.maemo.org fremantle Release.gpg
Ign https://downloads.maemo.nokia.com ./ Translation-en_GB
Hit https://downloads.maemo.nokia.com ./ Release.gpg
Ign http://repository.maemo.org fremantle/free Translation-en_GB
Ign http://repository.maemo.org fremantle/non-free Translation-en_GB
Ign https://downloads.maemo.nokia.com ./ Translation-en_GB
Hit https://downloads.maemo.nokia.com ./ Release
Hit https://downloads.maemo.nokia.com ./ Release
Hit https://downloads.maemo.nokia.com ./ Release
Hit http://repository.maemo.org fremantle-1.2 Release
Get:2 http://repository.maemo.org fremantle Release [7958B]
Hit http://repository.maemo.org fremantle Release
Ign https://downloads.maemo.nokia.com ./ Packages/DiffIndex
Ign https://downloads.maemo.nokia.com ./ Packages/DiffIndex
Ign http://repository.maemo.org fremantle-1.2/free Packages/DiffIndex
Ign http://repository.maemo.org fremantle-1.2/non-free Packages/DiffIndex
Ign https://downloads.maemo.nokia.com ./ Packages/DiffIndex
Hit https://downloads.maemo.nokia.com ./ Packages
Hit https://downloads.maemo.nokia.com ./ Packages
Hit https://downloads.maemo.nokia.com ./ Packages
Ign http://repository.maemo.org fremantle/free Packages/DiffIndex
Ign http://repository.maemo.org fremantle/non-free Packages/DiffIndex
Ign http://repository.maemo.org fremantle/free Packages/DiffIndex
Ign http://repository.maemo.org fremantle/non-free Packages/DiffIndex
Hit http://repository.maemo.org fremantle-1.2/free Packages
Hit http://repository.maemo.org fremantle-1.2/non-free Packages
Get:3 http://repository.maemo.org fremantle/free Packages [5174kB]
Get:4 http://repository.maemo.org fremantle/non-free Packages [341kB]
Hit http://repository.maemo.org fremantle/free Packages
Hit http://repository.maemo.org fremantle/non-free Packages
Fetched 5524kB in 24s (226kB/s)
Reading package lists...
--- 2010-08-10 15:52:24 ---
Start reading package lists
--- 2010-08-10 15:52:41 ---
Finished reading package lists
--- 2010-08-10 15:52:41 ---
Start fetching package dates
--- 2010-08-10 15:52:41 ---
need to fetch date for 1 packages
--- 2010-08-10 15:52:42 ---
sent 1 requests, received 1 replies with 0 errors
--- 2010-08-10 15:52:42 ---
Finished fetching package dates
--- 2010-08-10 15:52:56 ---
/usr/bin/apt-get -qsy --allow-unauthenticated install fapman
--- 2010-08-10 15:53:17 ---
Output from last process:
---
Reading package lists...
Building dependency tree...
Reading state information...
fapman is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

ohmmm..no it´s not the newest version (0.6.2). It still shows fapman as upgradable but i´m not able to upgrade. This is weird.

hqh 2010-08-10 13:06

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by slender (Post 781538)
Weird i can´t upgrade to newest version.

ohmmm..no it´s not the newest version (0.6.2). It still shows fapman as upgradable but i´m not able to upgrade. This is weird.

It takes a while for the autobuilder to upload the latest version to the repository (I hope it's not stuck again). Edit: It seems to be there

Also, see my reply to the previous poster who had an update problem - you might be encountering exactly the same bug that the latest version will fix :)
Edit: here is the workaround:
If you're not able to do the update with fapman itself, enable the autoremove option from the settings as a workaround. You can disable the option again if you wish after updating to 0.6.3.

cjp 2010-08-10 19:40

Re: [Announce] Faster Application Manager (Maemo5)
 
I haven't used the FapMan for a couple of version numbers until now, and I must say that it is moving forward in leaps and bounds.

Thank you again for this lifesaver app! Go out and get yourself a pint on me. o/

hqh 2010-08-11 09:29

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by cjp (Post 781968)
Go out and get yourself a pint on me. o/

Thank you, I will :D

slender 2010-08-11 09:52

Re: [Announce] Faster Application Manager (Maemo5)
 
1 Attachment(s)
I´m just fiddling around with UI layout and trying to maximize used pixels.

How about something like on attached picture.
- popup window title with app name and icon (app name currently two times)
- static area on right side so that there is more space for text, but on the other side it probably doesn´t wrap always so nicely.

.edit
Bug:
- Remove buttons right side not rounded.

..edit
- Static area should be right side and popup title
- Also for some reason i like how areas are divided in DropN900 with white line: http://dl.dropbox.com/u/3589544/Drop...nshot-main.png
- And place to look for icons: http://openiconlibrary.sourceforge.net/

ivgalvez 2010-08-11 10:18

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by hqh (Post 781495)
Thanks, I've found a bug :)
The autorotation is what Qt gives you... You can disable it in the options.

I suspected that.

Anyway it's amazing how fast you have been able to achieve such a complete package manager for Maemo in Qt while we have been waiting for years (still waiting to see Muon) for a decent package manager for KDE Debian based distros.

And talking about Muon, are you using the libQApt whis is in development for Kubuntu or directly wrapping apt-get and dpkg commands?

slender 2010-08-11 10:36

Re: [Announce] Faster Application Manager (Maemo5)
 
Just pondering here.

I can understand that upgrading apps on N900 takes a little bit time, but installing/searching them N900 has to first update package list (~5-9Mb stuff..IMO weird), then read it and show it.

So is it possible to make it:
- Use maemo.org/packages search
- Show results in list
- When user chooses packages and pushes go app downloads just debs and sends them to apt-get

So does it still need to upgrade catalogs for ALL aps before installing stuff for just one app? Because using server as search machine makes everything working as fast as stuff comes instantly from server side.

Honza. 2010-08-11 12:06

Re: [Announce] Faster Application Manager (Maemo5)
 
Can I turn off automatic updating of catalogs?
When I want to install application, it updates catalogs. So why we have button "update catalogs" when it upading automaticaly? I have slow connetion, constant updating tiring me and I must use basic app man.

hqh 2010-08-11 12:49

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by slender (Post 782747)
How about something like on attached picture.
- popup window title with app name and icon (app name currently two times)
- static area on right side so that there is more space for text, but on the other side it probably doesn´t wrap always so nicely.

Thanks! The buttons-on-the-right approach has one fatal flaw though: It does not work well for portrait mode. I guess it would be possible to make separate UIs (for that dialog) for landscape and portrait modes though.

The app name appears two times because the other is the package name and the other is the "display name". They can be different if the package has maemo-display-name defined, and I think it's important to show both.

Quote:

Originally Posted by ivgalvez (Post 782781)
And talking about Muon, are you using the libQApt whis is in development for Kubuntu or directly wrapping apt-get and dpkg commands?

I'm directly using the apt-get binary. Sure this approach has its flaws (I guess error handling for example could be done more elegantly with libraries...) but it seems to work well enough.

Quote:

Originally Posted by slender (Post 782796)
So is it possible to make it:
- Use maemo.org/packages search
- Show results in list
- When user chooses packages and pushes go app downloads just debs and sends them to apt-get

So does it still need to upgrade catalogs for ALL aps before installing stuff for just one app? Because using server as search machine makes everything working as fast as stuff comes instantly from server side.

This sounds like an idea for a completely different application...

Quote:

Originally Posted by Honza. (Post 782871)
Can I turn off automatic updating of catalogs?
When I want to install application, it updates catalogs. So why we have button "update catalogs" when it upading automaticaly? I have slow connetion, constant updating tiring me and I must use basic app man.

If by "constant" you mean every day (they are auto-updated if older than 24h) then that's intentional and cannot be currently turned off. If they get updated *every* time you install, then it's a bug. The button is there if you wish to update more often to check for new updates/applications. I could add an option to turn auto-updating off, but having old catalogs means you won't see new applications/updates and will also lead to errors if the older versions have been removed from the repositories.

Rob1n 2010-08-11 15:09

Re: [Announce] Faster Application Manager (Maemo5)
 
Quote:

Originally Posted by slender (Post 782796)
Just pondering here.

I can understand that upgrading apps on N900 takes a little bit time, but installing/searching them N900 has to first update package list (~5-9Mb stuff..IMO weird), then read it and show it.

So is it possible to make it:
- Use maemo.org/packages search
- Show results in list
- When user chooses packages and pushes go app downloads just debs and sends them to apt-get

So does it still need to upgrade catalogs for ALL aps before installing stuff for just one app? Because using server as search machine makes everything working as fast as stuff comes instantly from server side.

I don't think apt-get can deal with .deb files directly. And even if it could, you're likely to run into dependency issues if your package list isn't up-to-date with the package you're installing.

liquid_chaos 2010-08-11 17:33

Re: [Announce] Faster Application Manager (Maemo5)
 
i cant seem to find this by looking for fapman. i just lost all my application catalogues somehow so i just installed extras_devel and its not seeing it only synaptic manager can someone help?


All times are GMT. The time now is 15:30.

vBulletin® Version 3.8.8