can not apt-get upgrade
When running the usual apt-get update;apt-get upgrade I currently get
Code:
upgrading (so I say no, which results in nothing getting done). I am running debian sid, and I had the KDE issues with KMAIL crashing, so I have been running Code:
dpkg -i force-downgrade kdelibs_3.3.2-6.1_all.deb kdelibs-bin_3.3.2-6.1_i386.deb kdelibs4_3.3.2-6.1_i386.deb kdelibs4-dev_3.3.2-6.1_i386.deb what should I do to resolve this ? [please list actual commands, I spent days trying to do the force downgrade listed above with the right syntax] |
apt-get install --fix-broken
Or run synaptic and choose fix broken. Or install libarts1-dev and do it manually. |
still wants to remove a large number of apps
apt-get install --fix-broken
still wants to remove lots Code:
asarock:~# apt-get install --fix-broken Code:
Reading package lists... Done any other ideas ? does anyone understand why this is happening ? |
does anyone understand why this is happening ?
Yes, you downgraded and jacked up your dependencies. It wants you to use the latest version. You will have to download and install the dependencies by hand aka without apt. |
Quote:
2. Re-install the packages that you downgraded. 3. apt-get -f install |
It sounds like KDE was installed with aptitude. Apt doesn't follow what aptitude installs, and wants to remove all of the packages it didn't install. I use apt, and do not run aptitude because the same exact result happen.
:study: |
|
why does apt want to remove so many packages and not upgrade them ?
why does apt want to remove so many packages and not upgrade them ?
sorry to be a pain on this, but I had to do the downgrade to get kmail to work and it really worries me that if I use apt-get -f then I will lose to much of the system. From the list of packages the system wants to remove from --fix-broken am I actually running a risk or is losing all those packages safe ? I have never used aptitude. Quote:
thanks for all your help so far I would really like to resolve this. |
Are you running Sid? Also, read the apt howto: http://www.debian.org/doc/user-manuals#apt-howto
It will tell you how to reinstall applications, such as #apt-get --reinstall install package Good Luck! :study: |
background
I think I need some more background on what is happening here.
(I ran apt-get update before each use of apt-get) 1. had a happy SID based system (almost daily apt-get upgrade) 2. did a apt-get dist-upgrade (this was becuase of all the fuss about sarge being released and I had noticed the number of held back packages was growing). 3. found kde version now conflicted with some existing apps. 4. after each apt-get update manually forced a downgrade to an earlier version of KDE libraries that allowed KMail etc to work. so why does the system when I run apt-get upgrade all of a sudden not just re-upgrade the KDE libs and continue as normal ? I thought the constant downgrading would be resolved in a few weeks but from what I can see other users are seeing the same issues (I also notice that they all have done a recent apt-get dist-upgrade). Unforttunately they either reinstall from scratch or do a downgrade without noting which packages they downgraded. I tried --reinstall but am not sure what I am doing. If I try and --reinstall kdelibs4-dev (which as far as I can see is the main package I have been degrading each time) I get dependacies a plenty Code:
asarock:~# apt-get --reinstall install kdelibs4-dev Code:
asarock:~# apt-get --reinstall install libarts1-dev The result for each package says "is to be installed" yet apt-get actually did nothing. |
Quote:
1. In your apt sources.list ONLY include the basic SID repos. Remove ALL other entries or comment them out. Something like: deb ftp://mirror.mcs.anl.gov/pub/debian/ unstable main contrib deb-src ftp://mirror.mcs.anl.gov/pub/debian/ unstable main contrib 2. Issue the commands below: # apt-get update # apt-get dist-upgrade # apt-get -f install |
|
Quote:
|
result
Quote:
Code:
asarock:~# apt-get update erm, more confusion. sources.list was Code:
deb http://ftp.fi.debian.org/debian/ unstable main Does this mean the sources.list was my problem all along? |
drat dart dart
Quote:
but at least I understand why the problems are occuring. Does this mean that if I wait long enough an apt-get update;apt-get upgrade will restore my system ? |
kmail still works but KDE menu is still empty, maybe this is a good time to explore GNOME
|
I've got the same problem with my Sid. If you dist-upgrade now, it will remove all your kde packages, so you can re-install the new version of kde by an apt-get install kde-core. The problem is that most of kde packages are not re-compiled, so they still depend on kdelibs4, which is obsolete and replaced by kdelibs4c2. So, at the moment, my kde is recent (3.4.2), functionnal, but minimalist : I can't install a lot of useful applications such as k3b, kuickshow, .... which are still not re-compiled by their mainteners.
Apparently, the only thing to do is to wait until the end of transition (which can take a couple of weeks according to the mail) :\ |
Ha, another thing : the empty-kde-menu-bug disappears with the 3.4.2 upgrade.
|
All times are GMT -5. The time now is 09:00 PM. |