LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   yum problems on Fedora core 7 (https://www.linuxquestions.org/questions/fedora-35/yum-problems-on-fedora-core-7-a-577819/)

comcastuser 08-17-2007 11:38 AM

yum problems on Fedora core 7
 
It doesn't matter what package I try to install, I get this error.

Why does yum cough up this irrelevant adobe error when I'm trying to install a kernel update?


$> yum install kernel-devel

Setting up Install Process

Parsing package install arguments
http://linuxdownload.adobe.com/linux...ta/repomd.xml: [Errno 14] HTTP Error 404: Date: Fri, 17 Aug 2007 16:37:42 GMT
Server: Apache
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1

Trying other mirror.
Error: Cannot open/read repomd.xml file for repository: adobe-linux

macemoneta 08-17-2007 12:18 PM

The error is not irrelevant; it says that one of the repositories that you configured cannot be reached. As a result, yum cannot determine what the latest package is - it has no way of knowing whether the Adobe repository contains kernel-devel packages or not, because it can't reach it.

You can tell yum to ignore that repository temporarily by using the syntax:

yum --disablerepo=adobe-linux install kernel-devel

comcastuser 08-17-2007 12:41 PM

Quote:

Originally Posted by macemoneta (Post 2862187)
The error is not irrelevant; it says that one of the repositories that you configured cannot be reached. As a result, yum cannot determine what the latest package is - it has no way of knowing whether the Adobe repository contains kernel-devel packages or not, because it can't reach it.

You can tell yum to ignore that repository temporarily by using the syntax:

yum --disablerepo=adobe-linux install kernel-devel

Ah hah! Thanks. I meant it was irrelevant in that adobe wasn't the kernel software, but I guess it's logical that yum would query all the .repo files. (I actually went and renamed the adobe-linux repo and that worked.)


I can do yum updates on specific packages now, but when I do a general yum update it REALLY coughs up:

Quote:

$> yum update

Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package kdebindings.i386 0:3.5.7-1.fc7.1 set to be updated
--> Processing Dependency: perl(DCOP) for package: kdesdk
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in <module>
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 135, in main
(result, resultmsgs) = base.buildTransaction()
File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 540, in buildTransaction
(rescode, restring) = self.resolveDeps()
File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 885, in resolveDeps
(checkdep, missing, conflict, errormsgs) = self._processReq(dep, prcoformat_need)
File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 334, in _processReq
requirementTuple, errormsgs)
File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 469, in _requiringFromInstalled
return self._requiringFromTransaction(reqpkg, requirement, errorlist)
File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 574, in _requiringFromTransaction
reqpkg = self.tsInfo.matchNaevr(name=name, ver=version, rel=release)[0]
IndexError: list index out of range

macemoneta 08-17-2007 01:38 PM

Try updating yum first:

yum update yum

Also remove any non-distribution repositories that you've added as enabled by default.

comcastuser 08-17-2007 02:49 PM

Quote:

Originally Posted by macemoneta (Post 2862267)
Try updating yum first:

yum update yum

Also remove any non-distribution repositories that you've added as enabled by default.

Ok, did both. Darned error is still there.

macemoneta 08-17-2007 03:10 PM

yum clean all

Then retry. If it still persists, wait a day for any repository problems to be resolved.

comcastuser 08-17-2007 08:31 PM

Quote:

Originally Posted by macemoneta (Post 2862371)
yum clean all

Then retry. If it still persists, wait a day for any repository problems to be resolved.

Okay, will do.


All times are GMT -5. The time now is 01:48 AM.