Skip to content

Fix typo in PKGBUILD archive URL causing download failure#147

Merged
cerebrux merged 2 commits intodevelopmentfrom
copilot/fix-f5d2dd37-f7d7-40a2-ad7e-efddd2f1c28e
Sep 25, 2025
Merged

Fix typo in PKGBUILD archive URL causing download failure#147
cerebrux merged 2 commits intodevelopmentfrom
copilot/fix-f5d2dd37-f7d7-40a2-ad7e-efddd2f1c28e

Conversation

Copy link
Copy Markdown

Copilot AI commented Sep 25, 2025

Fixes a typo in the template/PKGBUILD file that was causing AUR package installation failures due to an incorrect archive download URL.

Problem

The PKGBUILD was constructing the source URL with a duplicate "v" prefix:

  • pkgver=v25.06.132 (already includes "v")
  • URL template: archive/v${pkgver}.tar.gz
  • Result: https://github.com/CerebruxCode/shelldio/archive/vv25.06.132.tar.gz

This caused the following error during AUR installation:

ERROR: Failure while downloading https://github.com/CerebruxCode/shelldio/archive/vv25.06.132.tar.gz
    Aborting...
 -> error making: shelldio-exit status 1
 -> Failed to install the following packages. Manual intervention is required:

Solution

Removed the extra "v" prefix from the archive URL construction:

-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/CerebruxCode/shelldio/archive/v${pkgver}.tar.gz")
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/CerebruxCode/shelldio/archive/${pkgver}.tar.gz")

Now the URL correctly resolves to: https://github.com/CerebruxCode/shelldio/archive/v25.06.132.tar.gz

Verification

  • Confirmed the corrected URL successfully downloads a valid tar.gz archive
  • Verified the tag v25.06.132 exists in the repository
  • Tested that the broken URL returns an HTML error page instead of the expected archive

This minimal fix resolves the AUR package installation issue by ensuring the archive URL is properly constructed.

Original prompt

This section details on the original issue you should resolve

<issue_title>Typo in archive</issue_title>
<issue_description>There is a typo in arch archive/file_name.tar.gz
==> ERROR: Failure while downloading https://github.com/CerebruxCode/shelldio/archive/vv25.06.132.tar.gz Aborting... -> error making: shelldio-exit status 1 -> Failed to install the following packages. Manual intervention is required: </issue_description>

Comments on the Issue (you are @copilot in this section)

Fixes #146

💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

Co-authored-by: cerebrux <914656+cerebrux@users.noreply.github.com>
Copilot AI changed the title [WIP] Typo in archive Fix typo in PKGBUILD archive URL causing download failure Sep 25, 2025
Copilot AI requested a review from cerebrux September 25, 2025 12:56
@cerebrux cerebrux marked this pull request as ready for review September 25, 2025 14:51
@cerebrux cerebrux merged commit 03b7f45 into development Sep 25, 2025
11 checks passed
@cerebrux cerebrux deleted the copilot/fix-f5d2dd37-f7d7-40a2-ad7e-efddd2f1c28e branch September 25, 2025 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants