Yum depressed by changes
Andy Green
fedora at warmcat.com
Mon Sep 6 14:24:02 UTC 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Monday 06 September 2004 15:09, seth vidal wrote:
> > I moved /var/cache/yum out of the way and started over, but after a dozen
> > or so packages it fell over just the same.
> Filing this in bugzilla would be appreciated. and running with yum -d 4,
> would help as well.
Sorry Seth, I moved on and that problem is gone. What I did was move to the
redhat repo, it tried to download a new primary.xml.gz but the download
aborted partway the first time.... (note it wrongly jumped to 100%)...
primary.xml.gz 100% |=========================| 144 kB 02:01
developmen: ######
422/3513//var/cache/yum/development/primary.xml.gz:25847: parser error :
AttValue: ' expected
<rpm:entry name="perl(
^
//var/cache/yum/development/primary.xml.gz:25847: parser error : attributes
construct error
<rpm:entry name="perl(
^
//var/cache/yum/development/primary.xml.gz:25847: parser error : Couldn't find
end of Start Tag entry
<rpm:entry name="perl(
^
Killed
I tried again and this time it succeeded, downloaded some stuff and then
Traceback (most recent call last):
File "/usr/share/yum/yummain.py", line 135, in ?
main(sys.argv[1:])
File "/usr/share/yum/yummain.py", line 90, in main
(result, resultmsgs) = base.buildTransaction()
File "/usr/lib/python2.3/site-packages/yum/__init__.py", line 97, in
buildTransaction
(rescode, restring) = self.resolveDeps()
File "/usr/lib/python2.3/site-packages/yum/depsolve.py", line 160, in
resolveDeps
(checkdep, missing, conflict, errormsgs) = self._processConflict(dep)
File "/usr/lib/python2.3/site-packages/yum/depsolve.py", line 346, in
_processConflict
msg = '%s conflicts: %s' % (name,
rpmUtils.miscutils.formatRequire(needname, needversion, flags))
NameError: global name 'name' is not defined
I already saw someone met this and updated yum to get around it. So I did
[root at fastcat ~]# yum update yum
Setting up Update Process
Setting up Repo: development
repomd.xml 100% |=========================| 1.1 kB 00:00
developmen: ################################################## 3513/3513
Excluding Packages
Excluding Packages from Fedora Core 2 - Development Tree
Resolving Dependencies
Dependencies Resolved
[u] yum.noarch 0:2.1.3-1 - user
Is this ok [y/N]: y
yum-2.1.3-1.noarch.rpm 100% |=========================| 159 kB 00:01
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
yum 100 % done 1/2
Completing update for yum - 2/2
Complete!
So that was good.
The I got this on the next yum update
....
Error: xorg-x11-font-utils conflicts: xorg-x11-base-fonts<= 6.7.99.903-3
So I did this...
[root at fastcat ~]# yum --exclude=xorg-x11-font-utils update
... and that seems to have got me working, all the non-excluded packages are
installing now.
BTW despite these complicated steps the new yum is obviously a major advance
over the old one, keep up the good work.
- -Andy
- --
http://www.addintelligence.co.uk -- we design custom hardware and software for
your products
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFBPHMIjKeDCxMJCTIRAlC6AJ9uGdM8GxuRvi8NfMXDCY4Jzp4xMACfcXb7
g5/E2P0Q9MVwGewhJYYuAt4=
=bPi1
-----END PGP SIGNATURE-----
More information about the fedora-test-list
mailing list