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

From: Kees Jongenburger kees.jongenburger at gmail.com
Date: Sun Oct 25 15:29:31 EET 2009
Hi ibrahim,

On Sun, Oct 25, 2009 at 11:37 AM, ibrahim <ibrahim.ali at asgatech.com> wrote:
>
>
> cheers;
>
> 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.

Check your webserver's error logs. perhaps you only think you did the
right thing and you might see http 404 messages(file not found)

>
> _the contents of the Package file :_
>
>   Section: base
>   Priority: optional
>   Description: Hello World When you need some sunshine, just run this
> small program!

Do check if all those files are still in the Pacakges. the
dpkg-scanpackages will remove fields  it doesn't know be default(the
Section and icons for example).

>
>
> the directory structure of my local repository is :
> /var/www/repo/dists/fremantle/free/binary-armel/
> so, the url to the package files is :
> http://<local-ip>/repo/dists/fremantle/free/binary-armel/
> <http://%3clocal-ip%3e/repo/dists/fremantle/free/binary-armel/>


you might want to look a what extra's devel's structure looks like

#source.list
#extras-devel
deb http://repository.maemo.org/extras-devel/ fremantle free non-free
deb-src http://repository.maemo.org/extras-devel/ fremantle free

but on on the website
http://repository.maemo.org/extras-devel/dists/fremantle/free/

notice the "dists" and the location where the Packages file ends up
http://repository.maemo.org/extras-devel/dists/fremantle/free/binary-armel/Packages

The thing also is that your package has arch set to "all". but start
looking at your servers logs.

Greetings
More information about the maemo-developers mailing list