[issue214] incorrect 'no package provides ...' and incorrect '... is locked'
Matt Callaway at Labix Tracker
tracker at labix.org
Fri Sep 15 12:36:42 PDT 2006
New submission from Matt Callaway <kindjal at gmail.com>:
Summary
-------
smart (install|upgrade) foopackage-server claims that "no package provides
foopackage", when it should see that "foopackage" provides "foopackage".
Then...
smart (install|upgrade) foopackage foopackage-server claims that "conflicted
package foopackage-server is locked".
Details
-------
# cat /etc/issue
Red Hat Enterprise Linux ES release 4 (Nahant Update 4)
Kernel \r on an \m
# uname -a
Linux scan00.pipesecure.com 2.6.9-22.ELsmp #1 SMP Mon Sep 19 18:00:54 EDT 2005
x86_64 x86_64 x86_64 GNU/Linux
# rpm -q smart
smart-0.42-1.rf
In this case "foopackage" is a personally built rpm of the "clamav" software
package. Here I wrote a specfile for clamav that builds binary rpms for clamav,
clamav-server, clamav-libs. clamav-server Requires: clamav-%{version}-%{release}.
RPMs build fine and if I install them with rpm (without smart), they install fine.
rpm -Uvh clamav clamav-server clamav-libs # this works fine
# rpm -qp --provides clamav-0.88.4-1.x86_64.rpm
config(clamav) = 0.88.4-1
clamav = 0.88.4-1
# rpm -qpR clamav-server-0.88.4-1.x86_64.rpm |grep clamav|head -1
clamav = 0.88.4-1
# smart install clamav-server
Loading cache...
Updating cache...
########################################################## [100%]
Computing transaction...
error: Can't install clamav-server-0.88.4-1 at x86_64:
no package provides clamav = 0.88.4-1
Saving cache...
# smart install clamav clamav-server
Loading cache...
Updating cache...
########################################################## [100%]
Computing transaction...
error: Can't install clamav-0.88.4-1 at x86_64:
conflicted package clamav-server-0.88.4-1 at x86_64 is locked
# smart flag --show
multi-version
kernel
kernel-smp
(Note that there are no locks)
I tried the nobiarch.patch from issue 177 to no avail.
I tried specifying @x86_64 on all package names to no avail.
I inspected the smart xml files and they correctly show the packages, provides
and requires, with the right version numbers present.
I can't figure out why:
1) clamav-server doesn't see that clamav provides clamav.
2) clamav-server is identified as "locked" when it isn't.
----------
messages: 710
nosy: kindjal
priority: bug
project: smart
status: unread
title: incorrect 'no package provides ...' and incorrect '... is locked'
_______________________________________
Labix issue tracker <tracker at labix.org>
<http://tracker.labix.org/issue214>
_______________________________________
More information about the Smart
mailing list