RE: Package replacement
What you want is to use the /etc/alternatives directory and update-alternatives.
On 29-Dec-98 Shane Wegner wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
>
> Hi,
>
> I am rather new to Debian and am wondering if someone here would be able
> to point me in the right direction. So far, when I install a source
> package, I Debianize it first. This way I can pull it out again and
> install it on other systems. I've come across a package however that has
> stumped me. I am trying to install a new and more user friendly version
> of the write(1) utility. The trick is that it replaces /usr/bin/write and
> /usr/bin/mesg. Also it adds some other programs but those are easy. Now,
> when I pull it out, I'd like for the old /usr/bin/write and /usr/bin/mesg
> to come back. Does Debian have anything in place to facilitate this and
> if so, is there a document which explains how to do it with debhelper?
>
> - --
> Shane Wegner: shane@cm.nu
> Tel: (604) 930-0530
> Sysadmin, Continuum Systems: http://www.cm.nu
> Personal website: http://www.cm.nu/~shane
> Celine Dion Fan site: http://www.celine.nu/
> PGP key: http://www.cm.nu/~shane/pgp.txt
> ICQ UIN: 15706546
>
> -----BEGIN PGP SIGNATURE-----
> Version: 2.6.3a
> Charset: noconv
>
> iQEVAwUBNohmYlzLgRKaVg+xAQFm7QgAwGu9D7g6s8/9EId7DIz2s4NXBc9Ylgio
> vL5zg1Dk7U83h+Hvjb4Zi0iWbO9LWsnZ5rIfmdmf0mwI3DLwfxnK3S9Ai9/qaAr5
> 1WXZgelsP/eE86YphWvnkygUb4CZHk2xKrIvsrcY2oMZNiTDdQ3Y562IL5FJRGMt
> hejwW10o4NFEkXgx1Oa8q5KKGwMOydwa6/0h1A5CkQIEaBzvIoxsNhHXhinh8kc0
> /CEiqa+FveHXy2m6QG1fTtQk5hGAmrdSxnsR4HzSFb8pXiP2M4ZhwQTedRC3gKXs
> Fzr/FS4i+BfLEAzwBlBHG4HwTI4ToEkTytQrT+PwAIzV/9nUPlGARA==
> =qlsz
> -----END PGP SIGNATURE-----
>
>
> --
> To UNSUBSCRIBE, email to debian-mentors-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: