Hot answers tagged apt
You could try manually installing individual packages with dpkg (e.g. dpkg -i /path/to/package.deb). The .debs should be in /var/cache/apt/archives/. Start with the lib packages, especially libssl-dev and libpq-dev. After each one, try apt-get -f install again to see if that has unwedged it.
Seems you're trying to install a Debian 8 libc6 (2.19-11) on a Debian 7 system (2.13-38+deb7u8). Check your /etc/apt/sources.list for any strange entries.
The 403s are expected as directory indexing is not allowed in S3. For the 404s you may be doing something wrong. For example, http://us-east-1.ec2.archive.ubuntu.com.s3.amazonaws.com/ubuntu/dists/lucid/Release works for me.
This simplified method requires one task only - name: Autoremove unused packages command: apt-get -y autoremove register: autoremove_output changed_when: "'The following packages will be REMOVED' in check_autoremove.stdout"
A variation that highlights the change in packages (first task will be appropriately colored green or yellow): - name: check if packages need to be autoremoved shell: apt-get --dry-run autoremove | grep "to remove" | sed "s/^[0-9]\+ upgraded, [0-9]\+ newly installed, \([0-9]\+\) to remove and [0-9]\+ not upgraded\.$/\1/" register: check_autoremove ...
It appears you already have a newer version of MariaDB installed than what is available in the repository. You have 10.0.20 and the repo has 10.0.16-1. The notice about MySQL is due to the fact that the mariadb-clientprovides the mysql-client package for compatibility. If you really want to install the one from the repo, you would need to first uninstall ...
Only top voted, non community-wiki answers of a minimum length are eligible