Active Topics

 


Reply
Thread Tools
Posts: 1,463 | Thanked: 1,916 times | Joined on Feb 2008 @ Edmonton, AB
#1
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
Attached Files
File Type: deb conky-all_1.8.5-1_armel.deb (313.0 KB, 148 views)

Last edited by Creamy Goodness; 2010-10-29 at 01:03.
 

The Following User Says Thank You to Creamy Goodness For This Useful Post:
fnordianslip's Avatar
Posts: 670 | Thanked: 359 times | Joined on May 2007
#2
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
__________________
Class .. : Lame hacker & beardy boffin
Humour . : [#######---] Alignment: Apathetic anarchist
Patience : [####------] Weapon(s): My cat, my code.
Agro ... : |#---------] Relic(s) : N900, MacBookPro, NSLU2, N800, SheevaPlug, Eee-901, Core2-Quad, PS3
"In theory, theory and practice are the same. In practice, they're not."
--
Beware of extras-devel.
 
Posts: 1,463 | Thanked: 1,916 times | Joined on Feb 2008 @ Edmonton, AB
#3
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...

Last edited by Creamy Goodness; 2010-10-28 at 21:43.
 
Posts: 1,463 | Thanked: 1,916 times | Joined on Feb 2008 @ Edmonton, AB
#4
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.

Last edited by Creamy Goodness; 2010-10-28 at 22:51.
 
Posts: 1,208 | Thanked: 1,028 times | Joined on Oct 2007
#5
is this conky-all package in some repository because HAM doesn't install dependencies if the packages isn't from any repository.
 

The Following 2 Users Say Thank You to mikkov For This Useful Post:
Posts: 1,463 | Thanked: 1,916 times | Joined on Feb 2008 @ Edmonton, AB
#6
whyyyyyyyyyyyyyyyyyyyyyyyyy
and where the hell is that documented
thanks!!!
 
Posts: 1,463 | Thanked: 1,916 times | Joined on Feb 2008 @ Edmonton, AB
#7
seriously, should I add this to the WIKI somewhere? It should be in the packaging guidelines.
 
Reply


 
Forum Jump


All times are GMT. The time now is 17:52.