Blocking a base package from installing

Linda Walsh cygwin@tlinx.org
Thu Oct 6 18:30:00 GMT 2016


Achim Gratz wrote:
> Chris Sutcliffe writes:
>> I'm using a self compiled vim, so I uninstalled vim-minimal.  Every
>> time I run setup to get the latest updates, setup attempts to
>> reinstall vim-minimal - is there a way to make setup ignore
>> vim-minimal?
> 
> Yes, at least two.
> 
> 1. Build a proper package and give it a higher version number than
> Cygwin's own Vim.  
> 
> 2. Fake the installation of vim-minimal in /etc/setup/installed.db and
> give that fake installation some high version number.
---
Both of which are "lying" to the package manager, to get it to
NOT install an inferior (from the standpoint of not containing
the user-desired modifications/features) package.  It should
be possible to "LOCK" a package (base or not), to prevent it from
being removed/updated/installed or changed by setup, no?  


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list