cvs commit: src/usr.sbin/sysinstall config.c
Simon L. Nielsen
simon at FreeBSD.org
Mon Aug 9 14:50:10 PDT 2004
simon 2004-08-09 21:50:10 UTC
FreeBSD src repository (doc committer)
During FTP installs, when installing Postfix as an alternate MTA, the
install of Postfix fails since Postfix 1 is picked from INDEX instead
of Postfix 2.
The problem is that the package_add function matches multiple Postfix
packages and then installs a "random" version (the last one found in
INDEX). This does not occur with a CD-ROM install since there is only
one Postfix package on the CD-ROM.
The correct solution to this would be to check the origin field from
INDEX instead of the package name, but due to the way sysinstall is
made that is not trivial, so instead work around the problem by
hard-coding the Postfix major and minor revision (for the current
stable version) to install directly into the package_add call.
Reported by: Harold Kachelmyer <bugs at princessharold.net>
Approved by: trhodes
Revision Changes Path
1.224 +1 -1 src/usr.sbin/sysinstall/config.c
More information about the cvs-src