rickysarraf / apt-offline

Offline APT Package Manager
http://rickysarraf.github.io/apt-offline/
GNU General Public License v3.0
219 stars 37 forks source link

Running apt-offline but no updates happening #222

Closed mcarvalho-astranis closed 1 year ago

mcarvalho-astranis commented 1 year ago

Hi Ricky

Thanks for this great package.

Have following instruction on offline upgrade from:

      https://www.debugpoint.com/how-to-update-or-upgrade-ubuntu-offline-without-internet/

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)

     # apt-offline set ./offline-data.sig --update --upgrade

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:

1) On running get command: (at the connected computer) 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

    # apt-offline install Offline-GET/

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:

2) No update has happened on any of the 26 packages listed as upgradable, although they are seen on the "Downloading" output of the "get" command.

Question(2): What am I doing incorrect?

Please advise.

Many thanks

Marcelo

rickysarraf commented 1 year ago

Could you please share the full CLI output, along with all the logs ? That'll help ascertain what the problem is.