Debian software sources may give wrong package versions, with wrong dependencies.
Wrong for Ubuntu, that is. (Similarly, Ubuntu software sources may cause problems on Debian.)
From the information you provided, the most likely cause of the problem is probably that you have Debian software sources enabled:
deb http://ftp.se.debian.org/debian stable main
deb-src http://ftp.se.debian.org/debian stable main
If you disable them, that may solve the problem. To do that, first back up sources.list
:
sudo cp /etc/apt/sources.list /etc/apt/sources.list.old
Then edit it:
- Graphically, with
gksu gedit /etc/apt/sources/list
, or
- in the terminal, with:
sudo nano -w /etc/apt/sources.list
Find those two lines and add #
to the beginning so they read:
#deb http://ftp.se.debian.org/debian stable main
#deb-src http://ftp.se.debian.org/debian stable main
Then save the file, quit the text editor, and run:
sudo apt-get update
See if the problem is fixed.
If you deliberately added those software sources and installed software from those repositories, then please edit your question to provide details, so I can give information about how to use the software (if possible) without causing problems. It is possible to enable a repository but configure it so it's only used for a couple packages.
You have many non-working PPAs.
This is less likely to be causing the current problem, but I recommend fixing this. It's worth fixing itself, and at least it will no longer obscure whatever is causing the problem.
If you do these things, and the problem isn't fixed, please provide more information.
You posted only incomplete output from apt-get -s upgrade
and apt-get -s dist-upgrade
, since the output was too large to fit in the Terminal window.
So, run these commands instead:
cd ~
apt-get -s upgrade &> simulated-upgrade.log
apt-get -s dist-upgrade &> simulated-dist-upgrade.log
Then open simulated-upgrade.log
in a text editor (it's in your home folder), copy its contents to the clipboard, paste it at http://paste.ubuntu.com, and provide the link. Do the same thing for simulated-dist-upgrade.log
. (The best way to provide both links is to edit your question.)