LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 05-09-2004, 04:30 PM   #1
gonzalo76
Member
 
Registered: Feb 2004
Location: Argentina
Distribution: Fedora Core
Posts: 34

Rep: Reputation: 15
Upgrading KDE & dependencies


Hi,
I would like to upgrade KDE to 3.2.1 or 3.2.2 version. I wanted to know what extra packages do I need in other to upgrade KDE without any dependency problem.
I would like to upgrade:
arts
kdeaccessibility
kdeaddons
kdeadmin
kdeartwork
kdebase
kdebindings
kdeedu
kdegames
kdegraphics
kdelibs
kdemultimedia
kdenetwork
kdepim
kdetoys
kdeutils
koffice
quanta

I have these extra packages:
lcms
qt
taglib

What extra packages do I need?
About the dependencies, are these lines in my swaret.conf fine?
DEP_ROOT=http://www.swaret.org/swaret
DEP_ROOT=ftp://ftp.swaret.org/swaret

Another question:

May I use swaret to install the KDE packages that I've already downloaded them manually?
Maybe configuring 'swaret.conf' with:
REPOS_ROOT=MyLocalFolder%file:/home/gonzalo/KDE-3.2.1
(this is my home folder where I downloaded all the KDE packages)
Should this work or not?

Thank you
gonzalo

Last edited by gonzalo76; 05-09-2004 at 05:45 PM.
 
Old 05-10-2004, 12:58 AM   #2
thegeekster
Member
 
Registered: Dec 2003
Location: USA (Pacific coast)
Distribution: Vector 5.8-SOHO, FreeBSD 6.2
Posts: 513

Rep: Reputation: 32
You should also upgrade qt to the version found with the kde pkgs you downloaded........It is important to use the qt version that kde was compiled against.....

Instead of using swaret to upgrade those pkgs you already downloaded, just use the command 'upgradepkg' (part of Slackware's pkgtools)..................in fact put all the kde pkgs, arts, quanta, and qt in the same directory and run this command from the directory they are located in:
Code:
'ls' xfree86*.tgz qt*.tgz arts*.tgz kde*.tgz koffice*.tgz quanta*.tgz | while read i ; do upgradepkg $i ; done
That should upgrade all the pkgs for you automatically...........I suggest you run this while in text mode, not while in kde....and as root user

If you prefer, you can make a script from this and use it anytime you want to upgrade kde in the future..........copy-n-paste the following in a text file and name it "upgradekde":
Code:
#!/bin/sh
#********************************************************************************
# Name: upgradekde

'ls' xfree86*.tgz qt*.tgz arts*.tgz kde*.tgz koffice*.tgz quanta*.tgz | while read i ; do upgradepkg $i ; done
Save it to the directory with the pkgs, and make it executable (chmod a+x upgradekde). Then log out of kde completely to text mode, 'cd' to the directory with the kde pkgs and this script, and run the script: ./upgradekde


---thegeekster

NOTE: Make sure you don't have more than one version of each pkg in the same directory

Also, this will work in reverse..............'upgradepkg' doesn't track versions, it just replaces one pkg with another one, regardless whether you want to upgrade or downgrade. So if something goes wrong you can use the script to replace version 3.2.2 with the version 3.2.1 pkgs you are currently using.....

-------------------------
EDIT: Included 'xfree86 *.tgz' and 'koffice*.tgz' to the above commands...

Last edited by thegeekster; 05-13-2004 at 04:15 PM.
 
Old 05-10-2004, 03:53 AM   #3
chakkerz
Member
 
Registered: Dec 2002
Location: Brisbane, Australia
Distribution: Slackware Current, RedHat (RHEL, FC, CentOS), openSuSE, Mac OS X
Posts: 650

Rep: Reputation: 32
get everything in the KDE 3.2.2 directory, for it is thy friend
in addition you need X 4.4.0 (also on the slackware service of your preference) for some libraries.

Aside from that, all should be well.
 
Old 05-10-2004, 05:58 AM   #4
thegeekster
Member
 
Registered: Dec 2003
Location: USA (Pacific coast)
Distribution: Vector 5.8-SOHO, FreeBSD 6.2
Posts: 513

Rep: Reputation: 32
Quote:
Originally posted by chakkerz
...in addition you need X 4.4.0 (also on the slackware service of your preference) for some libraries...
Good point............I forgot about that one

gonzalo:

You can add "xfree86*.tgz" to the above script, right after 'ls' ('ls' xfree86*.tgz qt*.tgz arts*.tgz ... ). You don't have to include the pkg in the directory if you already have upgraded it, there will be no error messages for pkgs not found in the directory using this script....This is just for completeness
 
Old 05-12-2004, 03:04 AM   #5
chakkerz
Member
 
Registered: Dec 2002
Location: Brisbane, Australia
Distribution: Slackware Current, RedHat (RHEL, FC, CentOS), openSuSE, Mac OS X
Posts: 650

Rep: Reputation: 32
worked that one out the hard way
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrading with no dependencies leenuxius Linux - Software 1 10-26-2004 01:29 AM
Upgrading Kernel & KDE meh1 Linux - Newbie 3 09-19-2004 04:11 PM
kernel failing loading unnessary modules && issues upgrading to kde 3.2.2 promark Slackware 2 06-09-2004 04:03 PM
Upgrading to KDE-3.2.2, getting around dependencies mikeyt_333 Linux - Software 6 06-05-2004 03:01 AM
[n00b] Upgrading non-RPM applications & dependencies. Anacific Linux - Software 1 06-01-2003 02:23 PM


All times are GMT -5. The time now is 05:00 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration