Ports after upgrade

Marco Hafke bsd.mailinglisten at googlemail.com
Wed Feb 28 10:36:39 UTC 2007


Hello,
which version og FreeBSD do you use? Some hints:

1. Instaed of "make index" you can use "make fetchindex" which is much 
more faster.

2. You should try to use portsnap instead of cvsup which is in the base 
since 6.2. It works pretty finde.

3. Your problem looks like a portupgrade mistake. I think you better 
should delete your whole portstree and your portsdb and build try again 
to fix your problems

So do

# rm -r /usr/ports
# mkdir /usr/ports

After that do cvsup, csup or portsnap to get the latest portstree. Then 
use the latest portupgrade. /usr/ports/UPDATING says:

"20070102:
   AFFECTS: users of sysutils/portupgrade
   AUTHOR: sem at FreeBSD.org

   If you have a problem with upgrading the tools from version 2.2.1 and 
less,
   remove the package with pkg_delete portupgrade\* command and reinstall it
   from scratch. Remove /usr/ports/INDEX*.db and run portsdb -u."

After upgrading portupgrade you should rebuild apache with something 
like that:

# portupgrade -rRf apache

After that apache should work proper.

Good luck!

Marco


Atilla Gosterisli schrieb:
> Please help,
> 
> After perl upgrade 5.8 my apache didn't start giving "/usr/libexec/ld-elf.so.1: Shared object "libexpat.so.4" not found"  error 
> and couldn't make install for apache I upgrade the all ports with cvsup 
> After successfull upgrade, ports are not working  I can not make index with "make index" either.
> 
> 
> "/usr/ports/Mk/bsd.port.mk", line 2292: warning: String comparison operator should be either == or !=
> "/usr/ports/Mk/bsd.port.mk", line 2292: warning: String comparison operator should be either == or !=
> "/usr/ports/Mk/bsd.port.mk", line 2292: Malformed conditional (((${OSVERSION} < 504105 || (${OSVERSION} >= 600000 && ${OSVERSION} < 600103) || (${OSVERSION} >= 700000 && ${OSVERSION} < 700012)) && ${PKGORIGIN} != "ports-mgmt/pkg_install") || exists(${LOCALBASE}/sbin/pkg_info))
> "/usr/ports/Mk/bsd.port.mk", line 2293: warning: String comparison operator should be either == or !=
> "/usr/ports/Mk/bsd.port.mk", line 2293: warning: String comparison operator should be either == or !=
> "/usr/ports/Mk/bsd.port.mk", line 2293: Malformed conditional ((${OSVERSION} < 504105 || (${OSVERSION} >= 600000 && ${OSVERSION} < 600103) || (${OSVERSION} >= 700000 && ${OSVERSION} < 700012)) && ${PKGORIGIN} != "ports-mgmt/pkg_install")
> "/usr/ports/Mk/bsd.port.mk", line 2308: if-less else
> "/usr/ports/Mk/bsd.port.mk", line 2308: Need an operator
> "/usr/ports/Mk/bsd.port.mk", line 2322: if-less endif
> "/usr/ports/Mk/bsd.port.mk", line 2322: Need an operator
> "/usr/ports/Mk/bsd.port.mk", line 5987: if-less endif
> "/usr/ports/Mk/bsd.port.mk", line 5987: Need an operator
> make: fatal errors encountered -- cannot continue
> ===> accessibility/at-poke failed
> *** Error code 1
> 2 errors
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> 



More information about the freebsd-questions mailing list