diff options
Diffstat (limited to 'debian/patches/fix-installation.patch')
-rw-r--r-- | debian/patches/fix-installation.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/patches/fix-installation.patch b/debian/patches/fix-installation.patch new file mode 100644 index 0000000..c961842 --- /dev/null +++ b/debian/patches/fix-installation.patch @@ -0,0 +1,18 @@ +Description: Don't consider the "data" when installing a package - this is usually "Ubuntu" and isn't useful to pass to apt. +Author: Justin McPherson <justin.mcpherson@canonical.com> +Forwarded: https://code.launchpad.net/~justinmcp/aptdaemon/1352654/+merge/243354 +Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/aptdaemon/+bug/1352654 + +Index: b/aptdaemon/pkcompat.py +=================================================================== +--- a/aptdaemon/pkcompat.py ++++ b/aptdaemon/pkcompat.py +@@ -1904,8 +1904,6 @@ + id += ":%s" % arch + if version: + id += "=%s" % version +- if data and data not in ["local", "installed"]: +- id += "/%s" % data + return id + + def _get_merged_trans(self, role, pkg_ids=None, pkg_type=None, |