System update replaces compiled package with one from repos
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
elementary OS |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I compiled and installed the vim 8 (with GUI) to /usr/local/bin: http://
However, right after I do that I get a notification that there's a system update available:
http://
And, once I install the system update, it replaces my compiled version of vim with what I'm guessing is the non-GUI version from the repos: http://
I can reproduce this error consistently and I have been facing this issue since launch though it took me some time to figure out why my gvim kept disappearing. Please let me know in case more information is required.
These are the steps I follow to compile and install vim:
./configure --prefix=/usr/local \
make VIMRUNTIMEDIR=
checkinstall --default
It looks to me like the version number of the package you're generating is "older" than the one in the repository and is therefore getting "upgraded".
Currently in the repository this is the version of vim: 2:7.4.1689- 3ubuntu1. 1
Notice the "2" in front of the version which is the epoch field. You should set that to "3" for your package to ensure that your package doesn't get overwritten. I don't know how you do that with checkinstall but I'm sure you can look it up.
This isn't a problem with elementary os.