Web lists-archives.com

Re: What's the right way to get an unbroken mc package installed in Stretch




On Tue, Aug 21, 2018 at 01:46:08PM -0400, Felix Miata wrote:
> Greg Wooledge composed on 2018-08-21 08:55 (UTC-0400):
> 
> > On Tue, Aug 21, 2018 at 08:36:30AM -0400, bw wrote:
> 
> >> On Mon, 20 Aug 2018, Felix Miata wrote:
> 
> >> > I configured stretch-backports in sources.list, but apparently
> >> > it has no newer mc version available. 4.8.21 is on the mirrors, so I downloaded
> >> > it from a mirror and installed it with dpkg. It works fine, but now apt is
> >> > broken
> 
> > https://wiki.debian.org/DontBreakDebian
> 
> I know. I was tired after hours of Google offering Debian hits on *ubuntu.* URLs
> instead of debian.org, not finding anything specific on debian.org, and
> rebooting the USB stick I was trying to get configured with Stretch-based Slax,
> which apparently has no detectable web forum or mailing list. With having
> already installed unbroken mc packages successfully on other Stretch
> installations I was puzzled by the "added" mc 4.28.21 deps:
> 
> e2fslibs_1.44.3-1_amd64.deb
> e2fsprogs_1.44.3-1_amd64.deb
> gpm_1.20.7-5_amd64.deb
> libcom-err2_1.44.3-1_amd64.deb
> libcomerr2_1.44.3-1_amd64.deb
> libext2fs2_1.44.3-1_amd64.deb
> libgpm2_1.20.7-5_amd64.deb
> 
> >> >From what I have read, the way to do it would be backport the necessary 
> >> pkgs yourself from testing.  
> 
> > And the procedure for doing this is at
> > <https://wiki.debian.org/SimpleBackportCreation>. 
> 
> That starts with:
> 	
> 	1-Install Debian packaging tools
> then
> 	7-build...
> 
> so for me it is a no go.

If something like this comes up in the future, you might consider
either a VM, loopback filesystem in a sparse file, or just plain
separate folder (ZFS filesystems are nice for this sort of thing),
into which you install a minimal sid installation, for building stuff
you need. Also, that way you can also do things like static builds -
i.e. eliminiate dependencies by having all the dependencies built
right into the binary at issue, so you only have one (custom) deb
package to install (and not all its dependencies).

Even if you run sid as your main workstation/desktop (as many do),
having a separate build environment keeps all the build-depends (and
-docs etc) isolated from your "workstation" install.

Good luck,


> > The IRC bots have a
> > simplified recipe as well, under the factoid name "simple sid backport"
> > or "ssb" for short.
> 
> /topic at irc://freenode/#debian makes no mention of ssb.
> 
> https://www.google.com/search?q=irc+bots+ssd&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:unofficial
> looks unhelpful.
> 
> What do you mean by IRC bots?
> -- 
> "Wisdom is supreme; therefore get wisdom. Whatever else you
> get, get wisdom." Proverbs 4:7 (New Living Translation)
> 
>  Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!
> 
> Felix Miata  ***  http://fm.no-ip.com/
>