You are not logged in.
Hello guys,
I have just submitted my first package to AUR and decided to install it with yaourt.
However I am constantly getting
==> Validating source files with md5sums...
multitran_er.py ... FAILED
==> ERROR: One or more files did not pass the validity check!I understand that whenever the source gets downloaded and saved on disk it has a different md5sum value than the one I used on my machine.
Then I don't understand how it should all work since every time the file is downloaded from github it receives a new md5sum.
Here is my PKGBUILD:
# Maintainer: tastyminerals <tastyminerals@gmail.com>
pkgname=multitran_er
pkgver=1.0
pkgrel=1
pkgdesc="Simple multitran.com console client"
arch=(any)
url="https://github.com/tastyminerals/multitran-er.git"
license=('MIT')
groups=()
depends=('python>=3.0')
makedepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=(!emptydirs)
install=
source=(https://github.com/tastyminerals/multitran-er/blob/master/multitran_er.py)
md5sums=(e8d06f1348f3f369cd1bf88b9a61423e)
package() {
install -D -m 755 multitran_er.py ${pkgdir}/usr/bin/multitran_er
}Last edited by letian_north (2015-11-01 18:11:33)
Offline
You're not downloading source. You're downloading some webpage from GitHub.
Also: are you sure you know what you're doing? Definetly I would not trust an AUR package maintainer who shows so great neglectfullnes and doesn't verify their sources. Obviously, you haven't even checked what is being downloaded.
Last edited by mpan (2015-11-01 18:14:50)
Offline
Ok, I just need to use a different source link that point to raw file on github.
I replaced my source file with
https://raw.githubusercontent.com/tastyminerals/multitran-er/master/multitran_er.py.
Now all works fine.
Offline
You're not downloading source. You're downloading a webpage from GitHub...
Yep, just noticed.
Thanks
Offline
Whenever the upstream source gets updated your package will receive a checksum failure error.
You can fix this issues using one of the following:
a) rename the package to multitran_er-git and set the checksum source to SKIP to always get the latest version
b) point your sources to a specific commit source file which corresponds to your actual checksum
https://raw.githubusercontent.com/tasty … tran_er.py
Offline