[maemo-developers] can't install application to phone from local repository

From: ibrahim ibrahim.ali at asgatech.com
Date: Thu Oct 22 15:04:38 EEST 2009

I created a local repository to host some test applications for Maemo 
fremantle device - and YES, the repository folders are visible to the 
phone- Added some packages and ran the "dpkg-scanpackages" utility to 
generate the "Package " and "Package.gz" files with no errors.

_the contents of the Package file :_

    Package: hello
    Version: 1.0
    Architecture: all
    Maintainer: Your Name <you at email.com <mailto:you at email.com>>
    Filename: hello-1.0.deb
    Size: 4158
    MD5sum: ce9ebc5398438693ae49d1f7c7679633
    Section: base
    Priority: optional
    Description: Hello World When you need some sunshine, just run this 
    small program!


the directory structure of my local repository is : 
so, the url to the package files is :

application packages and the index files "Package files" are inside the 
binary-armel/ folder

_ the ".install" file for the application :_

    catalogues= hellocat
    package= hello

    name = hello
    uri= http://<local-ip>/repo <http://%3clocal-ip%3e/repo>
    dist= fremantle
    components = free


opening the install file on the device with the Application Manager adds 
the catalogue to the catalogues list, the installation procedure starts 
saying:"preparing for the installation, please wait"
 but the Application manager says that it couldn't download the 
application : "unable to download 'hello'. Application package not found".
Yet, the Application Manager's log doesn't show any error at all

the catalogue entry is added to the sources file 
"/etc/apt/sources.list.d/hildon-application-manager.list" as follows:
deb http://<local-ip>/repo <http://%3clocal-ip%3e/repo> fremantle free

I tried to download the application from the Xterminal application - 
using the gainroot program:
apt-get install hello
And surprisingly, the application manages to download and install !!!!!
the question is : What is wrong with the way i deployed the application 
that the Application Manager refuses to install it, yet it is downloaded 
from the command line ? Am i missing something?

More information about the maemo-developers mailing list