Package: apt-offline
Version: 1.5
Severity: serious
Control: fixed -1 1.6.1
Tags: patch

apt-offline appears to unconditionally use python-apt in jessie but
doesn't depend on it. The fix is to either depend on python-apt or:

Replace this from jessie:
        
        #Instantiate Apt based on what we have. For now, fall to apt only
        AptInst = AptManip(Str_SetArg, Simulate=Bool_TestWindows, 
AptType="python-apt")

With this from stretch:

        #Instantiate Apt based on what we have. For now, fall to apt only
        if PythonApt is True:
                AptInst = AptManip(Str_SetArg, Simulate=Bool_TestWindows, 
AptType="python-apt")
        else:
                AptInst = AptManip(Str_SetArg, Simulate=Bool_TestWindows, 
AptType="apt")
        

-- System Information:
Debian Release: 8.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apt-offline depends on:
ii  apt                                    1.0.9.8.1
ii  less                                   458-3
ii  libpython2.7-stdlib [python-argparse]  2.7.9-2
ii  python                                 2.7.9-1

Versions of packages apt-offline recommends:
pn  python-magic   <none>
ii  python-soappy  0.12.0-4

apt-offline suggests no packages.

-- no debconf information

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


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

Reply via email to