Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Installing/upgrading ports

Port install fails due to "directory not empty" error by Wishdiak
Posted: 3 May 05 (Edited 6 May 05)

I ran into this a while back when attempting to upgrade the GCC 3.4 port. Apparently my FreeBSD server had crashed or dumped core during the previous install, and attempting to upgrade (using portupgrade) threw a "directory not empty" error on a directory that contained no files (/usr/ports/lang/gcc34/work/gcc-3.4-20041112/libstdc++-v3/config/cpu).

I rebooted single-user and ran 'fsck -p', which showed softupdate and other inconsistencies in the file system, but did not correct them. The problem here was that the /usr/lost+found directory was full.

I continued to have this problem for a few months without finding a soultion, so I was unable to do the portupgrade.

I deleted all files and subdirectories in /usr/lost+found, rebooted single user, and ran 'fsck -p'. The filesystem errors were corrected.

I rebooted multi-user and I was able to remove the directory I was having issues with. I was then able to upgrade the GCC 3.4 port (with portupgrade) and have been running happily since.

Back to Linux (server) FAQ Index
Back to Linux (server) Forum

My Archive

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close