DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Installation and Upgrading

FreeBSD Installation and Upgrading Installing and upgrading FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 15th June 2008
padmanabh padmanabh is offline
Real Name: Padmanabh
Port Guard
 
Join Date: Jun 2008
Location: Mumbai
Posts: 10
Thanked 0 Times in 0 Posts
Default building userland fails after upgrade to 7.0

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.
Reply With Quote
  #2   (View Single Post)  
Old 15th June 2008
cajunman4life cajunman4life is offline
Real Name: Aaron Graves
Package Pilot
 
Join Date: May 2008
Location: Coolidge, Arizona
Posts: 203
Thanked 16 Times in 14 Posts
Default

Now that you're running a 7-series kernel, can you try to build the world again? Or have you done that already?
__________________
I just saved a bunch of money on my car insurance by fleeing the scene of the accident!
Reply With Quote
  #3   (View Single Post)  
Old 16th June 2008
padmanabh padmanabh is offline
Real Name: Padmanabh
Port Guard
 
Join Date: Jun 2008
Location: Mumbai
Posts: 10
Thanked 0 Times in 0 Posts
Default

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?
Reply With Quote
  #4   (View Single Post)  
Old 16th June 2008
mtx's Avatar
mtx mtx is offline
Real Name: Valentin Bud
Fdisk Soldier
 
Join Date: May 2008
Location: RO/TM
Posts: 79
Thanked 5 Times in 3 Posts
Default

one way would be to rebuild the kernel with
Code:
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
__________________
Stop! think! ... the problem is somewhere between the monitor and chair...
"First they ignore you, then they laugh at you, then they fight you, then you win." Gandhi
links: spreadbsd syk
Reply With Quote
  #5   (View Single Post)  
Old 16th June 2008
Errinok Errinok is offline
Port Guard
 
Join Date: Jun 2008
Posts: 14
Thanked 0 Times in 0 Posts
Default

if your using the upgrade utility run the command
Code:
freebsd-update -r 7.0-RELEASE upgrade install
then follow the directions it tells you.
Reply With Quote
  #6   (View Single Post)  
Old 17th June 2008
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 699
Thanked 90 Times in 81 Posts
Default

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.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
  #7   (View Single Post)  
Old 18th July 2008
lumiwa lumiwa is offline
Package Pilot
 
Join Date: May 2008
Posts: 145
Thanked 4 Times in 3 Posts
Default

Quote:
Originally Posted by phoenix View Post
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?
Reply With Quote
  #8   (View Single Post)  
Old 20th July 2008
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 699
Thanked 90 Times in 81 Posts
Default

Quote:
Originally Posted by mtx View Post
one way would be to rebuild the kernel with
Code:
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.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
  #9   (View Single Post)  
Old 20th July 2008
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 699
Thanked 90 Times in 81 Posts
Default

Quote:
Originally Posted by lumiwa View Post
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(8)
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
Old 21st July 2008
lumiwa lumiwa is offline
Package Pilot
 
Join Date: May 2008
Posts: 145
Thanked 4 Times in 3 Posts
Default

Quote:
Originally Posted by phoenix View Post
Read the man page for portmaster(8)
Thanks. I am back to portupgrade
Reply With Quote
Old 22nd July 2008
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 699
Thanked 90 Times in 81 Posts
Default

To each their own, but seems like a step backward to me.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem Building Openoffice-3 Alphalutra1 FreeBSD Ports and Packages 1 1st May 2009 04:22 AM
Upgrade to 7.1-RELEASE fails drl FreeBSD Installation and Upgrading 4 27th March 2009 09:39 PM
fusefs-kmod: requires the userland sources to be installed? zelut FreeBSD Ports and Packages 2 7th October 2008 10:39 PM
userland sources rex FreeBSD General 8 8th September 2008 12:33 AM
SquidGuard fails when building the Berkeley DB files for domains costy OpenBSD Packages and Ports 1 31st July 2008 09:22 PM


All times are GMT. The time now is 11:29 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick