[CentOS] koffice in Centos 4

Tue Feb 13 12:28:05 UTC 2007
Johnny Hughes <mailing-lists at hughesjr.com>

On Tue, 2007-02-13 at 09:02 -0300, Dago Pacheco wrote:
> Brent wrote:

<snip>
  
> I'm actually using KDE for centOS and i actually have the RMP package, 
> so i do this:
> 
> [root at localhost ~]# rpm -Uvh koffice-1.1.1-2.i386.rpm
> advertencia:koffice-1.1.1-2.i386.rpm: Firma V3 DSA: NOKEY, key ID 16ff0e46
> error: Error de dependencias:
>         libDCOP.so.1 se necesita para koffice-1.1.1-2.i386
>         libkdecore.so.3 se necesita para koffice-1.1.1-2.i386
>         libkdeprint.so.0 se necesita para koffice-1.1.1-2.i386
>         libkdesu.so.1 se necesita para koffice-1.1.1-2.i386
>         libkdeui.so.3 se necesita para koffice-1.1.1-2.i386
>         libkfile.so.3 se necesita para koffice-1.1.1-2.i386
>         libkio.so.3 se necesita para koffice-1.1.1-2.i386
>         libkparts.so.1 se necesita para koffice-1.1.1-2.i386
>         libkssl.so.2 se necesita para koffice-1.1.1-2.i386
>         libksycoca.so.3 se necesita para koffice-1.1.1-2.i386
>         libqt.so.2 se necesita para koffice-1.1.1-2.i386
>         libkspell.so.3 se necesita para koffice-1.1.1-2.i386
> 
> So... I did as it's said in this site http://kde-redhat.sourceforge.net/ 
> in order to add new repos and install it, but
> 
> [root at localhost ~]# yum install qt kdelibs kdebase
> Setting up Install Process
> Setting up repositories
> dag                       100% |=========================| 1.1 kB    00:00
> kde-all                   100% |=========================|  951 B    00:00
> kde                       100% |=========================|  951 B    00:00
> update                    100% |=========================|  951 B    00:00
> rpmforge                  100% |=========================| 1.1 kB    00:00
> base                      100% |=========================| 1.1 kB    00:00
> addons                    100% |=========================|  951 B    00:00
> extras                    100% |=========================| 1.1 kB    00:00
> Reading repository metadata in from local files
> primary.xml.gz            100% |=========================| 1.1 MB    00:43
> dag       : ################################################## 4981/4981
> Added 10 new packages, deleted 0 old in 5.84 seconds
> Parsing package install arguments
> Resolving Dependencies
> --> Populating transaction set with selected packages. Please wait.
> ---> Package kdebase.x86_64 6:3.5.6-3.el4 set to be updated
> ---> Package qt.x86_64 1:3.3.7-0.2.el4.kde set to be updated
> ---> Package kdelibs.x86_64 6:3.5.6-3.el4 set to be updated
> --> Running transaction check
> --> Processing Dependency: arts >= 8:1.5.6 for package: kdelibs
> --> Processing Dependency: libboost_filesystem.so.2()(64bit) for 
> package: kdelibs
> --> Processing Dependency: libHalf.so.4()(64bit) for package: kdelibs
> --> Processing Dependency: kde-filesystem for package: kdelibs
> --> Processing Dependency: xdg-utils for package: kdelibs
> --> Processing Dependency: libaudio.so.2()(64bit) for package: qt
> --> Processing Dependency: mDNSResponder for package: kdebase
> --> Processing Dependency: libdns_sd.so.1()(64bit) for package: kdelibs
> --> Processing Conflict: kdelibs conflicts kdeartwork < 0:3.3.90
> --> Processing Conflict: kdelibs conflicts kdeaddons < 0:3.3.90
> --> Processing Dependency: libIlmImf.so.4()(64bit) for package: kdebase
> --> Processing Dependency: kde-filesystem for package: kdebase
> --> Processing Conflict: kdelibs conflicts kdebase < 6:3.3.90
> --> Processing Dependency: kde-config >= 3.5 for package: kdelibs
> --> Processing Dependency: libIlmImf.so.4()(64bit) for package: kdelibs
> --> Processing Dependency: libdns_sd.so.1()(64bit) for package: kdebase
> --> Processing Dependency: libboost_regex.so.2()(64bit) for package: kdelibs
> --> Processing Dependency: libjasper.so.1()(64bit) for package: kdelibs
> --> Restarting Dependency Resolution with new changes.
> --> Populating transaction set with selected packages. Please wait.
> ---> Package nas.x86_64 0:1.8-10.el4 set to be updated
> ---> Package kde-config.noarch 0:3.5-16.el4 set to be updated
> ---> Package xdg-utils.noarch 0:1.0.1-1 set to be updated
> ---> Package arts.x86_64 8:1.5.6-3.el4 set to be updated
> ---> Package jasper.x86_64 0:1.900.0-3.el4 set to be updated
> ---> Package kdeartwork.x86_64 0:3.5.6-1.el4 set to be updated
> ---> Package OpenEXR.x86_64 0:1.4.0a-0.4.el4 set to be updated
> ---> Package mDNSResponder.x86_64 0:107.6-1.el4 set to be updated
> ---> Package kdeaddons.x86_64 0:3.5.6-2.el4 set to be updated
> ---> Package kde-filesystem.noarch 0:3.5-6 set to be updated
> ---> Package boost.x86_64 0:1.33.0-3.0.el4.kde set to be updated
> --> Running transaction check
> --> Processing Conflict: kdelibs conflicts kdebase < 6:3.3.90
> --> Restarting Dependency Resolution with new changes.
> --> Populating transaction set with selected packages. Please wait.
> --> Running transaction check
> --> Processing Conflict: kdelibs conflicts kdebase < 6:3.3.90
> --> Restarting Dependency Resolution with new changes.
> --> Populating transaction set with selected packages. Please wait.
> --> Running transaction check
> Error: Unable to satisfy dependencies
> Error: Package kdelibs needs kdebase < 6:3.3.90, this is not available.
> 
> 
> In this site it saids:  "Note to x86_64 users: You /may/ have to enable 
> both x86_64 and i386 repos.", well, I'm a x86_64 user, but how can i 
> enable them?
> Hope that with all this information u can help me.

You need to find the .repo file in use for kde-redhat ... should be
in /etc/yum.repos.d/

you would need to add a new repo for i386 ... something like this:

[stable-i386]
baseurl=http://apt.kde-redhat.org/apt/kde-redhat/redhat/$releasever/i386/stable
        http://kde-redhat.unl.edu/apt/kde-redhat/redhat/$releasever/i386/stable

(the above is 3 lines)

You would need the same for any other repos that you have in your x86_64
repo file from them.

You can find real links from the mirrorlist entries, if you need more,
by pasting the URL into your web browser and getting back the list, you
would then replace $basearch with i386 to add that repo too.

This _IS_NOT_ a centos issue, and anything you need to work out needs to
be done via the kde-redhat website.

As I said before, these are MAJOR changes to your CentOS .. and one
should not do them unless they are _VERY_KNOWLEDGEABLE_ about how to
support the new functionality of 3rd party repos, multi-lib arches, and
yum works.

Thanks,
Johnny Hughes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20070213/b558189e/attachment-0005.sig>