flameshot-org / flameshot

Powerful yet simple to use screenshot software :desktop_computer: :camera_flash:
https://flameshot.org
GNU General Public License v3.0
23.92k stars 1.52k forks source link

can't install using pacman or yay - 404 #3622

Closed rikkarth closed 3 weeks ago

rikkarth commented 3 weeks ago

Flameshot Version

latest

Installation Type

Linux, MacOS, or Windows Package manager (apt, pacman, eopkg, choco, brew, ...), User repository (AUR)

Operating System type and version

6.9.2-arch1-1

Description

Error Dump

I tried with both pacman and yay

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 qt5-translations-5.15.13-1-any is up to date
 Total ( 1/10)           2.3 MiB  10.9 MiB/s 00:00 100%
error: failed retrieving file 'qt5-translations-5.15.13-1-any.pkg.tar.zst.sig' from mirror.osbeck.com : 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.
 -> error installing repo packages
error installing repo packages

Steps to reproduce

pacman -S flameshot

or

yay -S flameshot

or

yay -S flameshot-git

Screenshots or screen recordings

No response

System Information

distro-version: 6.9.2-arch1-1 window-manager: i3wm

Acpear commented 3 weeks ago

Hi, have you updated the package database in time? According to the archlinux.org package search, the maintainer updated version 5.15.14 on May 28th, and the download operation you performed three days ago (June 2nd) is still downloading version 5.15.13, which may lead to a file not found issue.

pacman -Syu  # use this to update your package database

The link that may be relevant.

rikkarth commented 3 weeks ago

Thank you for your reply @Acpear

You are right. I didn't notice the version update which would consequently cause the file not found error.

After updating the package database it works.