Updating the OS after an install
I'm running a freshly installed FreeBSD 4.9 system, and have most of the kinks worked out. In going through the manual, I've reached the point where it tells you how to install software. I've updated the ports tree, and decided to try my hand at installing a package. I chose xine to work with. So I cd'd to the approperiate directory, and did make make install. The system errored out, saying that some of my other packages weren't the latest versions. (This happened twice. libogg and libvorbis, IIRC. But that detail isn't important.) I was able to go to the directory of the packages that needed to be updated, do a make deinstall, and then reinstalled those packages. Which allowed xine to be installed without a hitch. (I haven't actually tested it, as I'm working remotely, but from all indications from looking at the output there wasn't a problem. In retrospect, perhaps I should have chosen a different package to test things out. Ahh well.) At this point, I'm willing to bet that it's a fairly safe bet to say that there are other packages on my system that are in need of updating. Is there a way to universally update what's on my system to whatever's in the ports tree? Thanks in advance, Krikket ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Adding Packages and Ports
I'm going to hold off on replying for a day, while I give this stuff a shot, but this part does raise a question for me... On Mon, 2 Feb 2004, Matthew Seaman wrote: Those packages are what goes onto the FTP sites, and a sample of the most popular ones go into the install CDs -- there's *far* too much stuff to fit all of it onto a 4 CD distribution set. I got my copy of FreeBSD by downloading the isos. CD 1 2 and mini. That's all that was available. CD #1 was the only CD that was ever asked for by the system. Where do the other CD's come into play? What's the difference between the isos and the 4 cd set? (Aside from the number of CDs...) I haven't seen anything that directly answers this. I'm more than willing to support the BSD project, assuming the OS meets my needs (and so far it looks like it probably will) I was just planning on starting with the BSD stuffie. 8^) And the BSD books... Krikket ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Adding Packages and Ports
I've done a brand-new install of FreeBSD (4.9), and am a fresh user to this flavor of *nix. The install went more or less without a hitch. For some reason ldap (part of the default package selection) didn't want to install. While I can ssh to the box, it won't accept the password for users and/or root. (IE: It makes the connection, gives a login prompt, but the correct password is rejected. I'm sshing from a Fedora box.) But the big problem that I'm having, that's turning into a show-stopper has to deal with installing packages and/or ports, once the base OS is installed. To test things out, I tried installing mozilla. It failed due to a dependancy, so I checked out the website to see what was available, found a version that was there, adn installed it. But when I type mozilla to start the program, it's not found. (Nor was it added to the KDE Menu.) I was able to do a pkg_add -r cvsup on the first try. But I ended up with the same problem -- not being able to find the package once it was installed. Needless to say, I can't add any ports as a result. I figure there's something basic that I'm missing, but I'll be damned if I can figure it out, despite the help of the handbook and FAQ... Can anyone give me a pointer in the right direction? Please? Thanks in advance, Krikket (I will say that compared to some flavors of Linux, this install was absolutely painfree. I did have to start over on some occasions, due to minor user errors, but assuming the perfect user during the install process, it went rather well. After dealing with the alsa hell of Linux, gettign sound working on FreeBSD was a very pleasent surprise!) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Adding Packages and Ports
On Sun, 1 Feb 2004, Roop Nanuwa wrote: Krikket wrote: I've done a brand-new install of FreeBSD (4.9), and am a fresh user to this flavor of *nix. Welcome, we hope you enjoy your stay :). Thank you! The install went more or less without a hitch. For some reason ldap (part of the default package selection) didn't want to install. Could you be a bit more specific? What happened during the install? Did it give you any error messages? A generic compile error message, nothing specific. And unfortunately, I didn't take notes. (No, I wasn't expecting help with troubleshooting that point, it was said more in the way of a commentary than anything else. I figured that when I got to the point of needing it, I could always install it at a later time, and if needed ask questions then.) To test things out, I tried installing mozilla. It failed due to a dependancy, so I checked out the website to see what was available, found a version that was there, adn installed it. How are you installing mozilla? There shouldn't be any dependency problems in either of the two main ways to install packages on FreeBSD. Whether you install via the ports tree or through the package system all the dependencies should be handled for you. I think the reason that you're having dependency issues is because you're attempting to install binaries that you've downloaded that aren't packaged for FreeBSD specifically. I attempted to do a pkg_add -r mozilla. After checking the on-line database of software at freebsd.org, I know I tried some versons of the command lile ... -r linux-mozilla and sometimes with version numbers. I forget the exact one that did work. But when I type mozilla to start the program, it's not found. (Nor was it added to the KDE Menu.) I was able to do a pkg_add -r cvsup on the first try. But I ended up with the same problem -- not being able to find the package once it was installed. Needless to say, I can't add any ports as a result. Which shell are you running? You might have to run 'rehash' to refresh your shell's cache of available programs. Logging in/out would do the same but running 'rehash' is simpler/quicker. bash. I'll give that a shot. I'm not at home at the moment, and for some reason ssh doesn't want to allow me to login. (I get a login prompt, but it's not accepting the correct password for either myself or the root accounts. Even after I called home and had the roommate reboot the system, just in case something flakey got into memory. I'm thinking it may be time to pull out the rubber chicken.) Krikket ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Adding Packages and Ports
On Sun, 1 Feb 2004, Andrew L. Gould wrote: Krikket wrote: I was able to do a pkg_add -r cvsup on the first try. But I ended up with the same problem -- not being able to find the package once it was installed. Needless to say, I can't add any ports as a result. Why are you using the '-r' option? If you're using the install 4.9 CDROM, just cd to /cdrom/packages/All and: pkg_add cvsup-16.1h.tgz If you're using ports, cd to /usr/ports/net/cvsup and execute: make install clean Err... Excuse me while I'm a little bull-headed here, and attempting to adjust from the linux world. The reason I was thinking of using the -r option is because it pulls from the ftp site. Please correct me if I'm wrong, but the various versions of freeBSD (3.x, 4.x, and 5.x) are still being worked. Needless to say, 5.x is the bleeding edge, but 4.x hasn't been left to go stale. (Or else how would security patches get done, when needed?) Therefore, the thought was to get the latest and greatest from the net. No, it's not as bleeding edge as the 5.2 stuff, but if a patch was done since the 4.9 iso's were made, it would be a good idea to have that on hand. So I thought it would be a good thing to use -r as a default option. Or am I just using an incorrect line of thinking, due to the flux that I got used to (and wish to avoid) from when I was dealing with the Linux world? So, given that I should have the ports installed from my initial install phase, all I have to do is the make install clean? Too cool. Thank you for the pointer! Krikket ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]