You are not logged in.

#1 2011-08-17 17:46:26

sensory
Member
From: UK
Registered: 2010-05-01
Posts: 40

[SOLVED] AUR error with Sourceforge

Hi guys,

For whatever reason when I want to install something from the AUR that's hosted on Sourceforge the URL it will follow has "/download" behind it, which will download the .html instead of the tarball required by AUR.

Example:

==> Retrieving Sources...
  -> Downloading luckybackup-0.4.6.tar.gz...
--2011-08-17 18:46:12--  http://downloads.sourceforge.net/project/luckybackup/0.4.6/source/luckybackup-0.4.6.tar.gz
Resolving downloads.sourceforge.net... 216.34.181.59
Connecting to downloads.sourceforge.net|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://sourceforge.net/projects/luckybackup/files/0.4.6/source/luckybackup-0.4.6.tar.gz/download?use_mirror=kent [following]
--2011-08-17 18:46:28--  http://sourceforge.net/projects/luckybackup/files/0.4.6/source/luckybackup-0.4.6.tar.gz/download?use_mirror=kent
Resolving sourceforge.net... 216.34.181.60
Connecting to sourceforge.net|216.34.181.60|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 13561 (13K) [text/html]
Saving to: `luckybackup-0.4.6.tar.gz.part'

100%[===================================================================================================================================>] 13,561      59.1K/s   in 0.2s    

2011-08-17 18:46:34 (59.1 KB/s) - `luckybackup-0.4.6.tar.gz.part' saved [13561/13561]

==> Validating source files with md5sums...
    luckybackup-0.4.6.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!

Does anyone know what could be causing this?

Last edited by sensory (2011-08-17 18:52:08)

Offline

#2 2011-08-17 17:49:34

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [SOLVED] AUR error with Sourceforge

What is in the HTML file? Are you behind a proxy?


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#3 2011-08-17 18:09:17

sensory
Member
From: UK
Registered: 2010-05-01
Posts: 40

Re: [SOLVED] AUR error with Sourceforge

No proxy and it downloads the HTML file from "http://sourceforge.net/projects/luckyba … z/download" (in this case). Just that page.

By the way, it doesn't matter which AUR helper I use, or if I use none at all and just use makepkg.


Edit: Ugh, found the problem. I had some nonsense added to .wgetrc from ages ago. The penny only dropped after I tried download the tarball through wget. I feel a bit stupid now.

Thanks for the help!

Last edited by sensory (2011-08-17 18:14:01)

Offline

#4 2011-08-17 18:16:23

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: [SOLVED] AUR error with Sourceforge

Can you download this file at all? Manually, that is.
You may then put it somewhere and adapt the PKGBUILD to use this one instead of fetching it from sourceforge.


To know or not to know ...
... the questions remain forever.

Offline

#5 2011-08-17 18:25:58

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [SOLVED] AUR error with Sourceforge

sensory wrote:

Edit: Ugh, found the problem. I had some nonsense added to .wgetrc from ages ago. The penny only dropped after I tried download the tarball through wget. I feel a bit stupid now.

Thanks for the help!

No problem. Please mark thread as solved so others may know when searching the forums.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

Board footer

Powered by FluxBB