Hi Jakub

On Wed, 2020-04-29 at 11:34 +0200, Jakub Wilk wrote:
> Package: apt-offline
> 
> Version: 1.8.2-1
> 
> 
> 
> apt-offline doesn't work in a minimal environment:
> 
> 
> 
>    $ apt-offline --help
> 
>    Traceback (most recent call last):
> 
>      File "/usr/bin/apt-offline", line 25, in <module>
> 
>        from apt_offline_core.AptOfflineCoreLib import main
> 
>      File "/usr/lib/python3/dist-
> packages/apt_offline_core/AptOfflineCoreLib.py", line 45, in <module>
> 
>        import apt
> 
>    ModuleNotFoundError: No module named 'apt'
> 
> 
> 
> Looks like dependency on python3-apt is missing.

Yes. This was a redundant import. apt-offline shouldn't have a hard
dependency on the python{3}-apt package.

I fixed it in the repository but didn't think of a release. With the
next release, when that happens, this erroneous statement will go away.
https://github.com/rickysarraf/apt-offline/commit/8e0a7dece38a595886b8debf5214bc34a09575ef

But, in Debian, it would be nice to use the python3-apt package. So I
have it as a Recommends now.

I just uploaded 1.8.2-2 with a backport of the fix, which should fix
this issue.

Thank you for your bug report.


Ritesh

-- 
Ritesh Raj Sarraf | http://people.debian.org/~rrs
Debian - The Universal Operating System

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to