[Bug 1512219] Re: apt appears to be confused when installing a backport that version depends on other backports
"apt-get -t trusty-backports install lxd" would have been significantly easier and less error prone. But yes, the apt bug itself hasn't been fixed as can be seen by this bug still being open. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1512219 Title: apt appears to be confused when installing a backport that version depends on other backports To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1512219/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1512219] Re: apt appears to be confused when installing a backport that version depends on other backports
I don't think apt resolving is fixed yet in trusty apt=1.0.1ubuntu2.13 (27.4.2016) To get lxd installed, this is what I used: apt-get install lxd/trusty-backports lxc/trusty-backports liblxc1/trusty-backports python3-lxc/trusty-backports -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1512219 Title: apt appears to be confused when installing a backport that version depends on other backports To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1512219/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1512219] Re: apt appears to be confused when installing a backport that version depends on other backports
Thanks for your bugreport. I looked into this issue and it seems like its indeed a bug in apt that it will not properly do a version check when switching the candidate version to trusty-backports. Attached is a patch that adds some debug code and also a potential fix for the problem, it breaks one of the existing tests, I need to inspect if the test is incorrect though. So its probably not the final diff but it highlights the prolem area. For it to fully work you need to adjust the python3-lxc dependency in lxc too, please add something like: Depends: python3, python3-lxc (>= 1.1.4-0ubuntu1.1~ubuntu14.04.1) (i.e. ensure that apt knows it needs to pick a reasonable high version). This is useful regardless of the diff. ** Patch added: "apt diff" https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1512219/+attachment/4511877/+files/apt-lp1512219.diff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1512219 Title: apt appears to be confused when installing a backport that version depends on other backports To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1512219/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1512219] Re: apt appears to be confused when installing a backport that version depends on other backports
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1512219 Title: apt appears to be confused when installing a backport that version depends on other backports To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1512219/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1512219] Re: apt appears to be confused when installing a backport that version depends on other backports
** Changed in: apt (Ubuntu) Status: New => Triaged ** Changed in: apt (Ubuntu) Importance: Undecided => Medium ** Changed in: apt (Ubuntu) Importance: Medium => High ** Attachment added: "testcase for apt" https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1512219/+attachment/4511937/+files/test-release-candidate-switching -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1512219 Title: apt appears to be confused when installing a backport that version depends on other backports To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1512219/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1512219] Re: apt appears to be confused when installing a backport that version depends on other backports
Hi Michael, I have uploaded an updated lxc to the trusty-backports queue. Will ping someone on the backports team to get it in, thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1512219 Title: apt appears to be confused when installing a backport that version depends on other backports To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1512219/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs