BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old January 30th, 2004, 03:21 AM
samuelelliot's Avatar
samuelelliot samuelelliot is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: FL, USA
Posts: 12 samuelelliot User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Fixing a partial install on FreeBSD

Okay ... so I screwed up on my first install for my server. I chose to install the Apache 2 server and some other ports/packages in sysinstall. One being php 4 and mysql, for obvious reasons. That (I guess) seemed to also install Apache 1.3.

After trying to get php 4 to install I finaly found out that Apache 2 and php 4 don't like each other. So I took some advice and uninstalled Apache 2 from sysinstall. When I went to investigate Apache 1.3, I found that it wasn't all there. Ither Apache 2 installed over it or deleted Apache 1.3 files along with it. But now when I tried to install Apache 1.3 from the sysinstall it wouldn't let me because I would have to uninstall it first, and it won't let me uninstall because its required by other ports.

So now what do I do? I've not rilly ever fiddled with FreeBSD and don't know how to fix this problem.

Please help however you can... thanks in advance!

Reply With Quote
  #2  
Old January 30th, 2004, 05:08 AM
c444l c444l is offline
contains a pressurised widget
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: NC USA
Posts: 401 c444l User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 39 m 41 sec
Reputation Power: 5
Send a message via AIM to c444l Send a message via Yahoo to c444l
i am by no means an authority.. but now that you have freeBSD installed.. if you have a connection to the internet there, it's time to stop using sysinstall. cvsup the ports tree, and start installing from there.

WELCOME TO FREEBSD! My OS of choice. May everything run a bit smoother for you than it has so far.

you'll also want to read this chapter:
http://www.freebsd.org/doc/en_US.IS...book/ports.html

(I know you probably don't like seeing answers that are links to the manual, but now that you're in *BSD land.. there's a lot of reading ahead.. but don't worry, you'll be very glad you learned it once you have)

do all of this as a user who has SU'd. (once you have given the wheel group a user, don't log in as root unless you absolutely have to)

if you are going to reinstall the very thing that you are deinstalling.. then i would say you are best to do a pkg_delete with the -f flag. This will delete the package, and ignore the dependencies.

Then after you have cvsup'd the ports tree(some changes were made to apache13 within the past couple of months) cd /usr/ports/www/apache13 and make install clean.

of course, don't try any of the stuff i've said until you've confirmed it in the handbook (/usr/share/doc/handbook) and the man pages.

ADD: oh yeah.. and i did three full installs of FreeBSD the first time before I got it working. . i made lots of mistakes.

Last edited by c444l : January 30th, 2004 at 05:11 AM.

Reply With Quote
  #3  
Old January 31st, 2004, 09:11 PM
samuelelliot's Avatar
samuelelliot samuelelliot is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: FL, USA
Posts: 12 samuelelliot User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks c444l

No, no c444l your right you arn't an authority, but I shuld be installing from the ports tree. In fact I just did and it seems to be working, however I have a new problem look here:
apxs2 problems with Apache 1.3/Apache 2
Thanks for your help!!!
SamE

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > Fixing a partial install on FreeBSD


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway