Running apt-offline but no updates happening #223
Replies: 5 comments 2 replies
-
Could you please share the full CLI output, along with all the logs ? That'll help ascertain what the problem is. |
Beta Was this translation helpful? Give feedback.
-
Hi Ricky Many thanks for opening this discussion. My apologies for not return yesterday. I was scripting my own solution. It worked but I prefer to run with a "institutionalized" package then my own scripts for obvious reason. I will proceed with "share the full CLI output, along with all the logs." Please give e a couple of hours. Are there specific logs location I need to be aware off? Please advise. Acton Item: From me: "share the full CLI output, along with all the logs." |
Beta Was this translation helpful? Give feedback.
-
Hi Ricky Here we go. Have following instruction on offline upgrade from:
I have tried twice. First on a Intel NUC that was online but I faked it offline. Secondly on an offline DEV host that mirrors my production one. By chance I lost the Pen Drive, it died, and I have no logs from the DEV host just the CLI commands and answers. Please bear with me.
apt-offline set ./sf-moc-changeme_offline-data.sig --update --upgrade
echo $?
mkdir sf-moc-changememv sf-moc-changeme_offline-data.sig sf-moc-changeme/cd sf-moc-changeme/ls
mkdir Offline-GET_sf-moc-changeme
apt-offline get ./sf-moc-changeme_offline-data.sig --bug-reports --threads 5 -d ./Offline-GET_sf-moc-changeme/ > offline.out 2> offline.errorsls
Attention: here is were I had my offline.out and offline.errors files lost when the Pen Drive died. No harm to the actions that follows
mkdir Offline-GETls /media/xxxxxxxxxxx/Samsung\ USB/MOC/sf-moc-changeme/Offline-GET_sf-moc-changeme/ | wc -l
ls Offline-GET/ | wc -l
cp /media/xxxxxxxxxxx/Samsung\ USB/MOC/sf-moc-changeme/Offline-GET_sf-moc-changeme/* Offline-GET/ls Offline-GET/ | wc -l
apt update
apt-offline install Offline-GET/
echo $?
apt update
Note: I am attaching .out and .errors files here that ARE NOT from this test as we lost it on the Pen Drive. They are from the first test I did on the NUC and also did not work. Please advise if you see I am missing something. One last thing. Is there any logs you can point our to me to take a look? Many thanks Marcelo |
Beta Was this translation helpful? Give feedback.
-
Ricky I am sorry it got large fonts. It was not me. It was the "#" prompt I had in front of command lines that provoked that. Marcelo |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi Ricky
Thanks for this great package.
Have following instruction on offline upgrade from:
Checked apt list --upgradable (on remote host) and shows 26 packages to upgrade.
Have the apt-offline.sig file on the remote host created.
Minor change was done on "set" command: (added --update --upgrade to the line)
Move to connected computer run "get" command
apt-offline get /tmp/offline-data.sig --bug-reports --threads 5 -d /tmp/Offline-Get/ > /tmp/offline.out 2> /tmp/offline.errors
Issue:
I get a lot (235) of correct hits "Downloading http:...."I get too many (105) "ERROR: Giving up on URL...."
I think 105 errors among 340 tries is too many.
Question(1): Can please anyone chip in and let me know if this is expected, or if you see what I possibly doing incorrectly?
Brought Offline-Get/ to remote computer.
Ran apt-offline install
We see "Proceeding with installation....What would you like to do next: (y, N, ?) Y.....
Exit status is "zero," but we only see three packages returning "synced" and the proces stops
issue:
Question(2): What am I doing incorrect?
Please advise.
Many thanks
Marcelo
Beta Was this translation helpful? Give feedback.
All reactions