Active Topics

 


Reply
Thread Tools
Posts: 4 | Thanked: 0 times | Joined on Mar 2010
#1
hi,
I have created a deb package of my application and I want it to install when a user directly downloads the deb file, but the installation fails with "Incompatible application package" message.
in the Application details/Summary the Status is "Not Installable"
and the Application details/Problems says "Incompatible application package".

If I save the deb file and use "dpkg -i" as root it installs with no problem

thanks
 
cddiede's Avatar
Posts: 1,034 | Thanked: 784 times | Joined on Dec 2007 @ Annapolis, MD
#2
Originally Posted by amip View Post

when a user directly downloads the deb file, but the installation fails with "Incompatible application package" message.
in the Application details/Summary the Status is "Not Installable"
and the Application details/Problems says "Incompatible application package".

If I save the deb file and use "dpkg -i" as root it installs with no problem
Hmm... Under one scenario, your are working as a user through the GUI and it fails.

Under the other scenario, you are working as root from the terminal and it succeeds.

Did you ever consider that you are only able to install this package as the root user? Perhaps the user executed application manager has a more complete compatibility check to ensure that N900-bricking hilarity does not ensue where as running dpkg as root lets you do as much damage as you want.
 
Posts: 4 | Thanked: 0 times | Joined on Mar 2010
#3
So how do I fix my package so it will be considered safe enough to be installed via the GUI?
The problem is that I cannot understand from the errors what the actual problem is
 
cddiede's Avatar
Posts: 1,034 | Thanked: 784 times | Joined on Dec 2007 @ Annapolis, MD
#4
Originally Posted by amip View Post
So how do I fix my package so it will be considered safe enough to be installed via the GUI?
The problem is that I cannot understand from the errors what the actual problem is
That's a damn good question. Without seeing your .deb file I would have to guess.

Since the original error had something to do with package incompatibility, I would look at your listed platform and listed dependencies in your deb file.

You should download a deb file that CAN be installed through the GUI and compare the platform/dependency listings and syntax to your own.
 
Posts: 4 | Thanked: 0 times | Joined on Mar 2010
#5
I attached my deb file

Last edited by amip; 2010-03-01 at 16:26.
 
Posts: 4 | Thanked: 0 times | Joined on Mar 2010
#6
hi,
I have solved the problem. I was missing a "Section:" category in my control file
 
cddiede's Avatar
Posts: 1,034 | Thanked: 784 times | Joined on Dec 2007 @ Annapolis, MD
#7
Awesome. Score one for forum sanity checks.
 
Posts: 3 | Thanked: 0 times | Joined on Nov 2010
#8
If you get that error when attempting to install a deb file built using Qt Creator (Maemo project) on Nokia Qt SDK it can be because the debian control file has "Section: unknown" instead of something like "Section: user/development" or "Section: user/office" etc.

Though the debian file has a section category it needs to be something other than unknown to install without having to gainroot and install via xterminal.

More info here: http://developer.qt.nokia.com/forums/viewthread/1972/
 
Reply


 
Forum Jump


All times are GMT. The time now is 00:46.