# portupgrade -RP gnome2 # pkg_add -r gnome2   uname -a looks like btw?bill# pkg_info -Ix gnome2
gnome2-2.26.3       The "meta-port" for the GNOME 2 integrated X11 desktop
bill#	! graphics/libexif (libexif-0.6.17)	(checksum mismatch)
	! www/apache22 (apache-2.2.13)	(install error)
	* www/gnome-user-share (gnome-user-share-2.26.0_1)
	* devel/gvfs (gvfs-1.2.3_2)
	* x11-toolkits/libgnomeui (libgnomeui-2.24.1_1)
	* databases/evolution-data-server (evolution-data-server-2.26.3_1)
	* accessibility/gok (gok-2.26.0_1,1)
	* x11/yelp (yelp-2.26.0_2)
	* www/evolution-webcal (evolution-webcal-2.26.0_1)
	* devel/bug-buddy (bug-buddy-2.26.0_1)
	* audio/gnome-media (gnome-media-2.26.0_6)
	* www/gtkhtml3 (gtkhtml3-3.26.3_1)
	* multimedia/totem-pl-parser (totem-pl-parser-2.26.2_1)
	* x11/gnome-terminal (gnome-terminal-2.26.3.1_2)
	* x11-toolkits/py-gnome2 (py26-gnome-2.26.1_1)
	* x11-themes/gnome-themes (gnome-themes-2.26.3.1_1)
	* x11/gnome-desktop (gnome-desktop-2.26.3_1)
	* multimedia/cheese (cheese-2.26.3_1)
	* x11/gnome-panel (gnome-panel-2.26.3_1)
	* mail/evolution (evolution-2.26.3_1)
	* net/vinagre (vinagre-2.26.2_1)
	* graphics/eog (eog-2.26.3_1)
	* mail/evolution-exchange (evolution-exchange-2.26.3_1)
	* sysutils/gconf-editor (gconf-editor-2.26.0_1,1)
	* deskutils/gnome-utils (gnome-utils-2.26.0_2,1)
	* x11-fm/nautilus (nautilus-2.26.3_2)
	* sysutils/gnome-system-tools (gnome-system-tools-2.22.2_1)
	* www/epiphany (epiphany-2.26.3_4)
	* net/gnome-netstatus (gnome-netstatus-2.26.0_1)
	* sysutils/gnome-power-manager (gnome-power-manager-2.24.4_5)
	* sysutils/gnome-settings-daemon (gnome-settings-daemon-2.26.1_3)
	* multimedia/totem (totem-2.26.3_1)
	* archivers/file-roller (file-roller-2.26.3_1,1)
	* sysutils/brasero (brasero-2.26.3_1)
	* sysutils/gnome-control-center (gnome-control-center-2.26.0_2)
	* net/vino (vino-2.26.2_2)
	* accessibility/mousetweaks (mousetweaks-2.26.3_1)
	* x11/gnome-screensaver (gnome-screensaver-2.26.1_3)
	* x11/gnome-session (gnome-session-2.26.2_1)
	* x11/gdm (gdm-2.26.1_7)
	* audio/sound-juicer (sound-juicer-2.26.1_1)
	* graphics/evince (evince-2.26.2_2)
	* x11-toolkits/py-gnome-desktop (py26-gnome-desktop-2.26.0_1)
	* accessibility/orca (orca-2.26.3_1)
	* net-im/empathy (empathy-2.26.2_1)
	* security/seahorse-plugins (seahorse-plugins-2.26.2_3)
	* deskutils/alacarte (alacarte-0.12.1_1)
	* x11/gnome-applets (gnome-applets-2.26.3_1)
	* deskutils/deskbar-applet (deskbar-applet-2.26.2_1)
	* deskutils/hamster-applet (hamster-applet-2.26.3_1)
	* games/gnome-games (gnome-games-2.26.3_1)
	* x11/gnome2 (gnome2-2.26.3)# portupgrade --batch -arR# portupgrade --batch -arR
bill# make NO_CHECKSUM=yes 
===>  Vulnerability check disabled, database not found
===>  Extracting for libexif-0.6.18
bzip2: Data integrity error when decompressing.
	Input file = /usr/ports/distfiles//libexif-0.6.18.tar.bz2, output file = (stdout)
It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.
You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.
libexif-0.6.18/libexif/pentax/exif-mnote-data-pentax.c: Truncated tar archive
tar: Error exit delayed from previous errors.
*** Error code 1try removing that file from /usr/ports/distfiles and trying again. It most likely did not get downloaded completely or something happened to it during the downloadhitchup said:It appears there is a problem with this files compression.
Suggestions?
jotawski said:graphics/libexif is required by gphoto2 and if it did not need by gnome2, you can safely remove it for a while. i do not think that apache22 is needed by gnome2 too.
my suggestion is that remove those two packages from your system for a moment and redo portupgrade -a once more time and finally if all packages have been upgraded successfully, you can reinstall libexif and apache22.
rm /usr/ports/distfiles/libexif-0.6.18.tar.bz2
cd /usr/ports/graphics/libexif
make fetch
make checksum# make checksum in /usr/ports/graphics/libexif will tell you, whether the downloaded file is complete and has a correct checksum.# portupgrade --batch -arRmickey said:I'm afraid that wont work as both are normally required by gnome2. libgphoto2 is needed by devel/gvfs. One could probably deselect the gphoto2 support option in gvfs and go without it though. apache22 is pulled in by gnome-user-share, which needs it to perform WebDAV sharing.
Anyhow, the solution to the problem is really simple. Delete the file /usr/ports/distfiles/libexif-0.6.18.tar.bz2 and download a proper copy of it. This can be accomplished by either:
Code:rm /usr/ports/distfiles/libexif-0.6.18.tar.bz2 cd /usr/ports/graphics/libexif make fetch make checksum
... or if that fails, you could also try to fetch the file manually and place it into the /usr/ports/distfiles directory. As above, running# make checksumin /usr/ports/graphics/libexif will tell you, whether the downloaded file is complete and has a correct checksum.
Once you have a proper version of the distfile, rerun# portupgrade --batch -arR
And never ever run make NO_CHECKSUM=yes, until you really know what you are doing. Checksums are there for a reason :stud

===>  Installing for apr-gdbm-db42-mysql-1.3.8.1.3.9_1
===>   Generating temporary packing list
===>  Checking if devel/apr already installed
===>   apr-gdbm-db42-mysql-1.3.8.1.3.9_1 is already installed
      You may wish to ``make deinstall'' and install this port again
      by ``make reinstall'' to upgrade it properly.
      If you really wish to overwrite the old port of devel/apr
      without deleting it first, set the variable "FORCE_PKG_REGISTER"
      in your environment or the "make install" command line.
*** Error code 1
Stop in /usr/ports/devel/apr.
*** Error code 1
Stop in /usr/ports/devel/apr.
*** Error code 1
Stop in /usr/ports/www/apache22.
*** Error code 1
Stop in /usr/ports/www/apache22.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20091218-39971-17n08eg-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=apache-
2.2.13 UPGRADE_PORT_VER=2.2.13 make BATCH=yes reinstall
--->  Restoring the old version
To run apache www server from startup, add apache22_enable="YES"
in your /etc/rc.conf. Extra options can be found in startup script.
Your hostname must be resolvable using at least 1 mechanism in
/etc/nsswitch typically DNS or /etc/hosts or apache might
have issues starting depending on the modules you are using.
** Fix the installation problem and try again.
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 651 packages found (-0 +1) . done]
--->  Skipping 'www/gnome-user-share' (gnome-user-share-2.26.0_1) because a requisite package 'apache-2.2.13' (www/apache22) failed (specify -k to force)
--->  Skipping 'x11/gnome2' (gnome2-2.26.3) because a requisite package 'gnome-user-share-2.26.0_1' (www/gnome-user-share) failed (specify -k to force)
** Listing the failed packages (-:ignored / *:skipped / !:failed)
	! www/apache22 (apache-2.2.13)	(install error)
	* www/gnome-user-share (gnome-user-share-2.26.0_1)
	* x11/gnome2 (gnome2-2.26.3)
bill#hitchup said:Have made some progress. Stuck on an appache22 problem.
I went through the deinstall and reinstall just before the above and as shown it didn't resolve the apache22 issue.
mickey said:Where did you run the make deinstall/reinstall, in /usr/ports/devel/apr? Normally portupgrade should not try to upgrade devel/apr again, if you manually reinstalled it.

Not having to use precompiled software was one of the reasons I switched to FreeBSD in the first place. If you (or better your machines) are short on (processor) time, packages are probably best for you. Personally, I prefer to have binaries created on the machine they are used on, have them optimized for the underlying processor and to choose from a gazillion of compile-time options, you never get to see with packages. And since all my machines run 24/7, there's always time for compiling some portsachix said:Guys, we are almost in 2010, we've been compiling ports for the last decades of our lives, time to switch to precompiled packages, especially now that FreeBSD can deliver.
 Another thing is that packages are always way behind the ports.
 Another thing is that packages are always way behind the ports.achix said:Ports compilation, might get really tricky, it is not for people short of time, and definitely not for newbies.
