debops / ansible-apt

Configure and manage APT Package Manager
GNU General Public License v3.0
10 stars 15 forks source link

Install packages after `sources.list` is up-to-date. #67

Closed ypid closed 8 years ago

drybjed commented 8 years ago

This is a chicken and egg problem. Default Debian installs don't provide SSL support which would be needed if https:// repositories are used. This is provided by apt-transport-https which with this PR would be installed after APT runs the update. Without installed apt-transport-https APT update fails and we're stuck.

The current installation of packages before repository changes is based on the idea that at least main Debian archive is correctly configured and it should be possible to install apt-transport-https with its dependencies so that support for https:// repositories is possible.

@ypid Your thoughts?

ypid commented 8 years ago

I haven’t fully considered that. At least there shouln’t be any https repos be configured in default DebOps during the first debops.apt run? But I agree that with this background, the https thing/issue takes precedence.

drybjed commented 8 years ago

AFAIK there are no https:// repositories configured before debops.apt role.