Package Details: nvflash 5.821-1

Git Clone URL: https://aur.archlinux.org/nvflash.git (read-only, click to copy)
Package Base: nvflash
Description: A tool to update the the firmware of Nvidia display adapters.
Upstream URL: https://www.techpowerup.com/download/nvidia-nvflash/
Keywords: nvflash nvidia
Licenses: unknown
Submitter: Chais
Maintainer: C0rn3j
Last Packager: C0rn3j
Votes: 12
Popularity: 0.29
First Submitted: 2016-02-29 13:11 (UTC)
Last Updated: 2024-10-16 05:25 (UTC)

Required by (0)

Sources (1)

Latest Comments

1 2 3 Next › Last »

killajoe commented on 2024-10-16 11:35 (UTC)

5.833 is latest Version from February 20th, 2024 ?

xx55tt commented on 2023-10-08 17:18 (UTC)

The pkgver is incorrect, the version is 5.792.0 not 5.814.0 (which is the version of the Windows executable).

eclairevoyant commented on 2023-07-25 07:38 (UTC)

@TechXero because there are no sources. try without using an AUR helper next time.

TechXero commented on 2023-07-25 07:35 (UTC)

Getting error ERROR: PKGBUILD does not contain sources to update

eclairevoyant commented on 2023-01-10 22:39 (UTC) (edited on 2023-01-10 23:39 (UTC) by eclairevoyant)

Fair enough, maybe I was confusing architecture-specific sources and deps with split packaging functions. But either way, even if you want to stick with one package, it should use $CARCH not $arch, and a switch-case statement would be easier to read than the substitutions.

the checksums cant be matched if the file isn't provided by the sources array

You can just run sha256sum manually and compare.

shaybox commented on 2023-01-10 08:28 (UTC) (edited on 2023-01-10 08:32 (UTC) by shaybox)

You're welcome to submit a new PKGBUILD, however I tried a few times to switch to curl and couldn't get it to work, the || true was added for a reason though I don't remember why at this point, and the checksums cant be matched if the file isn't provided by the sources array.

Edit: The architectures are sub directories in the archive, using a variable is easier than creating 5 packages, you don't normally split a package for architectures.

EDIT2: I remember now, wget exit code is not 0

eclairevoyant commented on 2023-01-10 07:40 (UTC) (edited on 2023-01-10 07:45 (UTC) by eclairevoyant)

The downloading and unzipping should be done in prepare() not build(). Also, https://www.techpowerup.com/download/nvidia-nvflash/ has a list of checksums, I strongly suggest using those.

Finally, I highly recommend using curl and bsdtar commands since that allows you to use dependencies that are more likely to be installed on users' machines (curl and libarchive are both pacman dependencies) and cut out dependencies that are rarely needed.

Edit: might also make more sense to use split packages for different architectures rather than the weird substitutions being done, and also the || true doesn't make sense because if the download fails then we have nothing to install.

gardotd426 commented on 2020-12-07 15:08 (UTC) (edited on 2020-12-07 15:09 (UTC) by gardotd426)

There's a new version that seemingly adds support for the 30 series. Version 5.660.0. The current version this PKGBUILD uses doesn't detect my GPU (RTX 3090), this new version does.

Should just take a 5 second edit to the PKGBUILD to change the version number, and that's it, considering the .zip just contains the nvflash binary.

shaybox commented on 2020-08-09 15:52 (UTC) (edited on 2020-08-09 16:04 (UTC) by shaybox)

Unfortunately the server just requires all the stuff be set to download the data, so a source and dlagents just wont do, but I can fix the link

EDIT: It seems techpowerup changed how links work on their end and now have even more evasive downloads, the best way is to just source the bin locally

katt commented on 2020-08-09 15:49 (UTC) (edited on 2020-08-09 15:52 (UTC) by katt)

Why is this downloading the file in build()? Please use the source array for any downloads and use DLAGENTS if you must. https://wiki.archlinux.org/index.php/Nonfree_applications_package_guidelines#Custom_DLAGENTS

On top of that, the download is broken :p