Re: Bug#13287: less uses /usr/bin/editor without it necessarily being there.
-----BEGIN PGP SIGNED MESSAGE-----
Christian Schwarz, in an immanent manifestation of deity, wrote:
>But this is no bug in less but in all the editor packages that install an
>editor but do not provide /usr/bin/editor. At least the editors in the
>base system (I think ae and tiny-vi) should provide /usr/bin/editor.
>Please reassign this bug to the appropriate base package.
Okay. It's a bug in the dependency system since less is depending on a
feature implemented in essential package(s) that hasn't been fulfilled
yet. So, should this be filed against base? ae? all editors? I guess
if someone upgrades to unstable, they get unpredictable results at
times. I'm just trying to fulfill dependencies so that the seemless
upgrade piecemeal promised by Debian works.
>Sorry, but I still don't understand your point. I totally agree with you
>that the current situation is not nice, but this is neither a bug in the
>policy nor in less. The bug is that the "editor" and "pager" packages have
>not been updated to latest policy (or the maintainers simply forgot about
>this change).
The point is that there is no "editor" package and I can't file a
dependency on one since policy specifically says I can't.
>As soon as at least the base system provides /usr/bin/editor and
>/usr/bin/pager, there wouldn't be a difference if someone would check the
>env vars and fall back to /usr/bin/{editor,pager} _or_ would use
>/usr/bin/sensible-* in the first place.
But since it doesn't, there is a difference, *right now*. It's that
sensible-editor provides a reasonable error if, for some reason,
/usr/bin/editor doesn't exist and the envar EDITOR isn't set. editor
doesn't. The reason /usr/bin/editor doesn't exist could also be that
something got screwed up with update-alternatives as well.
Darren
- --
<torin@daft.com> <http://www.daft.com/~torin> <torin@debian.org> <torin@io.com>
Darren Stalder/2608 Second Ave, @282/Seattle, WA 98121-1212/USA/+1-800-921-4996
@ Sysadmin, webweaver, postmaster for hire. C/Perl/CGI programmer and tutor. @
@ Make a little hot-tub in your soul. @
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3
Charset: noconv
Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface
iQCVAwUBNDgRRI4wrq++1Ls5AQHJqAP/ZKbetQPRAGG2nnRLtYbNZ29NlTPORrto
Jkp+JH94s/DFv5hArxnZEtdY0dmwtncgWTLVI5r1+nuvPZfCLNEoQ0IiC9Lp1kNQ
h8yiVcms5KRBkQpT6uwaNLZNwMrG5KBay6+z9AA0YgJUpFrcyEuUow66jppKUkou
IhptMrlVQNs=
=z9sL
-----END PGP SIGNATURE-----
Reply to: