apt-offline install fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt-offline (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
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/
args.func(args)
File "/usr/lib/
AptSecure = APTVerifySigs(
File "/usr/lib/
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'
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."