FreeBSD: pkg_version: corrupted record (pkgdep line without argument), ignoring

Posted on in Categories last updated May 24, 2010

I‘m using portmaster to manage my ports without external databases. However, when I run the try to run pkg_version -l ‘< ', I'm getting the following error:

pkg_version: corrupted record (pkgdep line without argument), ignoring

How do I fix this problem?
Continue reading “FreeBSD: pkg_version: corrupted record (pkgdep line without argument), ignoring”

Reconfiguring FreeBSD Ports – Remove OPTIONS config For Any Port

Posted on in Categories , , last updated June 10, 2009

While building Apache port I was presented with a menu from which I selected certain build options. However, certain option giving out error as follows:
===> apache-2.2.8 mod_mem_cache requires WITH_THREADS.
*** Error code 1

All I wanted to do is disable mod_mem_cache and build Apache again. Unfortunately, it is not allowing me to clear out configuration option. How do I remove all selected options and allow me to start over again?

Linux Optimize Directories ( File Access Time ) in ext3 Filesystem

Posted on in Categories , , , , , , , last updated January 9, 2008

Q. I’m using CentOS Linux 5 server with ext3 on /disk2 (/dev/sdb1). How do I improve my file server performance. I’ve many large files in directories and how do I speed up access time?
Continue reading “Linux Optimize Directories ( File Access Time ) in ext3 Filesystem”