-
Notifications
You must be signed in to change notification settings - Fork 463
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make installation of software-properties optional #402
Conversation
Hmm, I can see this working and is a nicer solution to the ugly hacks we've had proposed before. Can we confirm that on 14.04 we get People should still be able to override it so when they provide it in their 'base' image on a 12.10 machine we don't get upset about it but it would make the whole thing more sane by default and confuse new users even less. |
@sorenh can you help point me to something that confirms that is |
2819dbb
to
cec7f4a
Compare
I'm not quite sure what kind of evidence you need.
Those tasks are used when installing various types of systems. *-desktop, cloud-image and server cover pretty much every real use case. Nevertheless, removing software-properties-common is perfectly possible, so there's no guarantee it's available. It'd be quite unusual, though. |
To simplify configuration of package installs on Ubuntu, I frequently do the following: Apt::Source<||> -> Package<||> To ensure that apt source configuration occurrs before package installation. Having the ppas install software properties breaks this pattern because it means that the apt-get update must be run both before and after software properties resulting in a dependency cycle. For my purposes, the value of being able to stage apt operations before packages is significannt enough that I just ensure that software properties in installed as a part of my base image. According to the following issue, this looks like it has been resolved as of 14.04 (that this library is installed by default) https://bugs.launchpad.net/ubuntu/+source/ubuntu-meta/+bug/439566
cec7f4a
to
7bed868
Compare
thanks @sorenh, that is exactly the level of detail I was looking for. |
For what it's worth, on LinuxMint 17.1 (which is derived from Ubuntu 14.04 Trusty):
And their hacked version of add-apt-repository sucks by the way. I lobbied against removing the software-properties-common package but lost. |
@bodepd thanks for the contribution! Can you update the README with information on the new parameter? |
To simplify configuration of package installs on
Ubuntu, I frequently do the following:
To ensure that apt source configuration occurrs before
package installation. Having the ppas install software
properties breaks this pattern because it means that
the apt-get update must be run both before and after
software properties resulting in a dependency cycle.
For my purposes, the value of being able to stage
apt operations before packages is significannt enough
that I just ensure that software properties in installed
as a part of my base image.
According to the following issue, this looks like it has
been resolved as of 14.04 (that this library is installed
by default)
https://bugs.launchpad.net/ubuntu/+source/ubuntu-meta/+bug/439566