Date: Fri, 23 May 2008 12:41:45 -0500 (CDT) From: "Ross Gohlke" <ross@grinz.com> To: freebsd-questions@freebsd.org Subject: Re: Trouble upgrading qt33 with portupgrade after package installation Message-ID: <50582.74.170.92.99.1211564505.squirrel@grinzport.grinz.com> In-Reply-To: <4836F7D2.6000203@pixelhammer.com> References: <48345138.8080507@ibctech.ca> <4834599A.1090108@infracaninophile.co.uk> <4834A7B4.9030302@ibctech.ca> <20080521232319.GA57359@osiris.chen.org.nz> <4834B7EE.3000002@ibctech.ca> <20080522020619.GA69543@osiris.chen.org.nz> <4834D891.6050707@ibctech.ca> <20080522035913.GA78449@osiris.chen.org.nz> <483503AD.60801@infracaninophile.co.uk> <4835634F.6060107@ibctech.ca> <20080522203932.GA74897@osiris.chen.org.nz> <50810.74.170.92.99.1211493506.squirrel@grinzport.grinz.com> <4836F7D2.6000203@pixelhammer.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> Ross Gohlke wrote: >> I have been running FreeBSD 6 successfully for over a year without >> installing any ports from packages. I have had great success using ports >> but sticking with make install clean/portupgrade. >> >> I recently decided to try running X11/KDE. I thought I would save some >> time and learn a new trick with pkg_add kde. >> >> Mixing the two confuses me because portversion does not report whether >> an >> installed port was compiled from source or copied from a package, and >> portupgrade hasn't worked on some packages. >> Here's the latest: >> >> portupgrade -vr qt > > <snip> > >> Stop in /usr/ports/x11-toolkits/qt33. >> ** Command failed [exit code 1]: /usr/bin/script -qa >> /tmp/portupgrade.12485.0 env UPGRADE_TOOL=portupgrade >> UPGRADE_PORT=qt-3.3.8_6 UPGRADE_PORT_VER=3.3.8_6 make >> ** Fix the problem and try again. >> ---> Build of x11-toolkits/qt33 ended at: Thu, 22 May 2008 16:53:59 >> -0500 >> (consumed 00:51:34) >> ---> Upgrade of x11-toolkits/qt33 ended at: Thu, 22 May 2008 16:53:59 >> -0500 (consumed 00:51:34) >> ---> ** Upgrade tasks 1: 0 done, 0 ignored, 0 skipped and 1 failed >> ---> Listing the results (+:done / -:ignored / *:skipped / !:failed) >> ! x11-toolkits/qt33 (qt-3.3.8_6) (linker error) >> ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed >> ---> Session ended at: Thu, 22 May 2008 16:53:59 -0500 (consumed >> 00:51:47) >> ---------------- >> >> Is there a particular port I need to reinstall from source to fix this, >> or >> another solution? >> >> Thanks. >> >> Ross Gohlke > > I've had that happen, no explanation why. I have had luck switching from > a pkg to a port by doing the following within the port you are upgrading. > > make deinstall > make clean > make reinstall > Then portupgrade will work with the port fine. There is the possibility > that you may need to remove the pkg using pkg delete and then Yes, but there were like, 50 packages affected. This is a tedious process, having to manually cd into each directory. Plus, how do you figure out which packages? I can't find a tool that tells me whether an installed port is binary or source. That would be nice! See my other post for my solution. Anyway, my main fear was that I messed up my ports tree in a way that would effect portupgrading essential software. Thankfully that doesn't seem to be the case. > X is big, I have not used X in years as all my > systems are servers, Why not run FreeBSD w/X on your desktop as well? I'm running KDE3 on a Powerbook G4 with Mac OS 10.4. It took me a while to configure it, but I really like Kate and Konsole. Firefox/Konqueror isn't a bad browser duo (don't forget elinks!). I don't plan to go back. > I generally use only ports if I don't install from > source. Someone with more experience than me might have a better answer. What is the relationship between ports and packages/binary and source? The Handbook seems to use the terms interchangably. The port*/pkg* commands handle both types. > Of course, if you follow my advice blindly your system may explode, or > worse ;^) I haven't had that happen in quite some time, and not ever from YOUR advice! > DAve > > PS, Denise says HOWDY! HOWDY back! Yay! Ross Gohlke
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50582.74.170.92.99.1211564505.squirrel>