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

From: Marius Gedminas marius at pov.lt
Date: Sun Oct 25 13:51:24 EET 2009
On Sun, Oct 25, 2009 at 12:37:21PM +0200, ibrahim wrote:
> 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
>    Section: base
...
> 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".

Where have I seen this question before?

The Application Manager doesn't let the user install packages from
Section: base.  It doesn't let the user install packages from sections
not starting with "user/".

> 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?

Command-line tools such apt or dpkg do not enforce the "user/" section
restriction.

Marius Gedminas
-- 
Doing linear scans over an associative array is like trying to club someone to
death with a loaded Uzi.
		-- Larry Wall
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.maemo.org/pipermail/maemo-developers/attachments/20091025/1b21f757/attachment.pgp 
More information about the maemo-developers mailing list