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

2018-08-21 Thread Zenaan Harkness
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
> > . 
> 
> 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/
> 



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

2018-08-21 Thread Greg Wooledge
On Tue, Aug 21, 2018 at 01:46:08PM -0400, Felix Miata wrote:
> /topic at irc://freenode/#debian makes no mention of ssb.

The bots have thousands of factoids.  The overwhelming majority are not
mentioned in the /topic.

> 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?

13:57 ->[dpkg] ssb
13:57 <-dpkg[~dpkg@unaffiliated/dpkg] First, check for a backport on
  .  If unavailable: 1) Add a deb-src line for sid
  (not a deb line!); ask me about  2) enable
  debian-backports (see ) 3) aptitude update; aptitude install
  build-essential; aptitude build-dep packagename; apt-get -b source
  packagename; 4) install the resultant debs.  To change compilation
  options, see ; for versions newer than sid see
  .



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

2018-08-21 Thread Felix Miata
Greg Wooledge composed on 2018-08-21 13:28 (UTC-0400):

> On Tue, Aug 21, 2018 at 01:20:23PM -0400, Felix Miata wrote:

>> I would have been
>> happen [happy?] to stick with 4.8.17 if I could have found one anywhere.
>> http://ftp.us.debian.org/debian/pool/main/m/mc/ skips from 4.8.13 to 4.8.18,
>> then to 4.8.21.

> http://snapshot.debian.org/
> http://snapshot.debian.org/binary/mc/
> http://snapshot.debian.org/package/mc/3%3A4.8.17-1/#mc_3:3a:4.8.17-1

Maybe next time I can remember snapshot.debian.org exists. It was already in my
bookmarks. :-p

Thanks for the reminder.
-- 
"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/



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

2018-08-21 Thread Felix Miata
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
> . 

That starts with:

1-Install Debian packaging tools
then
7-build...

so for me it is a no go.

> 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/



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

2018-08-21 Thread Greg Wooledge
On Tue, Aug 21, 2018 at 01:20:23PM -0400, Felix Miata wrote:
> I would have been
> happen [happy?] to stick with 4.8.17 if I could have found one anywhere.
> http://ftp.us.debian.org/debian/pool/main/m/mc/ skips from 4.8.13 to 4.8.18,
> then to 4.8.21.

http://snapshot.debian.org/
http://snapshot.debian.org/binary/mc/
http://snapshot.debian.org/package/mc/3%3A4.8.17-1/#mc_3:3a:4.8.17-1



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

2018-08-21 Thread Felix Miata
David Wright composed on 2018-08-21 11:06 (UTC-0500):

Thank you for replying!

> On Mon 20 Aug 2018 at 23:50:59 (-0400), Felix Miata wrote:

>> Stretch comes with 4.8.18, which for me is unusable due to an upstream bug 
>> fixed
>> in 4.8.19[1], but 4.8.19 is unusable due to another upstream bug, not fixed
>> until 4.8.20[2]. 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 because it thinks mc is broken and needs to be removed by "apt
>> --fix-broken install". Apparently apt thinks mc depends on different packages
>> than dpkg does:

>> # apt install inxi
>> ...
>> The following packages have unmet dependencies:
>>  inxi : Depends: gawk but it is not going to be installed
>>  mc : Depends: libext2fs2 (>= 1.37)
>>   Depends: libgpm2 (>= 1.20.7) but 1.20.4-6.2+b1 is to be installed
>> E: Unmet dependencies. Try 'apt --fix-broken install'

>> # dpkg-reconfigure mc
>> /usr/sbin/dpkg-reconfigure: mc is broken or not fully installed

>> Am I the only one who needs mc to work in Stretch? What do others do?

>> [1] fubar right pane at startup with saved long file listing
>> http://midnight-commander.org/ticket/3758

> I've not used this facility so I didn't know mc was "broken".

> I would be tempted to try a workaround. Can you define a hot
> key which obeys the keystrokes necessary to reselect Long View,
> but which finishes by redefining itself to its original use.

> Just a untested suggestion. Of course this might not work for
> you even if it's possible: I have all my mc configuration in
> readonly files (owned by root where readonly isn't enough) so
> it starts up consistently.

I have too many users spread across too many installations to consider such an
approach viable when an unbroken package already exists. I would have been
happen to stick with 4.8.17 if I could have found one anywhere.
http://ftp.us.debian.org/debian/pool/main/m/mc/ skips from 4.8.13 to 4.8.18,
then to 4.8.21.

>> [2] VFS: timestamps not being preserved due to uninitialized struct stat
>> st_[acm]tim.tv_nsec (#3821)
>> http://midnight-commander.org/ticket/3821

> I couldn't understand this one as it only seemed to describe the code
> necessary to fix a bug whose symptoms weren't fully described.

That URL originally came from the mc mailing list thread where I inquired of the
problem and was told the fix was already in git.
https://mail.gnome.org/archives/mc/2017-August/msg3.html

I couldn't make sense of it either, but the link in the 4.8.20 release notes
seemed an adequate connection to the problem for programmer minds to figure out:
VFS: timestamps not being preserved due to uninitialized struct stat
st_[acm]tim.tv_nsec (#3821)
http://midnight-commander.org/wiki/NEWS-4.8.20

Eventually I added buster to sources.list, installed 4.8.21, then removed the
buster source. This was on my 2GB USB "rescue" stick with Stretch-based Slax 
9.5:
https://wiki.trinitydesktop.org/Slax_with_Trinity
https://www.slax.org/gl/

Freespace on the 2GB Slax USB stick complete with KDE3-based TDE GUI desktop
(and systemd) plus my additions is 72%.
-- 
"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/



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

2018-08-21 Thread David Wright
On Mon 20 Aug 2018 at 23:50:59 (-0400), Felix Miata wrote:
> Stretch comes with 4.8.18, which for me is unusable due to an upstream bug 
> fixed
> in 4.8.19[1], but 4.8.19 is unusable due to another upstream bug, not fixed
> until 4.8.20[2]. 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 because it thinks mc is broken and needs to be removed by "apt
> --fix-broken install". Apparently apt thinks mc depends on different packages
> than dpkg does:
> 
> # apt install inxi
> ...
> The following packages have unmet dependencies:
>  inxi : Depends: gawk but it is not going to be installed
>  mc : Depends: libext2fs2 (>= 1.37)
>   Depends: libgpm2 (>= 1.20.7) but 1.20.4-6.2+b1 is to be installed
> E: Unmet dependencies. Try 'apt --fix-broken install'
> 
> # dpkg-reconfigure mc
> /usr/sbin/dpkg-reconfigure: mc is broken or not fully installed
> 
> Am I the only one who needs mc to work in Stretch? What do others do?
> 
> [1] fubar right pane at startup with saved long file listing
> http://midnight-commander.org/ticket/3758

I've not used this facility so I didn't know mc was "broken".

I would be tempted to try a workaround. Can you define a hot
key which obeys the keystrokes necessary to reselect Long View,
but which finishes by redefining itself to its original use.

Just a untested suggestion. Of course this might not work for
you even if it's possible: I have all my mc configuration in
readonly files (owned by root where readonly isn't enough) so
it starts up consistently.

> [2] VFS: timestamps not being preserved due to uninitialized struct stat
> st_[acm]tim.tv_nsec (#3821)
> http://midnight-commander.org/ticket/3821

I couldn't understand this one as it only seemed to describe the code
necessary to fix a bug whose symptoms weren't fully described.

Cheers,
David.



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

2018-08-21 Thread Greg Wooledge
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

> >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
.  The IRC bots have a
simplified recipe as well, under the factoid name "simple sid backport"
or "ssb" for short.



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

2018-08-21 Thread bw



On Mon, 20 Aug 2018, Felix Miata wrote:

> Stretch comes with 4.8.18, which for me is unusable due to an upstream bug 
> fixed
> in 4.8.19[1], but 4.8.19 is unusable due to another upstream bug, not fixed
> until 4.8.20[2]. 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 because it thinks mc is broken and needs to be removed by "apt
> --fix-broken install". Apparently apt thinks mc depends on different packages
> than dpkg does:
> 
> # apt install inxi
> ...
> The following packages have unmet dependencies:
>  inxi : Depends: gawk but it is not going to be installed
>  mc : Depends: libext2fs2 (>= 1.37)
>   Depends: libgpm2 (>= 1.20.7) but 1.20.4-6.2+b1 is to be installed
> E: Unmet dependencies. Try 'apt --fix-broken install'
> 
> # dpkg-reconfigure mc
> /usr/sbin/dpkg-reconfigure: mc is broken or not fully installed
> 
> Am I the only one who needs mc to work in Stretch? What do others do?
> 
> [1] fubar right pane at startup with saved long file listing
> http://midnight-commander.org/ticket/3758
> 
> [2] VFS: timestamps not being preserved due to uninitialized struct stat
> st_[acm]tim.tv_nsec (#3821)
> http://midnight-commander.org/ticket/3821
> -- 
> "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/
> 
> 

>From what I have read, the way to do it would be backport the necessary 
pkgs yourself from testing.  



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

2018-08-20 Thread Felix Miata
Stretch comes with 4.8.18, which for me is unusable due to an upstream bug fixed
in 4.8.19[1], but 4.8.19 is unusable due to another upstream bug, not fixed
until 4.8.20[2]. 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 because it thinks mc is broken and needs to be removed by "apt
--fix-broken install". Apparently apt thinks mc depends on different packages
than dpkg does:

# apt install inxi
...
The following packages have unmet dependencies:
 inxi : Depends: gawk but it is not going to be installed
 mc : Depends: libext2fs2 (>= 1.37)
  Depends: libgpm2 (>= 1.20.7) but 1.20.4-6.2+b1 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install'

# dpkg-reconfigure mc
/usr/sbin/dpkg-reconfigure: mc is broken or not fully installed

Am I the only one who needs mc to work in Stretch? What do others do?

[1] fubar right pane at startup with saved long file listing
http://midnight-commander.org/ticket/3758

[2] VFS: timestamps not being preserved due to uninitialized struct stat
st_[acm]tim.tv_nsec (#3821)
http://midnight-commander.org/ticket/3821
-- 
"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/