After updateposts gnome still on 2.26

I think I am missing a final step since gnome was running during the update. How do I make 2.28.1 active?
Gedit is at 2.28.1.

apache2.22 and pulseaudio both failed to update.
Are these of concern?
 
Depends how did you update: packages? ports?
Whole gnome2-2.28 is still not available in packages, only some could be done so far.
If you run
# portupgrade -RP gnome2
it takes a while but you have 2.28 finally.
If you run
# pkg_add -r gnome2
you end up with 2.26.
In general: what do you have now and what you're updating to?
How output of uname -a looks like btw?
 
I performed a
Code:
portupgrade -aW
about 3 days worth of compiles.

Here is the output:
Code:
$ uname -a
FreeBSD bill.cableone.net 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009     root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
$
 
i afraid that you end up portupgrade -aW with a few messages.

or show us results of pkg_info -Ix gnome2 .

regards,
jotawski
 
Code:
bill# pkg_info -Ix gnome2
gnome2-2.26.3       The "meta-port" for the GNOME 2 integrated X11 desktop
bill#
The errors after the last update:
Code:
	! 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)
 
Update your ports tree using csup(1) or portsnap(8). Then try running:
# portupgrade --batch -arR

libexif, which is marked as 'checksum mismatch' in your output is at version 0.6.18. Chances are it will succeed after updating your ports tree and refetching the distfile.

If the portupgrade command fails again, look for those ports marked with '!' and try to install/update those ports manually. Then rerun the portupgrade command.

Those ports marked with '*' were just skipped, due to a prerequisite not having been updated.
 
portsnap reports the tree up to date

Not familiar with csup and i need hand holding on its commands.

Can someone please provide example commands for a ports tree refresh?
 
portsnap should do the job. Either use portsnap or csup for updating your ports tree, not both.

Now try:
# portupgrade --batch -arR

This will update all installed ports to the latest version in your ports tree. Depending upon the number of ports that need to be upgraded, this may take some time to finish.

When portupgrade is finished, see if there were any problems in updating. Ports marked with '!' had some problem, ports marked with '*' have not been updated, cause a prerequisite port did not update properly. In that case you need to take care of those marked with '!' and restart the portupgrade command afterwards in order to upgrade the remaining ports.

portupgrade is no magic. Sometimes it fails. And the likelihood that it fails for some reason increases proportional to the time elapsed, since you last updated your system. So it's best to run it regularly, and to read /usr/ports/UPDATING beforehand, to get aware of updates that require special treatment.

At least this is my personal experience with portupgrade :p
 
It appears there is a problem with this files compression.
Suggestions?


Code:
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 1
 
hitchup said:
It appears there is a problem with this files compression.
Suggestions?
try 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 download
 
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.

comments #6,#8 are of great valued to read.

regards,
jotawski
 
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.

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 checksum in /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
 
mickey 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 checksum in /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

thanks indeed for correcting me :)
 
Have made some progress. Stuck on an appache22 problem.
Code:
===>  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#

I went through the deinstall and reinstall just before the above and as shown it didn't resolve the apache22 issue.

And yes I know it was risky to make with an improper checksum.
 
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.

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.
 
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.

FYI, yesterday i installed full gnome2-2.28.1 from the 8-STABLE package repository.

Ports compilation, might get really tricky, it is not for people short of time, and definitely not for newbies.
 
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.

Yes in /usr/ports/devel/apr.

Then, what should I do?

I can't find a file by that name in distfiles to delete.
 
Going from packages to ports is the natural progression, not the other way around. We need more smart newbies, not more ignorant ones who can do no more than pkg_add and can't escape from a wet paper bag ;)
 
Set FORCE_PKG_REGISTER in the environment, run a [cmd=]make distclean[/cmd] in the Apache port and reinstall it.
 
achix 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.
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 ports :p 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.

But you will experience a steep learning curve in doing so. I do my daily portupgrades between my first and second cup of coffee :e
 
Same here, and with a script like this you can have them in the mail to pore over while having your coffee..
 
I have programmed since 1971 starting with assembly language and Fortran on a Honeywell 316. This is just new concepts for me. The original intent was to upgrade gnome2 from ports. If I need insulting comments about my smarts so be it. I still intend to waddle though.
 
No one insulted you, hitchup. My comments were about not needing ever more new users who will not even attempt to compile their own ports and find out about this stuff. You are clearly trying, and I applaud that.
 
And as to it now being (almost) 2010: we've also had ten years of Moore's Law (not to be confused with Cole's Law), and there are really very few showstoppers in the ports tree nowadays. The notable exceptions being the big hogs like KDE, Gome and OpenOffice. It took me under 12 hours to compile 8.0/amd64, a new kernel, and 600+ ports on my laptop. With those numbers, I'll opt for ports without second thought.
 
I guess back in the days, when FreeBSD was still called "386BSD 0.1", there were neither ports nor packages. I wonder how I've got along :e
 
Back
Top