Can´t install Handbrake from Terminal

Dear Colleagues

I removed Handbrake about 1 year ago and today I tried to install it again. Unfortuantely for some reason keep getting errors. Seems the mirrors are not working.
I updated my mirrors usiding

sudo pacman-mirrors -f 0

but still no success
Here ist my

inxi -Fza

and Error Message after I tried to update:

Any ideas how to fix this? I realy need this video converter on my pc.

[stefan@stefanpc~]$ sudo pacman -S handbrake
resolving dependencies...
looking for conflicting packages...

Packages (2) numactl-2.0.16-1  handbrake-1.6.1-2

Total Download Size:   15,11 MiB
Total Installed Size:  62,18 MiB

:: Proceed with installation? [Y/n] Y
:: Retrieving packages...
 handbrake-1.6.1-2-x86_64.pkg.tar.zst failed to download
 Total (1/2)                                                                            15,1 MiB   492 KiB/s 00:31 [####################################################################] 100%
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from manjaro.kurdy.org : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from mirror.easyname.at : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from mirror.23m.com : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from mirrors2.manjaro.org : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from mirrors.manjaro.org : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from mirror.netcologne.de : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from mirror.init7.net : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from manjaro.ipacct.com : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from ftp.gwdg.de : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from mirror.albony.xyz : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from ask4.mm.fcix.net : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from quantum-mirror.hu : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from manjaro.mirrors.uk2.net : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from manjaro.mirrors.lavatech.top : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from fastmirror.pp.ua : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from ftp.lysator.liu.se : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from manjaro.ucom.am : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from mirror.futureweb.be : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from mirrors.up.pt : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from manjaro.kyberorg.fi : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from mirror.ibakerserver.pt : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from forksystems.mm.fcix.net : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from coresite.mm.fcix.net : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from uvermont.mm.fcix.net : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from ftp.belnet.be : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from nnenix.mm.fcix.net : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from mirror.math.princeton.edu : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from mnvoip.mm.fcix.net : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from volico.mm.fcix.net : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from mirror.truenetwork.ru : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from southfront.mm.fcix.net : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from mirror.fcix.net : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from mirror.alpix.eu : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from nocix.mm.fcix.net : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from muug.ca : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from ridgewireless.mm.fcix.net : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from repo.ialab.dsu.edu : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from irltoolkit.mm.fcix.net : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from codingflyboy.mm.fcix.net : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from opencolo.mm.fcix.net : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from edgeuno-bog2.mm.fcix.net : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from ziply.mm.fcix.net : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from mirror.xeonbd.com : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from manjaro.mirror.ac.za : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from ossmirror.mycloud.services : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from mirror.kamtv.ru : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from mirrors.ucr.ac.cr : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from bd.mirror.vanehost.com : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from mirror.freedif.org : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from mirrors.ocf.berkeley.edu : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from manjaro.mirrors.theom.nz : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from ftp.tsukuba.wide.ad.jp : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from mirror.archlinux.tw : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from gsl-syd.mm.fcix.net : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from mirror.ufam.edu.br : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from mirror.phoepsilonix.love : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from mirror.2degrees.nz : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from ohioix.mm.fcix.net : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from mirror.funami.tech : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from mirror.ufro.cl : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from manjaro.c3sl.ufpr.br : The requested URL returned error: 404
error: failed retrieving file 'handbrake-1.6.1-2-x86_64.pkg.tar.zst' from mirrors.sjtug.sjtu.edu.cn : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed to commit transaction (failed to retrieve some files)
Errors occurred, no packages were upgraded.

Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text

-f, --fasttrack [NUMBER]
              Generates a random mirrorlist for the users current selected branch, mirrors are randomly selected from the users current mirror pool, either a custom pool or the default pool, the randomly se‐
              lected mirrors are ranked by their current access time.  The higher number the higher possibility of a fast mirror.  If a number is given  the  resulting  mirrorlist  contains  that  number  of
              servers.

If you select -f 0, then there won’t be any mirrors in your mirror list.

PEBKAC. :stuck_out_tongue:

Yes you are right. The one with -f 0 got it from the manjaro manual.

But then the Problem is obvios. Mirrors are down. Seems that I just try to install at a wrong time

Sudo Pacman-mirrors

Most of them are down.

I would extend the mirrors to be searched by

sudo pacman-mirrors --country all --api --protocols all --set-branch stable && sudo pacman -Syu handbrake

If you are on another branch than stable, adjust accordingly.

1 Like

You have to install with -Sy

1 Like

Actually, with -Syu, just to be on the safe side. There may always be pending updates.

1 Like

Right, that’s why I like pamac better: pamac install handbrake

1 Like

Dont do that. You are asking for partial upgrades.

I’m pretty sure f0 is ALL rather than NONE.
sudo pacman-mirrors -f is global.
…and I just checked, even though I know this has been the case forever …
and f0 is the same as -f … meaning no limit. Meaning all. (in your custom pool if created).

OPs problem is at least partially the missing sync.

sudo pacman -Syu handbrake

ITs also possible their mirror pool is stuck in some stale state. resetting can be done with

 sudo pacman-mirrors --country all

A little harsh, especially since you are demonstrably wrong and they are right. :wink:
(as pertains to the mirrors command. I pretty much use the 0 every time. the installation on the other hand should include a sync, especially after sorting mirrors… but kinda always)

1 Like

I ran into this a few days ago myself, week old installation, went to install Handbrake same issue. I decided to deal with it later, I installed Handbrake via Flatpak and did my task. I then decided to try to install Handbrake proper and sure enough, it installed it side by side with the Flatpak. I have no idea why!

Give it a try, can’t hurt!

They are different frameworks, install to different locations, are started differently …

3 Likes

Exactly, that is why I said that I had no idea why it happened. May have been a coincidence.

You didn’t updated the database of packages, so you are trying to download and install a package that is not there anymore (You are trying to install version 1.6.1 and the current version is 1.7.1). Therefore the error in whatever mirror you try. It’s not a mirror problem, it’s your local database.

With pacman you can update the local database with the y parameter in addition to the S , like:

sudo pacman -Sy <package_name>

But if happens to be a Manjaro update that you haven’t installed, this can lead to a partial updated system, that is a big source of problems. So to be on the safe side of things, you can check for updates at the same time you try to install a package:

sudo pacman -Syu <package_name>

In your case, it would be:

sudo pacman -Syu handbrake

Alternatively you can use pamac to install, that will care of the updates automatically:

pamac install handbrake

PS: Nothing new, that wasn’t already said in this thread. But just to present it in a more clearer way :wink:

2 Likes

Try it with-Syu

A 404 error is a network error that means file not found. It means that you can communicate with the mirror but the file isn’t there. As previously stated this usually happens when the package has been updated, but you haven’t updated the package database (the filename contains the version).

I like pacman because it always works.

2 Likes

Thanks for all the explanations. Your fully correct. However, in this case, pacman really didn’t “always work”. I give you that it it did exactly what the user told it to do: sync without updating, but it’s not really user-friendly and OP’s problem could have been solved by using pamac. (Yes, they might have different ones depending on pamac :sweat_smile:)

1 Like

Not working and the user not knowing how to use it, are not the same thing. :wink:

It is user friendly…it lets you make the decisions, and does exactly what you tell it to do. :smiley:

1 Like

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