Looks like it is time to make a new apt-offline release.
This bug has been reported and fixed in the upstream repository.
https://github.com/rickysarraf/apt-offline/issues/74
On Wed, 2019-11-06 at 06:45 +, Ike Panhc wrote:
> On bionic `apt-offline install` fails with python traceback.
>
> [Steps to reproduce]
>
> 1) sudo apt isntall -y apt-offline
> 2) sudo apt-offline set vim.sig --install-packages vim
> 3) sudo apt-offline get vim.sig --bundle vim.z
> 4) sudo apt-offline install vim.zip
>
> [Expected result]
>
> vim installed
>
> [Actually result]
>
> $ sudo apt-offline install vim.zip
> No changelog available
> (Y) Yes. Proceed with installation
> (N) No, Abort.
> (C) Display changelog
> (?) Display this help message.
> What would you like to do next: (y, N, ?)y
> Proceeding with installation
> vim_2%3a8.0.1453-1ubuntu1.1_amd64.deb file synced.
> vim-tiny_2%3a8.0.1453-1ubuntu1.1_amd64.deb file synced.
> vim-runtime_2%3a8.0.1453-1ubuntu1.1_all.deb file synced.
> vim-common_2%3a8.0.1453-1ubuntu1.1_all.deb file synced.
> Traceback (most recent call last):
> File "/usr/bin/apt-offline", line 28, in
> main()
> File "/usr/lib/python3/dist-
> packages/apt_offline_core/AptOfflineCoreLib.py", line 2211, in main
> args.func(args)
> File "/usr/lib/python3/dist-
> packages/apt_offline_core/AptOfflineCoreLib.py", line 1917, in
> installer
> AptSecure =
> APTVerifySigs(Simulate=InstallerInstance.Bool_TestWindows)
> File "/usr/lib/python3/dist-
> packages/apt_offline_core/AptOfflineCoreLib.py", line 594, in
> __init__
> output = process.communicate(input=command)[0]
> File "/usr/lib/python3.6/subprocess.py", line 843, in communicate
> stdout, stderr = self._communicate(input, endtime, timeout)
> File "/usr/lib/python3.6/subprocess.py", line 1499, in _communicate
> input_view = memoryview(self._input)
> TypeError: memoryview: a bytes-like object is required, not 'str'
--
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1851465
Title:
apt-offline install fails
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-offline/+bug/1851465/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs