Re: pkg_add -r XFree86-4 fails - How do I tell pkg_add to look somewhere else for target?
Hi Jud, /etc/make.conf has already been edited to reflect the fact that I'm running XFree86-4 (I believe the line reads: XFree86_VERSION 4, and its uncommented). I'll give /usr/ports/x11/wrapper make deinstall clean make reinstall clean a go ater on and see how it goes. Thanks for the info. Stacey Quoting Jud [EMAIL PROTECTED]: 7/25/2002 3:40:53 AM, [EMAIL PROTECTED] wrote: Hi Shannon, Thanks for the information. I did that and can now start gnome fine *as root only*. I do have wrapper installed, but startx as non-root user fails. I searched the archives and saw lots of replies to posts of the cannot use startx as non-root user advising to install wrapper. However, like I said, I already have this installed. All attempts to re-install via pkg_delete wrapper.x errors with a warning that XFree86-4.2.1 depends on wrapper. Is there a config option for wrapper or XFree86Config that I missed somewhere? Stacey What does the XFree86= line say in /etc/make.conf? If it's equal to version 4, you want it *un*commented; if it's equal to version 3, you want to comment it out. Then go to the wrapper port directory and make deinstall clean make reinstall clean HTH, Jud To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Got past installworld, new problems however [WASRe: make installworld fails with mergemaster errors - 4.4Rel upgrade to 4.6 Stable]
Hi Doug, Thanks for getting back to me. I actually got around that problem in the end. However upon completing the upgrade, I noticed a couple of things: 1] startx has stopped working (just XFree86-4.0.2 from the 4.4 CD Set, no gnome of kde installed as yet) typing startx for any user just sits there doing nothing (after 5 mins or so I killed it with cttrl c) 2] All user account except that for root disappeared. 3] During bootup apache failed with unable to find my FQDN. After login (as root) ps waux | grep httpd returns nothing. 4] The box does not ask me to enter a password when logging in as root on the console I'm not sure if this is the right way to get the above queries addressed, but let me know if I should post another to the list. Thanks again for taking the time to respond. Stacey Quoting Doug Barton [EMAIL PROTECTED]: On Wed, 24 Jul 2002 [EMAIL PROTECTED] wrote: Hello, I've just done a fresh install of 4.4Rel, and I'm trying to upgrade to the latest stable. In single user mode [using shutdown now] having dropped from multiuser mode - All went well until I got to make installworld. I hit the issue mentioned in UPDATING 20020404 about the new Sendmail user smmsp. I followed the advice to: cd /usr/src/usr.sbin/mergemaster; make install clean The clean there is the problem. What UPDATING actually says is: cd /usr/src/usr.sbin/mergemaster; make all install [clean] I'll delete that altogether, as it's misleading and potentially dangerous. -- We have known freedom's price. We have shown freedom's power. And in this great conflict, ... we will see freedom's victory. - George W. Bush, President of the United States State of the Union, January 28, 2002 Do YOU Yahoo!? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Got past installworld, new problems however [WASRe: make installworld fails with mergemaster errors - 4.4Rel upgrade to 4.6 Stable]
Hello Brian, Thanks for the reply. As I'm actually still going through bringing the up to a usable state, the disappeared user accounts are not too much of a problem at the moment. Its the lack of authentication for root login I'm really concerned with on this point! I'll take a look at XFree86Config and check for anything untoward. I've not used ktrace, nor kdump before. Are they used in the same way as truss? However, as I do intend on upgrading XFree86 to XFree86-4.2.1 today, would it be more effective to re-install (remove install latest version), or simply upgrade the current version (via portupgrade)? ps waux - show process report, [-a: include all process with a tty session] + [-u: report user ID for each process listed] + [-w: show wide output] So, seeing that apache is configured to start on bootup, I would have expected to see a process called httpd running with variou runtime options listed in the returned process table - which of course, I don't. I really am hoping that I could aviod having the reinstall FBSD again here. This install's taken well over two days of debugging already:- initial install took the default XFree86-3.3.6x (didn't want that) The box hung at installation when I included gnome desktop (hence only XFree86-4.0.2 installed this time around) Well., thanks again for taking the time, Brian. Hope that what I've included here lights a few bulbs in a few peoples' heads before too long. Stacey Quoting Brian T. Schellenberger [EMAIL PROTECTED]: On Wednesday 24 July 2002 03:40 am, [EMAIL PROTECTED] wrote: | Hi Doug, |Thanks for getting back to me. I actually got around that problem in the | end. | | However upon completing the upgrade, I noticed a couple of things: | | 1] startx has stopped working (just XFree86-4.0.2 from the 4.4 CD Set, no | gnome of kde installed as yet) Hard to say. Does /etc/X11/XFree86Config look like it always did? Might want to ktrace/kdump and see what it's really calling. | typing startx for any user just sits there doing nothing (after 5 mins or | so I killed it with cttrl c) | | 2] All user account except that for root disappeared. Something went wrong with mergemaster. Perhaps you installed when you should have merged. (Or perhaps the problem is with the weird make stuff you cite below. I don't believe that I ever did anything of the sort and things worked ok for me.) Regardless, the solution is simple: Restore your /etc/passwd /etc/master.passwd from backup. | 3] During bootup apache failed with unable to find my FQDN. After login | (as root) ps waux | grep httpd returns nothing. Sorry, that's Greek to me. | 4] The box does not ask me to enter a password when logging in as root on | the console See [2] above. | I'm not sure if this is the right way to get the above queries addressed, | but let me know if I should post another to the list. This is a good place for . . . well, questions. | Thanks again for taking the time to respond. | | Stacey | | Quoting Doug Barton [EMAIL PROTECTED]: | On Wed, 24 Jul 2002 [EMAIL PROTECTED] wrote: | Hello, | I've just done a fresh install of 4.4Rel, and I'm trying to | | upgrade to | | the latest stable. | | In single user mode [using shutdown now] having dropped from multiuser | | mode - | | All went well until I got to make installworld. I hit the issue | | mentioned in | | UPDATING 20020404 about the new Sendmail user smmsp. I followed the | | advice to: | cd /usr/src/usr.sbin/mergemaster; make install clean | | The clean there is the problem. What UPDATING actually says is: | | cd /usr/src/usr.sbin/mergemaster; make all install [clean] | | I'll delete that altogether, as it's misleading and potentially | dangerous. | | -- | We have known freedom's price. We have shown freedom's power. |And in this great conflict, ... we will see freedom's victory. |- George W. Bush, President of the United States |State of the Union, January 28, 2002 | | Do YOU Yahoo!? | | To Unsubscribe: send mail to [EMAIL PROTECTED] | with unsubscribe freebsd-questions in the body of the message -- Brian, the man from Babble-On . . . . [EMAIL PROTECTED] (personal) http://www.babbleon.org http://www.eff.org http://www.programming-freedom.org To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Got past installworld, new problems however [WASRe: make installworld fails with mergemaster errors - 4.4Rel upgrade to 4.6 Stable]
Hi Jud, Thanks for the information here. I'll check those files as and when I get the chance. The wrapper port *was* installed, and WORKING before I cvsup'd the system. I'll check .xinitrc files in both root and any of the restored user accounts. Stacey Quoting Jud [EMAIL PROTECTED]: 7/24/2002 4:06:16 AM, [EMAIL PROTECTED] wrote: Hello Brian, Thanks for the reply. As I'm actually still going through bringing the up to a usable state, the disappeared user accounts are not too much of a problem at the moment. Its the lack of authentication for root login I'm really concerned with on this point! I'll take a look at XFree86Config and check for anything untoward. I've not used ktrace, nor kdump before. Are they used in the same way as truss? However, as I do intend on upgrading XFree86 to XFree86-4.2.1 today, would it be more effective to re-install (remove install latest version), or simply upgrade the current version (via portupgrade)? ps waux - show process report, [-a: include all process with a tty session] + [-u: report user ID for each process listed] + [-w: show wide output] So, seeing that apache is configured to start on bootup, I would have expected to see a process called httpd running with variou runtime options listed in the returned process table - which of course, I don't. I really am hoping that I could aviod having the reinstall FBSD again here. This install's taken well over two days of debugging already:- initial install took the default XFree86-3.3.6x (didn't want that) The box hung at installation when I included gnome desktop (hence only XFree86-4.0.2 installed this time around) Well., thanks again for taking the time, Brian. Hope that what I've included here lights a few bulbs in a few peoples' heads before too long. Stacey Quoting Brian T. Schellenberger [EMAIL PROTECTED]: On Wednesday 24 July 2002 03:40 am, [EMAIL PROTECTED] wrote: | Hi Doug, |Thanks for getting back to me. I actually got around that problem in the | end. | | However upon completing the upgrade, I noticed a couple of things: | | 1] startx has stopped working (just XFree86-4.0.2 from the 4.4 CD Set, no | gnome of kde installed as yet) Hard to say. Does /etc/X11/XFree86Config look like it always did? Might want to ktrace/kdump and see what it's really calling. | typing startx for any user just sits there doing nothing (after 5 mins or | so I killed it with cttrl c) | | 2] All user account except that for root disappeared. Something went wrong with mergemaster. Perhaps you installed when you should have merged. (Or perhaps the problem is with the weird make stuff you cite below. I don't believe that I ever did anything of the sort and things worked ok for me.) Regardless, the solution is simple: Restore your /etc/passwd /etc/master.passwd from backup. | 3] During bootup apache failed with unable to find my FQDN. After login | (as root) ps waux | grep httpd returns nothing. Sorry, that's Greek to me. | 4] The box does not ask me to enter a password when logging in as root on | the console See [2] above. Sounds like (after taking Brian's advice) you may want to do /stand/sysinstall (as root) and choose the option to add users. Check the www group in /etc/groups after you do this to add anyone you want to be able to use Apache. Apache is looking for your fully qualified domain name - I'd look in /etc/hosts to see if you need to add back anything there that may have been lost in the upgrade. Re startx, after you have a look at the X11 config and get your users straightened out, you'll want to reinstall wrapper from X11 ports. Oh, and BTW, do you still have .xinitrc files in root and $HOME? Jud To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: pkg_add -r XFree86-4 fails - How do I tell pkg_add to look somewhere else for target?
Hi Kevin, Seems as if we've been barking up the wrong tree here: From list member Marc's e-mail: XFree86 is the name to use to fetch XFree86 4.X Look at this: # pkg_add -rv XFree86 looking up ftp.freebsd.org connecting to ftp.freebsd.org:21 setting passive mode opening data connection initiating transfer Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4-stable/L atest/XFree86.tgz...+CONTENTS ..., snip What do you make of this? Stacey Quoting Kevin Golding [EMAIL PROTECTED]: Someone, quite probably , once wrote: Sorry Kevin, I didn't quite understand your reply. If you can't get a file from ftp.freebsd.org then it's worth trying for it on ftp2.freebsd.org, or ftp3.freebsd.org Locality works to, ftp.uk.freebsd.org for example. You'll probably do best if you browse the ftp server before trying to download it, that way you'll be able to see the binaries they have and you'll know whether or not it's worth trying to download or just moving on to another mirror. Kevin -- [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
pkg_add -r XFree86-4 fails - How do I tell pkg_add to look somewhere else for target?
Hi, I want to install the latest version of XFree86-4. I've already tried going via the ports an hour ago, which failed with lots of syntax errors. I do not want to bother with the port, and would like to install via a package. However, pkg_add -r XFree86-4 fails with File not available whilst attempting to fetch the package from some FreeBSD mirror. How do I tell pkg_add to try somewhere else? Stacey To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: pkg_add -r XFree86-4 fails - How do I tell pkg_add to look somewhere else for target?
Sorry Kevin, I didn't quite understand your reply. Please do repeat. I do appreciate your taking the time, you're the only person responding to my post here (kinda disappointed with that), I'll look forward to your reply. Stacey Quoting Kevin Golding [EMAIL PROTECTED]: Someone, quite probably , once wrote: However, I think that the address you included is indeed the address from which pkg_add is failing to fetch XFree86-4. # pkg_add ftp://ftp2.freebsd.org/pub/FreeBSD/branches/-current/ports/x11 /XFree86-4 ? Kevin -- [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Fresh install, not prompted for root password?
Hi Nathan, I've not tried that., I'll try that as soon as I get in from work. I'm planning to cvsup to 4.6.1 this evening.., as well. What do you think might have gone wrong? The root password was set during the installation time, using the sysinstall gui. Stacey Quoting Nathan Kinkade [EMAIL PROTECTED]: When logged in as root, what happens if you try to change roots password with `passwd` and then logout and log back in again? Nathan On Tue, 23 Jul 2002 08:29:25 +0100 [EMAIL PROTECTED] wrote: Hi, Thanks for replying. Upon rebooting, I get the normal logn prompt[Login: ]. If I enter user root I get logged in straight away, I don't get the usual prompt for password [Password: ]. Whatever info you think you might need, do let me know. Stacey Quoting Nathan Kinkade [EMAIL PROTECTED]: On Mon, 22 Jul 2002 21:12:05 +0100 [EMAIL PROTECTED] wrote: Hello, I just a FreeBSD box here (from 4.4 Rel CD set) and after rebooting, I wasn't prompted for root's password at the console login. Did I miss a step somewhere? Stacey You shouldn't get prompted for root's password. You should simply get a login prompt...like login: . Also, what type of prompt do you get, if any? What do you see when you reboot? Need more information. Nathan To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
make installworld fails with mergemaster errors - 4.4Rel upgrade to 4.6 Stable
Hello, I've just done a fresh install of 4.4Rel, and I'm trying to upgrade to the latest stable. In single user mode [using shutdown now] having dropped from multiuser mode - All went well until I got to make installworld. I hit the issue mentioned in UPDATING 20020404 about the new Sendmail user smmsp. I followed the advice to: cd /usr/src/usr.sbin/mergemaster; make install clean mergemaster -p I used the i option to install each of the temporary files that appeared. I then ran make installworld, which fails with the following: === usr/sbin/mergemaster install -c -o root -g wheel -m 444 mergemaster8.gz /usr/share/man/man8 install: mergemaster.8.gz : No such file or directory *** Error Code 71 Stop in /usr/src/usr.sbin/mergemaster. *** Error Code 1 Stop in /usr/src/usr.sbin. *** Error Code 1 Can someone help with this please? If its documented in UPDATING, I figure there should be a procedure out of this out there. Stacey To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Installing gnome2 with XFree86-4 - Why is this so difficilt?????
I'll answer for each point here, if its okay: Step 0. cvsup your ports tree. Ports tree already cvsup'd (three times since yesterday morning) Step 0.5 Install portupgrade from /usr/ports/portupgrade. Learn how to properly use the new tools, especially the -R and -r flags to portinstall/portupgrade. Portupgrade is already installed ( and I can't upgrade something that isn't already installed, or am I wrong?) I haven't tried portinstall.., how is this different to running make make install clean in /usr/ports/x11/gnome2? portinstall -R gnome2 Again, I've not tried portinstall for gnome2 either. Seeing that gnome2 flaked out on the gle error, would make distclean be sufficient for removing the bins that got downloaded for this failed install? Thanks for the information here. Stacey Quoting Joe Kelsey [EMAIL PROTECTED]: Step 0. cvsup your ports tree. Step 0.5 Install portupgrade from /usr/ports/portupgrade. Learn how to properly use the new tools, especially the -R and -r flags to portinstall/portupgrade. On Sun, 2002-07-21 at 12:14, [EMAIL PROTECTED] wrote: Hi Kevin, Okay.., I'm at the point of considering rebuilding the box here. Before I do, I'd appreciate though, frank answers to two scenarios if you can.., 1] Stop the current re-install of XFree86-4 (with the constant failings due to components being already installed:- Can I stop this re-install? You can stop any re-install at any point. Is there a procedure for then ensuring that I *copmpletely* wipe all instances of XFree-anything from the system, before attempting installing via a package? pkg_delete -f 'XFree*' 2] Seeing that this whole situation is all about my initial failed attempts to install gnome2,: After completion of the XFree86-4 install (via ports or packages), should I proceed on from the point where the gnome2 install fails (at the gle error)? portinstall -R gnome2 If not, and I have to re-fetch fresh gnome2 sources, is there a procedure for *completely* removing ALL instances of gnome from the system? For both scenarios above, how do I ensure that I get the latest (hopefully correct) binaries for installation? Thanks again Kevin., Please don't think that I mean to place you in a spot or anything., you're just the *only* person that's bothered to reply to my post on this list. Stacey Quoting Kevin Golding [EMAIL PROTECTED]: Someone, quite probably , once wrote: I'm actually running the re-install of XFree86-4 at the moment wihtout having done a make distclean. Is this the reason why for each component, it fails with error: XFree86-4component already installed, perhaps an older version..,? Would it be in my interest then to stop this and restart from the beginning? It sounds like everything wasn't quite removed when you deinstalled. ls /var/db/pkg | grep -i xfree That should show up a few things that might need removing. Else make sure your ports tree is fully up to date and then run: portversion -L = That may show up a few out of date things that could be worth upgrading. portupgrade -rR XFree86-4 The above might resolve a few issues if you are out of date. Else it might be worth thinking about packages this time: pkg_add -r XFree86-4 Will get the latest binary and hopefully get you back to a working state. Then you could probably track X using portupgrade to reduce hassle. Kevin Quoting Kevin Golding [EMAIL PROTECTED]: Someone, quite probably Stacey Roberts, once wrote: 1] From the *one* reply I've had to my earlier post concerning the gnome2 install failure, it appear that I have to re-install XFree86-4.2.0. Why is that after running pkg_delete on XFree86-4.0.2, make doesn't go out and get a fresh set of files for the re-install? Am I missing something about the make process here? Presumably there was something wrong with the XFree86-4 sources I got yesterday when I installed it, so I would have thought it logical that I should be obtaining a fresh set of source files for the new install. To fetch new sources you need to remove the old ones from /usr/ports/distfiles. You can either manually rm each tarball or just run make distclean before make. It can also be worth running make fetch as your first step to install a port as that simply downloads any files you are missing for that port (although not dependencies). 2] To do the install of XFree86-4 anyways, what I did was pkg_delete of XFree86- 3 in /var/db/pkg; rm -rf /usr/X11R6/*, then editing /etc/make.conf to reflect that the XFree version is now 4 Since 4.6 I believe the default X has been 4 making such a config redundant. It might
Re: Installing gnome2 with XFree86-4 - Why is this so difficilt?????
Thanks Adam, Just wanted to ensure I read your post in the correct perspective. Stacey Quoting Adam Weinberger [EMAIL PROTECTED]: my post was in direct response to your questions about how do i completely remove gnome. some components seem to be installed, and some aren't. if you have no particular schedule, just remove everything having to do with Xwindows and start again. pkg_deinstall -r XFree\* cd /usr/ports/x11/XFree86 make install clean cd /usr/ports/x11/gnome2 make install clean -Adam (07.21.2002 @ 1230 PST): [EMAIL PROTECTED] said, in 5.7K: Thanks Adam, But do I do this instead of continuing with the gnome2 bins that I already have? The reply I had to the gnome2 build errorlog I submitted earlier led me to believe that the gnome2 installation errors center on the fact that something wasn't quite right in the XFree86-4 install I did yesterday. Or., is your post for general information? Thanks all the same. Stacey Quoting Adam Weinberger [EMAIL PROTECTED]: if you have sysutils/portupgrade installed, do ~/# pkg_deinstall -r gnome\* that will delete anything gnome, and everything built that depends on it. -Adam (07.21.2002 @ 1214 PST): [EMAIL PROTECTED] said, in 4.2K: Hi Kevin, Okay.., I'm at the point of considering rebuilding the box here. Before I do, I'd appreciate though, frank answers to two scenarios if you can.., 1] Stop the current re-install of XFree86-4 (with the constant failings due to components being already installed:- Can I stop this re-install? Is there a procedure for then ensuring that I *copmpletely* wipe all instances of XFree-anything from the system, before attempting installing via a package? 2] Seeing that this whole situation is all about my initial failed attempts to install gnome2,: After completion of the XFree86-4 install (via ports or packages), should I proceed on from the point where the gnome2 install fails (at the gle error)? If not, and I have to re-fetch fresh gnome2 sources, is there a procedure for *completely* removing ALL instances of gnome from the system? For both scenarios above, how do I ensure that I get the latest (hopefully correct) binaries for installation? Thanks again Kevin., Please don't think that I mean to place you in a spot or anything., you're just the *only* person that's bothered to reply to my post on this list. Stacey Quoting Kevin Golding [EMAIL PROTECTED]: Someone, quite probably , once wrote: I'm actually running the re-install of XFree86-4 at the moment wihtout having done a make distclean. Is this the reason why for each component, it fails with error: XFree86-4component already installed, perhaps an older version..,? Would it be in my interest then to stop this and restart from the beginning? It sounds like everything wasn't quite removed when you deinstalled. ls /var/db/pkg | grep -i xfree That should show up a few things that might need removing. Else make sure your ports tree is fully up to date and then run: portversion -L = That may show up a few out of date things that could be worth upgrading. portupgrade -rR XFree86-4 The above might resolve a few issues if you are out of date. Else it might be worth thinking about packages this time: pkg_add -r XFree86-4 Will get the latest binary and hopefully get you back to a working state. Then you could probably track X using portupgrade to reduce hassle. Kevin Quoting Kevin Golding [EMAIL PROTECTED]: Someone, quite probably Stacey Roberts, once wrote: 1] From the *one* reply I've had to my earlier post concerning the gnome2 install failure, it appear that I have to re-install XFree86-4.2.0. Why is that after running pkg_delete on XFree86-4.0.2, make doesn't go out and get a fresh set of files for the re-install? Am I missing something about the make process here? Presumably there was something wrong with the XFree86-4 sources I got yesterday when I installed it, so I would have thought it logical that I should be obtaining a fresh set of source files for the new install. To fetch new sources you need to remove the old ones from /usr/ports/distfiles. You can either manually rm each tarball or just run make distclean before make. It can also be worth running make fetch as your first step to install a port as that simply downloads any files you are missing for