RPM packages not showing up in smart

eveith eveith at wwweb-library.net
Thu Jul 9 08:38:11 PDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Anders,

thanks, that was it. /etc/rpm/platform did not exist at all here; I created it
with reasonable input and promptly smart showed me alot of upgrades. :-)

Now I'll just have to find out why it doesn't work without /etc/rpm/platform
set. RPM should assume *something* even without the file beeing present, and
if it's something like "pentium4-none-linux-gcc".

Besides that, yes, all smart tests passed.

Thanks,
        -- Eric

On Thu, Jul 09, 2009 at 03:32:30PM +0200, Anders F Björklund wrote:
> eveith wrote:
>
>> I am experiencing a problem with my RPM5 system: Neither installed nor
>> available packages are being shown or recognized by smart.
> [...]
>
>>  What can I do to debug that problem? Has anybody hints for me on  
>> where to
>>  start searching? Can I cause smart to print out debugging info about 
>> its
>>  cache updating when running "smart update"? "smart --log-level=debug 
>> update"
>>  does not yield any additional information.
>
> This can happen when the packages get the wrong "archscore",
> which makes Smart think they're for a different architecture...
>
> In RPM5, the archscore is determined by /etc/rpm/platform
> so first make sure that this file has some reasonable values.
>
> $ python
> >>> import rpm
> >>> print rpm.archscore("i386")
> 1
>
>
> If that doesn't do the trick, you might need to troubleshoot
> the various rpm loaders directly. Do the smart tests pass ?
>
> --anders
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (GNU/Linux)

iEYEARECAAYFAkpWDuIACgkQhS0drJ3goJKMdQCeK/UZ+pKfJl93DIi39gvnj1uD
MsoAn3+H8L1GRzJ8T7E5FB2uBkpRIfMd
=sJZp
-----END PGP SIGNATURE-----



More information about the Smart mailing list