| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 107486 | 2010-02-17 22:40:00 | Installing KDE on Debian Lenny | nofam (9009) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 859542 | 2010-02-18 01:50:00 | Ok - the new sources worked, and updated fine, but when I ran apt-get install kde it came back with the following error: Some packages could not be installed. This may mean that you have requested an impossible situation, or if you are using the unstable distribution that some required packages have not yet been created or moved out of Incoming. The following packages have unmet dependencies: kde: Depends: kde-core (>= 5:47) but it is not going to be installed Depends: kdeaddons (>= 4.3.3.5) but it is not going to be installed E: Broken packages |
nofam (9009) | ||
| 859543 | 2010-02-18 01:57:00 | ... and don't mix stable & testing.He's not - Lenny is stable. Squeeze is the current testing. Ok - the new sources worked, and updated fine, but when I ran apt-get install kde it came back with the following error: Run 'apt-get dist-upgrade' first, let it install all the updates, and then reboot. Once that's done, try 'apt-get install kde' again. You probably have an outdated package that's causing a bit of grief. Another possibility is you've manually installed a specific version of something previously. |
Erayd (23) | ||
| 859544 | 2010-02-18 04:12:00 | He's not - Lenny is stable. Squeeze is the current testing. Yes I know, but Since posting this, I added //ftp.au.debian.org/debian/ testing main, and was then able to successfully apt-get install kdm, but I still can't get kde-core? He now has the 'kdm' package from testing (and whatever dependencies that pulled in), and The following packages have unmet dependencies: kde: Depends: kde-core (>= 5:47) but it is not going to be installed Depends: kdeaddons (>= 4.3.3.5) but it is not going to be installed E: Broken packages is apt bitching about kde depending on the version from squeeze. I suspect that libc6 got updated in the previous process and trying to go back to the Lenny version breaks apt & dpkg as they will now depend on the new libraries. I recall un-breaking that mess and it being a long and tortuous adventure, that I learned a lot from, it must be said, the most important of which was "don't mix stable & testing" :) Since it is a fresh install, and if 'stable' is what you are after, the fastest fix is a reinstall. Otherwise, change your sources.list to back to 'testing' and finish the upgrade. EDIT: Doh! Those version numbers are from Lenny. aptitude will start aptitude in interactive mode, and you can mark kde for installation and it will show you the dependency issues and give you some options how to fix it. I still think it will be fubar though. |
fred_fish (15241) | ||
| 859545 | 2010-02-18 04:43:00 | Here (packages.debian.org) is the list of dependencies that will have been pulled in with kdm. You are not running 'stable' anymore. |
fred_fish (15241) | ||
| 859546 | 2010-02-18 06:43:00 | Yes I know, but...Crikey - well spotted! Nofam - fred_fish is right about the dependancies being pulled in from testing. You can do a forced downgrade (messy, but it usually works), or you can reinstall - I'd strongly recommend reinstalling. And this time, *don't* add the testing repositories - just add the ones from my earlier post, and nothing else :p. |
Erayd (23) | ||
| 859547 | 2010-02-18 06:57:00 | Hopefully I'm not in the same boat having downloaded the net install (Lenny) about 130 M/b and then done a couple of apt-gets. Still getting KDE :-) and another 4 hours to go.. |
Sweep (90) | ||
| 859548 | 2010-02-18 07:13:00 | Hopefully I'm not in the same boat having downloaded the net install (Lenny) about 130 M/b and then done a couple of apt-gets.Unlikely, unless you've gone and manually added repositories for something other than lenny / stable. Still getting KDE :-) and another 4 hours to go..Ouch indeed... that's horribly slow! |
Erayd (23) | ||
| 859549 | 2010-02-18 07:50:00 | Thanks Erayd/Fred - I figured I'd borked something by downloading from the wrong repo so I blew the install away and now have KDE :-) Next question - how do I get rid of everything GNOME-related? Is it just a matter of using dpkg |grep gnome and then purging any packages I find? Or is there a nice, scripted removal of GNOME/GDM? |
nofam (9009) | ||
| 859550 | 2010-02-18 10:35:00 | Next question - how do I get rid of everything GNOME-related? Is it just a matter of using dpkg |grep gnome and then purging any packages I find? Or is there a nice, scripted removal of GNOME/GDM? The best way was actually to not install it in the first place... That said, now that you've got it, it's probably easier to just leave it there. If you do want to remove it, you'll need to get a (recursive) list of the entire dependency tree for the gnome meta-packages, and then remove every package on that list that isn't also needed by something else on the system. IOW, it's a total pain in the ass; it's much more involved than simply grepping something. If you installed gnome after you did the main system install, then 'apt-get autoremove' will remove any un-needed dependencies. Sadly, this doesn't work for stuff that was installed during the initial system setup (or at least it didn't last time I looked - that may have changed now though, so it's worth a shot). Edit: Do not rely on anyone else's 'remove gnome' scripts - they will usually break things, sometimes in quite nasty ways. If you find one you want to use, post it here first and I'll take a nosey at it to make sure it won't damage your system. |
Erayd (23) | ||
| 859551 | 2010-02-18 10:53:00 | distrowatch.com | KarameaDave (15222) | ||
| 1 2 3 4 | |||||