Hi all,
Since I reinstalled with FreeBSD 10, I've been trying to get away from building ports, and just use
* I went to upgrade with
* Reading further down I also saw that KDE had been upgraded and I needed to now use the WITH_NEW_XORG option and follow some instructions on the graphics wiki to update Xorg. I think this was my first mistake.
* I followed said instructions, which caused me to install
* I then ran
* I then ran
* On rebooting, X failed to start, which I incorrectly put down to a the new Xorg not working. I soon realised though that
* I ran
* Reran
This was not a good experience and whilst I'm pretty sure I made some mistakes, the 'simple'
Mark
Since I reinstalled with FreeBSD 10, I've been trying to get away from building ports, and just use
pkg but today's was not good. In order that others can learn from it (and possibly documentation can be improved) I'll share.* I went to upgrade with
pkg but this failed giving my a long list of conflicting files, mostly around DocBook. Okay, I thought I'll portsnap fetch update and read /usr/ports/UPDATING. That indicated that DocBook had been upgraded and I needed to delete the old version manually (why?). * Reading further down I also saw that KDE had been upgraded and I needed to now use the WITH_NEW_XORG option and follow some instructions on the graphics wiki to update Xorg. I think this was my first mistake.
* I followed said instructions, which caused me to install
portmaster and rebuild some X ports. * I then ran
pkg update which failed again. This time failing with conflicts on some IM library (I don't recall) required by kopete. I figured that since KDE was getting upgraded anyway I might as well just delete it. Not sure why I had to do this manually.* I then ran
pkg upgrade successfully, all good I thought and as per the instructions in UPDATING, cleaned up the remaining files in /usr/local/kde4. Second mistake.* On rebooting, X failed to start, which I incorrectly put down to a the new Xorg not working. I soon realised though that
pkg had not upgraded all of KDE4, just some (or none?) of it and I now had a bit of a mess to fix.* I ran
portmaster -ayPD to attempt to install the KDE upgrade manually and fix the mess. I guessed the appropriate responses to the options dialogs and the build proceeded until kde4-workspace where it bombed out with a linker error. After some more investigation, I was able to get kdeworkspace to build by turning of the OpenGL ES2 option which doesn't work (or at least not on my Nvidia system).* Reran
portmaster, it decided to rebuild libreoffice which takes a long long time but I'm not going to argue with it because I don't want to make things worse. Hopefully all should be good now.This was not a good experience and whilst I'm pretty sure I made some mistakes, the 'simple'
pkg tool did not work well here and the documentation in UPDATING was at best misleading for those not building ports.Mark