Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apt-offline refuses to install mentioning Checksum error #188

Closed
MadFisa opened this issue May 6, 2022 · 20 comments
Closed

apt-offline refuses to install mentioning Checksum error #188

MadFisa opened this issue May 6, 2022 · 20 comments

Comments

@MadFisa
Copy link

MadFisa commented May 6, 2022

Hi,
I have fresh install of ubuntu 20.04 and is trying to update apt database using apt-offline. I ran apt-offline set update.sig --update in my offline machine and ran apt-offline get update.sig --bundle update.zip in the online machine. On transferring the zip file to the offline machine and running apt-offline get update.sig --bundle update.zip it appears as the task ran succesfully and database has been updated, but nothing has been updated. On running install with --verbose on install, it indicated several checksum doesn't match errors. I re-downloaded the files multiple times, but keep getting same result. I have attached all the related files below. I have a feeling this could be related to #128 , but I don't have the knowledge to debug this. Is there a know way to get around this?

update.sig

'http://security.ubuntu.com/ubuntu/dists/focal-security/InRelease' security.ubuntu.com_ubuntu_dists_focal-security_InRelease 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/main/binary-amd64/Packages.xz' security.ubuntu.com_ubuntu_dists_focal-security_main_binary-amd64_Packages 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/main/binary-i386/Packages.xz' security.ubuntu.com_ubuntu_dists_focal-security_main_binary-i386_Packages 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/main/binary-all/Packages.xz' security.ubuntu.com_ubuntu_dists_focal-security_main_binary-all_Packages 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/main/i18n/Translation-en_IN.xz' security.ubuntu.com_ubuntu_dists_focal-security_main_i18n_Translation-en%5fIN 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/main/i18n/Translation-en.xz' security.ubuntu.com_ubuntu_dists_focal-security_main_i18n_Translation-en 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/main/dep11/Components-amd64.yml.xz' security.ubuntu.com_ubuntu_dists_focal-security_main_dep11_Components-amd64.yml 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/main/dep11/Components-all.yml.xz' security.ubuntu.com_ubuntu_dists_focal-security_main_dep11_Components-all.yml 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/main/dep11/icons-48x48.tar.xz' security.ubuntu.com_ubuntu_dists_focal-security_main_dep11_icons-48x48.tar 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/main/dep11/icons-64x64.tar.xz' security.ubuntu.com_ubuntu_dists_focal-security_main_dep11_icons-64x64.tar 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/main/dep11/icons-64x64@2.tar.xz' security.ubuntu.com_ubuntu_dists_focal-security_main_dep11_icons-64x64%402.tar 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/main/cnf/Commands-amd64.xz' security.ubuntu.com_ubuntu_dists_focal-security_main_cnf_Commands-amd64 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/main/cnf/Commands-all.xz' security.ubuntu.com_ubuntu_dists_focal-security_main_cnf_Commands-all 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/restricted/binary-amd64/Packages.xz' security.ubuntu.com_ubuntu_dists_focal-security_restricted_binary-amd64_Packages 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/restricted/binary-i386/Packages.xz' security.ubuntu.com_ubuntu_dists_focal-security_restricted_binary-i386_Packages 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/restricted/binary-all/Packages.xz' security.ubuntu.com_ubuntu_dists_focal-security_restricted_binary-all_Packages 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/restricted/i18n/Translation-en_IN.xz' security.ubuntu.com_ubuntu_dists_focal-security_restricted_i18n_Translation-en%5fIN 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/restricted/i18n/Translation-en.xz' security.ubuntu.com_ubuntu_dists_focal-security_restricted_i18n_Translation-en 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/restricted/dep11/Components-amd64.yml.xz' security.ubuntu.com_ubuntu_dists_focal-security_restricted_dep11_Components-amd64.yml 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/restricted/dep11/Components-all.yml.xz' security.ubuntu.com_ubuntu_dists_focal-security_restricted_dep11_Components-all.yml 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/restricted/dep11/icons-48x48.tar.xz' security.ubuntu.com_ubuntu_dists_focal-security_restricted_dep11_icons-48x48.tar 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/restricted/dep11/icons-64x64.tar.xz' security.ubuntu.com_ubuntu_dists_focal-security_restricted_dep11_icons-64x64.tar 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/restricted/dep11/icons-64x64@2.tar.xz' security.ubuntu.com_ubuntu_dists_focal-security_restricted_dep11_icons-64x64%402.tar 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/restricted/cnf/Commands-amd64.xz' security.ubuntu.com_ubuntu_dists_focal-security_restricted_cnf_Commands-amd64 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/restricted/cnf/Commands-all.xz' security.ubuntu.com_ubuntu_dists_focal-security_restricted_cnf_Commands-all 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/universe/binary-amd64/Packages.xz' security.ubuntu.com_ubuntu_dists_focal-security_universe_binary-amd64_Packages 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/universe/binary-i386/Packages.xz' security.ubuntu.com_ubuntu_dists_focal-security_universe_binary-i386_Packages 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/universe/binary-all/Packages.xz' security.ubuntu.com_ubuntu_dists_focal-security_universe_binary-all_Packages 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/universe/i18n/Translation-en_IN.xz' security.ubuntu.com_ubuntu_dists_focal-security_universe_i18n_Translation-en%5fIN 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/universe/i18n/Translation-en.xz' security.ubuntu.com_ubuntu_dists_focal-security_universe_i18n_Translation-en 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/universe/dep11/Components-amd64.yml.xz' security.ubuntu.com_ubuntu_dists_focal-security_universe_dep11_Components-amd64.yml 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/universe/dep11/Components-all.yml.xz' security.ubuntu.com_ubuntu_dists_focal-security_universe_dep11_Components-all.yml 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/universe/dep11/icons-48x48.tar.xz' security.ubuntu.com_ubuntu_dists_focal-security_universe_dep11_icons-48x48.tar 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/universe/dep11/icons-64x64.tar.xz' security.ubuntu.com_ubuntu_dists_focal-security_universe_dep11_icons-64x64.tar 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/universe/dep11/icons-64x64@2.tar.xz' security.ubuntu.com_ubuntu_dists_focal-security_universe_dep11_icons-64x64%402.tar 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/universe/cnf/Commands-amd64.xz' security.ubuntu.com_ubuntu_dists_focal-security_universe_cnf_Commands-amd64 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/universe/cnf/Commands-all.xz' security.ubuntu.com_ubuntu_dists_focal-security_universe_cnf_Commands-all 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/multiverse/binary-amd64/Packages.xz' security.ubuntu.com_ubuntu_dists_focal-security_multiverse_binary-amd64_Packages 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/multiverse/binary-i386/Packages.xz' security.ubuntu.com_ubuntu_dists_focal-security_multiverse_binary-i386_Packages 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/multiverse/binary-all/Packages.xz' security.ubuntu.com_ubuntu_dists_focal-security_multiverse_binary-all_Packages 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/multiverse/i18n/Translation-en_IN.xz' security.ubuntu.com_ubuntu_dists_focal-security_multiverse_i18n_Translation-en%5fIN 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/multiverse/i18n/Translation-en.xz' security.ubuntu.com_ubuntu_dists_focal-security_multiverse_i18n_Translation-en 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/multiverse/dep11/Components-amd64.yml.xz' security.ubuntu.com_ubuntu_dists_focal-security_multiverse_dep11_Components-amd64.yml 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/multiverse/dep11/Components-all.yml.xz' security.ubuntu.com_ubuntu_dists_focal-security_multiverse_dep11_Components-all.yml 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/multiverse/dep11/icons-48x48.tar.xz' security.ubuntu.com_ubuntu_dists_focal-security_multiverse_dep11_icons-48x48.tar 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/multiverse/dep11/icons-64x64.tar.xz' security.ubuntu.com_ubuntu_dists_focal-security_multiverse_dep11_icons-64x64.tar 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/multiverse/dep11/icons-64x64@2.tar.xz' security.ubuntu.com_ubuntu_dists_focal-security_multiverse_dep11_icons-64x64%402.tar 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/multiverse/cnf/Commands-amd64.xz' security.ubuntu.com_ubuntu_dists_focal-security_multiverse_cnf_Commands-amd64 0 'http://security.ubuntu.com/ubuntu/dists/focal-security/multiverse/cnf/Commands-all.xz' security.ubuntu.com_ubuntu_dists_focal-security_multiverse_cnf_Commands-all 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/InRelease' in.archive.ubuntu.com_ubuntu_dists_focal_InRelease 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/InRelease' in.archive.ubuntu.com_ubuntu_dists_focal-updates_InRelease 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/InRelease' in.archive.ubuntu.com_ubuntu_dists_focal-backports_InRelease 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/main/binary-amd64/Packages.xz' in.archive.ubuntu.com_ubuntu_dists_focal_main_binary-amd64_Packages 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/main/binary-i386/Packages.xz' in.archive.ubuntu.com_ubuntu_dists_focal_main_binary-i386_Packages 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/main/binary-all/Packages.xz' in.archive.ubuntu.com_ubuntu_dists_focal_main_binary-all_Packages 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/main/i18n/Translation-en_IN.xz' in.archive.ubuntu.com_ubuntu_dists_focal_main_i18n_Translation-en%5fIN 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/main/i18n/Translation-en.xz' in.archive.ubuntu.com_ubuntu_dists_focal_main_i18n_Translation-en 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/main/dep11/Components-amd64.yml.xz' in.archive.ubuntu.com_ubuntu_dists_focal_main_dep11_Components-amd64.yml 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/main/dep11/Components-all.yml.xz' in.archive.ubuntu.com_ubuntu_dists_focal_main_dep11_Components-all.yml 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/main/dep11/icons-48x48.tar.xz' in.archive.ubuntu.com_ubuntu_dists_focal_main_dep11_icons-48x48.tar 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/main/dep11/icons-64x64.tar.xz' in.archive.ubuntu.com_ubuntu_dists_focal_main_dep11_icons-64x64.tar 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/main/dep11/icons-64x64@2.tar.xz' in.archive.ubuntu.com_ubuntu_dists_focal_main_dep11_icons-64x64%402.tar 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/main/cnf/Commands-amd64.xz' in.archive.ubuntu.com_ubuntu_dists_focal_main_cnf_Commands-amd64 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/main/cnf/Commands-all.xz' in.archive.ubuntu.com_ubuntu_dists_focal_main_cnf_Commands-all 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/restricted/binary-amd64/Packages.xz' in.archive.ubuntu.com_ubuntu_dists_focal_restricted_binary-amd64_Packages 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/restricted/binary-i386/Packages.xz' in.archive.ubuntu.com_ubuntu_dists_focal_restricted_binary-i386_Packages 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/restricted/binary-all/Packages.xz' in.archive.ubuntu.com_ubuntu_dists_focal_restricted_binary-all_Packages 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/restricted/i18n/Translation-en_IN.xz' in.archive.ubuntu.com_ubuntu_dists_focal_restricted_i18n_Translation-en%5fIN 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/restricted/i18n/Translation-en.xz' in.archive.ubuntu.com_ubuntu_dists_focal_restricted_i18n_Translation-en 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/restricted/dep11/Components-amd64.yml.xz' in.archive.ubuntu.com_ubuntu_dists_focal_restricted_dep11_Components-amd64.yml 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/restricted/dep11/Components-all.yml.xz' in.archive.ubuntu.com_ubuntu_dists_focal_restricted_dep11_Components-all.yml 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/restricted/dep11/icons-48x48.tar.xz' in.archive.ubuntu.com_ubuntu_dists_focal_restricted_dep11_icons-48x48.tar 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/restricted/dep11/icons-64x64.tar.xz' in.archive.ubuntu.com_ubuntu_dists_focal_restricted_dep11_icons-64x64.tar 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/restricted/dep11/icons-64x64@2.tar.xz' in.archive.ubuntu.com_ubuntu_dists_focal_restricted_dep11_icons-64x64%402.tar 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/restricted/cnf/Commands-amd64.xz' in.archive.ubuntu.com_ubuntu_dists_focal_restricted_cnf_Commands-amd64 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/restricted/cnf/Commands-all.xz' in.archive.ubuntu.com_ubuntu_dists_focal_restricted_cnf_Commands-all 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/universe/binary-amd64/Packages.xz' in.archive.ubuntu.com_ubuntu_dists_focal_universe_binary-amd64_Packages 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/universe/binary-i386/Packages.xz' in.archive.ubuntu.com_ubuntu_dists_focal_universe_binary-i386_Packages 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/universe/binary-all/Packages.xz' in.archive.ubuntu.com_ubuntu_dists_focal_universe_binary-all_Packages 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/universe/i18n/Translation-en_IN.xz' in.archive.ubuntu.com_ubuntu_dists_focal_universe_i18n_Translation-en%5fIN 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/universe/i18n/Translation-en.xz' in.archive.ubuntu.com_ubuntu_dists_focal_universe_i18n_Translation-en 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/universe/dep11/Components-amd64.yml.xz' in.archive.ubuntu.com_ubuntu_dists_focal_universe_dep11_Components-amd64.yml 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/universe/dep11/Components-all.yml.xz' in.archive.ubuntu.com_ubuntu_dists_focal_universe_dep11_Components-all.yml 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/universe/dep11/icons-48x48.tar.xz' in.archive.ubuntu.com_ubuntu_dists_focal_universe_dep11_icons-48x48.tar 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/universe/dep11/icons-64x64.tar.xz' in.archive.ubuntu.com_ubuntu_dists_focal_universe_dep11_icons-64x64.tar 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/universe/dep11/icons-64x64@2.tar.xz' in.archive.ubuntu.com_ubuntu_dists_focal_universe_dep11_icons-64x64%402.tar 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/universe/cnf/Commands-amd64.xz' in.archive.ubuntu.com_ubuntu_dists_focal_universe_cnf_Commands-amd64 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/universe/cnf/Commands-all.xz' in.archive.ubuntu.com_ubuntu_dists_focal_universe_cnf_Commands-all 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/multiverse/binary-amd64/Packages.xz' in.archive.ubuntu.com_ubuntu_dists_focal_multiverse_binary-amd64_Packages 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/multiverse/binary-i386/Packages.xz' in.archive.ubuntu.com_ubuntu_dists_focal_multiverse_binary-i386_Packages 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/multiverse/binary-all/Packages.xz' in.archive.ubuntu.com_ubuntu_dists_focal_multiverse_binary-all_Packages 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/multiverse/i18n/Translation-en_IN.xz' in.archive.ubuntu.com_ubuntu_dists_focal_multiverse_i18n_Translation-en%5fIN 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/multiverse/i18n/Translation-en.xz' in.archive.ubuntu.com_ubuntu_dists_focal_multiverse_i18n_Translation-en 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/multiverse/dep11/Components-amd64.yml.xz' in.archive.ubuntu.com_ubuntu_dists_focal_multiverse_dep11_Components-amd64.yml 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/multiverse/dep11/Components-all.yml.xz' in.archive.ubuntu.com_ubuntu_dists_focal_multiverse_dep11_Components-all.yml 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/multiverse/dep11/icons-48x48.tar.xz' in.archive.ubuntu.com_ubuntu_dists_focal_multiverse_dep11_icons-48x48.tar 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/multiverse/dep11/icons-64x64.tar.xz' in.archive.ubuntu.com_ubuntu_dists_focal_multiverse_dep11_icons-64x64.tar 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/multiverse/dep11/icons-64x64@2.tar.xz' in.archive.ubuntu.com_ubuntu_dists_focal_multiverse_dep11_icons-64x64%402.tar 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/multiverse/cnf/Commands-amd64.xz' in.archive.ubuntu.com_ubuntu_dists_focal_multiverse_cnf_Commands-amd64 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal/multiverse/cnf/Commands-all.xz' in.archive.ubuntu.com_ubuntu_dists_focal_multiverse_cnf_Commands-all 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/main/binary-amd64/Packages.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_main_binary-amd64_Packages 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/main/binary-i386/Packages.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_main_binary-i386_Packages 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/main/binary-all/Packages.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_main_binary-all_Packages 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/main/i18n/Translation-en_IN.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_main_i18n_Translation-en%5fIN 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/main/i18n/Translation-en.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_main_i18n_Translation-en 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/main/dep11/Components-amd64.yml.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_main_dep11_Components-amd64.yml 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/main/dep11/Components-all.yml.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_main_dep11_Components-all.yml 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/main/dep11/icons-48x48.tar.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_main_dep11_icons-48x48.tar 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/main/dep11/icons-64x64.tar.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_main_dep11_icons-64x64.tar 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/main/dep11/icons-64x64@2.tar.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_main_dep11_icons-64x64%402.tar 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/main/cnf/Commands-amd64.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_main_cnf_Commands-amd64 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/main/cnf/Commands-all.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_main_cnf_Commands-all 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/restricted/binary-amd64/Packages.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_restricted_binary-amd64_Packages 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/restricted/binary-i386/Packages.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_restricted_binary-i386_Packages 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/restricted/binary-all/Packages.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_restricted_binary-all_Packages 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/restricted/i18n/Translation-en_IN.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_restricted_i18n_Translation-en%5fIN 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/restricted/i18n/Translation-en.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_restricted_i18n_Translation-en 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/restricted/dep11/Components-amd64.yml.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_restricted_dep11_Components-amd64.yml 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/restricted/dep11/Components-all.yml.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_restricted_dep11_Components-all.yml 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/restricted/dep11/icons-48x48.tar.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_restricted_dep11_icons-48x48.tar 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/restricted/dep11/icons-64x64.tar.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_restricted_dep11_icons-64x64.tar 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/restricted/dep11/icons-64x64@2.tar.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_restricted_dep11_icons-64x64%402.tar 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/restricted/cnf/Commands-amd64.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_restricted_cnf_Commands-amd64 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/restricted/cnf/Commands-all.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_restricted_cnf_Commands-all 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/universe/binary-amd64/Packages.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_universe_binary-amd64_Packages 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/universe/binary-i386/Packages.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_universe_binary-i386_Packages 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/universe/binary-all/Packages.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_universe_binary-all_Packages 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/universe/i18n/Translation-en_IN.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_universe_i18n_Translation-en%5fIN 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/universe/i18n/Translation-en.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_universe_i18n_Translation-en 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/universe/dep11/Components-amd64.yml.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_universe_dep11_Components-amd64.yml 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/universe/dep11/Components-all.yml.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_universe_dep11_Components-all.yml 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/universe/dep11/icons-48x48.tar.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_universe_dep11_icons-48x48.tar 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/universe/dep11/icons-64x64.tar.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_universe_dep11_icons-64x64.tar 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/universe/dep11/icons-64x64@2.tar.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_universe_dep11_icons-64x64%402.tar 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/universe/cnf/Commands-amd64.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_universe_cnf_Commands-amd64 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/universe/cnf/Commands-all.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_universe_cnf_Commands-all 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/multiverse/binary-amd64/Packages.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_multiverse_binary-amd64_Packages 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/multiverse/binary-i386/Packages.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_multiverse_binary-i386_Packages 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/multiverse/binary-all/Packages.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_multiverse_binary-all_Packages 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/multiverse/i18n/Translation-en_IN.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_multiverse_i18n_Translation-en%5fIN 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/multiverse/i18n/Translation-en.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_multiverse_i18n_Translation-en 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/multiverse/dep11/Components-amd64.yml.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_multiverse_dep11_Components-amd64.yml 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/multiverse/dep11/Components-all.yml.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_multiverse_dep11_Components-all.yml 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/multiverse/dep11/icons-48x48.tar.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_multiverse_dep11_icons-48x48.tar 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/multiverse/dep11/icons-64x64.tar.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_multiverse_dep11_icons-64x64.tar 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/multiverse/dep11/icons-64x64@2.tar.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_multiverse_dep11_icons-64x64%402.tar 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/multiverse/cnf/Commands-amd64.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_multiverse_cnf_Commands-amd64 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/multiverse/cnf/Commands-all.xz' in.archive.ubuntu.com_ubuntu_dists_focal-updates_multiverse_cnf_Commands-all 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/main/binary-amd64/Packages.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_main_binary-amd64_Packages 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/main/binary-i386/Packages.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_main_binary-i386_Packages 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/main/binary-all/Packages.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_main_binary-all_Packages 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/main/i18n/Translation-en_IN.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_main_i18n_Translation-en%5fIN 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/main/i18n/Translation-en.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_main_i18n_Translation-en 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/main/dep11/Components-amd64.yml.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_main_dep11_Components-amd64.yml 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/main/dep11/Components-all.yml.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_main_dep11_Components-all.yml 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/main/dep11/icons-48x48.tar.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_main_dep11_icons-48x48.tar 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/main/dep11/icons-64x64.tar.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_main_dep11_icons-64x64.tar 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/main/dep11/icons-64x64@2.tar.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_main_dep11_icons-64x64%402.tar 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/main/cnf/Commands-amd64.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_main_cnf_Commands-amd64 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/main/cnf/Commands-all.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_main_cnf_Commands-all 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/restricted/binary-amd64/Packages.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_restricted_binary-amd64_Packages 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/restricted/binary-i386/Packages.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_restricted_binary-i386_Packages 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/restricted/binary-all/Packages.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_restricted_binary-all_Packages 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/restricted/i18n/Translation-en_IN.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_restricted_i18n_Translation-en%5fIN 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/restricted/i18n/Translation-en.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_restricted_i18n_Translation-en 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/restricted/dep11/Components-amd64.yml.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_restricted_dep11_Components-amd64.yml 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/restricted/dep11/Components-all.yml.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_restricted_dep11_Components-all.yml 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/restricted/dep11/icons-48x48.tar.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_restricted_dep11_icons-48x48.tar 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/restricted/dep11/icons-64x64.tar.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_restricted_dep11_icons-64x64.tar 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/restricted/dep11/icons-64x64@2.tar.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_restricted_dep11_icons-64x64%402.tar 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/restricted/cnf/Commands-amd64.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_restricted_cnf_Commands-amd64 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/restricted/cnf/Commands-all.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_restricted_cnf_Commands-all 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/universe/binary-amd64/Packages.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_universe_binary-amd64_Packages 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/universe/binary-i386/Packages.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_universe_binary-i386_Packages 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/universe/binary-all/Packages.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_universe_binary-all_Packages 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/universe/i18n/Translation-en_IN.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_universe_i18n_Translation-en%5fIN 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/universe/i18n/Translation-en.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_universe_i18n_Translation-en 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/universe/dep11/Components-amd64.yml.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_universe_dep11_Components-amd64.yml 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/universe/dep11/Components-all.yml.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_universe_dep11_Components-all.yml 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/universe/dep11/icons-48x48.tar.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_universe_dep11_icons-48x48.tar 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/universe/dep11/icons-64x64.tar.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_universe_dep11_icons-64x64.tar 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/universe/dep11/icons-64x64@2.tar.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_universe_dep11_icons-64x64%402.tar 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/universe/cnf/Commands-amd64.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_universe_cnf_Commands-amd64 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/universe/cnf/Commands-all.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_universe_cnf_Commands-all 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/multiverse/binary-amd64/Packages.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_multiverse_binary-amd64_Packages 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/multiverse/binary-i386/Packages.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_multiverse_binary-i386_Packages 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/multiverse/binary-all/Packages.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_multiverse_binary-all_Packages 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/multiverse/i18n/Translation-en_IN.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_multiverse_i18n_Translation-en%5fIN 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/multiverse/i18n/Translation-en.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_multiverse_i18n_Translation-en 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/multiverse/dep11/Components-amd64.yml.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_multiverse_dep11_Components-amd64.yml 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/multiverse/dep11/Components-all.yml.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_multiverse_dep11_Components-all.yml 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/multiverse/dep11/icons-48x48.tar.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_multiverse_dep11_icons-48x48.tar 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/multiverse/dep11/icons-64x64.tar.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_multiverse_dep11_icons-64x64.tar 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/multiverse/dep11/icons-64x64@2.tar.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_multiverse_dep11_icons-64x64%402.tar 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/multiverse/cnf/Commands-amd64.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_multiverse_cnf_Commands-amd64 0 'http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/multiverse/cnf/Commands-all.xz' in.archive.ubuntu.com_ubuntu_dists_focal-backports_multiverse_cnf_Commands-all 0

@MadFisa
Copy link
Author

MadFisa commented May 6, 2022

Output from apt-offline get --verbose
apt-offline get.log

Output from apt-offline install --verbose
install.log

@rickysarraf
Copy link
Owner

As a first step, can you confirm the version of apt-offline you are using ? Note that the latest version is 1.8.4, which is something you'd want to validate against first.

@MadFisa
Copy link
Author

MadFisa commented May 6, 2022

It is version 1.8.2

@MadFisa
Copy link
Author

MadFisa commented May 6, 2022

Version 1.8.2 seems to be the latest ones in the ubuntu repos. Is it going to be problematic if I install newer version deb files from debian repos?

@rickysarraf
Copy link
Owner

Version 1.8.2 seems to be the latest ones in the ubuntu repos. Is it going to be problematic if I install newer version deb files from debian repos?

Usually, it isn't a problem. But in case you aren't well versed with the Ubuntu system, it may be difficult for you to tackle any issues. But still worth a try, if you can.

On the other hand, this checksum issue purely means that the payload is corrupt. Of the downloaded items, can you validate what their sizes are ? They are all archive files, should you may also try to unpack them and see if they have valid content.

You'll have to help me help you debug this issue.

@rickysarraf
Copy link
Owner

Oh! I think it should be easy to try the latest version on Ubuntu. That's because the Github CI system already is using Ubuntu for all my tests.

@MadFisa
Copy link
Author

MadFisa commented May 6, 2022

I installed latest version(1.8.4). I will try repeating the steps once I have access to the machines.
On the other hand, this checksum issue purely means that the payload is corrupt. Of the downloaded items, can you validate what their sizes are ? They are all archive files, should you may also try to unpack them and see if they have valid content.
On extracting the update.zip , there are several files (shown as compressed xz archives in ubuntu containig another file with same prefix. But shows up as unknown file types in windows) varying in size from 64bytes to few hundred kB along with some .yml and gpg files. I have attached a screenshot of contents taken from windows. How can I validate them?
Capture2

@rickysarraf
Copy link
Owner

I installed latest version(1.8.4). I will try repeating the steps once I have access to the machines.

Perfect.

On extracting the update.zip , there are several files (shown as compressed xz archives in ubuntu containig another file with same prefix. But shows up as unknown file types in windows) varying in size from 64bytes to few hundred kB along with some .yml and gpg files. I have attached a screenshot of contents taken from windows. How can I validate them? Capture2

This looks fine to me. Which would mean that there is some payload. Now why is it corrupt.
Possibilities:

  • Payload is genuinely corrupt
  • apt signature are missing (highly unlikely otherwise apt-offline would have reported of it)

Hopefully the 1.8.4 version will shed more light.

@MadFisa
Copy link
Author

MadFisa commented May 11, 2022

Ran through the same procedures using v1.8.4. Same results. How can we troubleshoot further?

@rickysarraf
Copy link
Owner

Ran through the same procedures using v1.8.4. Same results. How can we troubleshoot further?

Okay! In that case, first and foremost, you should hand generate the checksums for each downloaded file. Please generate the checksums and share them on this issue. Then we can validate those against Release indices. The checkums usually are: md5sum, sha256, and sha512

@rickysarraf
Copy link
Owner

Version 1.8.2 seems to be the latest ones in the ubuntu repos. Is it going to be problematic if I install newer version deb files from debian repos?

Usually, it isn't a problem. But in case you aren't well versed with the Ubuntu system, it may be difficult for you to tackle any issues. But still worth a try, if you can.

On the other hand, this checksum issue purely means that the payload is corrupt. Of the downloaded items, can you validate what their sizes are ? They are all archive files, should you may also try to unpack them and see if they have valid content.

You'll have to help me help you debug this issue.

Were you able to extract the downloaded files ?

@rickysarraf
Copy link
Owner

Ran through the same procedures using v1.8.4. Same results. How can we troubleshoot further?

Okay! In that case, first and foremost, you should hand generate the checksums for each downloaded file. Please generate the checksums and share them on this issue. Then we can validate those against Release indices. The checkums usually are: md5sum, sha256, and sha512

Or you could help me validate yourself too. The checksums that you generate, will have to be validated against the indices, for example here. Just choose the right Ubuntu release. But please ensure that your downloads aren't far from the indices with the generated timestamp.

The timestamp is present in each of the index file. For example, this below one:

Origin: Ubuntu
Label: Ubuntu
Suite: focal
Version: 20.04
Codename: focal
Date: Thu, 23 Apr 2020 17:33:17 UTC
Architectures: amd64 arm64 armhf i386 ppc64el riscv64 s390x
Components: main restricted universe multiverse
Description: Ubuntu Focal 20.04

@MadFisa
Copy link
Author

MadFisa commented May 11, 2022

The checksums that you generate, will have to be validated against the indices, for example here. Just choose the right Ubuntu release. But please ensure that your downloads aren't far from the indices with the generated timestamp.

can you elaborate? I didn't quite understand the timestamp part. What do you mean by far from the indices of timestamp? Extracting the bundle (the zip file generated) gives set of files like I have shared in the screenshots. In the files with file name that ends with _release (lets take for example archive.canonical.com_ubuntu_dists_focal_release), has the checksums.

I know that I can generate checksums using md5sum commands. Which files should I generate cheksums for? for example, for the file above, first line is the checksum for partner/binary-amd64/Packages. Does this correspond to the file archive.canonical.com_ubuntu_dists_focal_binary-amd64_Packages? This particular file shows up as archive in my ubuntu machine.

Does this correspond to the file archive.canonical.com_ubuntu_dists_focal_binary-amd64_Packages?

If yes, checksums do not match.
But interestingly, the checksum obtained (all three i.e md5sum, sha1 ,sha256) does match with that of archive.canonical.com_ubuntu_dists_focal_binary-amd64_Packages.xz given in releases file and such a file does not exist in the directory. In fact there are no .xz files in directory. Is there a chance something would have stripped the extensions in between?

@MadFisa
Copy link
Author

MadFisa commented May 11, 2022

Just to give context, since I suspect that it could be a possible point of problem. I'm using google colab as my 'online linux machine', as my actual online machine that I have access to, is an windows machine that I do not have admin privilege for. I do !apt-offline get update.sig --bundle update.zip, in google colab and then download the generated zip file. I don't know if there is something in between that could do something weird, especially with filenames. I have heard that google drive might mess up with file names. I can also try the same with a 'online linux machine' if you want to rule out that possibility.

@rickysarraf
Copy link
Owner

The checksums that you generate, will have to be validated against the indices, for example here. Just choose the right Ubuntu release. But please ensure that your downloads aren't far from the indices with the generated timestamp.

can you elaborate? I didn't quite understand the timestamp part. What do you mean by far from the indices of timestamp? Extracting the bundle (the zip file generated) gives set of files like I have shared in the screenshots. In the files with file name that ends with _release (lets take for example archive.canonical.com_ubuntu_dists_focal_release), has the checksums.

I know that I can generate checksums using md5sum commands. Which files should I generate cheksums for?

For all the files please.

for example, for the file above, first line is the checksum for partner/binary-amd64/Packages. Does this correspond to the file archive.canonical.com_ubuntu_dists_focal_binary-amd64_Packages? This particular file shows up as archive in my ubuntu machine.

Yes.

Does this correspond to the file archive.canonical.com_ubuntu_dists_focal_binary-amd64_Packages?

If yes, checksums do not match.

Okay!! So that explains.

But interestingly, the checksum obtained (all three i.e md5sum, sha1 ,sha256) does match with that of archive.canonical.com_ubuntu_dists_focal_binary-amd64_Packages.xz given in releases file and such a file does not exist in the directory. In fact there are no .xz files in directory. Is there a chance something would have stripped the extensions in between?

Don't worry about the missing extension. That is internal to apt-offline

To sum up, I think this is an issue of corrupt downloads. To be fully sure, I'd still insist that you run the checksums all through the downloaded files, and then tally against the Release file I explained.

@rickysarraf
Copy link
Owner

Just to give context, since I suspect that it could be a possible point of problem. I'm using google colab as my 'online linux machine', as my actual online machine that I have access to, is an windows machine that I do not have admin privilege for. I do !apt-offline get update.sig --bundle update.zip, in google colab and then download the generated zip file. I don't know if there is something in between that could do something weird, especially with filenames. I have heard that google drive might mess up with file names. I can also try the same with a 'online linux machine' if you want to rule out that possibility.

I don't know what google colab is but I would highly doubt that causing the problem. My suspicion is that you either have malfunctioning hardware or a super flaky network.

@rickysarraf
Copy link
Owner

My suspicion is that you either have malfunctioning hardware or a super flaky network.

By any chance, is there any (transparent) proxy involved in your network ? Proxies can ill behave at times.

@MadFisa
Copy link
Author

MadFisa commented May 12, 2022

For all the files please.

I will try that and let you know

Don't worry about the missing extension. That is internal to apt-offline

So that is expected behavior?

To sum up, I think this is an issue of corrupt downloads. To be fully sure, I'd still insist that you run the checksums all through the downloaded files, and then tally against the Release file I explained.

Just to clarify one thing, the checksum did match with a different file listed in the release i.e it matched with the one with .xz extension.

I don't know what google colab is but I would highly doubt that causing the problem.

Google Colab stands for Google Colabarotary (https://colab.research.google.com/). It gives you a cloud ipython interface (jupyter notebooks) to run codes in. Since it is an ipython terminal, I can run commands in terminal by adding '!' at the beginning. Giving this info just in case you want to test an identical scenario. I am using Colab as my online linux machine.

By any chance, is there any (transparent) proxy involved in your network ? Proxies can ill behave at times.

It is probable, but I do not know for sure.

@rickysarraf
Copy link
Owner

Don't worry about the missing extension. That is internal to apt-offline

So that is expected behavior?

That is internal to apt-offline. You're seeing it only because we're fiddling with it.

To sum up, I think this is an issue of corrupt downloads. To be fully sure, I'd still insist that you run the checksums all through the downloaded files, and then tally against the Release file I explained.

Just to clarify one thing, the checksum did match with a different file listed in the release i.e it matched with the one with .xz extension.

Then that file is proper. You need to do the same exercise for all the files.

By any chance, is there any (transparent) proxy involved in your network ? Proxies can ill behave at times.

It is probable, but I do not know for sure.

@rickysarraf
Copy link
Owner

This is more than 2 years old issue with no activity. I'm closing it but please feel free to re-open if you have any further updates

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

No branches or pull requests

2 participants