apt-offline errors on ubuntu server 20.04, upgrade.sig is zero bytes #185
Answered
by
rickysarraf
buxbaumbixbybrae
asked this question in
Q&A
Replies: 1 comment 7 replies
-
Please share full console logs. This isn't much useful
s3nt fr0m a $martph0ne, excuse typ0s
…On Tue, 22 Mar, 2022, 05:24 buxbaumbixbybrae, ***@***.***> wrote:
Hi,
We wish to fully update / upgrade (and subsequently install new packages
on) an offline install of ubuntu server 20.04 which is a fresh install from
iso 20.04.4. We are stuck at generating the upgrade.sig file which is zero
bytes long.
The online machine is linux mint 20 tricia (ubuntu 18.04 iirc).
We have followed the workflow summarised below and errors were encountered.
In particular when apt-offline set upgrade.sig --upgrade is run there are
no errors but the upgrade.sig file is 0 bytes which is not expected.
Obviously the online machine can't download anything against that.
I'm expecting non-zero output for upgrade.sig and hundreds of MB
downloaded when I run get upgrade.sig on the online machine
Any issues with the workflow listed below?
What is working, and what is failed?
The attached file contains more complete output.
Which errors are of concern and which are not important?
The version of apt-offline on the offline machine is 1.8.1 compared to
1.8.2.1 on the offline machine, could this be an issue?
I'm not sure what I've done wrong. Any tips to get this working are
appreciated.
online$ download apt-offline_1.8.2-1_all.deb
online$ download python3-magic_0.4.15-3_all.deb
online$ sudo apt-get install apt-offline
offline$ sudo dpkg -i ./python3-magic_0.4.15-3_all.deb
offline$ sudo dpkg -i ./apt-offline_1.8.2-1_all.deb
offline$ sudo apt-offline set update.sig --update
online$ sudo apt-offline get update.sig --threads 1 --bundle update-bundle.zip
## about 23MB downloaded, lots of warnings here, see attached.
offline$ sudo apt-offline install update-bundle.zip
## keyring error but then good signature messages and things are synced.
## I believe we should not get web access errors below with everything cached by apt-offline?
All packages are up to date.
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal/InRelease Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal-updates/InRelease Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal-backports/InRelease Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal-security/InRelease Temporary failure resolving 'archive.ubuntu.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
offline$ sudo apt-offline set upgrade.sig --upgrade --upgrade-type dist-upgrade
## the upgrade.sig output file created is 0 bytes long
apt-offline-diags.txt
<https://github.com/rickysarraf/apt-offline/files/8319827/apt-offline-diags.txt>
—
Reply to this email directly, view it on GitHub
<#185>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAP7SEL55LVJDJNZNLVDETVBED3XANCNFSM5RJIA44Q>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
7 replies
Answer selected by
rickysarraf
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
We wish to fully update / upgrade (and subsequently install new packages on) an offline install of ubuntu server 20.04 which is a fresh install from iso 20.04.4. We are stuck at generating the upgrade.sig file which is zero bytes long.
The online machine is linux mint 20 tricia (ubuntu 18.04 iirc).
We have followed the workflow summarised below and errors were encountered.
In particular when
apt-offline set upgrade.sig --upgrade
is run there are no errors but the upgrade.sig file is 0 bytes which is not expected. Obviously the online machine can't download anything against that.I'm expecting non-zero output for upgrade.sig and hundreds of MB downloaded when I run get upgrade.sig on the online machine
Any issues with the workflow listed below?
What is working, and what is failed?
The attached file contains more complete output.
Which errors are of concern and which are not important?
The version of apt-offline on the offline machine is 1.8.1 compared to 1.8.2.1 on the offline machine, could this be an issue?
I'm not sure what I've done wrong. Any tips to get this working are appreciated.
apt-offline-diags.txt
edit: omitted
sudo apt update
in the above, attached file is correct.Beta Was this translation helpful? Give feedback.
All reactions