Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Feb 9, 2026

GAPPS installation fails with DNS resolution error because the URL uses a specific SourceForge mirror subdomain (netcologne.dl.sourceforge.net) that's no longer available.

Changes

  • first-boot.sh: Updated wget URL to use SourceForge's official /projects/.../files/.../download endpoint instead of mirror-specific subdomain
- wget https://netcologne.dl.sourceforge.net/project/opengapps/x86_64/20220503/open_gapps-x86_64-11.0-pico-20220503.zip?viasf=1 -O gapps-11.zip
+ wget https://sourceforge.net/projects/opengapps/files/x86_64/20220503/open_gapps-x86_64-11.0-pico-20220503.zip/download -O gapps-11.zip

The official endpoint automatically redirects to available mirrors, preventing future URL breakage from mirror infrastructure changes.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • sourceforge.net
    • Triggering command: /usr/bin/wget wget --spider --max-redirect=5 REDACTED (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>[BUG] GAPPS install - url fail</issue_title>
<issue_description>Describe the bug
GAPPS fails to install

To Reproduce
Run the build process (docker compose, ENV variables set properly)

Expected behavior
Tailing the logfile shows the first_boot script isnt' getting the archive

Environment:
Lubuntu 24.04

Successfully disabled verification. Reboot the device for changes to take effect.
using overlayfs
Successfully disabled verity
Now reboot your device for settings to take effect
restarting adbd as root
remount succeeded
Installing GAPPS ...
--2026-01-29 15:56:20--  https://netcologne.dl.sourceforge.net/project/opengapps/x86_64/20220503/open_gapps-x86_64-11.0-pico-20220503.zip?viasf=1
INFO         | Boot completed in 19104 ms
INFO         | Increasing screen off timeout, logcat buffer size to 2M.
Resolving netcologne.dl.sourceforge.net (netcologne.dl.sourceforge.net)... failed: Name or service not known.
wget: unable to resolve host address ‘netcologne.dl.sourceforge.net’
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of gapps-11.zip or
        gapps-11.zip.zip, and cannot find gapps-11.zip.ZIP, period.
Archive:  gapps-11.zip
rm: cannot remove 'gapps-11/Core/setup*': No such file or directory
lzip: gapps-11/Core/*.lz: Can't open input file: No such file or directory
tar: gapps-11/Core/*.tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
adb: error: cannot stat 'gapps-11/etc': No such file or directory
adb: error: cannot stat 'gapps-11/framework': No such file or directory
adb: error: cannot stat 'gapps-11/app': No such file or directory
adb: error: cannot stat 'gapps-11/priv-app': No such file or directory
rm: cannot remove 'gapps-11': No such file or directory```

The URL needs to be updated to:
```wget https://sourceforge.net/projects/opengapps/files/x86_64/20220503/open_gapps-x86_64-11.0-pico-20220503.zip?viasf=1```

</issue_description>

<agent_instructions>new subdomain
https://netcologne.dl.sourceforge.net/

any way to avoid that in future, using more official way to download files from sourceforge</agent_instructions>

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

<comments>
<comment_new><author>@Shmayro</author><body>
yes, it seems like the url on sourceforge is no more valid, i will update it then find a solution to avoid that on the furture
Thank you for reporting this bug 🙏 </body></comment_new>
</comments>


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: Shmayro <6267648+Shmayro@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix GAPPS install failure issue Fix GAPPS installation URL using official SourceForge endpoint Feb 9, 2026
Copilot AI requested a review from Shmayro February 9, 2026 13:23
@Shmayro Shmayro marked this pull request as ready for review February 9, 2026 13:26
@Shmayro Shmayro changed the title Fix GAPPS installation URL using official SourceForge endpoint fix: use official SourceForge endpoint GAPPS installation Feb 9, 2026
@Shmayro Shmayro merged commit c900543 into main Feb 9, 2026
1 check passed
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.

[BUG] GAPPS install - url fail

2 participants