Jim Cornette wrote:
sean darcy wrote:
On Sat, 12 Mar 2005 15:32:58 -0600, Patrick Barnes <nman64@xxxxxxxxx>
wrote:
Sandy Pond wrote:
......................................................
http://download.fedora.redhat.com/pub/fedora/linux/core/development/i386/Fedora/RPMS/python-sqlite-1.1.6-1.i386.rpm
http://download.fedora.redhat.com/pub/fedora/linux/core/development/i386/Fedora/RPMS/yum-2.3.1-1.src.rpm
Run the following commands to correct the problem:
rpm -e yum
rpm --upgrade python-sqlite-1.1.6-1.i386.rpm
rpm --install yum-2.3.1-1.src.rpm
cd /usr/src/redhat/SPECS
Edit the yum.spec file and change the require line from python-sqlite3
to python-sqlite
rpmbuild -bb yum.spec
cd ../RPMS/noarch
rpm --install yum-2.3.1-1.noarch.rpm
That should get yum going again.
The problem is that the yum package has not yet been updated to reflect
the name changes from sqlite3 to sqlite. I would imagine this will be
resolved quickly.
Did all that. Now I get:
yum upgrade
Repository development already added, not adding again
Setting up Upgrade Process
Setting up Repos
development 100% |=========================| 1.1 kB
00:00
fedora-us-3-updates 100% |=========================| 903 B
00:00
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Traceback (most recent call last):
File "/usr/bin/yum", line 15, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 72, in main
result, resultmsgs = do()
File "/usr/share/yum-cli/cli.py", line 471, in doCommands
return self.updatePkgs()
File "/usr/share/yum-cli/cli.py", line 960, in updatePkgs
self.doUpdateSetup()
File "__init__.py", line 228, in doUpdateSetup
File "sqlitesack.py", line 225, in returnObsoletes
File
"/usr/src/build/539307-x86_64/install//usr/lib64/python2.4/site-packages/sqlite/main.py",
line 104, in __getitem__
KeyError: 'PACKAGES.PKGID'
sean
I get the same error and have been getting this error from the day after
when Sandy mentioned sqlite broke yum.
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=150932
Jim
try up2date -u --nosig
--
Regards from,
Old Fart
------------------------------------