Failed: Trying to install Hadoop from Add/Remove Software (AUR)

I am trying to install Hadoop (AUR) but encounter abrupt failure while downloading. Please help me fix this:

Preparing...
Cloning hadoop build files...
Checking hadoop dependencies...
Resolving dependencies...
Checking inter-conflicts...

Building hadoop...
==> Making package: hadoop 3.2.1-1 (Tuesday 08 September 2020 07:27:33 AM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading hadoop-3.2.1.tar.gz...
** Resuming transfer from byte position 459778287
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0   283    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
curl: (22) The requested URL returned error: 416
==> ERROR: Failure while downloading 
//mirror link is here
    Aborting...
Failed to build hadoop

Try to clear your caches from pamac preferences and start over. Apparently the issue comes from the web server where the file is hosted. The file the AUR package downloads is around 350MB for info.

Before posting this, I did some research & tried all these in the terminal:

sudo pacman -Sc (cleared caches)

sudo pacman-mirrors -g (updated mirrors globally)

sudo pacman -Syy (sychronized package database)

But the issue persists.

If you use pamac to build the files, then this could be useful:

pacman is only used for compiled packages, pamac can do both (AUR and Compiled).

1 Like

humhum…

The AUR has nothing to do with pacman.

1 Like

Thanks it worked!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.