Subject: KDE pkg install
To: None <netbsd-users@netbsd.org>
From: Marc Coevoet <marcsje@fulladsl.be>
List: netbsd-users
Date: 02/01/2006 18:16:20
Here, three packs have been renewed, and then KDE seems to compile fine:
(after cvs tuesday 18h GMT)

errror:

*** If so, you may use either of:
***  - "pkg_delete expat-1.95.8nb2" and "/usr/bin/make reinstall" to 
upgrade properly
***  - "/usr/bin/make update" to rebuild the package and all of its 
dependencies
***  - "/usr/bin/make replace" to replace only the package without 
re-linking
***    dependencies, risking various problems.

then I do:

# pkg_delete expat-1.95.8nb2
pkg_delete: package `expat-1.95.8nb2' is required by other packages:
         firefox-1.5nb2
         xsane-0.98bnb1
         gimp-2.2.10
         librsvg2-2.12.7
         libgnomeprintui-2.12.1
         libcroco-0.6.0nb2
         libgnomeui-2.12.0nb1
         libbonoboui-2.10.1nb1
         libgtkhtml-2.6.3nb1
         gail-1.8.8
         libgnomecanvas-2.12.0
         libglade2-2.5.1
         gnome-keyring-0.4.6
         vlc-0.7.2nb7
         wxGTK-2.6.2
         gtk2+-2.8.10
         libgnomeprint-2.12.1
         pango-1.10.2
         cairo-1.0.2nb1
         Xft2-2.1.7
         fontconfig-2.3.2
         intltool-0.34.1
         p5-XML-Parser-2.34nb3
         libwmf-0.2.8.4


Of course, I had to use delete -f

then I saw that pkgsrc was taking expat-2.0 instaed of 1.95...

And then ...

===> fontconfig-2.3.2 is already installed - perhaps an older version?
*** If so, you may use either of:
***  - "pkg_delete fontconfig-2.3.2" and "/usr/bin/make reinstall" to 
upgrade properly
***  - "/usr/bin/make update" to rebuild the package and all of its 
dependencies
***  - "/usr/bin/make replace" to replace only the package without 
re-linking
***    dependencies, risking various problems.
*** Error code 1

remove, -f, and then ... install of fontconfig-2.3.2.nb1

but then ..

===> Installing for Xft2-2.1.7nb1
===> Xft2-2.1.7 is already installed - perhaps an older version?
*** If so, you may use either of:
***  - "pkg_delete Xft2-2.1.7" and "/usr/bin/make reinstall" to upgrade 
properly
***  - "/usr/bin/make update" to rebuild the package and all of its 
dependencies
***  - "/usr/bin/make replace" to replace only the package without 
re-linking
***    dependencies, risking various problems.
*** Error code 1


Looks like I am going trough the dependency tree ..

Instead of making KDEbase, it would be better do upgrade all/some 
packages installed ?

I'll have to learn to work with updating the dependency tree (there 
should be a command), bu now the machine is already 6 hours busy 
compiling, without erors, I'll have KDE soon now..


Question: I know about things like Debian packages, rpm packages, will 
these kind of *source* installs work with such tools like 
synaptic/aptitude/kynaptc  etc ????   I know there is some kind of 
binary support for linux in nebsd...  but do not want to start that 
yet.
( deb = 15000 packs )


Marc