How to install apt-offline package into Debian 10 (Buster)

Hi Robert,

I am still having the issues with apt-offline installation. The problem is mainly with update. I got the errors:
ERROR: Failed to unlink temproary file /var/lib/apt/lists/partial/deb.debian.org_debian-security_dists_buster_updates_contrib_binary-all_Packages.xzapt-offline. Check respective decompressor library support
deb.debian.org_debian-security_dists_buster_updates_contrib_binary-all_Packages.xz synced

And sometimes I had to manually to twice for installing a package. I have tried many different ways. Here is my steps for offline installation:

  1. On a machine with new installation (Debian 10, buster)
    installed apt-offline.deb with dependent files

  2. sudo apt-offline set update.sig --update
    I got error:
    image

  3. Then I gets update first for the machine:
    sudo apt-get update

  4. After update, I did the second step, again
    sudo apt-offline set update.sig --update
    it has no errors.

  5. sudo apt-offline get update.sig --bundle update.zip
    It has errors:
    image

    image

  6. If I ignore these errors, I got installation errors:

If I installed twice with zip files, at end, all updates I needed are installed successfully. But I cannot automate this without errors.

I am not sure, I did right.

Thank you,

David