Debian insists of installing old versions during a dist-upgrade and fails
I am trying to perform a dist-upgrade from Wheezy to Jessie. This fails due to dependency problems.
Apt insists of installing old packages, and then runs into dependency problems. But when I manually install such a package with dpkg, this package installs fine. I have the idea that if I am able to tell Apt to install the latest packages my dependency problems will disappear. There is a whole list of dependecy errors for each package which I want to install, but take for example libcairo2: Code:
You might want to run 'apt-get -f install' to correct these. Code:
jlinkels-lt:/home/jlinkels# apt-get install libcairo2 Code:
jlinkels-lt:/home/jlinkels# apt-get install libcairo2-dev Finally, installing libcairo2 through dpkg is successful: Code:
jlinkels-lt:/home/jlinkels# dpkg -i /var/cache/apt/archives/libcairo2 However, when I traverse the complete dependency chain, installing each dependency with dpkg I succeed. But that is the task of apt-get to solve this isn't it? Why doesn't apt get this? Is there a magic apt command to tell: "install the newest package available for this version. This is the contents of all files in apt.conf.d: Code:
jlinkels-lt:/etc/apt# cat apt.conf.d/* |
Well, not all packages eventually install. Some won't install because of a conflict. And a forced install of those leave a lot of other unsatisfied dependencies.
I think I am apt to do a reinstall to clean out the mess. Pun intended. jlinkels |
What is in your sources.list?
And why do you have buntu-specific stuff in your apt.conf? |
Also do you have any files in /etc/apt/sources.list.d, and if so, what is in them?
|
Quote:
Code:
deb http://http.us.debian.org/debian/ stable main contrib non-free jlinkels |
Quote:
Code:
-rw-r--r-- 1 root root 176 May 14 2013 google-chrome.list |
@OP: Try replacing "stable" with "jessie"; it shouldn't make a difference but it doesn't hurt to try (and will save you some troubles in ~2 years time).
Also, please post the output of: Code:
apt-cache policy Code:
# apt-get install -t jessie <package> If so, post the content here plz. |
Quote:
Quote:
Code:
jlinkels@jlinkels-lt:/etc/apt$ apt-cache policy Quote:
What I don't understand is that for a lot of packages 2 versions are available: Code:
jlinkels@jlinkels-lt:/etc/apt$ apt-cache showpkg libglib2.0-dev Quote:
jlinkels |
Just to be absolutely sure, did you use this before `apt-get dist-upgrade`:
Code:
# apt-get update Funnily enough, I too have apparently *buntu-related lines in /etc/apt/apt.conf.d/01autoremove in my sid system and I've never touched that directory... |
Quote:
|
Have you done apt-get clean to remove the old-stable sources?
Can you post your sources.list? |
Quote:
jlinkels |
Quote:
But can I clean or forcefully renew the list apt-get update produces? sources.list contains only this non-commented line: Code:
deb http://http.us.debian.org/debian/ stable main contrib non-free jlinkels |
Not sure what's going on here, but I can answer this
Quote:
Re. your problem, if I had to guess I would say it was Chrome or another third party package keeping some of the old packages in place. The debian upgrade manual https://www.debian.org/releases/stab...rading.en.html will tell you to remove all these packages or fiddle with their sources.list entries (might be worth changing the chrome sources.list entry to point to testing temporarily and see if that makes a difference) |
Just simply comment them out would work.
|
All times are GMT -5. The time now is 07:29 PM. |