upgrade z* breaks
Bob Van Cleef
vancleef at microunity.com
Wed Jun 19 20:52:16 CEST 2002
I just started testing Poldek and really like it. There is a array bug
however. Even though packages with names beginning with 'z' exist, the
command 'upgrade z*' causes poldek to crash.
poldek> upgrade z*
trurlib:n_array_nth: index(2472) out of bounds(2472)
Aborted
Restarting and using more letters in the name works...
[root at saturn vancleef]# poldek
Loading ftp://ftp.redhat.com/pub/redhat/redhat-7.2-en/[...]/hdlist...
warn: removed 5 duplicate packages
Loading ftp://ftp.redhat.com/pub/redhat/redhat-7.3-en/[...]/hdlist...
warn: removed 7 duplicate packages
2657 packages read
Removed 185 duplicate packages from available set
Loading db packages [/var/lib/rpm]..........done
712 packages loaded
Welcome to the poldek shell mode. Type "help" for help with commands.
poldek> upgrade zlib*
Processing dependencies...
zlib-devel-1.1.3-24 obsoleted by zlib-devel-1.1.3-25.7
zlib-1.1.3-24 obsoleted by zlib-1.1.3-25.7
There are 2 packages to install, 2 to uninstall:
I zlib-1.1.3-25.7
I zlib-devel-1.1.3-25.7
R zlib-1.1.3-24
R zlib-devel-1.1.3-24
Retrieving ftp://ftp.redhat.com/[...]/zlib-devel-1.1.3-25.7.i386.rpm...
.................................................. 100.0% [67.1K]
Retrieving ftp://ftp.redhat.com/pub/[...]/zlib-1.1.3-25.7.i386.rpm...
.................................................. 100.0% [34.5K]
Executing rpm --upgrade -vh --root / --noorder...
Preparing... ########################################### [100%]
1:zlib ########################################### [ 50%]
2:zlib-devel ########################################### [100%]
poldek> upgrade zip*
Processing dependencies...
zip-2.3-10 obsoleted by zip-2.3-12
There are 1 package to install, 1 to uninstall:
I zip-2.3-12
R zip-2.3-10
Retrieving ftp://ftp.redhat.com/pub/redhat/[...]/zip-2.3-12.i386.rpm...
.................................................. 100.0% [110.4K]
Executing rpm --upgrade -vh --root / --noorder...
Preparing... ########################################### [100%]
1:zip ########################################### [100%]
poldek>
More information about the poldek
mailing list