python-sqlite3 dependency problem for yum today

Jim Cornette fct-cornette at insight.rr.com
Sun Mar 13 04:34:26 UTC 2005


Old Fart wrote:
> Jim Cornette wrote:
> 
>> sean darcy wrote:
>> 
>>> On Sat, 12 Mar 2005 15:32:58 -0600, Patrick Barnes
>>> <nman64 at n-man.com> 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
> 

I used up2date in terminal mode to get my system up2date yesterday.
Today, I ended up getting this error from hiwaay (a great mirror usually)

> There was an error downloading:
> ftp://mirror.hiwaay.net/redhat/fedora/linux/core/development/i386/headers/4Suite-debuginfo-0-1.0-5.i386.hdr
>

After the gftp download - rpm -Uvh installation 'up2date -u --nosig' 
outputs the below.

Thanks for the -u option given to up2date to prevent the GUI to come up. 
The GUI doesn't allow selection of all files or the proceed button to 
become active. I usually use up2date --nosig for rawhide, then yum 
upgrade when the program went down. when yum went down, I selected files 
  listed in the RHN applet and issued them bit by bit.
up2date rpm1 rpm2 --nosig

Thanks!

Jim

Name                                    Version        Rel
----------------------------------------------------------

All packages are currently up to date



I ended up doing the upgrades through gftp and package names displayed 
in the rhn applet.


-- 
Build a system that even a fool can use and only a fool will want to use it.




More information about the fedora-test-list mailing list