Re: Issue upgrading to 7.4, looking for guidance
I ran into a similar issue upgrading from 7.2 to 7.3. Here's the thread where I worked it out; it might be helpful in your case: http://lists.freebsd.org/pipermail/freebsd-questions/2010-July/218443.html My eventual solution was here, if you don't want to read through the whole thread: http://lists.freebsd.org/pipermail/freebsd-questions/2010-July/218884.html On Wed, Jan 26, 2011 at 6:36 PM, Keith Seyffarth w...@weif.net wrote: I recently was having problems with Firefox crashing, which appear to be related to a requirement for semaphore support for Firefox after the upgrade to the new version of GTK. Anyway, this left me with a 7.4 kernel and a 7.2 world. Which I understand is supposed to work. However, this broke CUPS for printing, and I need to be able to print to pdf. This error is generated if I try to build cups, or when cups tries to load on startup: /libexec/ld-elf.so.1: ./mantohtml: invalid PT_PHDR From looking around on-line, it looks like somewhere between 7.2 and 7.4 there was an incompatibility that causes this error in a number of places (printing, samba, etc.) So, it looks like I need to upgrade the rest of the way. But I can't get the upgrade to work. I thought this was where to start: # freebsd-update -r 7.4-RELEASE upgrade Looking up update.FreeBSD.org mirrors... 4 mirrors found. Fetching public key from update5.FreeBSD.org... failed. Fetching public key from update4.FreeBSD.org... failed. Fetching public key from update2.FreeBSD.org... failed. Fetching public key from update3.FreeBSD.org... failed. No mirrors remaining, giving up. So I ran uname -a to find that this is 7.4-PRERELEASE FreeBSD janet.weif.net 7.4-PRERELEASE FreeBSD 7.4-PRERELEASE #0: Thu Jan 20 19:39:15 MST 2011 w...@janet.weif.net:/usr/obj/usr/src/sys/JANET i386 so I tried this: # freebsd-update -r 7.4-PRERELEASE upgrade freebsd-update: Cannot upgrade from 7.4-PRERELEASE to itself so, um, what do I need to do to address this error: /libexec/ld-elf.so.1: ./mantohtml: invalid PT_PHDR Keith S. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Issue upgrading to 7.4, looking for guidance
David, I ran into a similar issue upgrading from 7.2 to 7.3. Here's the thread where I worked it out; it might be helpful in your case: http://lists.freebsd.org/pipermail/freebsd-questions/2010-July/218443.html My eventual solution was here, if you don't want to read through the whole thread: http://lists.freebsd.org/pipermail/freebsd-questions/2010-July/218884.html I ended up getting instructions from a friend n manually running # make buildworld # mergemaster -p # make installworld # mergemaster -i to get the world upgraded to 7.4-PRERELEASE. After this a bunch of removing, reinstalling, and upgrading of ports was necessary, but everything appears to be working now. Of course, not having a FreeBSD CD for any version of FreeBSD would make copying a file from the CD rather difficult... ;) Keith S. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Issue upgrading to 7.4, looking for guidance
For me I used a quick and dirty solution for upgrade 1) build a machine (or a virtual one...) with the freebsd version you want, for example=8.2 cvsup the kernel in /usr/src 2) export KERNCONF=xx the name of the kernel config file you want to build 3) cd /usr/src;make buildworld buildkernel 4) mkdir /tmp/dist 5) export DESTDIR=/tmp/dist 6) make installworld installkernel 7) (cd /tmp/dist;tar cvzf - * ) /tmp/newsystem.tar.gz 8) move the newsystem.tar.gz to the machine you want to upgrade 9) /rescue/tar -xpvf newsystem.tar.gz -C / the system will not respond to comands any more because of rewrite of almost all libs... so the solution is fastboot When the system comes up, it shows the release you built from this way you can go from 7.0 to 8.2 in one single step. for me it worked in internet all times but, you are warned: use at you own risk... Sergio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Issue upgrading to 7.4, looking for guidance
I recently was having problems with Firefox crashing, which appear to be related to a requirement for semaphore support for Firefox after the upgrade to the new version of GTK. Anyway, this left me with a 7.4 kernel and a 7.2 world. Which I understand is supposed to work. However, this broke CUPS for printing, and I need to be able to print to pdf. This error is generated if I try to build cups, or when cups tries to load on startup: /libexec/ld-elf.so.1: ./mantohtml: invalid PT_PHDR From looking around on-line, it looks like somewhere between 7.2 and 7.4 there was an incompatibility that causes this error in a number of places (printing, samba, etc.) So, it looks like I need to upgrade the rest of the way. But I can't get the upgrade to work. I thought this was where to start: # freebsd-update -r 7.4-RELEASE upgrade Looking up update.FreeBSD.org mirrors... 4 mirrors found. Fetching public key from update5.FreeBSD.org... failed. Fetching public key from update4.FreeBSD.org... failed. Fetching public key from update2.FreeBSD.org... failed. Fetching public key from update3.FreeBSD.org... failed. No mirrors remaining, giving up. So I ran uname -a to find that this is 7.4-PRERELEASE FreeBSD janet.weif.net 7.4-PRERELEASE FreeBSD 7.4-PRERELEASE #0: Thu Jan 20 19:39:15 MST 2011 w...@janet.weif.net:/usr/obj/usr/src/sys/JANET i386 so I tried this: # freebsd-update -r 7.4-PRERELEASE upgrade freebsd-update: Cannot upgrade from 7.4-PRERELEASE to itself so, um, what do I need to do to address this error: /libexec/ld-elf.so.1: ./mantohtml: invalid PT_PHDR Keith S. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org