LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-12-2003, 04:53 AM   #1
goldfish
Member
 
Registered: Aug 2003
Location: UK
Distribution: Gentoo / Debian
Posts: 58

Rep: Reputation: 15
installing the rest of debian


Rightey ho, ive downloaded the CD image for Bonsai linux, installed it and everything seems to be working fine for now. However, i would like to download a few other packages, and ive heard that i can do this using the "apt-get" command.

However, when i try to download apache, for example, it says :
Code:
debian:~# apt-get install apache
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package apache
I thought that this was supposed to connect to the net and download the package?? The list of the packages available are at http://packages.debian.org/ but none of them seems to work? I can browse the internet fine, but apt-get doesnt download anything

Thanks if you can help

Fishy
 
Old 10-12-2003, 06:06 AM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 377Reputation: 377Reputation: 377Reputation: 377
you need to edit your "sources.list" file to contain the mirrors...

it's located here: /etc/apt/sources.list

once you've updated it, do a "apt-get update"...

then you can install all your stuff... like, for example, do a "apt-get install synaptic" and you'll have a really sweet gui for apt-get...

do a "apt-get dist-upgrade" and you'll update your entire distro to the very latest in your branch (remember, only the stable branch gets the real critical and security updates)...

i use bonzai linux and have it set to use the stable branch (woody), although some folks prefer the testing branch (sarge) for the workstation and woody for the server... some like unstable (sid) but i recommend you stay away from that...

anyways, here's the sources.list that works fine on my bonzai linux workstation (remember to do "apt-get update" after editing the file):

deb http://download.kde.org/stable/3.1.4/Debian stable main
deb ftp://mirrors.kernel.org/debian/ stable main
deb-src ftp://mirrors.kernel.org/debian/ stable main
deb http://non-us.debian.org/debian-non-US stable/non-US main
deb-src http://non-us.debian.org/debian-non-US stable/non-US main
deb http://security.debian.org/ stable/updates main

if you don't feel like editing the file directly, try the "apt-setup" utility... it's pretty decent and straight-forward...

good luck!

http://www.mayin.org/ajayshah/COMPUT...rinciples.html
 
Old 10-12-2003, 06:15 AM   #3
goldfish
Member
 
Registered: Aug 2003
Location: UK
Distribution: Gentoo / Debian
Posts: 58

Original Poster
Rep: Reputation: 15
Thank you very much! Since im in the UK and your sources list was all US based i decided to go the apt-setup route, and at this very second its updating the package listings.I'm going to add 2 or 3 different mirrors, for convinience, and so far everything is going well!

thanks again, hopefully ill have more luck with debian than i have had with RedHat
 
Old 10-12-2003, 06:33 AM   #4
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 377Reputation: 377Reputation: 377Reputation: 377
i'm glad i could help...

by the way, my sources.list has "non-us" mirrors, nothing "us-based"...

it gets the "regular" packages from "kernel.org" and the "non-us" packages from "debian.org"...

the security updates come directly from "security.debian.org"...

if you live in the uk you probably would want the "non-us" packages...
 
Old 10-12-2003, 06:57 AM   #5
goldfish
Member
 
Registered: Aug 2003
Location: UK
Distribution: Gentoo / Debian
Posts: 58

Original Poster
Rep: Reputation: 15
i have some more local ones, like debian.blueyonder.co.uk and uk.debian.org (or somthing like that) my kernels are coming from kernel.org too, ive made sure of that, and the secuirty updates are coming from security.debian.org too.

And i said "yes" for the non-us packages
 
Old 10-12-2003, 07:24 AM   #6
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 377Reputation: 377Reputation: 377Reputation: 377
excellent!

(with mr. burn's voice)

http://www.angelfire.com/ca3/linkapo...es/excelnt.wav
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing rest of Fedora Core - 4 packages libregeek Fedora - Installation 3 11-19-2005 07:51 AM
Rest Of HardDisk ? DJVega Linux - Hardware 4 07-06-2005 04:45 AM
How Do I Get The Rest Of The System dvdljns DamnSmallLinux 2 05-16-2005 07:04 AM
where's the rest of my HD? Maxtor Frybyte Linux - Hardware 4 12-14-2004 05:20 PM
Help, where is the rest of my hard drive? Wildjoey Linux - Newbie 11 03-28-2002 04:29 PM


All times are GMT -5. The time now is 01:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration