2.1b4: installation on trusty requires lxd from backports
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
Undecided
|
Curtis Hovey | ||
Landscape Server |
Fix Released
|
Low
|
David Britton |
Bug Description
If you just follow these steps to try to use juju 2.1beta4 on trusty, it will fail:
add-apt-repository ppa:juju/devel
apt update
apt install juju
juju : Depends: juju-2.0 (>= 1:2.1~beta4-
E: Unable to correct problems, you have held broken packages.
The reason is lxd:
root@trusty:~# apt install juju-2.0
(...)
The following packages have unmet dependencies:
juju-2.0 : Depends: lxd but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@trusty:~# apt install lxd
(...)
The following packages have unmet dependencies:
lxd : Depends: liblxc1 (>= 2.0.0~) but 1.0.8-0ubuntu0.4 is to be installed
E: Unable to correct problems, you have held broken packages.
root@trusty:~# apt-cache policy liblxc1
liblxc1:
Installed: (none)
Candidate: 1.0.8-0ubuntu0.4 <------------
Version table:
2.
100 http://
1.
500 http://
500 http://
1.0.3-0ubuntu3 0
500 http://
You have to manually tell apt to install lxd from backports: "apt install -t trusty-backports lxd"
Then you can "apt install juju" on trusty.
Note: I used a trusty container (lxd) for this test, maybe the trusty image used for that doesn't have backports enabled by default.
tags: | added: design |
tags: | removed: design |
Changed in landscape: | |
milestone: | none → 17.02 |
status: | In Progress → Fix Committed |
tags: | added: packaging |
Changed in juju: | |
assignee: | nobody → Curtis Hovey (sinzui) |
status: | Invalid → Fix Committed |
status: | Fix Committed → Fix Released |
Changed in landscape: | |
status: | Fix Committed → Fix Released |
This is mostly documentation issue. I have added one to ensure that manual gets updated: https:/ /github. com/juju/ docs/issues/ 1595.
Thank you for reporting it and for finding the solution!