<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"><div id="yui_3_16_0_ym19_1_1530908304350_8257">:-)</div><div id="yui_3_16_0_ym19_1_1530908304350_8396"><br></div><div id="yui_3_16_0_ym19_1_1530908304350_8397">Previously I had followed instructions from openscad web-site to mess around with sources.list and install openscad-nightly from some not-Debian website. It gave me a "working" program on one computer, but not the other.</div><div id="yui_3_16_0_ym19_1_1530908304350_8524"><br></div><div id="yui_3_16_0_ym19_1_1530908304350_8398">By following Rick's instructions, and downloading and installing some additional libraries, I was able to get openscad 2015.03 running on the other. The process of downloading and dpkg and finding yet another file took about an hour.</div><div id="yui_3_16_0_ym19_1_1530908304350_8400"><br></div><div id="yui_3_16_0_ym19_1_1530908304350_8456">I am really starting to appreciate how much work the package manager just does with little effort on my part.<br></div><div id="yui_3_16_0_ym19_1_1530908304350_8246"><span><br></span></div><div id="yui_3_16_0_ym19_1_1530908304350_8566"><span id="yui_3_16_0_ym19_1_1530908304350_8565">At a later time, I will remove openscad-nightly and install the Debian version.<br></span></div><div><span></span></div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1530908304350_8455">Enjoy Denver.<br><br></div><div class="yahoo_quoted" id="yui_3_16_0_ym19_1_1530908304350_8451" style="display: block;"> <div style="font-family: Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 13px;" id="yui_3_16_0_ym19_1_1530908304350_8450"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_ym19_1_1530908304350_8449"> <div dir="ltr" id="yui_3_16_0_ym19_1_1530908304350_8448"> <font id="yui_3_16_0_ym19_1_1530908304350_8454" size="2" face="Arial"> <hr size="1"> <b id="yui_3_16_0_ym19_1_1530908304350_8453"><span style="font-weight:bold;" id="yui_3_16_0_ym19_1_1530908304350_8452">From:</span></b> Rick Moen <rick@linuxmafia.com><br> <b><span style="font-weight: bold;">To:</span></b> conspire@linuxmafia.com <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, July 6, 2018 9:51 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [conspire] Install openscad. WAS: Re: upgrade and grub<br> </font> </div> <div class="y_msg_container" id="yui_3_16_0_ym19_1_1530908304350_8509"><br>Quoting Paul Zander (<a shape="rect" ymailto="mailto:paulz@ieee.org" href="mailto:paulz@ieee.org">paulz@ieee.org</a>):<br clear="none"><br clear="none">> Before I go off half-cocked, here is what I think I should do. <br clear="none">> Basically manually download 3 specific files and then run dpkg.<br clear="none"><br clear="none">Just a word of context: Deirdre and I are at a convention in Denver,<br clear="none">and I really can't devote huge amounts of time to this. The good news:<br clear="none">If you try to do 'dpkg -i $PACKAGE1 $PACKAGE2 $PACKAGE3 [...]' and the<br clear="none">requested action cannot be done because some dependency isn't being<br clear="none">satisfied, dpkg will halt, tell you the problem, and not do anything<br clear="none">(else).<br clear="none"><br clear="none">At which point, you say 'Ah, I see, I got the wrong version deb of<br clear="none">libfoo', fix that, and try again.<br clear="none"><br clear="none">You'll note that this is a somewhat annoying and checking-intensive<br clear="none">process, which will doubtless remind you of how nice apt-get's automatic<br clear="none">dependency resolution is. Unfortunately, because you are seeking to<br clear="none">install a package no longer in your development track's<br clear="none">(Debian-testing's) package collection, there's no obvious way to do what<br clear="none">you want using normal apt-based package operations, so you're obliged to <br clear="none">collect the needed pieces manually, doing yourself the work that apt-get<br clear="none">normally would.<br clear="none"><br clear="none">Don't be surprised to get the mix of packages wrong a time or two.<br clear="none"><br clear="none">> I don't need debug, and I probably should get latest entry, so<br clear="none">> download the last file.<br clear="none"><br clear="none">Wrong criterion. You should get whatever satisfies the dependencies<br clear="none">for the openscad package that makes it necessary. (No, you don't<br clear="none">need a debug version.) What versions are required? Short of pulling<br clear="none">the openscad deb apart to look at the metadata (do-able, but a bit of<br clear="none">work), the easiest way is to just try to install using dpkg, get the<br clear="none">combination of app package and libs packages wrong the first time, and <br clear="none">fix it by heeding dpkg's complaint about why that operation won't work.<br clear="none"><br clear="none">I warned that this is going to take a bit of work. That's exactly the<br clear="none">part where you have to do some work.<br clear="none"><br clear="none">> Now the 3 files are in a known directory. <br clear="none">> Can any directory be used? <br clear="none"><br clear="none">Sure. I tend to use /tmp/ .<br clear="none"><br clear="none">But, when I say 'any directory'...:<br clear="none"><br clear="none">> Some web searching suggests /var/cache/apt/archives/<br clear="none">> Is this necessary, or just a common practice?<br clear="none"><br clear="none">The apt tools place a copy of any installed package into<br clear="none">there. You would normally leave the directory alone. If<br clear="none">hypothetically you wanted to reclaim some disk space, you could do<br clear="none">'apt-get clean' to prune the contents of /var/cache/apt/archives/ and<br clear="none">/var/cache/apt/archives/partial/ (removing everything but lock files).<br clear="none"><br clear="none">Be careful about advice from dodgy characters on the Internet (including<br clear="none">me).<br clear="none"><br clear="none">> Finally: `apt-get update`<br clear="none">> `dpkg -i <local_path>openscad`<br clear="none"><br clear="none">Personally, I would marshall into a convenient place (such as /tmp/) all<br clear="none">of the deb files I think I need -- after making sure that I am meeting <br clear="none">dependency requirements -- and then install them all using a single<br clear="none">'dpkg -i' operation. But suit yourself. There's nothing particularly<br clear="none">harmful about, say, putting in using dpkg an ultimately undesirable<br clear="none">version of a libs package, but then, after you figure out it's not what<br clear="none">you wanted, you'd end up wanting to remove it, so why not just assemble<br clear="none">all the pieces needed and put them in all at once?<br clear="none"><br clear="none"><br clear="none">_______________________________________________<br clear="none">conspire mailing list<div class="yqt0850530330" id="yqtfd20944"><br clear="none"><a shape="rect" ymailto="mailto:conspire@linuxmafia.com" href="mailto:conspire@linuxmafia.com">conspire@linuxmafia.com</a></div><br clear="none"><a shape="rect" href="http://linuxmafia.com/mailman/listinfo/conspire" target="_blank">http://linuxmafia.com/mailman/listinfo/conspire</a><div class="yqt0850530330" id="yqtfd51641"><br clear="none"></div><br><br></div> </div> </div> </div></div></body></html>