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 +0000, 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 <module> > 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."
Looks like it is time to make a new apt-offline release.
This bug has been reported and fixed in the upstream repository. /github. com/rickysarraf /apt-offline/ issues/ 74
https:/
On Wed, 2019-11-06 at 06:45 +0000, Ike Panhc wrote: 0.1453- 1ubuntu1. 1_amd64. deb file synced. 2%3a8.0. 1453-1ubuntu1. 1_amd64. deb file synced. 2%3a8.0. 1453-1ubuntu1. 1_all.deb file synced. 2%3a8.0. 1453-1ubuntu1. 1_all.deb file synced. apt-offline" , line 28, in <module> python3/ dist- apt_offline_ core/AptOffline CoreLib. py", line 2211, in main python3/ dist- apt_offline_ core/AptOffline CoreLib. py", line 1917, in Simulate= InstallerInstan ce.Bool_ TestWindows) python3/ dist- apt_offline_ core/AptOffline CoreLib. py", line 594, in communicate( input=command) [0] python3. 6/subprocess. py", line 843, in communicate te(input, endtime, timeout) python3. 6/subprocess. py", line 1499, in _communicate self._input) www.researchut. com
> 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.
> vim-tiny_
> vim-runtime_
> vim-common_
> Traceback (most recent call last):
> File "/usr/bin/
> main()
> File "/usr/lib/
> packages/
> args.func(args)
> File "/usr/lib/
> packages/
> installer
> AptSecure =
> APTVerifySigs(
> File "/usr/lib/
> packages/
> __init__
> output = process.
> File "/usr/lib/
> stdout, stderr = self._communica
> File "/usr/lib/
> input_view = memoryview(
> TypeError: memoryview: a bytes-like object is required, not 'str'
--
Ritesh Raj Sarraf
RESEARCHUT - http://
"Necessity is the mother of invention."