Jump to content

Advertisement



Donate

Skrill

Stripe

BitPay



Photo

Help with making repo - "Size Mismatch" error


  • Please log in to reply
2 replies to this topic

#1
chuxy

chuxy

    xRepo Maintainer

  • Validating
  • PipPipPipPipPipPipPip
  • 169 posts
I have made my own repo, and it works -> it shows up regulary in cydia, but when I wont to download something it shows "Size Mismatch" error. I tried regular and unix size but it's the same.

Size of the .deb file:
30,1 KB (30.884 bytes)
32,0 KB (32.768 bytes)

Packages file
...
Size: 30884
...


Can somebody please help?
  • 0

x-bot

x-bot

    x-bot

  • Ad-Bot
  • Ad post



#2
yeti

yeti

    Senior Member

  • Members
  • PipPipPipPipPipPipPip
  • 128 posts
If this is going to be any help

32,768 = 32K exactly

This is probably the size of your filesystem cluster.

When you look at file size, there are two values to watch: file size on disk and file size actual.

The one on disk is usually rounded to the nearest filesystem cluster.

Whatever is saying filesize mismatch is usually looking at the wrong value. It happens sometimes when you transfer something from a Windows to a Unix machine.

In this case the file you get is usually padded with 0's. You might get a warning that your package has trailing zeros, but it should decompress just fine.
  • 0

#3
chuxy

chuxy

    xRepo Maintainer

  • Validating
  • PipPipPipPipPipPipPip
  • 169 posts
I tried with

...
Size: 32
...
and

...
Size: 32000
...

but I get the same error.

Please help!
  • 0




IPB skins by Skinbox