Bug 51385

Summary: Confusing message when installing newer version of existing port
Product: Ports & Packages Reporter: Dmitry Sivachenko <mitya>
Component: Individual Port(s)Assignee: Port Management Team <portmgr>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Dmitry Sivachenko 2003-04-24 17:40:22 UTC
Imagine you have some version of a port installed (say, bison-1.75).
Try to install newer version of bison (say, 1.875) from ports.

The following message is displayed:
===>  Installing for bison-1.875
===>  bison-1.875 is already installed - perhaps an older version?
============^^^^^
      If so, you may wish to ``make deinstall'' and install
      this port again by ``make reinstall'' to upgrade it properly.
      If you really wish to overwrite the old port of bison-1.875
============================================================^^^^^
      without deleting it first, set the variable "FORCE_PKG_REGISTER"
      in your environment or the "make install" command line.

This message incorrectly states I have bison-1.875 installed.
Comment 1 Dmitry Sivachenko freebsd_committer freebsd_triage 2003-04-24 17:41:39 UTC
Responsible Changed
From-To: freebsd-ports-bugs->portmgr

portmgr handles bsd.port.mk issues.
Comment 2 Kris Kennaway freebsd_committer freebsd_triage 2003-05-10 23:41:26 UTC
State Changed
From-To: open->feedback

Currently being tested on bento
Comment 3 Kris Kennaway freebsd_committer freebsd_triage 2003-05-10 23:41:39 UTC
State Changed
From-To: feedback->analyzed

Analyzed is the appropriate state for this
Comment 4 Sergey Matveychuk 2003-06-07 02:18:37 UTC
Work on a new patch for more smarter check-already-installed is in 
progress. The new patch detects is the same version installed or older 
one with a proper message.
Comment 5 Kris Kennaway freebsd_committer freebsd_triage 2003-07-07 01:06:42 UTC
State Changed
From-To: analyzed->closed

This is now fixed, thanks for the report.