aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/fix-installation.patch
diff options
context:
space:
mode:
authorLibravatar Mubashshir <ahm@jadupc.com>2023-08-03 16:33:41 +0600
committerLibravatar Mubashshir <ahm@jadupc.com>2023-08-03 16:33:41 +0600
commit70faa8e9a0ff3cba74b4f753e257d56b768fcbd2 (patch)
tree3a49460715f7319d100e0cc9c1a278758500c7c8 /debian/patches/fix-installation.patch
downloadaptdaemon-70faa8e9a0ff3cba74b4f753e257d56b768fcbd2.tar.gz
aptdaemon-70faa8e9a0ff3cba74b4f753e257d56b768fcbd2.zip
Import Upstream version 1.1.1+bzr982
Diffstat (limited to 'debian/patches/fix-installation.patch')
-rw-r--r--debian/patches/fix-installation.patch18
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,