server reports unexpected size

Mark Hatle mark.hatle at windriver.com
Mon Aug 10 11:45:48 PDT 2015


On 8/10/15 1:07 PM, Divya Vyas wrote:
> Which stage package index is generated ? smart update?

createrepo on the server.  When it creates the index, it stores the size of the
packages.  If you sign the packages AFTER creating the index, the size won't
match and you will get an error.

--Mark

> On Mon, Aug 10, 2015 at 9:02 PM, Mark Hatle <mark.hatle at windriver.com
> <mailto:mark.hatle at windriver.com>> wrote:
> 
>     On 8/10/15 7:32 AM, Divya Vyas wrote:
>     > Hi,
>     >
>     > I am getting this error when I am installing custom rpm
>     >
>     > error: Failed to download
>     > packages:
>     >
>     > error:     http://10.162.103.162/rpm/x86_64/helloworld-1-r1.x86_64.rpm: Server
>     > reports unexpected size
>     > error:     http://10.162.103.162/rpm/x86_64/helloworld-lic-1-r1.x86_64.rpm:
>     > Server reports unexpected size
> 
>     The RPM package and the package index are out of sync.  This is typically caused
>     by signing the packages -after- generating the package index.
> 
>     > Any idea what could be the problem?
>     >
>     >
>     > Thanks,
>     > Divya Vyas
> 
> 



More information about the Smart mailing list