New answers tagged apt
It looks like your apt configuration isn't consistent between binary packages and source packages. Have a look in /etc/apt/sources.list (and /etc/apt/sources.list.d/*) and make sure there is a 'deb-src' line for each 'deb' line, and that the suite (ie the release codename: wheezy, stable, precise, percise-update, etc) is the same for both 'deb' and ...
I had the same problem. apt-get -f install doesn't worked. With aptitude it worked. aptitude -f install removed postgres but not the databases. Afterwards apt-get install postgres reinstalled postgres. Happy again :-)
The nginx-full package isn't from "http://nginx.org/packages/ubuntu/" repository, it is from Ubuntu main repository. Remove nginx-full (from main repo) before installing nginx (from nginx repo). Keep in mind you will have problems with the include directive in the nginx.conf file, you need to change the line include /etc/nginx/conf.d/*.conf to include ...
To add to ablackhat's answer, you can copy and paste everything after the last remove command in /var/log/apt/history.log into a new programmers editor. Regex replace :.*?, with (empty string), and copy all the resulting space-separated packages. Then run $ sudo apt-get install <paste>
Ran these: $ wget https://launchpad.net/ubuntu/+archive/primary/+files/linux-server_184.108.40.206.70_amd64.deb $ sudo dpkg -i linux-server_220.127.116.11.70_amd64.deb
There is no package ansible in wheezy repository https://packages.debian.org/search?suite=wheezy&keywords=ansible If you want to install ansible, change your repo to jessie
Top 50 recent answers are included