Re: Does running ``# portupgrade -arRp '' prompt for options or updates everything without prompts?(SOLVED)
startx command not found :(, no bash ran # pkg_add -r bash # pkg_add -r xfce4 did not succeed, now ran to ports # cd /usr/ports/x11-wm/xfce4 # make install clean and am stuck here. Hopefully this gets me back on my feet. Otherwise, it has been a big exercise :) and definitely I will learn from it. Thank you all for input/advice/comments suggestions. I am back on my feet with new xfce 4.8 now installing via ports sed -i 's/openoffice/libreoffice/g' will take a while but I am back in business. Sorry for the noise and for for shooting myself in the foot. The learning the removing and stuff like MasterCard commercials : ``Priceless``! Regards, Antonio ___ 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: Does running ``# portupgrade -arRp '' prompt for options or updates everything without prompts?
On Thu, May 5, 2011 at 8:04 PM, Frank Shute fr...@shute.org.uk wrote: On Thu, May 05, 2011 at 05:50:28PM -0500, Antonio Olivares wrote: Dear all, I was running FreeBSD 8.1 and am in the process of updating it following advice in handbook: http://www.freebsd.org/doc/handbook/updating-upgrading-freebsdupdate.html ran # freebsd-update fetch # freebsd-update install # portupgrade -af # freebsd-update -r 8.2-RELEASE upgrade then # freebsd-update install Tried to do this: # portupgrade -f ruby # rm /var/db/pkg/pkgdb.db # portupgrade -f ruby18-bdb # rm /var/db/pkg/pkgdb.db /usr/ports/INDEX-*.db # portupgrade -af Did not work correctly[too many customizations] and Tried again # freebsd-update install and had nothing more to do :( I had many packages that need to be updated so I am running : # portupgrade -arRp will this prompt me for customizations? Yes it will. I usually use the -C flag of portupgrade when I'm updating ports. This flag prompts you with all the options screens before it does the update. That way you're not left with the upgrade hanging half way through whilst it waits for you to configure the options. As Polytropon says you can use the --batch flag if you know that you don't want to change the default options. So I should have used the -C/c flag like # portupgrade -CarRp before or after? I have encountered a few prompts :( and not done yet. But will continue to do this till it finishes. Thanks, Antonio ___ 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: Does running ``# portupgrade -arRp '' prompt for options or updates everything without prompts?
On Thu, May 5, 2011 at 8:04 PM, Frank Shute fr...@shute.org.uk wrote: On Thu, May 05, 2011 at 05:50:28PM -0500, Antonio Olivares wrote: Dear all, I was running FreeBSD 8.1 and am in the process of updating it following advice in handbook: http://www.freebsd.org/doc/handbook/updating-upgrading-freebsdupdate.html ran # freebsd-update fetch # freebsd-update install # portupgrade -af # freebsd-update -r 8.2-RELEASE upgrade then # freebsd-update install Tried to do this: # portupgrade -f ruby # rm /var/db/pkg/pkgdb.db # portupgrade -f ruby18-bdb # rm /var/db/pkg/pkgdb.db /usr/ports/INDEX-*.db # portupgrade -af Did not work correctly[too many customizations] and Tried again # freebsd-update install and had nothing more to do :( I had many packages that need to be updated so I am running : # portupgrade -arRp will this prompt me for customizations? Yes it will. I usually use the -C flag of portupgrade when I'm updating ports. This flag prompts you with all the options screens before it does the update. That way you're not left with the upgrade hanging half way through whilst it waits for you to configure the options. As Polytropon says you can use the --batch flag if you know that you don't want to change the default options. Thanks in advance/advice/suggestions. I am taking the plunge a little further. Before I just installed and left it alone :( [except for a few packages that I wanted and ran/installed via ports ], now I am trying to learn more and setup the firewall. I set up the simple example setup by Polytropon and most is working. My freebsd version has moved to FreeBSD 8.2 [olivares@grullahighschool /usr/home/olivares]$ uname -a FreeBSD grullahighschool.rgccisd.org 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011 r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 Regards, Antonio Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html I am *stuck*, here's what I get at the end: ** Listing the failed packages (-:ignored / *:skipped / !:failed) - devel/automake110 (marked as IGNORE) - devel/libltdl22 (marked as IGNORE) - net/samba3 (marked as IGNORE) ! devel/qt4-moc (qt4-moc-4.6.3) (bad C++ code) ! devel/qt4-uic (qt4-uic-4.6.3) (bad C++ code) ! devel/qt4-rcc (qt4-rcc-4.6.3) (bad C++ code) ! audio/faad (faad2-2.7_2,1)(unknown build error) ! x11-fonts/libFS (libFS-1.0.2) (unknown build error) ! net/openldap24-client (openldap-client-2.4.23)(unknown build error) ! security/libntlm (libntlm-1.1)(unknown build error) ! devel/libsigc++20 (libsigc++-2.2.7) (unknown build error) ! x11/babl (babl-0.1.2) (unknown build error) ! devel/gettext (gettext-0.18_1)(unknown build error) * misc/help2man (help2man-1.38.2_1) * net-p2p/libtorrent (libtorrent-0.12.6_1) * misc/iso-codes (iso-codes-3.17) * devel/popt (popt-1.14_1) ! graphics/OpenEXR (OpenEXR-1.6.1_2)(unknown build error) * devel/yasm (yasm-1.0.1_1) ! audio/libogg (libogg-1.2.0,4) (unknown build error) * security/libgpg-error (libgpg-error-1.8) * security/gnupg1 (gnupg-1.4.10_2) ! net/xmlrpc-c-devel (xmlrpc-c-devel-1.22.2)(unknown build error) * devel/glib20 (glib-2.24.1_1) * security/libgcrypt (libgcrypt-1.4.5_1) * ftp/wget (wget-1.12_1) * graphics/libexif (libexif-0.6.18_1) * devel/qt4-corelib (qt4-corelib-4.6.3) * audio/libvorbis (libvorbis-1.3.1,3) * textproc/aspell (aspell-0.60.6_3) ! x11/libSM (libSM-1.1.1_1,1) (unknown build error) * textproc/qt4-xml (qt4-xml-4.6.3) ! x11/pixman (pixman-0.16.6)(unknown build error) * textproc/libxslt (libxslt-1.1.26_1) * textproc/openjade (openjade-1.3.3p1_1) * graphics/libgphoto2 (libgphoto2-2.4.9.1) ! devel/orc (orc-0.4.6) (unknown build error) * security/gnutls (gnutls-2.8.6_1) * lang/gawk (gawk-3.1.7_1) * devel/gmake (gmake-3.81_4) * net/qt4-network (qt4-network-4.6.3) ! print/freetype2 (freetype2-2.3.12)(unknown build error) * x11-fonts/mkfontscale (mkfontscale-1.0.7) * net-p2p/rtorrent (rtorrent-0.8.6_1) * devel/gio-fam-backend (gio-fam-backend-2.24.1_1) * devel/p5-Glib2 (p5-Glib2-1.222) * x11/gnome-menus (gnome-menus-2.30.0_1) * devel/glibmm (glibmm-2.24.2_2,1) * shells/bash (bash-4.1.7) * devel/ORBit2 (ORBit2-2.14.18_1) * textproc/libxml++26 (libxml++-2.30.0) * x11-fonts/libXfont (libXfont-1.4.0,1) * x11-fonts/dejavu (dejavu-2.30_1) * textproc/enchant (enchant-1.4.2) * x11-fonts/bdftopcf (bdftopcf-1.0.2) * misc/shared-mime-info (shared-mime-info-0.71_1) * accessibility/atk (atk-1.30.0_1
Re: Does running ``# portupgrade -arRp '' prompt for options or updates everything without prompts?
Any suggestions to start over and get this done in a more efficient manner. Thinking of nuking OpenOffice Done:) grullahighschool# cd openoffice.org-3 grullahighschool# ls Makefiledistinfofiles pkg-descr pkg-plist grullahighschool# make deinstall === Deinstalling for editors/openoffice.org-3 === Deinstalling openoffice.org-3.2.1 grullahighschool# and installing LibreOffice. Will do that now and then when that is done. Regards, Antonio ___ 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: Does running ``# portupgrade -arRp '' prompt for options or updates everything without prompts?
On Thu, May 5, 2011 at 8:37 PM, Warren Block wbl...@wonkity.com wrote: On Thu, 5 May 2011, Antonio Olivares wrote: Dear all, I was running FreeBSD 8.1 and am in the process of updating it following advice in handbook: http://www.freebsd.org/doc/handbook/updating-upgrading-freebsdupdate.html ran # freebsd-update fetch # freebsd-update install # portupgrade -af # freebsd-update -r 8.2-RELEASE upgrade then # freebsd-update install Tried to do this: # portupgrade -f ruby # rm /var/db/pkg/pkgdb.db # portupgrade -f ruby18-bdb # rm /var/db/pkg/pkgdb.db /usr/ports/INDEX-*.db # portupgrade -af Did not work correctly[too many customizations] and Tried again portupgrade is written in Ruby and uses ruby-bdb, so this may not work. -f is of questionable value. Why not just cd to the port directories, and 'make clean build deinstall install'? This is what I am running now ATM # cd /usr/ports/ # make clean build deinstall install Will it install all the ports? or only the ones that are installed? # freebsd-update install and had nothing more to do :( I had many packages that need to be updated so I am running : # portupgrade -arRp -a is equivalent to -arR. And that's building packages, which is not necessary unless you want to copy them to another machine. will this prompt me for customizations? Options menus? Yes, the ports will ask on their own. If you use the -c or -C options, portupgrade will do all of them at the start of the process. Thanks, Antonio ___ 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: Does running ``# portupgrade -arRp '' prompt for options or updates everything without prompts?
On Fri, 6 May 2011 11:36:07 -0500, Antonio Olivares olivares14...@gmail.com wrote: This is what I am running now ATM # cd /usr/ports/ # make clean build deinstall install Will it install all the ports? or only the ones that are installed? Oh, I've never tried that... install all ports... I even doubt this is possible. If you want to intendedly deinstall all _except_ the OS software, you can do this: # cd /usr/local # rm -rf * # mtree /etc/mtree/BSD.local.dist It's worth mentioning that this is a very hard method. Maybe it's much better if you utilize the ports infra- structure. # cd /var/db/pkg # pkg_delete -fad or # pkg_delete -f * This should remove all ports in a clean way. You can also remove stuff from /usr/ports/distfiles and /usr/ports/packages. Then make sure you have updated your ports tree. In case you also want an OS update, do it _now_ (i. e. prior to dealing with ports). In case you keep using portupgrade (and therefore portinstall), maybe in combination with pkg_add -r if you prefer - like me :-) - installing binary packages, make sure that you run BEFORE and AFTER each big step, just to be sure # pkgdb -aF This keeps portinstall's own database in sync with what you are doing on your system with other tools. Oh, and you can _still_ use make install like installations directly from the ports tree - no problem. Another secret: Start with installing one of the bigger software packages you need, as this will pull in many of the dependencies, and you don't have to install those first, by hand. If you want to compile, use gmencoder for example, and select all options you need (remember to do make config-recursive before make install). Sometimes, you'll find it's easier to begin with a new software installation from scratch. Maybe this is a good moment to do so. :-) And a sidenote: If you intend to use the packages you've build on a different system (to install them there), use make package, or much easier with portupgrade or portinstall: use the -p option. This will place precompiled (haha) binary packages in /usr/ports/packages that you can transfer to another system and install with them with pkg_add there - VERY handy solution! -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: Does running ``# portupgrade -arRp '' prompt for options or updates everything without prompts?
On Fri, 6 May 2011, Antonio Olivares wrote: This is what I am running now ATM # cd /usr/ports/ # make clean build deinstall install Will it install all the ports? or only the ones that are installed? It's going to try to install all 22,000 ports. That won't succeed due to conflicts, but it may take a while to get there. Quicker overall would be to read the Handbook ports chapter. You may also find my Upgrading FreeBSD Ports article helpful: http://www.wonkity.com/~wblock/docs/html/portupgrade.html ___ 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: Does running ``# portupgrade -arRp '' prompt for options or updates everything without prompts?
On Fri, May 6, 2011 at 12:14 PM, Warren Block wbl...@wonkity.com wrote: On Fri, 6 May 2011, Antonio Olivares wrote: This is what I am running now ATM # cd /usr/ports/ # make clean build deinstall install Will it install all the ports? or only the ones that are installed? It's going to try to install all 22,000 ports. That won't succeed due to conflicts, but it may take a while to get there. Stopped it with CTRL+C and Quicker overall would be to read the Handbook ports chapter. You may also find my Upgrading FreeBSD Ports article helpful: http://www.wonkity.com/~wblock/docs/html/portupgrade.html Have run the suggested commands # portsnap fetch extract # portsnap fetch install the ports tree is updated. Now portmaster was not installed, installed it # cd /usr/ports/ports-mgmt/ # make install clean now I am running /usr/local/sbin/portmaster -L --index-only | egrep 'total install|versions|New version' and see the packages that need updating, but to update I am running: # portmaster -na /tmp/portorder.txt and will get back after this is done to see how to proceed. Thanks, Antonio ___ 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: Does running ``# portupgrade -arRp '' prompt for options or updates everything without prompts?
On Fri, May 6, 2011 at 12:09 PM, Polytropon free...@edvax.de wrote: On Fri, 6 May 2011 11:36:07 -0500, Antonio Olivares olivares14...@gmail.com wrote: This is what I am running now ATM # cd /usr/ports/ # make clean build deinstall install Will it install all the ports? or only the ones that are installed? Oh, I've never tried that... install all ports... I even doubt this is possible. If you want to intendedly deinstall all _except_ the OS software, you can do this: # cd /usr/local # rm -rf * # mtree /etc/mtree/BSD.local.dist It's worth mentioning that this is a very hard method. Maybe it's much better if you utilize the ports infra- structure. # cd /var/db/pkg # pkg_delete -fad or # pkg_delete -f * This should remove all ports in a clean way. You can also remove stuff from /usr/ports/distfiles and /usr/ports/packages. Then make sure you have updated your ports tree. In case you also want an OS update, do it _now_ (i. e. prior to dealing with ports). In case you keep using portupgrade (and therefore portinstall), maybe in combination with pkg_add -r if you prefer - like me :-) - installing binary packages, make sure that you run BEFORE and AFTER each big step, just to be sure # pkgdb -aF This keeps portinstall's own database in sync with what you are doing on your system with other tools. Oh, and you can _still_ use make install like installations directly from the ports tree - no problem. Another secret: Start with installing one of the bigger software packages you need, as this will pull in many of the dependencies, and you don't have to install those first, by hand. If you want to compile, use gmencoder for example, and select all options you need (remember to do make config-recursive before make install). Sometimes, you'll find it's easier to begin with a new software installation from scratch. Maybe this is a good moment to do so. :-) And a sidenote: If you intend to use the packages you've build on a different system (to install them there), use make package, or much easier with portupgrade or portinstall: use the -p option. This will place precompiled (haha) binary packages in /usr/ports/packages that you can transfer to another system and install with them with pkg_add there - VERY handy solution! -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... I am trying out portmaster. Have stuck with command # portmaster -na /tmp/portorder.txt but it is hanging there. Will go to lunch before doing anything. Then ready to proceed. Thanks, Antonio ___ 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: Does running ``# portupgrade -arRp '' prompt for options or updates everything without prompts?
On Fri, 6 May 2011, Polytropon wrote: Maybe it's much better if you utilize the ports infra- structure. # cd /var/db/pkg # pkg_delete -fad or # pkg_delete -f * These are both equivalent to # pkg_delete -a ___ 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: Does running ``# portupgrade -arRp '' prompt for options or updates everything without prompts?
Warren, Sorry to ask, but what does one run after we run # portmaster -na I have cleared all questions and am ready to update, what magical command will do it? Thanks, Antonio On Fri, May 6, 2011 at 12:54 PM, Warren Block wbl...@wonkity.com wrote: On Fri, 6 May 2011, Polytropon wrote: Maybe it's much better if you utilize the ports infra- structure. # cd /var/db/pkg # pkg_delete -fad or # pkg_delete -f * These are both equivalent to # pkg_delete -a ___ 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: Does running ``# portupgrade -arRp '' prompt for options or updates everything without prompts?
On Fri, May 6, 2011 at 1:52 PM, Antonio Olivares olivares14...@gmail.com wrote: Warren, Sorry to ask, but what does one run after we run # portmaster -na I have cleared all questions and am ready to update, what magical command will do it? Thanks, Antonio On Fri, May 6, 2011 at 12:54 PM, Warren Block wbl...@wonkity.com wrote: On Fri, 6 May 2011, Polytropon wrote: Maybe it's much better if you utilize the ports infra- structure. # cd /var/db/pkg # pkg_delete -fad or # pkg_delete -f * These are both equivalent to # pkg_delete -a Sorry for TOP POSTING :(, but do I run # portmaster -a -f -D and do an in place update of all ports? is this the recommended way or nuking and rebuilding? Regards, Antonio ___ 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: Does running ``# portupgrade -arRp '' prompt for options or updates everything without prompts?
On Fri, 6 May 2011 13:57:01 -0500, Antonio Olivares olivares14...@gmail.com wrote: Sorry for TOP POSTING :(, but do I run # portmaster -a -f -D and do an in place update of all ports? is this the recommended way or nuking and rebuilding? In case you did already remove all installed ports, you need to install them (portinstall command). You can do a port upgrade only for ports that are installed, as the system doesn't keep a which ports have been installed before they got removed database automatically. You need to use portmaster, the make install framework or pkg_add -r to install the ports you want to have on your system. I hope I did understand your statement correctly. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: Does running ``# portupgrade -arRp '' prompt for options or updates everything without prompts?
On Fri, 6 May 2011, Antonio Olivares wrote: On Fri, May 6, 2011 at 1:52 PM, Antonio Olivares Sorry for TOP POSTING :(, but do I run # portmaster -a -f -D and do an in place update of all ports? is this the recommended way or nuking and rebuilding? After the attempt to install every port, I'd remove all, update the ports tree, and install only the needed ports. Right now you may have many installed that are not just unneeded but unwanted. ___ 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: Does running ``# portupgrade -arRp '' prompt for options or updates everything without prompts?
On Fri, May 6, 2011 at 8:43 PM, Warren Block wbl...@wonkity.com wrote: On Fri, 6 May 2011, Antonio Olivares wrote: On Fri, May 6, 2011 at 1:52 PM, Antonio Olivares Sorry for TOP POSTING :(, but do I run # portmaster -a -f -D and do an in place update of all ports? is this the recommended way or nuking and rebuilding? After the attempt to install every port, I'd remove all, update the ports tree, and install only the needed ports. Right now you may have many installed that are not just unneeded but unwanted. I am following the advice given in man portmaster: quote Using portmaster to do a complete reinstallation of all your ports: 1. portmaster --list-origins ~/installed-port-list Print only the ports that have available updates. This can be used as an alias in your shell. Be sure to fix the line wrapping appropriately. portmaster -L | egrep -B1 '(ew|ort) version|Aborting|installed|dependencies| IGNORE|marked|Reason:|MOVED|deleted|exist|update' | grep -v '^--' 2. Update your ports tree 3. portmaster -ty --clean-distfiles 4. portmaster --check-port-dbdir 5. portmaster -Faf 6. pkg_delete -a 7. rm -rf /usr/local/lib/compat/pkg 8. Back up any files in /usr/local you wish to save, such as configuration files in /usr/local/etc 9. Manually check /usr/local and /var/db/pkg to make sure that they are really empty 10. Re-install portmaster 11. portmaster `cat ~/installed-port-list` /quote Mostly everything is step 11 :) Will come back hopefully with a fully updated machine. Regards, Antonio ___ 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: Does running ``# portupgrade -arRp '' prompt for options or updates everything without prompts?
On Fri, May 6, 2011 at 9:59 PM, Antonio Olivares olivares14...@gmail.com wrote: On Fri, May 6, 2011 at 8:43 PM, Warren Block wbl...@wonkity.com wrote: On Fri, 6 May 2011, Antonio Olivares wrote: On Fri, May 6, 2011 at 1:52 PM, Antonio Olivares Sorry for TOP POSTING :(, but do I run # portmaster -a -f -D and do an in place update of all ports? is this the recommended way or nuking and rebuilding? After the attempt to install every port, I'd remove all, update the ports tree, and install only the needed ports. Right now you may have many installed that are not just unneeded but unwanted. I am following the advice given in man portmaster: quote Using portmaster to do a complete reinstallation of all your ports: 1. portmaster --list-origins ~/installed-port-list Print only the ports that have available updates. This can be used as an alias in your shell. Be sure to fix the line wrapping appropriately. portmaster -L | egrep -B1 '(ew|ort) version|Aborting|installed|dependencies| IGNORE|marked|Reason:|MOVED|deleted|exist|update' | grep -v '^--' 2. Update your ports tree 3. portmaster -ty --clean-distfiles 4. portmaster --check-port-dbdir 5. portmaster -Faf 6. pkg_delete -a 7. rm -rf /usr/local/lib/compat/pkg 8. Back up any files in /usr/local you wish to save, such as configuration files in /usr/local/etc 9. Manually check /usr/local and /var/db/pkg to make sure that they are really empty 10. Re-install portmaster 11. portmaster `cat ~/installed-port-list` /quote Mostly everything is step 11 :) Will come back hopefully with a fully updated machine. Regards, Antonio startx command not found :(, no bash ran # pkg_add -r bash # pkg_add -r xfce4 did not succeed, now ran to ports # cd /usr/ports/x11-wm/xfce4 # make install clean and am stuck here. Hopefully this gets me back on my feet. Otherwise, it has been a big exercise :) and definitely I will learn from it. Regards, Antonio ___ 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
Does running ``# portupgrade -arRp '' prompt for options or updates everything without prompts?
Dear all, I was running FreeBSD 8.1 and am in the process of updating it following advice in handbook: http://www.freebsd.org/doc/handbook/updating-upgrading-freebsdupdate.html ran # freebsd-update fetch # freebsd-update install # portupgrade -af # freebsd-update -r 8.2-RELEASE upgrade then # freebsd-update install Tried to do this: # portupgrade -f ruby # rm /var/db/pkg/pkgdb.db # portupgrade -f ruby18-bdb # rm /var/db/pkg/pkgdb.db /usr/ports/INDEX-*.db # portupgrade -af Did not work correctly[too many customizations] and Tried again # freebsd-update install and had nothing more to do :( I had many packages that need to be updated so I am running : # portupgrade -arRp will this prompt me for customizations? Thanks in advance/advice/suggestions. I am taking the plunge a little further. Before I just installed and left it alone :( [except for a few packages that I wanted and ran/installed via ports ], now I am trying to learn more and setup the firewall. I set up the simple example setup by Polytropon and most is working. My freebsd version has moved to FreeBSD 8.2 [olivares@grullahighschool /usr/home/olivares]$ uname -a FreeBSD grullahighschool.rgccisd.org 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011 r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 Regards, Antonio ___ 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: Does running ``# portupgrade -arRp '' prompt for options or updates everything without prompts?
On Thu, 5 May 2011 17:50:28 -0500, Antonio Olivares olivares14...@gmail.com wrote: Tried to do this: # portupgrade -f ruby # rm /var/db/pkg/pkgdb.db # portupgrade -f ruby18-bdb # rm /var/db/pkg/pkgdb.db /usr/ports/INDEX-*.db # portupgrade -af Did not work correctly[too many customizations] and Tried again I think customizations refers to the make config screens, correct? It's the typical kind of interaction that _nobody_ likes. :-) I had many packages that need to be updated so I am running : # portupgrade -arRp will this prompt me for customizations? The -P (and -PP) parameters requests precompiled binary packages - there is no way to configure them (as they have already been built using the port's default options). However, as soon as a package is not available, portupgrade will install the port from source (so make sure your ports tree is up to date), and it MAY happen that there is a make config interaction. The portupgrade program has a --batch parameter that reflects the BATCH=yes option for make calls (as if you would use make install). The decision tree is as follows: Port can be configured? Yes. Port has already been configured? Yes. Build it with that options. No. Ask for options. Then build it with that options. No. Build port. This applies if there is no package (which you require with the -P parameter to portupgrade). Make sure you've understood the upgrading procedures for the system and the installed applications correctly. There _may_ be better tools than portupgrade for dealing with the second part (e. g. portmaster, portmanager). The command line parameters you've collected make portupgrade perform a pkg_add-like upgrade the binary way. Also note the correct order of the upgrade steps: 1. Upgrade system (with freebsd-update) 2. Upgrade ports tree (with portsnap) 3. Upgrade installed software (with portupgrade) As I've mentioned, there are other tools that could take the place of the with * suggested above, but I think this is the way you intend to go. Just as an example, make config-recursive allows you to do all the config screens in one run, one after each other, and as soon as the settings got saved, they will be used without any further questions. See man ports for details about the several build targets; also see man portupgrade of other options you might need to create a non-interactive way of upgrading your installed ports. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: Does running ``# portupgrade -arRp '' prompt for options or updates everything without prompts?
On Thu, May 5, 2011 at 6:33 PM, Polytropon free...@edvax.de wrote: On Thu, 5 May 2011 17:50:28 -0500, Antonio Olivares olivares14...@gmail.com wrote: Tried to do this: # portupgrade -f ruby # rm /var/db/pkg/pkgdb.db # portupgrade -f ruby18-bdb # rm /var/db/pkg/pkgdb.db /usr/ports/INDEX-*.db # portupgrade -af Did not work correctly[too many customizations] and Tried again I think customizations refers to the make config screens, correct? It's the typical kind of interaction that _nobody_ likes. :-) Yes these are the ones :) I have encountered two/three days of these :( This is why I am asking. I had many packages that need to be updated so I am running : # portupgrade -arRp will this prompt me for customizations? The -P (and -PP) parameters requests precompiled binary packages - there is no way to configure them (as they have already been built using the port's default options). However, as soon as a package is not available, portupgrade will install the port from source (so make sure your ports tree is up to date), and it MAY happen that there is a make config interaction. The portupgrade program has a --batch parameter that reflects the BATCH=yes option for make calls (as if you would use make install). The decision tree is as follows: Port can be configured? Yes. Port has already been configured? Yes. Build it with that options. No. Ask for options. Then build it with that options. No. Build port. This applies if there is no package (which you require with the -P parameter to portupgrade). Make sure you've understood the upgrading procedures for the system and the installed applications correctly. There _may_ be better tools than portupgrade for dealing with the second part (e. g. portmaster, portmanager). The command line parameters you've collected make portupgrade perform a pkg_add-like upgrade the binary way. Also note the correct order of the upgrade steps: 1. Upgrade system (with freebsd-update) 2. Upgrade ports tree (with portsnap) 3. Upgrade installed software (with portupgrade) This is exactly more or less what I have done. while doing 1, I encountered several broken ports. But I just skipped those. Ran 2 like the commands I posted. As I've mentioned, there are other tools that could take the place of the with * suggested above, but I think this is the way you intend to go. Just as an example, make config-recursive allows you to do all the config screens in one run, one after each other, and as soon as the settings got saved, they will be used without any further questions. See man ports for details about the several build targets; also see man portupgrade of other options you might need to create a non-interactive way of upgrading your installed ports. I should have asked before :(, tried to do it on my own. I have spent two to three days answering questions back and forth and it seemed that I would not finish :( I was not sure to proceed or not, because previously I got burned with many errors that lib.so , ... and I saw the system working and left it at that. But now I know that to keep a system in good working condition it needs to be updated with security updates :) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... Thanks for helping out. I have not encountered any prompts(*crossing my fingers*) will let you know how this turns out. Regards, Antonio ___ 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: Does running ``# portupgrade -arRp '' prompt for options or updates everything without prompts?
On Thu, May 5, 2011 at 7:44 PM, Antonio Olivares olivares14...@gmail.com wrote: On Thu, May 5, 2011 at 6:33 PM, Polytropon free...@edvax.de wrote: On Thu, 5 May 2011 17:50:28 -0500, Antonio Olivares olivares14...@gmail.com wrote: Tried to do this: # portupgrade -f ruby # rm /var/db/pkg/pkgdb.db # portupgrade -f ruby18-bdb # rm /var/db/pkg/pkgdb.db /usr/ports/INDEX-*.db # portupgrade -af Did not work correctly[too many customizations] and Tried again I think customizations refers to the make config screens, correct? It's the typical kind of interaction that _nobody_ likes. :-) Yes these are the ones :) I have encountered two/three days of these :( This is why I am asking. I had many packages that need to be updated so I am running : # portupgrade -arRp will this prompt me for customizations? The -P (and -PP) parameters requests precompiled binary packages - there is no way to configure them (as they have already been built using the port's default options). However, as soon as a package is not available, portupgrade will install the port from source (so make sure your ports tree is up to date), and it MAY happen that there is a make config interaction. The portupgrade program has a --batch parameter that reflects the BATCH=yes option for make calls (as if you would use make install). The decision tree is as follows: Port can be configured? Yes. Port has already been configured? Yes. Build it with that options. No. Ask for options. Then build it with that options. No. Build port. This applies if there is no package (which you require with the -P parameter to portupgrade). Make sure you've understood the upgrading procedures for the system and the installed applications correctly. There _may_ be better tools than portupgrade for dealing with the second part (e. g. portmaster, portmanager). The command line parameters you've collected make portupgrade perform a pkg_add-like upgrade the binary way. Also note the correct order of the upgrade steps: 1. Upgrade system (with freebsd-update) 2. Upgrade ports tree (with portsnap) 3. Upgrade installed software (with portupgrade) This is exactly more or less what I have done. while doing 1, I encountered several broken ports. But I just skipped those. Ran 2 like the commands I posted. As I've mentioned, there are other tools that could take the place of the with * suggested above, but I think this is the way you intend to go. Just as an example, make config-recursive allows you to do all the config screens in one run, one after each other, and as soon as the settings got saved, they will be used without any further questions. See man ports for details about the several build targets; also see man portupgrade of other options you might need to create a non-interactive way of upgrading your installed ports. I should have asked before :(, tried to do it on my own. I have spent two to three days answering questions back and forth and it seemed that I would not finish :( I was not sure to proceed or not, because previously I got burned with many errors that lib.so , ... and I saw the system working and left it at that. But now I know that to keep a system in good working condition it needs to be updated with security updates :) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... Thanks for helping out. I have not encountered any prompts(*crossing my fingers*) will let you know how this turns out. something to keep in mind portmaster does the same thing and all of portupgrades switches work with portmaster, the only significant difference is that portmaster will run through and prompt you for all of the 'make config' options first and then go about it's business unattended from that point on... it will test for a valid set of config options in all of it's deps before it builds anything, so for something large like gnome, you might sit there for a while answering config screens, but once it's done, it will require no more interaction unless a make dies for some reason... -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? ___ 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: Does running ``# portupgrade -arRp '' prompt for options or updates everything without prompts?
something to keep in mind portmaster does the same thing and all of portupgrades switches work with portmaster, the only significant difference is that portmaster will run through and prompt you for all of the 'make config' options first and then go about it's business unattended from that point on... it will test for a valid set of config options in all of it's deps before it builds anything, so for something large like gnome, you might sit there for a while answering config screens, but once it's done, it will require no more interaction unless a make dies for some reason... -- A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? Now, another question. I was thinking about this. Should I have popped in a dvd and just used it to upgrade? Should I have run # make buildworld or some magical command(s) that will build the system against newer binaries and newer ports so that the system works better and optimized? I have limited experience using FreeBSD :(, have used it on and off since release 5.3 with KDE 3.4/3.5 series. I installed it and had dialup at home tried to get the ltmodem port working, but did not succeed :(, and I left it as pristine as it was. I also got a BSDLiveCD : by Scott Ullrich: http://livebsd.com/ \begin{quote} Inception LiveBSD was founded by Scott Ullrich and Chris Buechler in January 2004. It started its life as an open source project, modifying FreeSBIE scripts to build FreeBSD-based live CD's. A name was decided on, and the domain registered on February 28, 2004. The first LiveBSD Desktop CD was released at that time, a KDE desktop live CD based on FreeBSD 5.2, built using modified FreeSBIE scripts. \end{quote} I really liked it and used it at school. However the project died/was unsupported, it appears FreeSBIE has not had much love either. So far it has not prompted me for any configurations. Had done that for two/three days with the previous command: # portupgrade -af Then # freebsd-update install but the ports/packages were still for old 8.1 release :(, now I have updated ports tree with # portsnap fetch # portsnap extract and # portsnap install and running : # portupgrade -arRp I hope that it would finish soon. I don't know enough like I would like to. Sadly :( except for installing some ports [cd /usr/ports/editor/some-package/, make install clean] and the package would build after configuring some stuff :), but now the stuff was overwhelming :( and I would have preferred to learn a quick and not too painful way of updating :) But this is part of learning and I will take it in stride. It is building new documentation packages handbook for several languages some new packages and it is moving nicely :) Regards, Antonio ___ 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: Does running ``# portupgrade -arRp '' prompt for options or updates everything without prompts?
you must proceed for a system upgrade based on sources. and running : # portupgrade -arRp I hope that it would finish soon. Depends on your computer's power and which ports are currently installed. :-) I don't know enough like I would like to. You will easily learn by doing. Sadly :( except for installing some ports [cd /usr/ports/editor/some-package/, make install clean] and the package would build after configuring some stuff :), but now the stuff was overwhelming :( and I would have preferred to learn a quick and not too painful way of updating :) But this is part of learning and I will take it in stride. If you want to intendedly build a big port from source as you've correctly mentioned, use the command # make config-recursive before the build. This will make sure all dependencies are checked for make config screens, and they are visited first. Then, run # make install to perform the actual install which will then NOT be interrupted by a make config screen. It is building new documentation packages handbook for several languages some new packages and it is moving nicely :) You can easily configure _which_ languages you want the documentation for. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: Does running ``# portupgrade -arRp '' prompt for options or updates everything without prompts?
On Thu, May 05, 2011 at 05:50:28PM -0500, Antonio Olivares wrote: Dear all, I was running FreeBSD 8.1 and am in the process of updating it following advice in handbook: http://www.freebsd.org/doc/handbook/updating-upgrading-freebsdupdate.html ran # freebsd-update fetch # freebsd-update install # portupgrade -af # freebsd-update -r 8.2-RELEASE upgrade then # freebsd-update install Tried to do this: # portupgrade -f ruby # rm /var/db/pkg/pkgdb.db # portupgrade -f ruby18-bdb # rm /var/db/pkg/pkgdb.db /usr/ports/INDEX-*.db # portupgrade -af Did not work correctly[too many customizations] and Tried again # freebsd-update install and had nothing more to do :( I had many packages that need to be updated so I am running : # portupgrade -arRp will this prompt me for customizations? Yes it will. I usually use the -C flag of portupgrade when I'm updating ports. This flag prompts you with all the options screens before it does the update. That way you're not left with the upgrade hanging half way through whilst it waits for you to configure the options. As Polytropon says you can use the --batch flag if you know that you don't want to change the default options. Thanks in advance/advice/suggestions. I am taking the plunge a little further. Before I just installed and left it alone :( [except for a few packages that I wanted and ran/installed via ports ], now I am trying to learn more and setup the firewall. I set up the simple example setup by Polytropon and most is working. My freebsd version has moved to FreeBSD 8.2 [olivares@grullahighschool /usr/home/olivares]$ uname -a FreeBSD grullahighschool.rgccisd.org 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011 r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 Regards, Antonio Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html pgpqLhHuOp63u.pgp Description: PGP signature
Re: Does running ``# portupgrade -arRp '' prompt for options or updates everything without prompts?
On Thu, 5 May 2011, Chris Brennan wrote: something to keep in mind portmaster does the same thing and all of portupgrades switches work with portmaster, portmaster doesn't have the same switches as portupgrade. Or, being more precise, it has some of the same option flags, but they mean something completely different. For example, -R. the only significant difference is that portmaster will run through and prompt you for all of the 'make config' options first and then go about it's business unattended from that point on... The -c or -C options for portupgrade do that, but they aren't on by default. ___ 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: Does running ``# portupgrade -arRp '' prompt for options or updates everything without prompts?
On Thu, 5 May 2011, Antonio Olivares wrote: Dear all, I was running FreeBSD 8.1 and am in the process of updating it following advice in handbook: http://www.freebsd.org/doc/handbook/updating-upgrading-freebsdupdate.html ran # freebsd-update fetch # freebsd-update install # portupgrade -af # freebsd-update -r 8.2-RELEASE upgrade then # freebsd-update install Tried to do this: # portupgrade -f ruby # rm /var/db/pkg/pkgdb.db # portupgrade -f ruby18-bdb # rm /var/db/pkg/pkgdb.db /usr/ports/INDEX-*.db # portupgrade -af Did not work correctly[too many customizations] and Tried again portupgrade is written in Ruby and uses ruby-bdb, so this may not work. -f is of questionable value. Why not just cd to the port directories, and 'make clean build deinstall install'? # freebsd-update install and had nothing more to do :( I had many packages that need to be updated so I am running : # portupgrade -arRp -a is equivalent to -arR. And that's building packages, which is not necessary unless you want to copy them to another machine. will this prompt me for customizations? Options menus? Yes, the ports will ask on their own. If you use the -c or -C options, portupgrade will do all of them at the start of the process. ___ 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: running portupgrade -a
On 29/06/07, Michael P. Soulier [EMAIL PROTECTED] wrote: Hi, It seems like a lot of people keep their ports regularly up to date by just running portupgrade -a. I've seen it online, and in books. As /usr/ports/UPDATING is rather large, it seems impossible to look for potential issues with every package that you're going to upgrade. So, is running portupgrade -a a good idea, as you likely haven't checked for issues for your system? I generally run pkg_version -vIL= after any portsnap which gives me a simple list of things to upgrade. Then, based on a lot of broken stuff over the years, you can merrily pick your way through. For something like cairo or gtk* (or gettext), that many other things depend upon I will run # portupgrade -fr cairo Part of this is the whole upgrade once every couple of weeks or oft'ner so you don't get overwhealmed by the number of upgrades at any time. ports-mgmt/portmaster has a nifty feature in -l but does not seem to have any equivalent to portupgrade -fr. -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: running portupgrade -a
On Sunday 01 July 2007 17:19:22 [EMAIL PROTECTED] wrote: On 29/06/07, Michael P. Soulier [EMAIL PROTECTED] wrote: Hi, It seems like a lot of people keep their ports regularly up to date by just running portupgrade -a. I've seen it online, and in books. As /usr/ports/UPDATING is rather large, it seems impossible to look for potential issues with every package that you're going to upgrade. So, is running portupgrade -a a good idea, as you likely haven't checked for issues for your system? I generally run pkg_version -vIL= after any portsnap which gives me a simple list of things to upgrade. Then, based on a lot of broken stuff over the years, you can merrily pick your way through. For something like cairo or gtk* (or gettext), that many other things depend upon I will run # portupgrade -fr cairo Part of this is the whole upgrade once every couple of weeks or oft'ner so you don't get overwhealmed by the number of upgrades at any time. ports-mgmt/portmaster has a nifty feature in -l but does not seem to have any equivalent to portupgrade -fr. i have another good one for sorting out what needs to be updated: pkg_version -v|grep needs this will show only the ports that need to upgraded. cheers, -- Jonathan Horne http://dfwlpiki.dfwlp.org [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
running portupgrade -a
Hi, It seems like a lot of people keep their ports regularly up to date by just running portupgrade -a. I've seen it online, and in books. As /usr/ports/UPDATING is rather large, it seems impossible to look for potential issues with every package that you're going to upgrade. So, is running portupgrade -a a good idea, as you likely haven't checked for issues for your system? Otherwise, the ports change so fast that if you don't regularly update, when you do go to upgrade you may find yourself in a difficult position to do so. Mike -- Michael P. Soulier [EMAIL PROTECTED] Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein pgprNjZB3MaPm.pgp Description: PGP signature
Re: running portupgrade -a
On Fri, Jun 29, 2007 at 07:14:52PM -0400, Michael P. Soulier wrote: Hi, It seems like a lot of people keep their ports regularly up to date by just running portupgrade -a. I've seen it online, and in books. As /usr/ports/UPDATING is rather large, it seems impossible to look for potential issues with every package that you're going to upgrade. So, is running portupgrade -a a good idea, as you likely haven't checked for issues for your system? Otherwise, the ports change so fast that if you don't regularly update, when you do go to upgrade you may find yourself in a difficult position to do so. I check the output of the following portversion command line to see what software will be upgraded if I issue the portupgrade -a command: portversion | grep -v = This ensures that packages with up-to-date versions and no special notes are ignored. I then compare that list of packages to the UPDATING file to see if there's anything that requires special attention. The UPDATING file is organized in reverse chronological order. This means that you need only read down as far as the first date in the file that is old enough so you know you've updated since then. Once I have checked the portversion output against the UPDATING file, I run this command
running portupgrade -a
Michael P. Soulier writes: As /usr/ports/UPDATING is rather large, it seems impossible to look for potential issues with every package that you're going to upgrade. So, is running portupgrade -a a good idea, as you likely haven't checked for issues for your system? I cannot remember the last time I did this. Why? 1) I update regularly, at least twice a week. (Exception: OpenOffice.) It usually takes an hour or so. 2) portupgrade is not bullet-proof. More than once over the years it's exploded over a single port, with consequences for the pkgdb. Clean-up was sometimes trivial ... and sometimes horrendous. As a result, even when I've checked for known issues I am unintersted in a (supposedly) fire and forget process involving (in one case) 600+ ports. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: running portupgrade -a
At 07:14 PM 6/29/2007, you wrote: So, is running portupgrade -a a good idea, as you likely haven't checked for issues for your system? I just started using portupgrade recently, and no, I would NOT let it rip with the --all option. I find it's most useful for the libraries and required packages that don't need any compile-time options nor config files. Those sorta things I install from packages anyway. So I started with a list of stuff that required compile time control and/or configuration. ls /var/db/ports and pkg-info are a good start... Then run portupgrade -aiP -i asks for confirmation on each, and -P tries to get it from packages (binary) rather than ports. Let that update all the background junk. Than go back and research and possibly manually remake install the primary apps (eg: apache, samba, squid, in my case.) HTH, -RW ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: running portupgrade -a
Michael P. Soulier wrote: Hi, It seems like a lot of people keep their ports regularly up to date by just running portupgrade -a. I've seen it online, and in books. As /usr/ports/UPDATING is rather large, it seems impossible to look for potential issues with every package that you're going to upgrade. So, is running portupgrade -a a good idea, as you likely haven't checked for issues for your system? Otherwise, the ports change so fast that if you don't regularly update, when you do go to upgrade you may find yourself in a difficult position to do so. Mike, Read the list, read /usr/ports/UPDATING and you're usually quite safe at least with -RELEASE or -STABLE. The FreeBSD ports system is an excellent tool and I have yet to see a better one. You could do the upgrade procedure in many ways, this is what I do, portupgrade -avn - this will show you what could be upgraded. A brief search in UPDATING for issues A brief look in the @ports and @questions perhaps Usually no major hazzles so I just do a portupgrade -av and let it run, if there are any problems on the way I'll go back and fix them afterwards. This would be the typical scenario for my home or work PC's, however, if it's an important production server I always run it on a test box first. Good luck! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: running portupgrade -a
On Fri, 29 Jun 2007 19:14:52 -0400 Michael P. Soulier [EMAIL PROTECTED] wrote: Hi, It seems like a lot of people keep their ports regularly up to date by just running portupgrade -a. I've seen it online, and in books. I've been updating ports daily for several years using portupgrade since that seemed the best for me. Doing it on a frequent basis usually keeps the number of ports changing to a smaller number and it seems easier to track down any issues that crop up. As /usr/ports/UPDATING is rather large, it seems impossible to look for potential issues with every package that you're going to upgrade. So, is running portupgrade -a a good idea, as you likely haven't checked for issues for your system? Its only necessary to check the entries in UPDATING since your last update. If you don't check the entries before updating, its possible that a problem might happen. The more frequent you update, the less new entries there are to check of course. Otherwise, the ports change so fast that if you don't regularly update, when you do go to upgrade you may find yourself in a difficult position to do so. Agreed. It may even reach the point where so many ports need updated that it may be just as fast to deinstall all ports and install fresh. Frequent updating also gains you more familarity with the ports system. I don't think there are any tools that are 100% perfect and human errors do happen. HTH Randy -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Alternative to Running Portupgrade -rf In Upgrade of expat2
Bob Perry wrote: I have 48 dependencies on one box and 151 on another and only use a dialup service. Disconnections are common and can be a real problem in this situation. sounds like it's time to start downloading them all and go to bed ;) i feel you...when I got my first UNIX workstation i built X11 from source. it took almost 3 full days :( am so glad i don't have to live with dialup anymore. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Alternative to Running Portupgrade -rf In Upgrade of expat2
/usr/ports/UPDATING recommends that users of textproc/expat2 run portupgrade -rf textproc/expat2 to properly update expat2 and all of its dependencies. Am I correct in that I should be able to run portupgrade on the dependencies individually once identified? I have 48 dependencies on one box and 151 on another and only use a dialup service. Disconnections are common and can be a real problem in this situation. thnx Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Alternative to Running Portupgrade -rf In Upgrade of expat2
On 2/4/06, Bob Perry [EMAIL PROTECTED] wrote: /usr/ports/UPDATING recommends that users of textproc/expat2 run portupgrade -rf textproc/expat2 to properly update expat2 and all of its dependencies. Am I correct in that I should be able to run portupgrade on the dependencies individually once identified? Yes. Tediously. I have about 74 things that depend on expat. Or you could ignore the whole thing until something important depending on expat needs upgrading and do the mess then. Firefox might count as this, maybe X. Both of which seem to have updates this last week. I have 48 dependencies on one box and 151 on another and only use a dialup service. Disconnections are common and can be a real problem in this situation. Shouldn't matter for most of them if you didn't delete your distfiles as they are merely(!) being rebuilt with expat 2. If you deleted your distfiles, or close with make distclean you will have to download them anew, sadly. -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Alternative to Running Portupgrade -rf In Upgrade of expat2
On 04-Feb-2006 Bob Perry wrote: /usr/ports/UPDATING recommends that users of textproc/expat2 run portupgrade -rf textproc/expat2 to properly update expat2 and all of its dependencies. Am I correct in that I should be able to run portupgrade on the dependencies individually once identified? Sure, you could upgrade the dependent ports manually, if you wish. I'd suggest doing a pkg_info -R gettext\* and saving the resulting list of dependencies, so you'll have an easy reference. I have 48 dependencies on one box and 151 on another and only use a dialup service. Disconnections are common and can be a real problem in this situation. Are the two boxes networked together? If so, you could have the distfiles directory on one machine and mount it on the other via NFS, thereby avoiding the need to download to each machine separately. -- Conrad J. Sabatier [EMAIL PROTECTED] -- In Unix veritas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Alternative to Running Portupgrade -rf In Upgrade of expat2
On 04-Feb-2006 [EMAIL PROTECTED] wrote: On 2/4/06, Bob Perry [EMAIL PROTECTED] wrote: /usr/ports/UPDATING recommends that users of textproc/expat2 run portupgrade -rf textproc/expat2 to properly update expat2 and all of its dependencies. Am I correct in that I should be able to run portupgrade on the dependencies individually once identified? Yes. Tediously. I have about 74 things that depend on expat. Or you could ignore the whole thing until something important depending on expat needs upgrading and do the mess then. Firefox might count as this, maybe X. Both of which seem to have updates this last week. I have 48 dependencies on one box and 151 on another and only use a dialup service. Disconnections are common and can be a real problem in this situation. Shouldn't matter for most of them if you didn't delete your distfiles as they are merely(!) being rebuilt with expat 2. If you deleted your distfiles, or close with make distclean you will have to download them anew, sadly. Good point. This is why I *never* use the distclean target. Instead, I do a periodic portsclean -CDD (man portsclean). -- Conrad J. Sabatier [EMAIL PROTECTED] -- In Unix veritas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Alternative to Running Portupgrade -rf In Upgrade of expat2
Conrad Sabatier wrote: On 04-Feb-2006 Bob Perry wrote: /usr/ports/UPDATING recommends that users of textproc/expat2 run portupgrade -rf textproc/expat2 to properly update expat2 and all of its dependencies. Am I correct in that I should be able to run portupgrade on the dependencies individually once identified? Sure, you could upgrade the dependent ports manually, if you wish. I'd suggest doing a pkg_info -R gettext\* and saving the resulting list of dependencies, so you'll have an easy reference. Think I'll run portaudit first and go on from there. I have 48 dependencies on one box and 151 on another and only use a dialup service. Disconnections are common and can be a real problem in this situation. Are the two boxes networked together? If so, you could have the distfiles directory on one machine and mount it on the other via NFS, thereby avoiding the need to download to each machine separately. One box is more of a server and the other functions primarily as my FreeBSD desktop machine which also runs Suse Linux and XP operating systems. Hoping to learn something with this setup. Will need to look into your suggestion of sharing a distfile directory. This particular issue with expat caught me by surprise. I upgraded expat2 last week and wasn't aware of any problem but did run into an unexpected problem with the gnome desktop which hasn't been resolved yet. Maybe expat2 was involved. Thanks everyone, Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Simple program to check for problems prior to running portupgrade
http://www.potentialtech.com/wmoran/portupgrade-check.php -- Bill Moran Potential Technologies http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Simple program to check for problems prior to running portupgrade
On Fri, 2004-12-24 at 19:28 -0500, Bill Moran wrote: http://www.potentialtech.com/wmoran/portupgrade-check.php Nice job, Bill! Appears to work well here. -- Cheers, Trey --- There is a theory which states that if ever anyone discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarre and inexplicable. There is another which states that this has already happened. -- Douglas Adams 8:58PM up 2:44, 0 users, load averages: 0.07, 0.03, 0.01 FreeBSD salamander.thesizemores.net 5.3-RELEASE i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Simple program to check for problems prior to running portupgrade
Bill Moran wrote: http://www.potentialtech.com/wmoran/portupgrade-check.php Very nice. I just waded through /usr/ports/UPDATING for the first time, and seeing your extracting tool immediately after that exercise shows me how valuable your tool will be in the future. It also forced me to learn how to use gunzip and chmod, but those were trivial compared to the portupgrade process. Jay O'Brien Rio Linda, California USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to exclude upgrading kde in running 'portupgrade'
Hi folks I am prepared upgrading kde-3.1.4 to kde-3.2.2. Because I am running FreeBSD 5.2 on a slow PC, AMD-k6-350, I will take following route # cd / # pkg_delete kde\* arts\* qt\* quanta\* kdevelop\* # env PACKAGESITE=http://people.fruitsalad.org/lofi/packages/5.2.1-RELEASE/Latest/ pkg_add -r kde However to avoid running into conflict of dependencies which are unknown to me I will run following steps first to upgrade all other packages including dependencies; # cd / # cvsup -g /usr/local/etc/cvsup/ports-supfile # cvsup -g /usr/local/etc/cvsup/stable-supfile and then # portupgrade -aRrv -x kde I don't know whether the '-x' tag will excluding upgrading kde otherwise the PC will run for several days. Any suggestion? TIA B.R. Stephen Liu ___ Do You Yahoo!? Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to exclude upgrading kde in running 'portupgrade'
Stephen Liu [EMAIL PROTECTED] writes: # portupgrade -aRrv -x kde I don't know whether the '-x' tag will excluding upgrading kde otherwise the PC will run for several days. That should work. If you want to see for sure before starting, use the -n option -- that's exactly why it exists. It sounds like this will be a common situation for you, so you might want to use pkgtools.conf to exclude it from future runs too. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to exclude upgrading kde in running 'portupgrade'
Hi Lowell, Tks for your advice. # portupgrade -aRrv -x kde I don't know whether the '-x' tag will excluding upgrading kde otherwise the PC will run for several days. That should work. If you want to see for sure before starting, use the -n option -- that's exactly why it exists. It sounds like this will be a common situation for you, so you might want to use pkgtools.conf to exclude it from future runs too. I read /usr/local/etc/pkgtools.conf Whether I add disabled_kde.sh will take effect. TIA B.R. Stephen ___ Do You Yahoo!? Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problem after running portupgrade (continue)
Hi folks, I found following files on # ls -lh /tmp/ srwxrwxrwx 1 wnn wheel 0B Mar 28 23:22 cd_sockV4 srwxr-xr-x 1 satimis wheel 0B May 25 19:33 file1XG2EX srwxr-xr-x 1 satimis wheel 0B May 25 22:37 file38j0wR srwxr-xr-x 1 satimis wheel 0B May 23 23:41 file4Umjgt srwxr-xr-x 1 satimis wheel 0B May 24 23:03 fileBSC8C0 srwxr-xr-x 1 satimis wheel 0B May 24 23:41 fileQJVrqc srwxr-xr-x 1 satimis wheel 0B May 23 20:04 fileZZ7EKb srwxr-xr-x 1 satimis wheel 0B May 23 00:27 fileZzv73Y srwxr-xr-x 1 satimis wheel 0B May 27 09:01 filedInBFW srwxr-xr-x 1 satimis wheel 0B May 25 15:40 filehXKshb srwxr-xr-x 1 satimis wheel 0B May 26 23:47 filel6qaBo srwxr-xr-x 1 satimis wheel 0B May 23 00:29 filelVIjRu srwxr-xr-x 1 satimis wheel 0B May 25 23:37 fileq1kqeJ srwxr-xr-x 1 satimis wheel 0B May 23 19:57 fileqqmG1v srwxr-xr-x 1 satimis wheel 0B May 25 13:08 filercSbq1 srwxr-xr-x 1 satimis wheel 0B May 23 08:15 fileshMHVV srwxr-xr-x 1 satimis wheel 0B May 26 00:09 filewt72dp But they can't be moved to /urs/tmp Any advise? What are they for and how they were created. Can I delete them all TIA B.R. Stephen Liu ___ Do You Yahoo!? Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem after running portupgrade
Hi Chris, Tks for your advice. Look into /var/log for a list of files like this example: cron.0.bz2 maillog.1.bz2 sendmail.st.0 cron.1.bz2 maillog.2.bz2 sendmail.st.1 Note the bz2 extensions and the files that have digits at the end. Chances are you may have many. You can delete these if you wish. ls /var/log/ XFree86.0-1.log messages.0.bz2 XFree86.0-2.log messages.1.bz2 XFree86.0-2.log~messages.2.bz2 XFree86.0-3.log messages.3.bz2 XFree86.0.log messages.4.bz2 XFree86.0.log.old messages.5.bz2 XFree86.0.log~ mount.today XFree86.8-1.log ppp.log XFree86.8.log ppp.log.0.bz2 XFree86.8.log.old ppp.log.1.bz2 XFree86.8.log~ ppp.log.2.bz2 auth.logppp.log.3.bz2 auth.log.0.bz2 ppp.log~ cronppp.yd_040225 cron.0.bz2 scrollkeeper.log cron.1.bz2 security cron.2.bz2 sendmail.st cron.3.bz2 sendmail.st.0 cupssendmail.st.1 debug.log sendmail.st.10 dmesg.today sendmail.st.2 dmesg.yesterday sendmail.st.3 kdm.log sendmail.st.4 lastlog sendmail.st.5 lpd-errssendmail.st.6 maillog sendmail.st.7 maillog.0.bz2 sendmail.st.8 maillog.1.bz2 sendmail.st.9 maillog.2.bz2 setuid.today maillog.3.bz2 setuid.yesterday maillog.4.bz2 slip.log maillog.5.bz2 userlog maillog.6.bz2 wtmp maillog.7.bz2 xdm.log messagesxferlog I am going to delete following files; /var/log/ messages.0.bz2 messages.1.bz2 messages.2.bz2 messages.3.bz2 messages.4.bz2 messages.5.bz2 ppp.log.0.bz2 ppp.log.1.bz2 ppp.log.2.bz2 ppp.log.3.bz2 auth.log.0.bz2 cron.0.bz2 cron.1.bz2 cron.2.bz2 cron.3.bz2 sendmail.st.1 sendmail.st.10 sendmail.st.2 sendmail.st.3 sendmail.st.4 sendmail.st.5 sendmail.st.6 sendmail.st.7 sendmail.st.8 sendmail.st.9 maillog.0.bz2 maillog.1.bz2 maillog.2.bz2 maillog.3.bz2 maillog.4.bz2 maillog.5.bz2 maillog.6.bz2 maillog.7.bz2 Any comment ??? Also, look around the dirs within /var You may have something logging such as a core dump. $ ls /var account db log rwho at empty mailspool backups games msgstmp crash heimdal preserveyp cronlib run $ ls /var/backups aliases.bak master.passwd.bak group.bak master.passwd.bak2 group.bak2 Can I delete all above files ??? $ ls /var/tmp gconfd-root svh3k.tmp gconfd-satimis svh3m.tmp linux_base-7.1_5.tbzsvmhc.tmp mapping-rootsvmhe.tmp mapping-satimis svmhg.tmp orbit-root teTeX-2.0.2_2.tbz orbit-satimis tmp.0.QQlif7 pkgdb.fixme tmp.0.dr0vBP sv603.tmp tmp.0.kDy79T sv605.tmp tmp.0.lu8h4X sv607.tmp tmp.1.Egne6s svd5k.tmp tmp.1.JW15qD svd5m.tmp tmp.1.nNXAdw svd5o.tmp tmp.1.xygGQv svh3i.tmp vi.recover Can I delete above files with .tmp extension and all tmp files ??? # ls /var/cron tabs # ls /var/run cron.pid . core dump could not be found B.R. Stephen ___ Do You Yahoo!? Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem after running portupgrade
Hi Remko, Tks for your advice. It says to you that the var drive is full, the var drive keeps logs etc so pretty crucial that it has some space. Go to /var/log and check which files are a bit big and rotate them. You can do that by entering single user mode, mount the /var, go to /var/log, type `ls -lh' it gives you the filesizes Some file has to be what bigger then the rest, so we need to clean it a bit. Mount the /usr drive and create the directory /usr/tmp (since that drive has a lot of space left), now mv /var/log/$bigfilename /usr/tmp/ and touch /var/log/$bigfilename (So that it does exist). It is not the files on /var/log/ taking up space but following files on /var/tmp/ # ls -lh total 192544 -rw-r--r-- 1 satimis wheel 2.3M May 14 22:26 tmp.0.QQlif7 -rw-r--r-- 1 satimis wheel 2.3M May 14 22:24 tmp.0.dr0vBP -rw-r--r-- 1 satimis wheel 2.3M May 15 15:58 tmp.0.kDy79T -rw-r--r-- 1 satimis wheel 2.3M May 14 22:29 tmp.0.lu8h4X -rw-r--r-- 1 satimis wheel 26M May 14 22:26 tmp.1.Egne6s -rw-r--r-- 1 satimis wheel 72M May 14 22:25 tmp.1.JW15qD -rw-r--r-- 1 satimis wheel 32M May 14 22:29 tmp.1.nNXAdw -rw-r--r-- 1 satimis wheel 48M May 15 15:59 tmp.1.xygGQv . I have no idea what they are and when they were created. # df Filesystem 1K-blocksUsedAvail Capacity Mounted on /dev/ad4s1a253678 45872 18751220%/ devfs 1 10 100%/dev /dev/ad4s1e2536784672 228712 2%/tmp /dev/ad4s1f 36354884 4807654 2863884014%/usr /dev/ad4s1d253678 57664 17572025%/var If you reboot now the system will come up and i guess that the things are starting to work again. The Failure of gnome is too less space on /var i think, After rebooting the PC, Gnome revived. Still have some minor problems, such as on KDE desktop Konsole window, selected fonts unable to save (saving settings having no function) The portsclean package? What's that? Search the internet 'portsclean' is an utility of 'portupgrade'. Very powerful taking about 5 minute to complete on my slow system. Now it got lost. I think I have to reinstall 'portupgrade' Try changing your settings in Konsole now, perhaps there is enough space now. Still having problem. Please see above. Tks again for your advice. B.R. Stephen ___ Do You Yahoo!? Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problem after running portupgrade
Hi folks, I encountered problems after running # portupgrade -aRrvO At completion following warning popup; . .. Backing up the old version /var: write failed, filesystem is full bzip2: I/O or other error, bailing out. Possible reason follows. bzip2: No space left on device Input file = (stdin), output file = (stdout) ** Backup failed. --- Uninstallation of linux_base-7.1_5 ended at: Mon, 24 May 2004 22:20:19 +0800 (consumed 00:00:09) --- Upgrade of emulators/linux_base ended at: Mon, 24 May 2004 22:20:19 +0800 (consumed 00:18:22) [Updating the pkgdb format:dbm_hash in /var/db/pkg ... - 260 packages found (-0 +2) .. /var: write failed, filesystem is full --- Session ended at: Mon, 24 May 2004 22:20:22 +0800 (consumed 20:46:59) /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:241:in `origin': dbm_store failed: Cannot update the pkgdb!] (PkgDB:BError) from /usr/local/lib/ruby/site_ruby/1.6/pkginfo.rb:178:in `origin' from /usr/local/sbin/portupgrade:709:in `do_upgrade' from /usr/local/sbin/portupgrade:686:in `main' from /usr/local/sbin/portupgrade:685:in `each' from /usr/local/sbin/portupgrade:685:in `main' from /usr/local/sbin/portupgrade:207:in `initialize' from /usr/local/sbin/portupgrade:207:in `new' from /usr/local/sbin/portupgrade:207:in `main' from /usr/local/sbin/portupgrade:1846 # Reboot PC. Gnome could not be started with a warning something like server configure error. I have no chance to write down the complete warning because it jumped to another empty window after a while. Nor I have an editor to copy the warning down. KDE started properly. Following problems were found. 1) # /usr/src/etc/periodic/weekly/310.locate updatedb Rebuilding locate database: /var: write failed, filesystem is full cat: stdout: No space left on device 2) # df Filesystem 1K-blocksUsedAvail Capacity Mounted on /dev/ad4s1a253678 45872 18751220%/ devfs 1 10 100%/dev /dev/ad4s1e2536784672 228712 2%/tmp /dev/ad4s1f 36354884 4619692 2882680214%/usr /dev/ad4s1d253678 249478 -16094 107%/var 3) # portsclean -C portsclean: Command not found # cd /usr/ports # make search name=portsclean No printout 4) On KDE desktop Konsole window - Font characters being huge Settings - Font - Custom started 'request font' window. It was possible to select font. But Settings - Save Settings seemed having no function. On starting a new Konsole window fonts were still huge. That were the mistakes having been discovered. Others unknown yet. Kindly advise. 1) How to free space. The HD is of 40 G in size solely for FreeBSD 5.2 2) Where can I find 'portsclean' package 3) How to discover the cause of failure in starting Gnome 4) How to set fonts on Konsole window TIA B.R. Stephen Liu ___ Do You Yahoo!? Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem after running portupgrade
On Monday 24 May 2004 11:49 am, Stephen Liu wrote: Hi folks, I encountered problems after running # portupgrade -aRrvO At completion following warning popup; . .. Backing up the old version /var: write failed, filesystem is full Look into /var/log for a list of files like this example: cron.0.bz2 maillog.1.bz2 sendmail.st.0 cron.1.bz2 maillog.2.bz2 sendmail.st.1 Note the bz2 extensions and the files that have digits at the end. Chances are you may have many. You can delete these if you wish. Also, look around the dirs within /var You may have something logging such as a core dump. Just a thought. -- Best regards, Chris ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem after running portupgrade
Hey again Stephen, Stephen Liu wrote: Hi folks, I encountered problems after running # portupgrade -aRrvO At completion following warning popup; . .. Backing up the old version /var: write failed, filesystem is full bzip2: I/O or other error, bailing out. Possible reason follows. bzip2: No space left on device Input file = (stdin), output file = (stdout) ** Backup failed. --- Uninstallation of linux_base-7.1_5 ended at: Mon, 24 May 2004 22:20:19 +0800 (consumed 00:00:09) --- Upgrade of emulators/linux_base ended at: Mon, 24 May 2004 22:20:19 +0800 (consumed 00:18:22) [Updating the pkgdb format:dbm_hash in /var/db/pkg ... - 260 packages found (-0 +2) .. /var: write failed, filesystem is full --- Session ended at: Mon, 24 May 2004 22:20:22 +0800 (consumed 20:46:59) /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:241:in `origin': dbm_store failed: Cannot update the pkgdb!] (PkgDB:BError) from /usr/local/lib/ruby/site_ruby/1.6/pkginfo.rb:178:in `origin' from /usr/local/sbin/portupgrade:709:in `do_upgrade' from /usr/local/sbin/portupgrade:686:in `main' from /usr/local/sbin/portupgrade:685:in `each' from /usr/local/sbin/portupgrade:685:in `main' from /usr/local/sbin/portupgrade:207:in `initialize' from /usr/local/sbin/portupgrade:207:in `new' from /usr/local/sbin/portupgrade:207:in `main' from /usr/local/sbin/portupgrade:1846 # Reboot PC. Gnome could not be started with a warning something like server configure error. I have no chance to write down the complete warning because it jumped to another empty window after a while. Nor I have an editor to copy the warning down. KDE started properly. Following problems were found. 1) # /usr/src/etc/periodic/weekly/310.locate updatedb Rebuilding locate database: /var: write failed, filesystem is full cat: stdout: No space left on device 2) # df Filesystem 1K-blocksUsedAvail Capacity Mounted on /dev/ad4s1a253678 45872 18751220%/ devfs 1 10 100%/dev /dev/ad4s1e2536784672 228712 2%/tmp /dev/ad4s1f 36354884 4619692 2882680214%/usr /dev/ad4s1d253678 249478 -16094 107%/var 3) # portsclean -C portsclean: Command not found # cd /usr/ports # make search name=portsclean No printout 4) On KDE desktop Konsole window - Font characters being huge Settings - Font - Custom started 'request font' window. It was possible to select font. But Settings - Save Settings seemed having no function. On starting a new Konsole window fonts were still huge. That were the mistakes having been discovered. Others unknown yet. Kindly advise. 1) How to free space. The HD is of 40 G in size solely for FreeBSD 5.2 2) Where can I find 'portsclean' package 3) How to discover the cause of failure in starting Gnome 4) How to set fonts on Konsole window TIA B.R. Stephen Liu Ofcourse you searched the internet, the archives etc? (guess not) It says to you that the var drive is full, the var drive keeps logs etc so pretty crucial that it has some space. Go to /var/log and check which files are a bit big and rotate them. You can do that by entering single user mode, mount the /var, go to /var/log, type `ls -lh' it gives you the filesizes Some file has to be what bigger then the rest, so we need to clean it a bit. Mount the /usr drive and create the directory /usr/tmp (since that drive has a lot of space left), now mv /var/log/$bigfilename /usr/tmp/ and touch /var/log/$bigfilename (So that it does exist). If you reboot now the system will come up and i guess that the things are starting to work again. The Failure of gnome is too less space on /var i think, The portsclean package? What's that? Search the internet ;) Try changing your settings in Konsole now, perhaps there is enough space now. -- Kind regards, Remko Lodder Elvandar.org/DSINet.org www.mostly-harmless.nl Dutch community for helping newcomers on the hackerscene ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
when running portupgrade triggering reboot / how to do detailedsystem log to see precise reboot trigger?
Have not been able to keep machine up-to-date with cvsup since each time after the cvsup has completed, the portupgrade reboots the machine. Probably the first thing to do is to enable some log utility to capture what triggered the reboot. How should I go about this - logging in as much detail to figure what happened? Running FreeBSD 5.1 Release with KDE. The applications/libraries are all up-to-date except for the list below. Seems obvious that upgrading one of those packages triggered the reboot. Here are the pieces that are out-of-date from cvsup: - arts - cdparanoia - cups-base - esound - gconf2 - gnome-icon-theme - gnomevfs2 - kdemultimedia - libbonobo - libbonoboui - libgnome - libgnomeui - linux_base - p5-Net - pcre - pilot-link - scrollkeeper ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Running portupgrade in the background?
Hi, I'm often use portupgrade in combination with sudo from an SSH session and up till now I've never been able to put the portupgrade process in the background so that it can finish its job and I can safely exit the SSH session. Whenever I've done this the portupgrade process seems to die and I never successfully create the desired port(s). I find that I always have to be on a live session during the entire portupgrade build process for it to finish successfully. Is this the normal behavior? Is it really impossible to properly put the protupgrade process in the background? Or am I just doing it all wrong? I've tried different combinations of: sudo portupgrade package sudo -b portupgrade package sudo -b sh -c portupgrade package /home/user/build.out 21 all to no avail... -Martin To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Running portupgrade in the background?
On Fri, Jan 10, 2003 at 05:54:17PM -0500, Martin Gignac said: Hi, I'm often use portupgrade in combination with sudo from an SSH session and up till now I've never been able to put the portupgrade process in the background so that it can finish its job and I can safely exit the SSH session. when a process dies, in general all of its child processes die with it. in this case the portupgrade process is a child of the ssh session and dies when you log out. the solution is nohup(1): % nohup portupgrade $options which should leave the process running after you log out, and will dump the output to the file nohup.out unless you redirect it elsewhere. HTH, chris --- Chris Doherty chris [at] randomcamel.net I think, said Christopher Robin, that we ought to eat all our provisions now, so we won't have so much to carry. -- A. A. Milne --- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message