Anyone have any suggestions of how to get past these errors. I tried giving the VM more space and that didn’t help. I read online about deleting the duplicated files. Can someone share some advice and steps?
Update Issue:
Updating debian-11
Error on updating debian-11: Command ‘[‘sudo’, ‘qubesctl’, ‘–skip-dom0’, ‘–targets=debian-11’, ‘–show-output’, ‘state.sls’, ‘update.qubes-vm’]’ returned non-zero exit status 20.
debian-11:
ID: update
Function: pkg.uptodate
Result: False
Comment: W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/alexp.list:1 and /etc/apt/sources.list.d/alexp.list:2
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/alexp.list:1 and /etc/apt/sources.list.d/alexp.list:2
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/alexp.list:1 and /etc/apt/sources.list.d/alexp.list:2
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/alexp.list:1 and /etc/apt/sources.list.d/alexp.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/alexp.list:1 and /etc/apt/sources.list.d/alexp.list:3
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/alexp.list:1 and /etc/apt/sources.list.d/alexp.list:3
E: Failed to fetch https://dl.google.com/linux/chrome/deb/dists/stable/InRelease Invalid response from proxy: HTTP/1.0 500 Unable to connect Server: tinyproxy/1.10.0 Content-Type: text/html Connection: close [IP: 127.0.0.1 8082]
E: Some index files failed to download. They have been ignored, or old ones used instead.
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/alexp.list:1 and /etc/apt/sources.list.d/alexp.list:2
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/alexp.list:1 and /etc/apt/sources.list.d/alexp.list:2
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/alexp.list:1 and /etc/apt/sources.list.d/alexp.list:2
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/alexp.list:1 and /etc/apt/sources.list.d/alexp.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/alexp.list:1 and /etc/apt/sources.list.d/alexp.list:3
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/alexp.list:1 and /etc/apt/sources.list.d/alexp.list:3
Started: 07:29:10.048810
Duration: 3103.819 ms
Changes:
Error on updating debian-11: Command ‘[‘sudo’, ‘qubesctl’, ‘–skip-dom0’, ‘–targets=debian-11’, ‘–show-output’, ‘state.sls’, ‘update.qubes-vm’]’ returned non-zero exit status 20.
debian-11:
ID: update
Function: pkg.uptodate
Result: False
Comment: W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/alexp.list:1 and /etc/apt/sources.list.d/alexp.list:2
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/alexp.list:1 and /etc/apt/sources.list.d/alexp.list:2
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/alexp.list:1 and /etc/apt/sources.list.d/alexp.list:2
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/alexp.list:1 and /etc/apt/sources.list.d/alexp.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/alexp.list:1 and /etc/apt/sources.list.d/alexp.list:3
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/alexp.list:1 and /etc/apt/sources.list.d/alexp.list:3
E: Failed to fetch https://dl.google.com/linux/chrome/deb/dists/stable/InRelease Invalid response from proxy: HTTP/1.0 500 Unable to connect Server: tinyproxy/1.10.0 Content-Type: text/html Connection: close [IP: 127.0.0.1 8082]
E: Failed to fetch https://contrib.qubes-os.org/deb/r4.1/vm/dists/bullseye/InRelease Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 127.0.0.1 8082]
E: Some index files failed to download. They have been ignored, or old ones used instead.
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/alexp.list:1 and /etc/apt/sources.list.d/alexp.list:2
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/alexp.list:1 and /etc/apt/sources.list.d/alexp.list:2
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/alexp.list:1 and /etc/apt/sources.list.d/alexp.list:2
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/alexp.list:1 and /etc/apt/sources.list.d/alexp.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/alexp.list:1 and /etc/apt/sources.list.d/alexp.list:3
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/alexp.list:1 and /etc/apt/sources.list.d/alexp.list:3
Started: 08:32:05.661146
Duration: 3030.245 ms
Changes:
I just tried uninstalling Google Chrome and it’s repository to see what would happen, and still receiving an error:
Updating debian-11
Error on updating debian-11: Command ‘[‘sudo’, ‘qubesctl’, ‘–skip-dom0’, ‘–targets=debian-11’, ‘–show-output’, ‘state.sls’, ‘update.qubes-vm’]’ returned non-zero exit status 20.
debian-11:
ID: update
Function: pkg.uptodate
Result: False
Comment: W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/alexp.list:1 and /etc/apt/sources.list.d/alexp.list:2
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/alexp.list:1 and /etc/apt/sources.list.d/alexp.list:2
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/alexp.list:1 and /etc/apt/sources.list.d/alexp.list:2
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/alexp.list:1 and /etc/apt/sources.list.d/alexp.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/alexp.list:1 and /etc/apt/sources.list.d/alexp.list:3
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/alexp.list:1 and /etc/apt/sources.list.d/alexp.list:3
E: Failed to fetch https://contrib.qubes-os.org/deb/r4.1/vm/dists/bullseye/InRelease Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 127.0.0.1 8082]
E: Some index files failed to download. They have been ignored, or old ones used instead.
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/alexp.list:1 and /etc/apt/sources.list.d/alexp.list:2
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/alexp.list:1 and /etc/apt/sources.list.d/alexp.list:2
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/alexp.list:1 and /etc/apt/sources.list.d/alexp.list:2
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/alexp.list:1 and /etc/apt/sources.list.d/alexp.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/alexp.list:1 and /etc/apt/sources.list.d/alexp.list:3
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/alexp.list:1 and /etc/apt/sources.list.d/alexp.list:3
Started: 20:03:43.189035
Duration: 2698.718 ms
Changes:
Once an admin updates the certificate this error will disappear and you should be able to update again. However, you should still check all of your repo lists for duplicate entries. For example, does less /etc/apt/sources.list.d/alexp.list show any of the same entries as less /etc/apt/sources.list in your debian-11 template?