[Apt-Rpm] apt 0.5.15lorg3.94a problem with executable(..) requirements

Silvan Calarco silvan.calarco at mambasoft.it
Sun Jan 25 19:00:53 PST 2009


Hi,
I'm trying to upgrade my system from apt 0.5.15lorg3.2 to 0.5.15lorg3.94a. 
I've managed to build it both with rpm 4.4.9 and 5.1.6, but I'm stuck at the 
same problem against both rpm versions: executable requirements are reported 
as execuable(...) by both rpm local db and pkglist created by genbasedir, but 
are not stored as such in apt cache. 
The result is that when a package requires, let's say, executable(sed), apt 
complains because 'sed' is not a valid file. I wouldn't expect apt to solve 
runtime deps (this is disabled in configuration), but I would expect apt to 
drop or save the requirement in the cache as executable(sed).

Example:

$ rpm -q setup --requires
/bin/sh
/usr/sbin/useradd
config(setup) = 1.1.16-2mamba
executable(cp)
executable(getent)
executable(sed)

$ sudo apt-cache showpkg setup
Package: setup
Versions:
[...]
Dependencies:
1.1.16-2mamba - /bin/sh (0 (null)) /usr/sbin/useradd (0 (null)) config(setup) 
(5 1.1.16-2mamba) cp (0 (null)) getent (0 (null)) sed (0 (null))

This is what I would expect instead:
1.1.16-2mamba - /bin/sh (0 (null)) /usr/sbin/useradd (0 (null)) config(setup) 
(5 1.1.16-2mamba) executable(cp) (0 (null)) executable(getent) (0 (null)) 
executable(sed) (0 (null))

Or just (this is the result with 0.5.15lorg3.2):
1.1.16-2mamba - /bin/sh (0 (null)) /usr/sbin/useradd (0 (null)) config(setup) 
(5 1.1.16-2mamba)

I've been a long time around apt and rpm code to find where this information 
is managed, with no success. Thanks for any help!

Regards,
Silvan

-- 
mambaSoft di Calarco Silvan
Web: http://www.mambasoft.it
 
mambaSoft Store @ http://shop.mambasoft.it
openmamba GNU/Linux development @ http://www.openmamba.org



More information about the Apt-Rpm mailing list