| 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 | ||
| 859532 | 2010-02-17 22:40:00 | I'm sure this is a total noob question, but I can't figure out how to point aptitude at a mirror for KDE. I've uncommented the locations in /etc/apt/sources.list, and I know the proxy settings in apt.conf are working as I can do an apt-get update fine? When I try to apt-get install kde I just get a Couldn't find package error. Sure it's something simple I'm missing?? :blush: |
nofam (9009) | ||
| 859533 | 2010-02-17 22:47:00 | The command line I used was #apt-get install kdm kde-core Then it will bring down the rest of the package. |
Sweep (90) | ||
| 859534 | 2010-02-17 22:54:00 | The command line I used was #apt-get install kdm kde-core Then it will bring down the rest of the package. Yeah tried that too, with same result - does apt-get use FTP? Because I've only added an entry in apt.conf for http proxy authentication? |
nofam (9009) | ||
| 859535 | 2010-02-17 23:02:00 | Haven't had it long enough to know but I never configured a proxy. I download it from the NZ site and I see that the address was http://ftp.debian something | Sweep (90) | ||
| 859536 | 2010-02-17 23:46:00 | ...I've uncommented the locations in /etc/apt/sources.list...Which locations, and why? KDE is in the main repositories, you don't need to uncomment anything to get it. ...When I try to apt-get install kde I just get a Couldn't find package error.That's extremely strange. What does the command 'apt-cache search ^kde$' give you? The command line I used was #apt-get install kdm kde-core Then it will bring down the rest of the package.That won't get all of kde unfortunately - kde-core will just pull down a 'barebones' kde, and kdm is the graphical login manager. If you want *all* of kde, run 'apt-get install kde' - everything else will then come rocketing down the wire :). This (packages.debian.org) should give you some idea of what you're missing. Yeah tried that too, with same result - does apt-get use FTP? Because I've only added an entry in apt.conf for http proxy authentication?It can, but doesn't by default. Haven't had it long enough to know but I never configured a proxy. I download it from the NZ site and I see that the address was ftp.debian somethingThe primary NZ mirror for debian is http: - it's managed & hosted by citylink. If for any reason you need to use another mirror, I'd recommend mirror.pacific.net.au One more point of note - Lenny uses KDE-3.5.x by default; 4.x will be included with the next release. You can add 4.x to Lenny, if you wish, by adding the 'testing' repositories to your apt config. Note that adding these has implications for the rest of your system and requires changing some other settings too; I don't recommend it unless you know what you're doing. |
Erayd (23) | ||
| 859537 | 2010-02-18 00:22:00 | "That won't get all of kde unfortunately - kde-core will just pull down a 'barebones' kde, and kdm is the graphical login manager. If you want *all* of kde, run 'apt-get install kde' - everything else will then come rocketing down the wire ." Just doing that and beleive me when I say it won't come rocketing down the wire. I've blown my data cap!!! |
Sweep (90) | ||
| 859538 | 2010-02-18 01:07:00 | Just doing that and beleive me when I say it won't come rocketing down the wire. I've blown my data cap!!!Ouch... that's never fun :(. |
Erayd (23) | ||
| 859539 | 2010-02-18 01:09:00 | Which locations, and why? KDE is in the main repositories, you don't need to uncomment anything to get it . The only uncommented source was the debian . iso I installed from originally . The two commented out were security . debian . org & volatile . debian . org . That's extremely strange . What does the command 'apt-cache search ^kde$' give you? Nothing :crying 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? And what's the syntax for adding sources, just so I'm sure - each source has two lines, and appears to need a further path name after the last directory (i . e . the / testing main as above?) |
nofam (9009) | ||
| 859540 | 2010-02-18 01:26:00 | The only uncommented source was the debian .iso I installed from originally. The two commented out were security.debian.org & volatile.debian.org. Aaah, that explains it. Sounds like your reporitories were never set up to begin with, and you didn't have a full set of install media. Nuke the entire contents of /etc/apt/sources.list (either by commenting out or by deleting the lines) and replace with the following: deb ftp.nz.debian.org lenny main deb ftp.nz.debian.org lenny/volatile main deb ftp.nz.debian.org lenny/updates main Once you've done that, run 'apt-get update'. Note that you'll probably have quite a few updates to install after this. Nothing :cryingThat's because you didn't have the repositories set up, and kde isn't on the media you installed from - hence it doesn't appear to be available. After setting things up as above, the kde packages will become available. 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?Remove that - it's somewhat slow. Use the mirrors I've given you above. And what's the syntax for adding sources, just so I'm sure - each source has two lines, and appears to need a further path name after the last directory (i.e. the / testing main as above?) The syntax is one repository per line. The first item is the repository type (deb=binary, deb-src=source packages), the second is the mirror path, the third is the repository path, and any subsequent arguments are the names of repositories that can be found at that path (Debian generally has main, contrib and non-free available). This syntax can be munged around a bit and still work (because it's often just a single path broken into sections), but it's generally best to stick to the above - particularly if you end up later using a tool that expects the proper format. |
Erayd (23) | ||
| 859541 | 2010-02-18 01:39:00 | ... and don't mix stable & testing. Use either stable + backports, or do a full upgrade to testing. There are now too many differences in core library dependencies. But if you know what to do with the two parts that you will get to keep ... go ahead :) |
fred_fish (15241) | ||
| 1 2 3 4 | |||||