KDE upgrade problem

Kent Stewart kstewart at owt.com
Sat Apr 3 08:33:27 PST 2004


On Saturday 03 April 2004 07:26 am, Ben Paley wrote:
> Hello,
>
> I'm running KDE 3.1.4 under FreeBSD 5.2-CURRENT. I want to upgrade to
> KDE 3.2.1, and I've tried this a number of ways, using the ports
> system: I've tried using 'portupgrade kde' and also in smaller chunks
> like 'portupgrade kdelibs' and 'portupgrade kdebase', and I've tried
> doing
>
> #cd /usr/ports/x11/kdelibs3/
> #make depend
> #make
> #make install
>
> and every time I get through the kdelibs build with no problems, and
> get the same error when it tries to install:
>
> ####################################
>
> ===>  Installing for kdelibs-3.2.1
>
> ===>  kdelibs-3.2.1 conflicts with installed package(s):
>       kdebase-3.1.4
>       They install files into the same place.
>       Please remove them first with pkg_delete(1).
> *** Error code 1
>
> Stop in /usr/ports/x11/kdelibs3.
> *** Error code 1
>
> Stop in /usr/ports/x11/kde3.
> ** Command failed [exit code 1]: /usr/bin/script -qa
> /tmp/portupgrade32717.0 make
> ** Fix the problem and try again.
> ** The following packages were not installed or upgraded
> (*:skipped / !:failed)
>         ! x11/kde3 (kde-3.1.4)  (new compiler error)
> bash-2.05b#
>
> ####################################
>
> So, of course, I could try pkg_delete-ing kdebase, but I'm a bit
> reluctant to bugger up a working installation, just in case that
> doesn't actually solve the problem, or something else goes wrong,
> leaving me with no desktop! Of course I could install another,
> temporary deaktop in case...
>
> Or is it possibly a problem with the port?
>
> Any ideas? Thanks very much
>

All of us that upgraded had to do it. If you don't, you have a situation 
like the Xfont problem in XFree86 where the fonts were moved to 
-libraries and the pkg_delete of the old location deleted them but 
didn't reinstall them. You had to reinstall -library in order to 
continue with the update.

I don't upgrade kde from a konsole in kde. So, my attitude was that I 
didn't have a working version with the first dependancy update. I also 
used 2 AMD 2400+ XP's to build alternating packages in parallel and use 
the package for the install on the other computer. So I had 2 machines 
down until I finished and that was something on the order of 6 hours.

If you upgrade, set "BATCH=yes" in your /etc/make.conf and start the 
upgrade while you aren't around. FruitSalad only has packages for 5.2, 
so you will have to build them from the port and that takes a long 
time. The BATCH command tells the make to install everything.

Kent 

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


More information about the freebsd-questions mailing list