Xilonz / trellis-backup-role

Ansible backup role to use with trellis. Works with s3, FTP, local disk...
63 stars 9 forks source link

trellis-backup-role fails to install dependencies #23

Closed smaboshe closed 5 years ago

smaboshe commented 5 years ago

Hello, @guilro!

Hope you are well.

I am provisioning a server with a newer version of Trellis than I have used before. It's the first time I'll be using this setup with an Ubuntu 18.04 box. Provisioning fails when dependencies for lafranceinsoumise.backup (by @lafranceinsoumise) need to be installed:

TASK [lafranceinsoumise.backup : Install dependencies] **************************************************************************************************************************************************************************
System info:
  Ansible 2.7.5; Linux
  Trellis version (per changelog): "Fix Vagrant trigger path"
---------------------------------------------------
'/usr/bin/apt-get -y -o "Dpkg::Options::=--force-confdef" -o "Dpkg::Options
::=--force-confold"     install 'python-boto' 's3cmd' 'duply'' failed: E:
Error, pkgProblemResolver::Resolve generated breaks, this may be caused by
held packages.

E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by
held packages.

fatal: [turquoise.pcsvps]: FAILED! => {"cache_update_time": 1545969942, "cache_updated": false, "changed": false, "rc": 100, "stderr_lines": ["E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages."], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nSome packages could not be installed. This may mean that you have\nrequested an impossible situation or if you are using the unstable\ndistribution that some required packages have not yet been created\nor been moved out of Incoming.\nThe following information may help to resolve the situation:\n\nThe following packages have unmet dependencies:\n duply : Depends: duplicity (>= 0.4.11) but it is not going to be installed\n libssl1.1 : Breaks: python-boto (< 2.44.0-1.1) but 2.44.0-1ubuntu2 is to be installed\n python-boto : Depends: python-requests but it is not going to be installed\n               Depends: python:any (< 2.8)\n               Depends: python:any (>= 2.7.5-5~)\n               Depends: python-six but it is not going to be installed\n s3cmd : Depends: python3-dateutil but it is not going to be installed\n         Depends: python3-magic but it is not going to be installed\n         Depends: python3-distutils but it is not going to be installed\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "Some packages could not be installed. This may mean that you have", "requested an impossible situation or if you are using the unstable", "distribution that some required packages have not yet been created", "or been moved out of Incoming.", "The following information may help to resolve the situation:", "", "The following packages have unmet dependencies:", " duply : Depends: duplicity (>= 0.4.11) but it is not going to be installed", " libssl1.1 : Breaks: python-boto (< 2.44.0-1.1) but 2.44.0-1ubuntu2 is to be installed", " python-boto : Depends: python-requests but it is not going to be installed", "               Depends: python:any (< 2.8)", "               Depends: python:any (>= 2.7.5-5~)", "               Depends: python-six but it is not going to be installed", " s3cmd : Depends: python3-dateutil but it is not going to be installed", "         Depends: python3-magic but it is not going to be installed", "         Depends: python3-distutils but it is not going to be installed"]}

I'm filing the issue here but let me know if I should post it on ansible-backup instead.

What do I need to do to resolve this dependency problem?

jillro commented 5 years ago

Hello ! This is indeed probably an issue with https://github.com/lafranceinsoumise/ansible-backup. I moved the issue there https://github.com/lafranceinsoumise/ansible-backup/issues/2.