Does this look closer to what you're looking for Michael?

for f in `find $cfdir -iname *.asc | sed 's!.*/!!'`; do
        cp -Lp $cfdir/$f $NFSROOT/etc/apt/$f
        $ROOTCMD apt-key add /etc/apt/$f
done;

If so I'll create the patch and post it.

David Dreezer
>>> 
>> I'd be happy to include such a patch in one of the next experimental 
>> releases,
>> but I'd have one concern with the current approach: the name 
>> $cfdir/keyfile.tmp
>> seems really odd. As updatebase uses the package_config/*.asc files, 
>> wouldn't it
>> make sense to use the same files in this case?
>> 
>> Thanks a lot,
>> Michael
>> 
> 

Antwort per Email an