LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 07-13-2004, 11:55 PM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
Question on running apt-get upgrade KDE


Hi folks,

RH 8.0

Whether to run apt-get necessitates creating /etc/apt/sources.list.d/kde-redhat.list

# cat /etc/apt/sources.list.d/kde-redhat.list
Code:
### Mirrors to substitute for ftp://apt.kde-redhat.org/apt/
#ftp://apt.us.kde-redhat.org/linux/kde-redhat/apt/ 
#ftp://apt.no.kde-redhat.org/pub/apt/
#ftp://apt.uk.kde-redhat.org/pub/apt/
#http://apt.uk.kde-redhat.org/apt/
#ftp://apt.cl.kde-redhat.org/pub/Linux/kde3.1/
## .fi domains only
#http://apt.fi.kde-redhat.org/apt/ 

# Red Hat Linux RHREL

## Core os and updates (required), use one of the following:
## (or your favorite mirror):
# for legacy RedHat releases
rpm http://ayo.freshrpms.net redhat/RHREL/i386 os updates
# for Fedora Core
#rpm http://ayo.freshrpms.net fedora/RHREL/i386 os updates

## kde-redhat repository(s) for Red Hat RHREL (yes, *4* lines)
rpm ftp://apt.kde-redhat.org/apt fedora/RHREL  stable
rpm ftp://apt.kde-redhat.org/apt fedora/all    stable
rpm ftp://apt.kde-redhat.org/apt kde-redhat/RHREL  stable
rpm ftp://apt.kde-redhat.org/apt kde-redhat/all    stable
Should I need to run KDE to breeding edge - unstable wether I have to modify all those 4 lines on /etc/apt/sources.list.d/kde-redhat.list as;
Code:
.......
## kde-redhat repository(s) for Red Hat RHREL (yes, *4* lines)
rpm ftp://apt.kde-redhat.org/apt fedora/RHREL  unstable
rpm ftp://apt.kde-redhat.org/apt fedora/all    unstable
rpm ftp://apt.kde-redhat.org/apt kde-redhat/RHREL  unstable
rpm ftp://apt.kde-redhat.org/apt kde-redhat/all    unstable
TIA

B.R.
satimis
 
Old 07-16-2004, 06:02 PM   #2
master
Member
 
Registered: Oct 2003
Location: Birmingham/Eng/UK
Distribution: /Debian3.1/suse/Win7/8/10
Posts: 680

Rep: Reputation: 30
if all else fails get yum
 
Old 07-16-2004, 08:23 PM   #3
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally posted by master
if all else fails get yum
Hi master,

Noted with thanks

B.R.
satimis
 
Old 07-17-2004, 02:09 AM   #4
master
Member
 
Registered: Oct 2003
Location: Birmingham/Eng/UK
Distribution: /Debian3.1/suse/Win7/8/10
Posts: 680

Rep: Reputation: 30
im interested in knowing what u did apt yum
 
Old 07-17-2004, 03:44 AM   #5
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally posted by master
im interested in knowing what u did apt yum
Hi master,

Not start yet.

I'm searching for information in re which configure file/files I have to save first avoiding after upgrading the whole system the OS can't work.

I had bitter experience on Gentoo and FreeBSD before..

By the way which option/options must be up for confirming to change configure files rather than changing all of them automatically during upgrade

TIA

B.R.
satimis
 
Old 07-17-2004, 07:37 AM   #6
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Hi folks,

Further to my last posting, I performed following steps but met with frustration;

# cat /etc/apt/sources.list.d/kde-redhat.list
......
rpm ftp://apt.kde-redhat.org/apt kde-redhat/8.0 stable

# apt-get update
# apt-get install kde themer qt kdelibs kdebase
Reading Package Lists... Done
Building Dependency Tree... Done
.........
Package themer has no available version, but exists in the database.
This typically means that the package was mentioned in a dependency and
never uploaded, has been obsoleted or is not available with the contents
of sources.list
E: Package themer has no installation candidate


# apt-get --no-act dist-upgrade
.....
E: Conf Broken perl
E: Conf Broken redhat-config-date
E: Conf Broken xine-lib

Kindly advise how to fix the problem OR to run;

# yum update
# yum install kde themer qt arts kdelibs kdebase
# yum upgrade

# cat /etc/yum.conf
Code:
# $Id: yum-rh.conf,v 1.2 2003/09/18 16:29:06 dude Exp $

[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
gpgcheck=1
tolerant=1
exactarch=1

[os]
name=Red Hat Linux 8.0 - i386 - os
baseurl=http://ayo.freshrpms.net/redhat/8.0/i386/os

[updates]
name=Red Hat Linux 8.0 - i386 - updates
baseurl=http://ayo.freshrpms.net/redhat/8.0/i386/updates

[freshrpms]
name=Red Hat Linux 8.0 - i386 - freshrpms
baseurl=http://ayo.freshrpms.net/redhat/8.0/i386/freshrpms

[kde-redhat-kde-stable-8.0]
name=kde-redhat.org (kde-stable)
baseurl=ftp://apt.kde-redhat.org/apt/kde-redhat/8.0/stable
Is there an option for test-upgrade on 'yum'

Kindly advise. TIA

B.R.
satimis
 
Old 07-17-2004, 08:09 AM   #7
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
From the error message, "themer" is not a valid package.

Can you run apt-get install kde qt kdelibs kdebase ... or even just apt-get kde (since that will pull in qt, kdelibs and kdebase)?
 
Old 07-17-2004, 10:30 AM   #8
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Hi motub,

Tks for your advice.

I even had problem in running;
# apt-get update
Code:
Ign http://ayo.freshrpms.net redhat/RHREL/i386 release
Get:1 http://ayo.freshrpms.net redhat/8.0/i386 release [1174B]
Get:2 ftp://apt.kde-redhat.org kde-redhat/8.0 release [1163B]
Fetched 2337B in 2s (820B/s)
Err http://ayo.freshrpms.net redhat/RHREL/i386/os pkglist
  404 Not Found [IP: 193.1.219.82 80]
Ign http://ayo.freshrpms.net redhat/RHREL/i386/os release
Err http://ayo.freshrpms.net redhat/RHREL/i386/updates pkglist
  404 Not Found [IP: 193.1.219.82 80]
Ign http://ayo.freshrpms.net redhat/RHREL/i386/updates release
Hit http://ayo.freshrpms.net redhat/8.0/i386/os pkglist
Hit http://ayo.freshrpms.net redhat/8.0/i386/os release
Hit http://ayo.freshrpms.net redhat/8.0/i386/updates pkglist
Hit http://ayo.freshrpms.net redhat/8.0/i386/updates release
Hit http://ayo.freshrpms.net redhat/8.0/i386/freshrpms pkglist
Hit http://ayo.freshrpms.net redhat/8.0/i386/freshrpms release
Hit ftp://apt.kde-redhat.org kde-redhat/8.0/stable pkglist
Hit ftp://apt.kde-redhat.org kde-redhat/8.0/stable release
Failed to fetch http://ayo.freshrpms.net/redhat/RHRE...ase/pkglist.os  404
Not Found [IP: 193.1.219.82 80]
Failed to fetch http://ayo.freshrpms.net/redhat/RHRE...kglist.updates
 404 Not Found [IP: 193.1.219.82 80]
Reading Package Lists... Done
Building Dependency Tree... Done
E: Some index files failed to download, they have been ignored, or old ones used instead.
Quote:

Can you run apt-get install kde qt kdelibs kdebase ... or even just apt-get kde (since that will pull in qt, kdelibs and kdebase)?
# apt-get install kde qt kdelibs kdebase
Code:
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  kde: PreDepends: themer (>= 0:1.50) but it is not installable
  kdebase: PreDepends: themer (>= 0:1.50) but it is not installable
           Depends: libxml2 (>= 2.5.11) but 2.4.23-1 is to be installed
           Depends: libsmbclient.so.0 but it is not installable
  kdelibs: Depends: libxml2 (>= 2.5.10) but 2.4.23-1 is to be installed
           Depends: libxslt (>= 1.0.32) but 1.0.19-1 is to be installed
           Depends: hicolor-icon-theme but it is not installable
           Depends: /etc/xdg/menus/applications.menu but it is not installable
           Depends: redhat-menus (>= 1.4) but 0.26-1 is to be installed
           Depends: libjasper-1.701.so.1 but it is not installable
  qt: PreDepends: themer but it is not installable
      PreDepends: themer but it is not installable
E: Broken packages
# apt-get kde
E: Invalid operation kde

# apt-get install kde
Code:
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  kde: Depends: qt (>= 1:3.3.2) but 1:3.0.5-17 is to be installed
       Depends: arts (>= 8:1.2.3) but 7:1.0.5a-2 is to be installed
       Depends: kdebase (>= 6:3.2.3) but it is not going to be installed
       Depends: kdelibs (>= 6:3.2.3) but 6:3.0.5a-4 is to be installed
       PreDepends: themer (>= 0:1.50) but it is not installable
E: Broken packages
Could not move further.

B.R.
satimis
 
Old 07-17-2004, 02:02 PM   #9
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Well, I see several problems here.

1) You have a lot of invalid sources in your list. RedHat 8 is not really very supported anymore, so it's possible that several of your repositories have "closed down" RH8 areas and migrated them to RH9 or Fedora 1 and/or 2. You might want to see if some of the repositories at Fedora Legacy can replace them, as well as going to the repositories base homepage and seeing if the URLs have changed.

2) The packages you apparently need to install the dependencies are not available on the repositories you are using. Whether they are available on any RH8 repositories is a good question, but let's leave that for the moment.

Ultimately, apt-get kde would attempt to install kde 3.2.3 and its dependencies, but the dependencies for kde 3.2.3 are not available (because only an earlier version of the package, such as arts, is available, or because it is not there at all, as in the case of themer).

So it seems to me that you either need to give up attempting to install KDE 3.2.x on RH8 and stick with an earlier KDE version; as the most likely reason that support packages for the later version are not found in the repositories is because the distribution is unable to use them due to its age.

Alternatively, you can look to find repositories on other sites, such as the one linked above, or on www.kde.org itself, to see if they might have a complete and useable set of packages that would allow you to install a recent version of KDE without upgrading your entire distribution.

Hope this helps.

Last edited by motub; 07-17-2004 at 02:05 PM.
 
Old 07-18-2004, 09:16 PM   #10
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Hi motub,

Tks for your advice.

NEW discovery:-

1) Re-edited /etc/apt/sources.list.d/kde-redhat.list as follows;
rpm http://ayo.freshrpms.net redhat/8.0/i386 os updates
rpm ftp://apt.kde-redhat.org/apt fedora/8.0 stable
rpm ftp://apt.kde-redhat.org/apt fedora/all stable
rpm ftp://apt.kde-redhat.org/apt kde-redhat/8.0 stable
rpm ftp://apt.kde-redhat.org/apt kde-redhat/all stable

2) Ran
# apt-get update
# apt-get install kde themer qt kdelibs kdebase
......
The following packages have unmet dependencies:
kdebase: Depends: libxml2 (>= 2.5.11) but 2.4.23-1 is to be installed
Depends: libsmbclient.so.0 but it is not installable
kdelibs: Depends: libxml2 (>= 2.5.10) but 2.4.23-1 is to be installed
Depends: libxslt (>= 1.0.32) but 1.0.19-1 is to be installed
Depends: libjasper-1.701.so.1 but it is not installable

With google seach on "Depends: libsmbclient.so.0", samba-common-3.0.4-0.5.1.athlon.rpm is need.

3) Ran
# apt-get upgrade samba
......
Fetched 145MB in 38m38s (62.7kB/s)
Executing RPM (-Uvh)...
warning: /var/cache/apt/archives/apt-devel_0%3a0.5.15cnc6-0.fdr.11.rh80_i386.rpm: V3 DSA
signature: NOKEY, key ID ff6382fa
Preparing... ########################################### [100%]
file /usr/share/gdm/themes/Bluecurve/rh_logo-header.png from install of redhat-logos-1.1.14-0.fdr.3 conflicts with file from package redhat-artwork-0.47-3
file /usr/lib/gnome-spell/libgnome-spell-component-0.3.so from install of gnome-spell-1.0.5-0.fdr.1.rh80 conflicts with file from package gnome-spell1.0-1.0.4-0.ximian.5.1
E: Sub-process /bin/rpm returned an error code (250)

It failed.

4) Ran 2) above again.
# apt-get update
# apt-get install kde themer qt kdelibs kdebase

Very strange this time it went through without demanding dependencies but finally following warning popup;

warning: /var/cache/apt/archives/themer_0%3a1.60-0.fdr.0_noarch.rpm: V3 DSA signature: NOKEY, key ID ff6382f
a
Preparing... ########################################### [100%]
file /usr/share/themes/Default from install of redhat-artwork-0.92-0.1.rh80.kde conflicts with file
from package gtk2-2.0.6-8.ximian.80.1
file /usr/share/mimelnk/application/x-gettext.desktop from install of kdelibs-3.2.3-1.0.rh80.kde con
flicts with file from package kdesdk-kbabel-3.0.5a-3
file /usr/share/themes/Default from install of gtk+-1.2.10-30.fdr.2.rh80 conflicts with file from pa
ckage gtk2-2.0.6-8.ximian.80.1
E: Sub-process /bin/rpm returned an error code (50)

Any suggestion? TIA

B.R.
satimis
 
Old 07-19-2004, 04:55 AM   #11
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Posted in your new thread, Running apt-get upgrade KDE conflict problem.
 
Old 07-19-2004, 07:08 AM   #12
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally posted by motub
Posted in your new thread, Running apt-get upgrade KDE conflict problem.
Noted with thanks

B.R.
satimis
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get question: dist-upgrade vs upgrade Arodef Fedora 9 06-15-2012 01:33 PM
Running apt-get upgrade KDE conflict problem satimis Red Hat 3 07-19-2004 08:36 AM
kde upgrade with apt-get miskiw Linux - Software 1 04-26-2004 03:21 PM
apt-get upgrade caused confusion for 9.0 KDE spectrumver1 Red Hat 4 01-15-2004 07:55 AM
Upgrade to KDE 3.1.x via apt-get longstoned Red Hat 2 08-28-2003 03:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 12:56 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration