Result: apt : uninstall python3-apt with apt
Field Value
changed
True
stderr

stderr_lines
[]
stdout
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  libapt-inst2.0 python-apt-common
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  python3-apt*
0 upgraded, 0 newly installed, 1 to remove and 86 not upgraded.
After this operation, 678 kB disk space will be freed.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 21509 files and directories currently installed.)
Removing python3-apt (1.6.4) ...
stdout_lines
[
    "Reading package lists...",
    "Building dependency tree...",
    "Reading state information...",
    "The following packages were automatically installed and are no longer required:",
    "  libapt-inst2.0 python-apt-common",
    "Use 'apt autoremove' to remove them.",
    "The following packages will be REMOVED:",
    "  python3-apt*",
    "0 upgraded, 0 newly installed, 1 to remove and 86 not upgraded.",
    "After this operation, 678 kB disk space will be freed.",
    "(Reading database ... ",
    "(Reading database ... 5%",
    "(Reading database ... 10%",
    "(Reading database ... 15%",
    "(Reading database ... 20%",
    "(Reading database ... 25%",
    "(Reading database ... 30%",
    "(Reading database ... 35%",
    "(Reading database ... 40%",
    "(Reading database ... 45%",
    "(Reading database ... 50%",
    "(Reading database ... 55%",
    "(Reading database ... 60%",
    "(Reading database ... 65%",
    "(Reading database ... 70%",
    "(Reading database ... 75%",
    "(Reading database ... 80%",
    "(Reading database ... 85%",
    "(Reading database ... 90%",
    "(Reading database ... 95%",
    "(Reading database ... 100%",
    "(Reading database ... 21509 files and directories currently installed.)",
    "Removing python3-apt (1.6.4) ..."
]
warnings
[
    "Could not find aptitude. Using apt-get instead"
]