Re: Yum 3.1.3 released

"Fajar A. Nugraha" <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
Fajar A. Nugraha wrote:
>>  yum-3.1.X packages for openSUSE,
>> classical SUSE Linux and SLE* 10 are available from:
>>
>>   http://software.opensuse.org/download/home:/cthiel1/
>>
>>   
>>     
> Aha. I didn't know about that. I see you have  yum-3.1.3-3.1.i586.rpm.
> I'll try it and see if it works.
Well, it doesn't.

How I tested :
- install
http://software.opensuse.org/download/home:/cthiel1/yum-3.1.3-3.1.i586.rpm.
- rpm -e --nodeps a52dec xvid (for testing purposes. packman packages)
- remove yum cache directory
# rm -rf /var/cache/yum

- install those packages with yum, using --noplugins to isolate any
possible plugin-related problem.
# yum -y --noplugins install a52dec xvid
Setting up Install Process
Parsing package install arguments
primary.xml.gz            100% |=========================| 1.1 MB    00:00
################################################## 2841/2841
primary.xml.gz            100% |=========================| 9.0 kB    00:00
################################################## 41/41
primary.xml.gz            100% |=========================| 129 kB    00:00
################################################## 304/304
primary.xml.gz            100% |=========================| 593 kB    00:00
################################################## 1918/1918
primary.xml.gz            100% |=========================| 201 kB    00:00
################################################## 582/582
primary.xml.gz            100% |=========================| 2.0 kB    00:00
################################################## 1/1
Resolving Dependencies
--> Running transaction check
Checking deps for a52dec.i586 0-0.7.4-3.pm.1 - u
Checking deps for xvid.i686 0-1.1.2-0.pm.1 - u

Dependencies Resolved
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 172, in main
    base.doTransaction()
  File "/usr/share/yum-cli/cli.py", line 271, in doTransaction
    self.listTransaction())
  File "/usr/share/yum-cli/output.py", line 263, in listTransaction
    pkgsize = float(txmbr.po.size)
  File "packages.py", line 460, in _size
  File "sqlitesack.py", line 104, in __getattr__
  File "sqlutils.py", line 146, in executeSQLQmark
  File "/usr/lib/python2.5/site-packages/sqlite/main.py", line 255, in
execute
    self.rs = self.con.db.execute(SQL % parms)
TypeError: not all arguments converted during string formatting

Here's the same command, run with yum-3.1.1 (custom-built rpm)

# yum -y --noplugins install a52dec xvid
Setting up Install Process
Setting up repositories
suse102-base              100% |=========================|  951 B    00:00
suse102-local             100% |=========================|  951 B    00:00
suse102-updates           100% |=========================|  951 B    00:00
suse102-mozilla           100% |=========================|  951 B    00:00
suse102-packman           100% |=========================|  951 B    00:00
suse102-guru              100% |=========================|  951 B    00:00
suse102-non-oss           100% |=========================|  951 B    00:00
Reading repository metadata in from local files
primary.xml.gz            100% |=========================|  14 kB    00:00
suse102-mo: ################################################## 42/42
Added 42 new packages, deleted 0 old in 0.90 seconds
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for a52dec to pack into transaction set.
a52dec-0.7.4-3.pm.1.i586. 100% |=========================| 4.4 kB    00:00
---> Package a52dec.i586 0:0.7.4-3.pm.1 set to be updated
---> Downloading header for xvid to pack into transaction set.
xvid-1.1.2-0.pm.1.i686.rp 100% |=========================| 5.3 kB    00:00
---> Package xvid.i686 0:1.1.2-0.pm.1 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 a52dec                  i586       0.7.4-3.pm.1     suse102-packman   119 k
 xvid                    i686       1.1.2-0.pm.1     suse102-packman   823 k

Transaction Summary
=============================================================================
Install      2 Package(s)
Update       0 Package(s)
Remove       0 Package(s)

Total download size: 942 k
Downloading Packages:
(1/2): a52dec-0.7.4-3.pm. 100% |=========================| 119 kB    00:00
(2/2): xvid-1.1.2-0.pm.1. 100% |=========================| 823 kB    00:00
Running Transaction Test
warning: a52dec-0.7.4-3.pm.1: Header V3 DSA signature: NOKEY, key ID
3ab2ce5e
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: xvid                         ######################### [1/2]
  Installing: a52dec                       ######################### [2/2]

Installed: a52dec.i586 0:0.7.4-3.pm.1 xvid.i686 0:1.1.2-0.pm.1
Complete!

At least now I know that python-sqlite is no longer required (for yum
3.1.x anyway).

Regards,

Fajar
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.