Upgrading Packages and Ports

Andrew L. Gould algould at datawok.com
Mon Apr 26 14:16:21 PDT 2004

On Monday 26 April 2004 04:11 pm, User Shane wrote:
> Hello Everyone,
> This is my first post so please pardon me if I mess up here...
> I installed 4.9 STABLE about 6 months ago and have been happy ever
> since. 4.9 is running on a Pentium 166. It isn't a production server
> in any way but a hobby machine to learn BSD.
> At the time, I seemed to me that the best route to runningn the
> services I wanted was to install the bigger more difficult ones from
> the CD like bind and sendmail.
> The rest of the services I wanted: MySQL, apache, mod_php, etc I
> built from ports.
> I happened upon some articles about FreeBSD on O'Reilly about keeping
> up to date and I tried to implement some of them.
> I CVSup'd a new ports list, updated the pkg data base and then ran
> 'pkg_version' to tell me if I had the most current versions.
> The listing told me that I had some outdated ones, so I used
> 'portsupgrade -arR' and things seemed to be going well.
> Abscent from the list was Sendmail and Bind. Despite the fact that
> both of those serices were running well.

There are certain applications, like Sendmail, that are included in the 
base installation.  If you update your system using cvsup and the 'make 
world' process, these applications will be updated automatically.

> So, as an experiment I went to /usr/ports/mail/sendmail and strangely
> sendmail was built with 'make install clean'
> pkg_version tells me that I have sendmail 8.10.12 (something like
> that)
> but when I 'telnet 25' sendmail tells me that it's a lower
> version number.
> Some ports like 'phpmyadmin' automatically upgraded themseleves ...
> I am missing some thing here, but what?

'portsupgrade -arR' upgrades all installed packages that can be 
upgraded, given the installed ports tree.  (Base system applications 
are not "installed packages".)

> Thanks in advance for any insight you can share.
> Shane

Best of luck,

Andrew Gould

More information about the freebsd-questions mailing list