← Back to issue list

snapcraft cleanbuild 500 internal server error

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1593409
Type
issue
State
closed
Author
~popey
Labels
cleanbuild eco-team
Created
Updated
Closed

Current evaluation

⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.

Closed due to inactivity. The report details a persistent 500 Internal Server Error during snapcraft cleanbuild apt operations, potentially caused by apt-cacher-ng. No fix or resolution was provided.

Suggested action:

No scores available.

Issue body

I have apt-cacher-ng installed on my laptop which may be a variable involved in this? Whenever I do a "snapcraft cleanbuild" it sets up lxd and then does an apt update and then tries to get the necessary packages needed for my snap and 500 errors when getting the debs. Every time. Not a transient issue, been like it for days. $ snapcraft cleanbuild "confinement" property not specified: defaulting to "strict" Creating snapcraft-early-lichenlike-castiel Starting snapcraft-early-lichenlike-castiel Setting up container with project assets ./ ./parts/ ./snapcraft.yaml Waiting for a network connection... Network connection established Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB] Get:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [94.5 kB] Get:4 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [213 kB] Ign:5 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages Get:6 http://archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en [46.3 kB] Get:5 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [97.1 kB] Fetched 545 kB in 0s (1208 kB/s) Reading package lists... Done Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: ca-certificates iso-codes libicu55 liblzo2-2 libxml2 libxslt1.1 libyaml-0-2 openssl python-apt-common python3-apt python3-blinker python3-bs4 python3-cffi-backend python3-chardet python3-cryptography python3-docopt python3-html5lib python3-idna python3-jsonschema python3-jwt python3-lxml python3-magic python3-oauthlib python3-petname python3-pkg-resources python3-progressbar python3-pyasn1 python3-requests python3-requests-oauthlib python3-requests-toolbelt python3-six python3-urllib3 python3-xdg python3-yaml sgml-base squashfs-tools xml-core Suggested packages: isoquery python3-apt-dbg python-apt-doc python-blinker-doc python-cryptography-doc python3-cryptography-vectors python3-genshi python3-crypto python3-lxml-dbg python-lxml-doc python3-setuptools doc-base python3-ndg-httpsclient python3-openssl sgml-base-doc lxd debhelper The following NEW packages will be installed: ca-certificates iso-codes libicu55 liblzo2-2 libxml2 libxslt1.1 libyaml-0-2 openssl python-apt-common python3-apt python3-blinker python3-bs4 python3-cffi-backend python3-chardet python3-cryptography python3-docopt python3-html5lib python3-idna python3-jsonschema python3-jwt python3-lxml python3-magic python3-oauthlib python3-petname python3-pkg-resources python3-progressbar python3-pyasn1 python3-requests python3-requests-oauthlib python3-requests-toolbelt python3-six python3-urllib3 python3-xdg python3-yaml sgml-base snapcraft squashfs-tools xml-core 0 upgraded, 38 newly installed, 0 to remove and 0 not upgraded. Need to get 14.0 MB of archives. After this operation, 63.8 MB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 sgml-base all 1.26+nmu4ubuntu1 [12.5 kB] Err:2 http://archive.ubuntu.com/ubuntu xenial/main amd64 liblzo2-2 amd64 2.08-1.2 500 Internal Server Error Err:3 http://archive.ubuntu.com/ubuntu xenial/main amd64 libyaml-0-2 amd64 0.1.6-3 500 Internal Server Error Err:4 http://security.ubuntu.com/ubuntu xenial-security/main amd64 openssl amd64 1.0.2g-1ubuntu4.1 500 Internal Server Error Err:5 http://archive.ubuntu.com/ubuntu xenial/main amd64 ca-certificates all 20160104ubuntu1 500 Internal Server Error Get:4 http://security.ubuntu.com/ubuntu xenial-security/main amd64 openssl amd64 1.0.2g-1ubuntu4.1 [491 kB] Err:6 http://archive.ubuntu.com/ubuntu xenial/main amd64 iso-codes all 3.65-1 500 Internal Server Error Err:7 http://archive.ubuntu.com/ubuntu xenial/main amd64 libicu55 amd64 55.1-7 500 Internal Server Error Ign:8 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libxml2 amd64 2.9.3+dfsg1-1ubuntu0.1 Err:9 http://archive.ubuntu.com/ubuntu xenial/main amd64 python-apt-common all 1.1.0~beta1build1 500 Internal Server Error Err:10 http://archive.ubuntu.com/ubuntu xenial/main amd64 python3-apt amd64 1.1.0~beta1build1 500 Internal Server Error Err:11 http://archive.ubuntu.com/ubuntu xenial/main amd64 xml-core all 0.13+nmu2 500 Internal Server Error Err:12 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxslt1.1 amd64 1.1.28-2.1 500 Internal Server Error Err:13 http://archive.ubuntu.com/ubuntu xenial/main amd64 python3-blinker all 1.3.dfsg2-1build1 500 Internal Server Error Err:14 http://archive.ubuntu.com/ubuntu xenial/main amd64 python3-bs4 all 4.4.1-1 500 Internal Server Error Err:15 http://archive.ubuntu.com/ubuntu xenial/main amd64 python3-cffi-backend amd64 1.5.2-1ubuntu1 500 Internal Server Error Err:16 http://archive.ubuntu.com/ubuntu xenial/main amd64 python3-pkg-resources all 20.7.0-1 500 Internal Server Error Err:17 http://archive.ubuntu.com/ubuntu xenial/main amd64 python3-chardet all 2.3.0-2 500 Internal Server Error Err:18 http://archive.ubuntu.com/ubuntu xenial/main amd64 python3-idna all 2.0-3 500 Internal Server Error Err:19 http://archive.ubuntu.com/ubuntu xenial/main amd64 python3-pyasn1 all 0.1.9-1 500 Internal Server Error Err:20 http://archive.ubuntu.com/ubuntu xenial/main amd64 python3-six all 1.10.0-3 500 Internal Server Error Err:21 http://archive.ubuntu.com/ubuntu xenial/main amd64 python3-cryptography amd64 1.2.3-1 500 Internal Server Error Err:22 http://archive.ubuntu.com/ubuntu xenial/universe amd64 python3-docopt all 0.6.2-1build1 500 Internal Server Error Err:23 http://archive.ubuntu.com/ubuntu xenial/main amd64 python3-html5lib all 0.999-4 500 Internal Server Error Err:24 http://archive.ubuntu.com/ubuntu xenial/main amd64 python3-jsonschema all 2.5.1-4 500 Internal Server Error Err:25 http://archive.ubuntu.com/ubuntu xenial/main amd64 python3-jwt all 1.3.0-1 500 Internal Server Error Err:26 http://archive.ubuntu.com/ubuntu xenial/main amd64 python3-lxml amd64 3.5.0-1build1 500 Internal Server Error Err:27 http://archive.ubuntu.com/ubuntu xenial/main amd64 python3-oauthlib all 1.0.3-1 500 Internal Server Error Err:28 http://archive.ubuntu.com/ubuntu xenial/main amd64 python3-petname all 1.12-0ubuntu1 500 Internal Server Error Err:29 http://archive.ubuntu.com/ubuntu xenial/universe amd64 python3-progressbar all 2.3-2 500 Internal Server Error Err:30 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 python3-urllib3 all 1.13.1-2ubuntu0.16.04.1 500 Internal Server Error Err:31 http://archive.ubuntu.com/ubuntu xenial/main amd64 python3-requests all 2.9.1-3 500 Internal Server Error Err:32 http://archive.ubuntu.com/ubuntu xenial/universe amd64 python3-requests-oauthlib all 0.4.0-1ubuntu1 500 Internal Server Error Err:33 http://archive.ubuntu.com/ubuntu xenial/universe amd64 python3-requests-toolbelt all 0.6.0-2 500 Internal Server Error Err:34 http://archive.ubuntu.com/ubuntu xenial/main amd64 python3-xdg all 0.25-4 500 Internal Server Error Err:35 http://archive.ubuntu.com/ubuntu xenial/main amd64 python3-yaml amd64 3.11-3build1 500 Internal Server Error Err:36 http://archive.ubuntu.com/ubuntu xenial/main amd64 squashfs-tools amd64 1:4.3-3ubuntu2 500 Internal Server Error Err:37 http://archive.ubuntu.com/ubuntu xenial/main amd64 python3-magic all 1:5.25-2ubuntu1 500 Internal Server Error Get:38 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 snapcraft all 2.11 [71.6 kB] Get:8 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libxml2 amd64 2.9.3+dfsg1-1ubuntu0.1 [696 kB] Fetched 1271 kB in 2s (517 kB/s) E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/l/lzo2/liblzo2-2_2.08-1.2_amd64.deb 500 Internal Server Error E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/liby/libyaml/libyaml-0-2_0.1.6-3_amd64.deb 500 Internal Server Error E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/c/ca-certificates/ca-certificates_20160104ubuntu1_all.deb 500 Internal Server Error E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/i/iso-codes/iso-codes_3.65-1_all.deb 500 Internal Server Error E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/i/icu/libicu55_55.1-7_amd64.deb 500 Internal Server Error E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/python-apt/python-apt-common_1.1.0~beta1build1_all.deb 500 Internal Server Error E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/python-apt/python3-apt_1.1.0~beta1build1_amd64.deb 500 Internal Server Error E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/x/xml-core/xml-core_0.13+nmu2_all.deb 500 Internal Server Error E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libx/libxslt/libxslt1.1_1.1.28-2.1_amd64.deb 500 Internal Server Error E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/b/blinker/python3-blinker_1.3.dfsg2-1build1_all.deb 500 Internal Server Error E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/b/beautifulsoup4/python3-bs4_4.4.1-1_all.deb 500 Internal Server Error E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/python-cffi/python3-cffi-backend_1.5.2-1ubuntu1_amd64.deb 500 Internal Server Error E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/python-setuptools/python3-pkg-resources_20.7.0-1_all.deb 500 Internal Server Error E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/c/chardet/python3-chardet_2.3.0-2_all.deb 500 Internal Server Error E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/python-idna/python3-idna_2.0-3_all.deb 500 Internal Server Error E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/pyasn1/python3-pyasn1_0.1.9-1_all.deb 500 Internal Server Error E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/s/six/python3-six_1.10.0-3_all.deb 500 Internal Server Error E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/python-cryptography/python3-cryptography_1.2.3-1_amd64.deb 500 Internal Server Error E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/d/docopt/python3-docopt_0.6.2-1build1_all.deb 500 Internal Server Error E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/h/html5lib/python3-html5lib_0.999-4_all.deb 500 Internal Server Error E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/python-jsonschema/python3-jsonschema_2.5.1-4_all.deb 500 Internal Server Error E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/pyjwt/python3-jwt_1.3.0-1_all.deb 500 Internal Server Error E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/l/lxml/python3-lxml_3.5.0-1build1_amd64.deb 500 Internal Server Error E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/python-oauthlib/python3-oauthlib_1.0.3-1_all.deb 500 Internal Server Error E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/python-petname/python3-petname_1.12-0ubuntu1_all.deb 500 Internal Server Error E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/p/python-progressbar/python3-progressbar_2.3-2_all.deb 500 Internal Server Error E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/python-urllib3/python3-urllib3_1.13.1-2ubuntu0.16.04.1_all.deb 500 Internal Server Error E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/r/requests/python3-requests_2.9.1-3_all.deb 500 Internal Server Error E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/p/python-requests-oauthlib/python3-requests-oauthlib_0.4.0-1ubuntu1_all.deb 500 Internal Server Error E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/p/python-requests-toolbelt/python3-requests-toolbelt_0.6.0-2_all.deb 500 Internal Server Error E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/pyxdg/python3-xdg_0.25-4_all.deb 500 Internal Server Error E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/p/pyyaml/python3-yaml_3.11-3build1_amd64.deb 500 Internal Server Error E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/s/squashfs-tools/squashfs-tools_4.3-3ubuntu2_amd64.deb 500 Internal Server Error E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/f/file/python3-magic_5.25-2ubuntu1_all.deb 500 Internal Server Error E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? Command '['lxc', 'exec', 'snapcraft-early-lichenlike-castiel', '--', 'apt-get', 'install', 'snapcraft', '-y']' returned non-zero exit status 100

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed due to inactivity. The report details a persistent 500 Internal Server Error during snapcraft cleanbuild apt operations, potentially caused by apt-cacher-ng. No fix or resolution was provided.
qwen/qwen3.6-35b-a3b Closed without resolution or comments. The cleanbuild feature causing persistent 500 errors during package downloads was abandoned and later deprecated in newer Snapcraft versions.
qwen3.6-35b-a3b-mtp-q6 Closed without resolution. The persistent 500 error during package downloads in snapcraft cleanbuild was abandoned or superseded by the feature's eventual deprecation. No comments or fixes were provided.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1800119 snapcraft cleanbuild snapcraft (launchpad) closed Closed without resolution. The report details a PermissionError during snapcraft cleanbuild caused by restricted access to the .aptitude directory. With zero comments and no fix applied, the issue was abandoned or marked stale.
77%
#4525 Error Installing build-snaps snapcraft closed Closed as resolved externally. The user encountered 500 server errors fetching build-snaps in snapcraft. The issue was resolved via forum troubleshooting rather than a code fix.
71%
#1852482 snapcraft remote-build for a non-existent user gives me a 500 error snapcraft (launchpad) closed Abandoned due to inactivity. The report detailed a 500 error when using a non-existent Launchpad user with snapcraft remote-build. No fix or follow-up was provided.
71%
#1789206 cannot rebuild snapcraft snapcraft (launchpad) closed Closed without resolution. The request to enable snapcraft self-rebuilding via build caching was abandoned due to prolonged inactivity and lack of implementation.
70%