Run snapcraft update before attempting a snap build
Metadata
Current evaluation
Abandoned. The suggestion to run snapcraft update before builds to refresh remote parts cache was closed without implementation.
Suggested action: —
No scores available.
Issue body
It'd be good to run
snapcraft update
before a build. This will update snapcraft with the list of current remote parts.
From https://launchpadlibrarian.net/271441376/buildlog_snap_ubuntu_xenial_amd64_qownnotes_BUILDING.txt.gz
Issue detected while analyzing snapcraft.yaml: Cannot find definition for part 'desktop/qt5'. It may be a remote part, run `snapcraft update` to refresh the remote parts cache
Traceback (most recent call last):
File "/usr/share/launchpad-buildd/slavebin/buildsnap", line 194, in main
builder.pull()
File "/usr/share/launchpad-buildd/slavebin/buildsnap", line 135, in pull
env=env)
File "/usr/share/launchpad-buildd/slavebin/buildsnap", line 92, in run_build_command
self.chroot(["/bin/sh", "-c", command], echo=echo)
File "/usr/share/launchpad-buildd/slavebin/buildsnap", line 66, in chroot
"/usr/bin/sudo", "/usr/sbin/chroot", self.chroot_path] + args)
File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
CalledProcessError: Command '['/usr/bin/sudo', '/usr/sbin/chroot', '/home/buildd/build-SNAPBUILD-1441/chroot-autobuild', 'linux64', '/bin/sh', '-c', 'cd /build/qownnotes && env LANG=C.UTF-8 https_proxy=https://snap-proxy.launchpad.net:3128 http_proxy=http://snap-proxy.launchpad.net:3128 SNAPCRAFT_LOCAL_SOURCES=1 snapcraft pull']' returned non-zero exit status 1
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Abandoned. The suggestion to run snapcraft update before builds to refresh remote parts cache was closed without implementation. | |
| qwen/qwen3.6-35b-a3b | — | — | Abandoned. The suggestion to run snapcraft update before builds to refresh the remote parts cache was not implemented. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #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. | |
| #2020683 snapcraft remote-build cannot use a custom version of snapcraft | snapcraft (launchpad) | closed | Request to enable custom snapcraft versions in remote-build was closed without implementation. No resolution or merge details were provided, indicating the feature was abandoned. | |
| #1869505 Snapcraft is pulling content snap before building a snap | snapcraft (launchpad) | closed | Closed as abandoned. The report detailed snapcraft unnecessarily pulling content snaps before building, causing high resource usage. No discussion, fixes, or follow-up occurred. |