Overclockers Australia Forums
OCAU News - Wiki - QuickLinks - Pix - Sponsors  

Go Back   Overclockers Australia Forums > Software Topics > Other Operating Systems

Notices


Sign up for a free OCAU account and this ad will go away!
Search our forums with Google:
Reply
 
Thread Tools
Old 30th May 2005, 9:24 AM   #1
SteakTheMooCow Thread Starter
(Taking a Break)
 
Join Date: Apr 2005
Posts: 3,070
Default FreeBSD Clean Install Issues.

Nothing installs? Ports is owned. I can't even get WGET to install? Should I use sysinstall to try and port perl and gcc back on?

It looks like my base package is corrupted in some way... any ideas aside from a complete re-install (as I just did one? =\)
SteakTheMooCow is offline   Reply With Quote

Join OCAU to remove this ad!
Old 30th May 2005, 9:30 AM   #2
stevenx
Member
 
stevenx's Avatar
 
Join Date: May 2002
Location: Fai oh see fo.
Posts: 1,852
Default

Try "pkg_add -r wget" to install wget.

"pkg_add -r cvsup-whithout-gui" to install cvsup... without X.

Create a file in /root called ports_supfile.

Edit (I pkg_add -r nano, because I like nano) that file - you can use this as an example, but I'm pretty sure it'll work without editing:

Code:
#       cvsup -g -L 2 ports-supfile
#

# Defaults that apply to all the collections
#
# IMPORTANT: Change the next line to use one of the CVSup mirror sites
# listed at http://www.freebsd.org/handbook/mirrors.html.
*default host=cvsup.au.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix
*default compress

ports-all
Then run "cvsup -g -L 2 ports-supfile" as root. That will update your ports tree, and should fix anything that's broken

Oh, and if you don't have X installed on your system, add this to /etc/make.conf: "WITHOUT_X11=yes" to stop ports trying to install with X.

Last edited by stevenx; 30th May 2005 at 9:32 AM.
stevenx is offline   Reply With Quote
Old 30th May 2005, 9:35 AM   #3
SteakTheMooCow Thread Starter
(Taking a Break)
 
Join Date: Apr 2005
Posts: 3,070
Default

ok, I think i fixed it... kinda...

Code:
# GCC (Also re-installs half the base OS...)
cd /usr/ports/lang/gcc-40 
make clean deinstall 
make test 
make clean install 

# Perl 5.8
cd /usr/ports/lang/perl-5.8/ 
make clean deinstall 
make test 
make clean install

#WGET
cd /usr/ports/www/wget4web/ 
make clean deinstall 
make test 
make clean install

# Apache2
#           WGET installs Apache13... remove it
cd /usr/ports/www/apache13/
make clean deinstall 
#           confirm delete
make clean deinstall

#           install
cd /usr/ports/www/apache2/ 
make clean deinstall 
make test 
make clean install

#MySQL
cd /usr/ports/databases/mysql41-server/ 
make clean deinstall 
make test 
make clean install
cd /usr/ports/databases/mysql41-client/ 
make clean deinstall 
make test 
make clean install

#PHP5
cd /usr/ports/lang/php5/ 
make clean deinstall 
make test 
make clean install
And I think that should just about do it... (running now, I'll post if it worked later)
SteakTheMooCow is offline   Reply With Quote
Old 30th May 2005, 9:35 AM   #4
SteakTheMooCow Thread Starter
(Taking a Break)
 
Join Date: Apr 2005
Posts: 3,070
Default

Quote:
Originally Posted by stevenx
Try "pkg_add -r wget" to install wget.

"pkg_add -r cvsup-whithout-gui" to install cvsup... without X.

Create a file in /root called ports_supfile.

Edit (I pkg_add -r nano, because I like nano) that file - you can use this as an example, but I'm pretty sure it'll work without editing:

Code:
#       cvsup -g -L 2 ports-supfile
#

# Defaults that apply to all the collections
#
# IMPORTANT: Change the next line to use one of the CVSup mirror sites
# listed at http://www.freebsd.org/handbook/mirrors.html.
*default host=cvsup.au.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix
*default compress

ports-all
Then run "cvsup -g -L 2 ports-supfile" as root. That will update your ports tree, and should fix anything that's broken

Oh, and if you don't have X installed on your system, add this to /etc/make.conf: "WITHOUT_X11=yes" to stop ports trying to install with X.
Crap, lol, I'll try that if this fails... so far GCC4 is installing and being sweet
SteakTheMooCow is offline   Reply With Quote
Old 30th May 2005, 9:42 AM   #5
stevenx
Member
 
stevenx's Avatar
 
Join Date: May 2002
Location: Fai oh see fo.
Posts: 1,852
Default

Good luck

Also, I haven't tried this but I'm reasonably certain that if your ISO CD doesn't boot, you can start the installation with floppy disks, then install the system from CD - just put a CD with a burnt ISO in the drive.
stevenx is offline   Reply With Quote
Old 30th May 2005, 9:47 AM   #6
SteakTheMooCow Thread Starter
(Taking a Break)
 
Join Date: Apr 2005
Posts: 3,070
Default

Quote:
Originally Posted by stevenx
Good luck

Also, I haven't tried this but I'm reasonably certain that if your ISO CD doesn't boot, you can start the installation with floppy disks, then install the system from CD - just put a CD with a burnt ISO in the drive.
hehe, it installed, it was just buggered.

fixed the problem btw...

pkg_add cvsup-without-gui
rehash
cvsup -g -L 2 ports-supfile

ta. all seems to be doing well... I'm not going to install a ported copy of Webmin though... lol bad experiences with Debian and ported webmins :S

edit: I ran my script (see above) and all seems to be good now

Last edited by SteakTheMooCow; 30th May 2005 at 9:49 AM.
SteakTheMooCow is offline   Reply With Quote
Old 30th May 2005, 10:34 AM   #7
stevenx
Member
 
stevenx's Avatar
 
Join Date: May 2002
Location: Fai oh see fo.
Posts: 1,852
Default

Sweet, I'm glad it's working alright.

Just looking at that script - I'm pretty sure a MySQL client is a dependecy of the MySQL server, so you shouldn't need the whole client bit there.
stevenx is offline   Reply With Quote
Old 30th May 2005, 10:44 AM   #8
SteakTheMooCow Thread Starter
(Taking a Break)
 
Join Date: Apr 2005
Posts: 3,070
Default

Quote:
Originally Posted by stevenx
Sweet, I'm glad it's working alright.

Just looking at that script - I'm pretty sure a MySQL client is a dependecy of the MySQL server, so you shouldn't need the whole client bit there.
yeah... I changed my script. now I DL the binary from the AusGamers mirror, extract, set it up, chown, chgrp (that crap) and I'm done.

it works well now... (no need to use ports for MySQL, as the ports version doesn't work with Webmin anyway)
SteakTheMooCow is offline   Reply With Quote
Reply

Bookmarks

Sign up for a free OCAU account and this ad will go away!

Thread Tools

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


All times are GMT +10. The time now is 9:38 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. -
OCAU is not responsible for the content of individual messages posted by others.
Other content copyright Overclockers Australia.
OCAU is hosted by Internode!