Subject: Re: Alternatives system for pkgsrc
To: None <>
From: Jeremy C. Reed <>
List: tech-pkg
Date: 01/20/2005 09:43:36
> >   I think, the choice should be recorded, so if the package is later
> > added again, it is selected automatically.  Updates are often done by
> > removing the old versions of packages and then installing the new
> > versions.  I think the selected alternative should be the same after
> > such an update.

One way to keep it recorded is to keep the /etc/alternatives/vi symlink
existing. It will point to a non-existent file (like /usr/pkg/bin/vim).
And since nothing is pointing to it (no /usr/pkg/bin/vi symlink), all
should be well.

 Jeremy C. Reed

 	  	 	 technical support & remote administration