maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   [resolved]Control file won't install dependency for liblua5.1-0 (https://talk.maemo.org/showthread.php?t=64588)

Creamy Goodness 2010-10-28 18:48

[resolved]Control file won't install dependency for liblua5.1-0
 
1 Attachment(s)
the lua library I need is in the repositories and installs fine if you type it in manually to apt-get
HAM says it's impossible to install because liblua5.1-0 is missing. wtf? I attached the deb if anyone doesn't believe me, here's part of the control file after the variables are expanded out, looks fine to me.

Code:

Package: conky-all
Version: 1.8.5-1
Section: user/desktop
Priority: optional
Architecture: armel
Depends: libasound2 (>> 1.0.18), libc6 (>= 2.5.0-1), libcurl3 (>= 7.16.2-1), libdbus-1-3 (>= 1.1.4), libgcc1 (>= 1:4.2.1), libglib2.0-0 (>= 2.20.0), libiw30 (>= 30~pre1), liblua5.1-0, libncurses5 (>= 5.7-1), libx11-6, libxdamage1 (>= 1:1.1), libxext6, libxfixes3 (>= 1:4.0.1), libxft2 (>> 2.1.1), libxml2 (>= 2.6.32)
Suggests: moc, mpd
Conflicts: conky-std, conky-cli
Replaces: conky, conky-std, conky-cli


fnordianslip 2010-10-28 19:55

Re: Control file won't install dependency for liblua5.1-0
 
I can replicate your problem with HAM. I then tried using dpkg to install the conky deb, and that failed due to the missing liblua5.1-0 dependency, as expected. Running apt-get install -f subsequently installed liblua5.1-0 (5.1.4-3) ok and then conky is useable.

Just a wild thought but I'd be tempted to try something like "liblua5.1-0 (>= 5.1.4-3)," in the control file to see what that did. Of course YMMV ;)

Creamy Goodness 2010-10-28 21:40

Re: Control file won't install dependency for liblua5.1-0
 
i can try hard coding the dependencies, but i have to remove the
Code:

Depends: ${shlibs:Depends}, ${misc:Depends}
from the original and then put that list instead. Not the end of the world, but it's really not supposed to be done like that...
I already tried adding a
Code:

Recommends: liblua5.1-0
and it made no difference. As far as I can tell, after reading an official debain guide to packaging, that *should* also prompt apt to grab it.
I also simplified the control file as a test, removing the "fake package to ease transition to the new packaging format" or whatever that dummy package said, but that didn't work.
I asked on IRC if it could be confused that liblua is in extras-testing too, maybe blacklisting stuff from there, but MohammadAG said nope.
I think this is level 1 of dependency hell, level 2 - 9 is when it conflicts and you break everything else...

Creamy Goodness 2010-10-28 21:56

Re: Control file won't install dependency for liblua5.1-0
 
hmmm nope now it says liblua5.1-0 (>= 5.1.4-3) on "problems" and won't install. i'm gonna disable extras devl and testing and see if MohammadAG is right. This is one reason I hate computers: at some point, for any complex problem, you just end up trying random **** until it works.

-edit-
nope, he's right, still doesn't work... looking through app manager bug reports now.

mikkov 2010-10-28 23:45

Re: Control file won't install dependency for liblua5.1-0
 
is this conky-all package in some repository because HAM doesn't install dependencies if the packages isn't from any repository.

Creamy Goodness 2010-10-29 01:01

Re: Control file won't install dependency for liblua5.1-0
 
whyyyyyyyyyyyyyyyyyyyyyyyyy
and where the hell is that documented
thanks!!!

Creamy Goodness 2010-10-29 15:24

Re: [resolved]Control file won't install dependency for liblua5.1-0
 
seriously, should I add this to the WIKI somewhere? It should be in the packaging guidelines.


All times are GMT. The time now is 08:26.

vBulletin® Version 3.8.8