You are not logged in.
I'm using pacaur 4.6.1 and cower 16-1, and with some packages who require cloning from github i've been unable to download the source. I got this message:
==> Making package: gtk-theme-arc 20160331-1 (Mon Apr 11 21:38:02 CLST 2016)
==> Retrieving sources...
-> Downloading 20160331.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 129 0 129 0 0 92 0 --:--:-- 0:00:01 --:--:-- 92
==> Validating source files with md5sums...
20160331.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!
:: failed to verify gtk-theme-arc integrity
It's like it doesn't download the right files. This happens with some packages like pacaur and cower themselves, python-owslib, adapta-gtk-theme and gtk-theme-arc.
Now what i do is cloning the aur pkgbuild, download the source and changing the pkgbuild to use the source downloaded in my folder.
Last edited by aldeano (2016-04-13 22:04:15)
Offline
This isn't cloning from github, it's simply downloading an archive. If the md5sum is wrong, figure out why. What, exactly, is being downloaded?
Offline
That package downloads and passes the validity check fine here: the checksum is correct. So for one reason or another you are getting a corrupted or otherwise invalid download. You say you can manually download the source tarball, but do you checksum what you've manually downloaded? Does it match the checksum in the PKGBUILD? If yes, then the problem is in the DLAGENT used for makepkg, if no, then the problem is somewhere along the network between your computer and the upstream source (github in one case).
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
python-owslib is on your list, and I know that one's correct as well (my package). Based on the size of the download, I'm guessing you're getting an html file?
Offline
Just to add to what scimmia said, if it is an HTML file, please inspect its content. It might contain some error message.
Offline
Trilby, yes, when i download the source and run makepkg, it passes the validity check wihtout need of changing anything, only the source.
Scimmia, yes, i renamed the downloaded file and what i get it's really an html file. The source of the html, in the case of the adapta-gtk-theme package, is this:
<html><body>You are being <a href="https://codeload.github.com/tista500/Adapta/tar.gz/3.20.2.132">redirected</a>.</body></html>
.
So, i'm being redirected.
Offline
So ... you changed the DLAGENT in makepkg.conf? What are you using?
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
These are my dlagents in makepkg.conf:
DLAGENTS=('ftp::/usr/bin/curl %u -o %o'
'http::/usr/bin/curl %u -o %o'
'https::/usr/bin/curl %u -o %o'
'rsync::/usr/bin/rsync --no-motd -z %u %o'
'scp::/usr/bin/scp -C %u %o')
Offline
That's the problem. Why did you change all the defaults?
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Don't remember exactly when and why i change it. I've searched in the makepkg, pacman and pkgbuild man page and didn't find the defaults, where i can find it?
Offline
Delete makepkg.conf and reinstall pacman...
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
Or just get it out of your package cache:
DLAGENTS=('ftp::/usr/bin/curl -fC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
'http::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
'https::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
'rsync::/usr/bin/rsync --no-motd -z %u %o'
'scp::/usr/bin/scp -C %u %o')
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
I've deleted makepkg.conf and reinstalled pacman and everything works! Marking as solved!
Offline