osbuild / bootc-image-builder

A container for deploying bootable container images.
https://osbuild.org
Apache License 2.0
135 stars 57 forks source link

bib failed to build out centos stream10 anaconda-iso on x86_64 with error:error: cannot build manifest: cannot depsolve: running osbuild-depsolve-dnf failed #631

Open chunfuwen opened 2 months ago

chunfuwen commented 2 months ago
  1. attempt to build out centos stream 10 iso from below command:
sudo podman run --rm -it --privileged --pull=newer --security-opt label=type:unconfined_t -v /var/lib/libvirt/images/output:/output -v /var/lib/libvirt/images/config.json:/config.json   -v /var/lib/libvirt/images/auth.json:/run/containers/0/auth.json  quay.io/centos-bootc/bootc-image-builder:latest  --type anaconda-iso --tls-verify=true  --config /config.json  quay.io/centos-bootc/centos-bootc:stream10  --chown 107:107  --rootfs ext4 

2 .It throw below error, reminding: error: cannot build manifest: cannot depsolve: running osbuild-depsolve-dnf failed

(92lts-p3-ve) [root@dell-per430-17 tp-libvirt]# sudo podman run --rm -it --privileged --pull=newer --security-opt label=type:unconfined_t -v /var/lib/libvirt/images/output:/output -v /var/lib/libvirt/images/config.json:/config.json   -v /var/lib/libvirt/images/auth.json:/run/containers/0/auth.json  quay.io/centos-bootc/bootc-image-builder:latest  --type anaconda-iso --tls-verify=true  --config /config.json  quay.io/centos-bootc/centos-bootc:stream10  --chown 107:107  --rootfs ext4 |tee failiso.log
Generating manifest manifest-anaconda-iso.json
Trying to pull quay.io/centos-bootc/centos-bootc:stream10...
Getting image source signatures
Copying blob 7a090810a9fc done   | 
Copying blob 7a090810a9fc done   | 
Copying blob 0a2954cfdf8d done   | 
Copying blob 0a2954cfdf8d done   | 
Copying blob 7a090810a9fc done   | 
Copying blob 406c209b794e done   | 
Copying blob 1a7b9969979e done   | 
Copying blob 7a090810a9fc done   | 
Copying blob 7a090810a9fc done   | 
Copying blob 7a090810a9fc done   | 
Copying blob 7a090810a9fc done   | 
Copying blob 406c209b794e done   | 
Copying blob 712b0e04f720 done   | 

...
Copying config 6d4ae0c51c done   | 
Writing manifest to image destination
Errors during downloading metadata for repository 'appstream':
  - Downloading successful, but checksum doesn't match. Calculated: 8170d4362c6a02f263f54a729ed0069dc7f3e5dc0d22e360e9a88a40f540e74185ae905908f345807eab94dcb54bb4154399e0817461e7a2b593e0be8b90ca99(sha512)  Expected: f528006c8b2c0678909eae21ade540f1d10c522118e5531f019d1d14759bd41dd8bfd0f17fdfe4d0d3b5c3b6d4badd62115bf23b94959d0eb06bf2ce78b602b5(sha512) 
RepoError: There was a problem reading a repository: Failed to download metadata for repo 'appstream': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
2024/09/05 02:15:17 error: cannot build manifest: cannot depsolve: running osbuild-depsolve-dnf failed:
DNF error occurred: RepoError: There was a problem reading a repository: Failed to download metadata for repo 'appstream': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
chunfuwen commented 3 weeks ago
2024-10-22 14:47:03,539 avocado.test stacktrace       L0049 ERROR| stdout: b'Generating manifest manifest-anaconda-iso.json\r\nTrying to pull quay.io/centos-bootc/centos-bootc:stream10...\r
Getting image source signatures\r\nWriting manifest to image destination\r
\nNo match for argument: gdisk\r\nNo match for argument: libreport-plugin-bugzilla\r
No match for argument: libreport-plugin-reportuploader\r\nerror install_specs\r
MarkingErrors: Error occurred when marking packages for installation: Problems in request:\r
missing packages: gdisk, libreport-plugin-bugzilla, libreport-plugin-reportuploader\r
2024/10/22 18:47:01 error: cannot build manifest: cannot depsolve: running osbuild-depsolve-dnf failed:\r
DNF error occurred: MarkingErrors: Error occurred when marking packages for installation: Problems in request:\r\nmissing packages: gdisk, libreport-plugin-bugzilla, libreport-plugin-reportuploader\r'
2024-10-22 14:47:03,539 avocado.test stacktrace       L0049 ERROR| stderr: b'time="2024-10-22T14:46:31-04:00" level=warning msg="The input device is not a TTY. The --tty and --interactive flags might not work properly"\n'