PDA

View Full Version : building userland fails after upgrade to 7.0


padmanabh
06-15-2008, 09:07 AM
I had tried to follow all the instructions on daemonology, still I have run into some trouble upgrading from 6.2 release to 7.0 release.
right now "uname -a" tells me i'm using a 7.0 release kernel ...however I have not yet finished rebuilding the userland components after that .

I had used "portupgrade -faP" which failed complaining missing port called "www/neon" in spite of doing "portsnap fetch update" before that.

also one more error regarding xorg telling me that the makefile is corrupt for xorg-server port....calls it a fatal error and exits.

I don't know if "pkgdb -F" is supposed to help, but did it anyway... showed one obsolete package with no dependencies... hence removed it.

I will try to put the exact messages from console soon....In the meanwhile, if some body got the gist of the problem, please post a solution.

Thank you. :)

cajunman4life
06-15-2008, 02:02 PM
Now that you're running a 7-series kernel, can you try to build the world again? Or have you done that already?

padmanabh
06-16-2008, 10:37 AM
I am using freebsd-update utility which ,I suppose , does not require me to explicitly do build world. right now I think I goofed up somewhere in the sequence in which the update utility needs to be run after restart.
Lot of things "seem" to be working fine ( Firefox and all basic stuff ... ) ...however some commands like "sudo" and python interpreter complain of missing libraries. I donno how many more have got their libraries messed up.

How do I get out of this?

mtx
06-16-2008, 11:06 AM
one way would be to rebuild the kernel with

options COMPAT_FREEBSD6 # Compatible with FreeBSD6

never tried it but it *might* work.
the hard way would be to reinstall everything after you update your ports tree.
there might be other solutions out there but this are the only ones that come in mind right now.

and you should post more specific information (logs, err messages, etc) so more skilled people in here will be able to help you.

/v

Errinok
06-16-2008, 03:34 PM
if your using the upgrade utility run the command
freebsd-update -r 7.0-RELEASE upgrade install
then follow the directions it tells you.

phoenix
06-17-2008, 06:14 AM
freebsd-update will upgrade the kernel and the world in one go. If it completed successfully, and you have rebooted, then you are running FreeBSD 7.0. You have successfully upgraded the OS.

The second part is recompiling/reinstalling all your ports. If you have a lot of ports installed, and don't want to spend too long getting everything working again, you can install the compat6x port. This will allow you to run FreeBSD 6.x applications on FreeBSD 7.x.

However, you *will* have to reinstall *all* your ports. How you do that (manually, portmaster, portupgrade, portmanager, etc, is up to you. But you have to do it.

lumiwa
07-18-2008, 07:49 PM
freebsd-update will upgrade the kernel and the world in one go. If it completed successfully, and you have rebooted, then you are running FreeBSD 7.0. You have successfully upgraded the OS.

The second part is recompiling/reinstalling all your ports. If you have a lot of ports installed, and don't want to spend too long getting everything working again, you can install the compat6x port. This will allow you to run FreeBSD 6.x applications on FreeBSD 7.x.

However, you *will* have to reinstall *all* your ports. How you do that (manually, portmaster, portupgrade, portmanager, etc, is up to you. But you have to do it.

If I use a portmaster -a that it will ask me for each port if I want deleted the package (y/n) or are there other option, please?

phoenix
07-20-2008, 01:43 PM
one way would be to rebuild the kernel with

options COMPAT_FREEBSD6 # Compatible with FreeBSD6

never tried it but it *might* work.

The GENERIC kernel includes the compat lines. All that's needed is to install the misc/compat6x port.

phoenix
07-20-2008, 01:43 PM
If I use a portmaster -a that it will ask me for each port if I want deleted the package (y/n) or are there other option, please?

Read the man page for portmaster

lumiwa
07-21-2008, 01:13 AM
Read the man page for portmaster

Thanks. I am back to portupgrade :)

phoenix
07-22-2008, 06:18 AM
To each their own, but seems like a step backward to me. :)