Can't add or remove packages in FC4

Markku Kolkka markkuk at tuubi.net
Wed Jul 20 19:10:52 UTC 2005


BRUCE STANLEY kirjoitti viestissään (lähetysaika keskiviikko, 20. 
heinäkuuta 2005 20:21):
> Thanks James!  That does clear it up a bit.
> The man page on rpm is not clear on this.
> I have even read 'threads' where 'PACKAGE-FILE'
> and 'PACKAGE-NAME' seem to be used interchangeably.
>
> At what point on a rpm FILE name does the package
> name end?

The package name is defined inside the .rpm file, it's just a 
convention that the file name includes the package name and 
version. You could rename the file to anything without changing 
the actual package name.

>   examples:
>               prodproductABC1.4.i386.rpm
>               prodproductABC1.4.noarnoarch
>               prodproductABCelopment.1.01.4.i686.rpm

All of those violate the naming convention for package files, if 
the package is "prodproductABC" and the version is 1.4, then the 
recommended file name for the first RPM build would be:
prodproductABC-1.4-1.i386.rpm

-- 
 Markku Kolkka
 markku.kolkka at iki.fi




More information about the fedora-list mailing list