python-software-properties not found on bionic
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
John A Meinel | ||
2.3 |
Fix Released
|
High
|
John A Meinel |
Bug Description
It seems python-
I was bootstrapping fine on Bionic last week, but today while trying to test juju-2.3.6 (proposed) I hit:
2018-04-16 06:01:05 ERROR juju.utils.
Building dependency tree...
Reading state information...
Package python-
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
software-
E: Package 'python-
I don't know what to make of this:
https:/
AFAICT, we install it when we are going to use a ppa or some other custom archive source. I don't know what that would be for targeting bionic:
if len(cfg.
// Ensure add-apt-repository is available.
cmds = append(cmds, LogProgressCmd(
cmds = append(cmds, cfg.paccmder.
}
for _, src := range cfg.PackageSour
// PPA keys are obtained by add-apt-repository, from launchpad.
if !strings.
if src.Key != "" {
key := utils.ShQuote(
cmd := fmt.Sprintf("printf '%%s\\n' %s | apt-key add -", key)
cmds = append(cmds, cmd)
}
}
cmds = append(cmds, LogProgressCmd(
cmds = append(cmds, cfg.paccmder.
}
It at least thinks it is necessary to get "add-apt-
I can see that on Bionic we have "add-apt-
root@bio:~# dpkg -S /usr/bin/
software-
I'm guessing they dropped an old package in Bionic and that broke us.
Changed in juju: | |
status: | Fix Committed → Fix Released |
software- properties- common also exists on Xenial, and seems to have a dependency from "ubuntu-server", so it seems that it may always be installed by default.
It also exists in trusty, and has a dependency of cloud-init.
So I'm guessing this was actually just a necessary dependency for code older than Trusty, so it isn't actually supported anymore.
The question is whether we should continue to force install something (software- properties- common) , or should we just assume add-apt-repository is always available (as it seems to be in our default installs everywhere since Trusty).
I'll start with the former.