summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/lib/oe/package_manager.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py
index 986ae54942..f801333e54 100644
--- a/meta/lib/oe/package_manager.py
+++ b/meta/lib/oe/package_manager.py
@@ -1631,10 +1631,10 @@ class DpkgPM(PackageManager):
1631 def remove(self, pkgs, with_dependencies=True): 1631 def remove(self, pkgs, with_dependencies=True):
1632 if with_dependencies: 1632 if with_dependencies:
1633 os.environ['APT_CONFIG'] = self.apt_conf_file 1633 os.environ['APT_CONFIG'] = self.apt_conf_file
1634 cmd = "%s remove %s" % (self.apt_get_cmd, ' '.join(pkgs)) 1634 cmd = "%s purge %s" % (self.apt_get_cmd, ' '.join(pkgs))
1635 else: 1635 else:
1636 cmd = "%s --admindir=%s/var/lib/dpkg --instdir=%s" \ 1636 cmd = "%s --admindir=%s/var/lib/dpkg --instdir=%s" \
1637 " -r --force-depends %s" % \ 1637 " -P --force-depends %s" % \
1638 (bb.utils.which(os.getenv('PATH'), "dpkg"), 1638 (bb.utils.which(os.getenv('PATH'), "dpkg"),
1639 self.target_rootfs, self.target_rootfs, ' '.join(pkgs)) 1639 self.target_rootfs, self.target_rootfs, ' '.join(pkgs))
1640 1640