Bug 15288

Summary: pkg_version -c output isn't safe for scripts to use
Product: Base System Reporter: bugg <bugg>
Component: miscAssignee: jkh
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description bugg 1999-12-06 00:00:01 UTC
pkg_version -c outputs commands to run to update your packages..
Before deleting the old version, it does nothing to ensure that the new
package can be installed.  Result: you can be stuck without your old version
and the new version not compiling.

Fix: Patch follows:
How-To-Repeat: Run commands from pkg_version -c blindly (i.e. by a script) when one of the
ports that it is going to update is broken.
Comment 1 cpiazza freebsd_committer freebsd_triage 1999-12-06 00:04:12 UTC
Responsible Changed
From-To: freebsd-bugs->billf

Over to maintainer 
Comment 2 Sheldon Hearn freebsd_committer freebsd_triage 2000-08-07 15:02:04 UTC
State Changed
From-To: open->closed

Fixed in HEAD and in RELENG_4 as far back as 4.0-RELEASE. 


Comment 3 Sheldon Hearn freebsd_committer freebsd_triage 2000-08-07 15:02:04 UTC
Responsible Changed
From-To: billf->jkh

Jordan fixed this.