Results 1 to 3 of 3

Thread: Upgrading FreeBSD

  1. #1
    Join Date
    Aug 2011
    Posts
    5

    Upgrading FreeBSD

    Hi

    I am discovering DirectAdmin yet. During install it added some packages via pkg_add -r. After doing portsnap fetch extract and installing portupgrade I see:

    Code:
    ross@da /home/ross pts/1> portversion -vL=
    bison-2.4.1,1               <  needs updating (port has 2.4.3,1) 
    exim-4.71-1                 ?  error - origin not found 
    freetype2-2.3.9_1           <  needs updating (port has 2.4.6) 
    gd-2.0.35_1,1               <  needs updating (port has 2.0.35_7,1) 
    gettext-0.17_1              <  needs updating (port has 0.18.1.1) 
    jpeg-7                      <  needs updating (port has 8_3) 
    libiconv-1.13.1             <  needs updating (port has 1.13.1_1) 
    m4-1.4.13,1                 <  needs updating (port has 1.4.16,1) 
    perl-5.8.9_3                <  needs updating (port has 5.8.9_5) 
    pkg-config-0.23_1           <  needs updating (port has 0.25_1) 
    png-1.2.40                  <  needs updating (port has 1.4.8) 
    proftpd-1.3.3c              ?  error - origin not found

    So my question is: is it safe to use FreeBSD upgrade commands?

    for example, I would do "portupgrade -a", but this will upgrade png and freetype so recompile of the dependencies is needed. If I got it right, I need

    Code:
    cd /usr/local/directadmin/custombuild
    ./build clean
    ./build update
    ./build php
    Right? I am a bit afraid of experimenting as our server is already in production.

  2. #2
    Join Date
    Jul 2005
    Posts
    182
    your perfectly fine using the portupgrade, keep the /usr/local/directadmin/custombuild folder handy

    after the upgrade , i'd suggest testing everything in turn eg

    http / php / exim etc

    some of these may need to be reinstalled , specifically if you upgrade openssl etc etc,

    just take it slow the first time and you should have no issues.

  3. #3
    Join Date
    May 2008
    Location
    Bulgaria
    Posts
    969
    Only update those showing "needs updating...". Do not update those which shows "error" - they are handled by DirectAdmin's CustomBuild.

Similar Threads

  1. Upgrading to freebsd 6.2
    By mmaxx in forum FreeBSD 5.x
    Replies: 0
    Last Post: 02-18-2007, 09:48 AM
  2. Upgrading FreeBSD 6.0 to 6.1
    By h2d in forum FreeBSD 6.x
    Replies: 2
    Last Post: 09-01-2006, 08:43 PM
  3. Caveats upgrading to FreeBSD 5.x?
    By GITK Services in forum FreeBSD 5.x
    Replies: 6
    Last Post: 05-11-2005, 12:53 PM
  4. Upgrading FreeBSD 5.2.1 with DA to FreeBSD 5.3
    By rhoekman in forum FreeBSD 5.x
    Replies: 24
    Last Post: 02-27-2005, 06:49 AM
  5. Upgrading Perl on FreeBSD...
    By ProHS in forum General Technical Discussion & Troubleshooting
    Replies: 25
    Last Post: 02-18-2004, 08:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •