Help with yum

Issues related to applications and software problems
Post Reply
aussie
Posts: 3
Joined: 2018/06/30 12:21:31

Help with yum

Post by aussie » 2018/06/30 12:34:01

I would like to replace the 7.x kdebase and kdepim with the 6.x version.
These are the only two kde packages I install on 6.x. I'm only
interested in kmail and kaddressbook in the kdepim package.
I got the kdebase and kdepim packages from this site.
http://mirror.centos.org/centos/6/os/x86_64/Packages/
I used the following scripts.
yum -y downgrade --skip-broken \
kde.rpm/kdebase-4.3.4-10.el6.x86_64.rpm \
kde.rpm/kdebase-devel-4.3.4-10.el6.x86_64.rpm \
kde.rpm/kdebase-libs-4.3.4-10.el6.x86_64.rpm \
kde.rpm/kdebase-runtime-4.3.4-9.el6.x86_64.rpm \
kde.rpm/kdebase-runtime-libs-4.3.4-9.el6.x86_64.rpm \
kde.rpm/kdebase-workspace-4.3.4-37.el6.x86_64.rpm \
kde.rpm/kdebase-workspace-akonadi-4.3.4-37.el6.x86_64.rpm \
kde.rpm/kdebase-workspace-devel-4.3.4-37.el6.x86_64.rpm \
kde.rpm/kdebase-workspace-libs-4.3.4-37.el6.x86_64.rpm \
kde.rpm/kdebase-workspace-python-applet-4.3.4-37.el6.x86_64.rpm \
kde.rpm/kdebase-workspace-wallpapers-4.3.4-37.el6.noarch.rpm

yum -y downgrade --skip-broken \
kde.rpm/kdepim3-devel-3.5.10-3.el6.x86_64.rpm \
kde.rpm/kdepim3-libs-3.5.10-3.el6.x86_64.rpm \
kde.rpm/kdepim-4.3.4-6.el6.x86_64.rpm \
kde.rpm/kdepimlibs-4.3.4-4.el6.x86_64.rpm \
kde.rpm/kdepim-libs-4.3.4-6.el6.x86_64.rpm \
kde.rpm/kdepimlibs-akonadi-4.3.4-4.el6.x86_64.rpm \
kde.rpm/kdepimlibs-apidocs-4.3.4-4.el6.noarch.rpm \
kde.rpm/kdepimlibs-devel-4.3.4-4.el6.x86_64.rpm \
kde.rpm/kdepim-runtime-4.3.4-5.el6.x86_64.rpm \
kde.rpm/kdepim-runtime-devel-4.3.4-5.el6.x86_64.rpm \
kde.rpm/kdepim-runtime-libs-4.3.4-5.el6.x86_64.rpm

The kdebase script did succeed, but not the kdepim.
I did try to uninstall KDE desktop through yum extender, but that
didn't succeed. I didn't install KDE I think it may have come in
with the install of the MATE desktop.

Maybe someone more experienced in yum or some other method could
help me with replacing these couple packages.

Thanks
aussie

User avatar
TrevorH
Forum Moderator
Posts: 23196
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Help with yum

Post by TrevorH » 2018/06/30 17:21:37

You cannot just install CentOS 6 packages on CentOS 7. They are different and you will damage your system if you attempt it.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

aussie
Posts: 3
Joined: 2018/06/30 12:21:31

Re: Help with yum

Post by aussie » 2018/07/01 12:27:46

Thanks for your reply TrevorH. I have 16 years of email in kmail. It was worth a try!

Thanks
aussie

User avatar
TrevorH
Forum Moderator
Posts: 23196
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Help with yum

Post by TrevorH » 2018/07/01 13:27:45

Redhat explicitly decided to remove kmail from RHEL 7 though I don't know quite why. It might be possible to rebuild the CentOS 7 SRPM to reinstate it. Looks like most of the work to do that was in the patch in the kdepim SRPM - ../SOURCES/kdepim-4.10-rhel.patch though I have no idea how much work it would be to back that out and rebuild. It's probably only bits of that patch that need to be altered. You'd then rebuild it under mock to get an el7 set of binary rpms that you can install. Drawback is that you'll then be stuck maintaining this yourself and you have no guarantee that there won't be security bugs in the kmail component that RH haven't bothered to backport the patches for since they don't ship it...
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

aussie
Posts: 3
Joined: 2018/06/30 12:21:31

Re: Help with yum

Post by aussie » 2018/07/02 12:03:34

Thanks for the information TrevorH. There were major changes made to kmail after 6.x making it unstable.
This is probably why Redhat removed kmail. I would need to modify the 7.x source to replace kmail
and kaddressbook with the 6.x version. Probably a job bigger than I'm capable of doing.

Thanks
aussie

Post Reply