howto update KDE by freeBSD 5.2.1 without errors ?
hi
knows someone howto update KDE 3.1 to 3.2 by freeBSD 5.2.1 without any errors ? I did ports tree update and have tried to update: # cd /us/ports/x11/kde3 # make deinstall clean && make reinstall but get following errors: /usr/ports/x11/kdelibs3 Error Code 1 /usr/ports/x11/kdebase3 Error Code 1 KDE isn't working now. greetings cccc |
You are going to want to use portupgrade to do this. I believe it is under ports/sysutils.
But either way, install it and read the man page (seriously it will help you understand exactly what you need to be doing). Then it will upgrade kde and all the libraries and everything for you. The standard ports tree is not the best for upgrading programs that are heavily dependant on other things. It does a wonderful job installing them but it won't deinstall dependancies. |
Have a read of http://freebsd.kde.org/ and of /usr/ports/UPDATING. There are issues with upgrading from kde 3.1.x to 3.2.x - simply portupgrading will break your installation.
|
Well, simply port upgrading won't work.
But there are fixes which can be done to make portupgrade work (which is still the recommended way of doing it). Thanks for the directions... I don't use KDE but they will be a huge help to the original poster as it describes exactly what needs to be done to make his upgrade work. :D |
i have the same error
I was folowing the instructions on:
http://www.bsdnews.org/03/bsd_update.php and crashed my server twice. Is there a nother way to update FreeBSD insted of CVSup? Can someone post here another guide for me, please? i cant use any new software last version because of that! *GGGGGRRRRR* |
Well my update was okay when i followed the handbook instructions.
I was trying to upgrade kde 3.1.4 to kde 3.2.3 with #portupgrade -rR kde I get this errors and i don't know what to do in order to resolve them: ** The following packages were not installed or upgraded (*:skipped / !:failed) ! audio/lame (lame-3.93.1) (unknown build error) ! audio/arts (arts-1.1.4,1) (linker error) * x11/kdelibs3 (kdelibs-3.1.4_1) * misc/kdeedu3 (kdeedu-3.1.4) * editors/koffice-kde3 (koffice-1.2.1_1,1) * x11-clocks/kdetoys3 (kdetoys-3.1.4) * deskutils/kdepim3 (kdepim-3.1.4) * multimedia/kdemultimedia3 (kdemultimedia-3.1.4) * graphics/kdegraphics3 (kdegraphics-3.1.4) * www/quanta (quanta-3.1.4,2) * sysutils/kdeadmin3 (kdeadmin-3.1.4_1) * net/kdenetwork3 (kdenetwork-3.1.4) * games/kdegames3 (kdegames-3.1.4) * x11/kdebase3 (kdebase-3.1.4) * misc/kdeaddons3 (kdeaddons-3.1.4) * x11-wm/kdeartwork3 (kdeartwork-3.1.4_1) * devel/kdesdk3 (kdesdk-3.1.4) * devel/kdevelop (kdevelop-2.1.5) * misc/kdeutils3 (kdeutils-3.1.4) * x11/kde3 (kde-3.1.4) any help will be appreciated. |
I found these instructions on the freebsd.kde.org website.
portupgrade -rR kde will upgrade all of KDE, its dependencies (including XFree86 and qt) and those ports depending on KDE by fetching and compiling from source. portupgrade -PR kde will upgrade from KDE packages if available, and will compile from source for those applications and dependencies that have no packages available. portupgrade -PPR kde will install from KDE packages only, and will cease upgrading at the point it finds an application or dependency that has no package available, so use this command only if you are sure that the package site contains all packages required. portupgrade -FR kde will only fetch the port(s) tarballs or packages (depending on the other flags chosen, see above) for a later upgrade. Maybe they will help. |
I am stummped (Gggrrrrrr)
I have tried all of these options an still i get this error.
I need a painless way to update KDE Does someone knows? |
If I remember correctly I had similar errors when portupgrading KDE from whatever version ships with FreeBSD 5.2.1 to KDE 3.2.3. I think I went to the ports that had errors and did a make deinstall reinstall on them, and then did the portupgrade -rR on KDE. And then I repeated this process several times (portupgrade would get farther and then run into another problem). Also, and you've probably already done this, make sure your ports collection is up to date.
Micah |
my ports are uptodate
and i have tried this several times and still nothing.
I get the errors. What else can i do? |
If you scroll back through the compiler messages (use the scroll lock button + cursor keys to do that) you should be able to see what the specific error message is for the audio/lame port (the unknown build error is a generic messge) Post that message and maybe we can figure out what's broken.
Micah |
I just did this last night flawlessly... Really folks it is rather simple and a question of having an up-to-date ports tree and an up-to-date pkgdb.
Step-by-Step guide to sucessfully updating your system with ports... Quote:
PS: http://www.bsdnews.org/03/bsd_update.php is insanely out of date and will cause you nothing but grief. |
help! I tried this exactly as you said and it DOWNGRADED me to KDE version 3.1! I tried both all ports and just kde. i dont know what's been buggared up but i really want it to work :cry:
|
First, you should start another thread.
Second, your ports are not up to date. Drill down to the kde3 folder and read the pkg_desc. It works like Stack said. |
first, I assumed the logical place to post a problem with someones advice would be the same place they gave the advice.
second, yes I know my ports are out of date. I'm trying to update them... that's the whole reason I'm posting. and, I've read the pkg-desc and it is useless- basically says "this is a 'metaport'. this package is merely a list of dependencies so that you only have to install once package to get kde-everything." And, obviously *for me* it did not work exactly like Stack said. Otherwise, I wouldnt be here in the first place. (and yes, I have gone through and followed his instructions to the letter.) but, it *may* be fixed now. it's currently trying to install KDE again.... which will take until tomorrow most likely and I don't work weekends so i won't get to find out if it worked or not until monday (cant telnet in 'cause the bloody bastard that used to be the netadmin STILL hasn't given me the pword to the firewall!) oh yeah and it wasnt actually downgraded to 3.1, it's still 3.1.4 just that some things got twisted wierdly and i thought it was 3.1... and it was giving me some problem with openldap-client not liking something about my OpenSSL config so i pkg_add'd openssl and then went to portupgrad'd openldap-client but portupgrad started griping about openldap22-client trying to install to the same dir as openldap-client so i had to pkd_delete openldap-client and pkg_add'd openldap22-client. tried portupgrade portupgrade and that didnt work, so i had to pkg_delete portupgrade and the make install clean portupgrade so got the new version of that, then had to pkgdb -F a lot of other things that got buggard somehow (like ruby... had two entries for ruby) and now I'm back to chunking away at portupgrade -rR kde. I read on anotehr forum someone had this same exact problem about OpenSSL (but not ldap) and mentioned he fixed it but keenly forgot to mention HOW he fixed it. Google won't work unless someone posts a fix! oh did I mention that, aside from reading a big fat unix book 3 years ago and a few failed attempts at installing FBSD 4.2 and using (not configuring, just used it) Red Hat Linux 5.1 like 6 or 7 years ago I really have not had any UNIX contact until last week? at least I'm a fast learner.... |
All times are GMT -5. The time now is 08:42 AM. |