Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #199130 > unrolled thread

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

Started byFelix Miata <mrmazda@earthlink.net>
First post2018-08-21 06:00 +0200
Last post2018-08-21 20:00 +0200
Articles 10 — 5 participants

Back to article view | Back to linux.debian.user


Contents

  What's the right way to get an unbroken mc package installed in  Stretch Felix Miata <mrmazda@earthlink.net> - 2018-08-21 06:00 +0200
    Re: What's the right way to get an unbroken mc package installed in  Stretch bw <bwtnguy@yahoo.com> - 2018-08-21 14:40 +0200
      Re: What's the right way to get an unbroken mc package installed in  Stretch Greg Wooledge <wooledg@eeg.ccf.org> - 2018-08-21 15:00 +0200
        Re: What's the right way to get an unbroken mc package installed in  Stretch Felix Miata <mrmazda@earthlink.net> - 2018-08-21 19:50 +0200
          Re: What's the right way to get an unbroken mc package installed in  Stretch Greg Wooledge <wooledg@eeg.ccf.org> - 2018-08-21 20:00 +0200
          Re: What's the right way to get an unbroken mc package installed in  Stretch Zenaan Harkness <zenaan@freedbms.net> - 2018-08-22 01:40 +0200
    Re: What's the right way to get an unbroken mc package installed in  Stretch David Wright <deblis@lionunicorn.co.uk> - 2018-08-21 18:10 +0200
      Re: What's the right way to get an unbroken mc package installed in  Stretch Felix Miata <mrmazda@earthlink.net> - 2018-08-21 19:30 +0200
        Re: What's the right way to get an unbroken mc package installed in  Stretch Greg Wooledge <wooledg@eeg.ccf.org> - 2018-08-21 19:40 +0200
          Re: What's the right way to get an unbroken mc package installed in  Stretch Felix Miata <mrmazda@earthlink.net> - 2018-08-21 20:00 +0200

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

FromFelix Miata <mrmazda@earthlink.net>
Date2018-08-21 06:00 +0200
SubjectWhat's the right way to get an unbroken mc package installed in Stretch
Message-ID<wp5ZL-6b4-3@gated-at.bofh.it>
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/

[toc] | [next] | [standalone]


#199141

Frombw <bwtnguy@yahoo.com>
Date2018-08-21 14:40 +0200
Message-ID<wpe70-2A0-5@gated-at.bofh.it>
In reply to#199130

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.  

[toc] | [prev] | [next] | [standalone]


#199143

FromGreg Wooledge <wooledg@eeg.ccf.org>
Date2018-08-21 15:00 +0200
Message-ID<wpeql-2Gi-3@gated-at.bofh.it>
In reply to#199141
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
<https://wiki.debian.org/SimpleBackportCreation>.  The IRC bots have a
simplified recipe as well, under the factoid name "simple sid backport"
or "ssb" for short.

[toc] | [prev] | [next] | [standalone]


#199176

FromFelix Miata <mrmazda@earthlink.net>
Date2018-08-21 19:50 +0200
Message-ID<wpiWZ-5rF-7@gated-at.bofh.it>
In reply to#199143
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.

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

[toc] | [prev] | [next] | [standalone]


#199177

FromGreg Wooledge <wooledg@eeg.ccf.org>
Date2018-08-21 20:00 +0200
Message-ID<wpj6G-5v2-13@gated-at.bofh.it>
In reply to#199176
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
          <debian-backports>.  If unavailable: 1) Add a deb-src line for sid
          (not a deb line!); ask me about <deb-src sid> 2) enable
          debian-backports (see <bdo>) 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 <package recompile>; for versions newer than sid see
          <uupdate>.

[toc] | [prev] | [next] | [standalone]


#199207

FromZenaan Harkness <zenaan@freedbms.net>
Date2018-08-22 01:40 +0200
Message-ID<wpopI-gu-5@gated-at.bofh.it>
In reply to#199176
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/
> 

[toc] | [prev] | [next] | [standalone]


#199159

FromDavid Wright <deblis@lionunicorn.co.uk>
Date2018-08-21 18:10 +0200
Message-ID<wphod-4F8-3@gated-at.bofh.it>
In reply to#199130
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.

[toc] | [prev] | [next] | [standalone]


#199173

FromFelix Miata <mrmazda@earthlink.net>
Date2018-08-21 19:30 +0200
Message-ID<wpiDD-5lr-3@gated-at.bofh.it>
In reply to#199159
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/msg00003.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/

[toc] | [prev] | [next] | [standalone]


#199175

FromGreg Wooledge <wooledg@eeg.ccf.org>
Date2018-08-21 19:40 +0200
Message-ID<wpiNk-5oq-19@gated-at.bofh.it>
In reply to#199173
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

[toc] | [prev] | [next] | [standalone]


#199178

FromFelix Miata <mrmazda@earthlink.net>
Date2018-08-21 20:00 +0200
Message-ID<wpj6G-5v2-23@gated-at.bofh.it>
In reply to#199175
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/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web