Debian This forum is for the discussion of Debian Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
08-24-2005, 08:02 AM
|
#1
|
Senior Member
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905
Rep:
|
Edit My Apt Sources List
Ok, I decided to try Debian again with the net install of "etch" (testing).
Everything went smooth as far as booting from disk. I was able to part. my entire 120GB drive with EXT3 and just did a min. install using the "Network Install" CD.
It then spat the CD out the drive and rebooted. It comes to the actual OS setup process now and gives me a few options:
- CDROM
- HTTP
- FTP
- Edit Sources by Hand
I selected to edit sources by hand since I only have a bare min. ISO so I can't do CDROM.
Now that I selected "Edit Sources by Hand", I am in NANO editing /etc/apt/sources.list file.
I don't know what source entry I need to use being in FL & how it should look in the sources.list file.
Thanks for any help.
|
|
|
08-24-2005, 08:57 AM
|
#2
|
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
|
Haven't installed an actual Debian for a while, only its progeny (lower case 'p', baad pun).
I think you want(ed) to select "HTTP" or "FTP".
Here is my sources.list from SimplyMEPIS:
and here is what I think yours should look like: EDIT: folded lines in Code blocks to alleviate horizontal scrolling. Be sure to unfold in use.
Remember, currently "etch" & "testing" mean the same thing. I think the servers take care of the fact you're in FL.
Hope this helps.
If this doesn't work & you re-install, remember the "*TP" suggestion. Or try SimplyMEPIS.
Last edited by archtoad6; 08-24-2005 at 10:37 AM.
|
|
|
08-24-2005, 10:04 AM
|
#3
|
Member
Registered: Mar 2004
Location: Australia
Distribution: Debian & Mandrake
Posts: 44
Rep:
|
Fixing a apt-get installation
Hi,
if you have an internet connection then I believe it should be easier for you to use the HTTP or FTP option, as they allows you to choose the nearest mirror (based on your country) and then it should give you a list of available mirrors in your country.
Editing the sources by hand can be a bit of a pain.
By the way,
did anyone know how to fix a apt-get installation?
Even though I do have internet connection available, whenever I tried to run a apt-get install <packagename> it complains about "Failed to fetch http:// ..." and told me to do #apt-get update to fix the problem (but never fixed it)
and this error message at the end
Quote:
E : some index files failed to download, they have been ignored or old one used instead
|
Is there a way to fix it?
Thanks,
Suwandy
|
|
|
08-24-2005, 10:11 AM
|
#4
|
Senior Member
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905
Original Poster
Rep:
|
My problem is that if I use HTTP and or FTP, I then get a screen that asks me what I would like to install.
Example
When I select desktop environment, I hate the fact that it installs everything including the kitchen sink. I only want what I need and nothing more. Should I just de-select that options and move on?
I am scared that if I don't select desktop environment, I wont be able to install GNOME when I am done.
Thanks for any info.
|
|
|
08-24-2005, 10:18 AM
|
#5
|
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
|
Re: Fixing a apt-get installation
Quote:
Originally posted by suwandy_chandra
if you have an internet connection then I believe it should be easier for you to use the HTTP or FTP option, as they allows you to choose the nearest mirror (based on your country) and then it should give you a list of available mirrors in your country.
Editing the sources by hand can be a bit of a pain.
|
Thanks for amplifying what I said.
Quote:
Originally posted by suwandy_chandra
Is there a way to fix it?
|
AFAIK, No. But AFAIK, It doesn't matter. It's the vagaries of the 'net -- not every server is accessible all the time; however, there is redundancy is the APT sources system.
|
|
|
08-24-2005, 10:58 AM
|
#6
|
Senior Member
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170
|
Quote:
Originally posted by carlwill
My problem is that if I use HTTP and or FTP, I then get a screen that asks me what I would like to install.
Example
When I select desktop environment, I hate the fact that it installs everything including the kitchen sink. I only want what I need and nothing more. Should I just de-select that options and move on?
I am scared that if I don't select desktop environment, I wont be able to install GNOME when I am done.
Thanks for any info.
|
Unselect the Desktop option and scroll to the bottom of the list and select the Manual Package selection you should be able to choose the packages you want to install. Be careful when you install the packages for X apt will happily install them and not install the fonts needed to be able to run the X server.
|
|
|
08-24-2005, 10:59 AM
|
#7
|
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
|
Post #4
Sorry about the out of order answers, my last was started before yours, but entered after.
So pick what you know you want & add the rest w/ apt-get afterward. Or, go ahead w/ the "Desktop environment" & remove the parts you don't want w/ apt-get, synaptic, or KPackage. Wastes bandwidth & d/l time, but you get to use a GUI tool.
EDIT: "manual package selection" also works but can be time consuming.
Last edited by archtoad6; 08-24-2005 at 11:01 AM.
|
|
|
08-24-2005, 12:00 PM
|
#9
|
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
|
Great list. Thanks.
|
|
|
08-24-2005, 12:05 PM
|
#10
|
Senior Member
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,901
|
Quote:
Originally posted by archtoad6
Great list. Thanks.
|
No problem.
Just notice you still have the non-us in your sources.list it is no longer needed. Debian moved anything that was in non-us into the main. Suprised it hasn't been giving you errors.
Here is my complete sources.list
|
|
|
08-24-2005, 06:48 PM
|
#11
|
Member
Registered: Mar 2004
Location: Australia
Distribution: Debian & Mandrake
Posts: 44
Rep:
|
Hi,
I managed to fix the non-working apt-get.
I run the apt-get install base-config (I think that's the command), then I inserted my Ubuntu disk which it read and reinstall the apt-get properly.
I then changed the sources.list and it's now working happily.
Quote:
Just notice you still have the non-us in your sources.list it is no longer needed. Debian moved anything that was in non-us into the main. Suprised it hasn't been giving you errors
|
Just to amplify what he said. It's giving me errors now, and so, removing the non-us list should work fine for you
Thanks everyone for the help and for the nice collection of sources.
|
|
|
08-24-2005, 09:39 PM
|
#12
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
Quote:
Originally posted by craigevil
No problem.
Just notice you still have the non-us in your sources.list it is no longer needed. Debian moved anything that was in non-us into the main. Suprised it hasn't been giving you errors.
Here is my complete sources.list
|
Ah, I've just installed Debian Unstable and as having a problem with this issue. Thanks for the info, I won't waste anymore time trying to configure non-us repos.
|
|
|
08-25-2005, 04:45 PM
|
#13
|
Senior Member
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905
Original Poster
Rep:
|
Guys, I hate to look dumb but maybe I am not understanding this quite yet.
When I look at my source list, this is what I see...
I know that if it has a "#" that means it will be ignored so to say but should I just delete everything I see on here and follow your examples above? Sorry but I don't want to mess this file up if there is a particular format that needs to be kept.
Thanks for any help.
|
|
|
08-25-2005, 04:54 PM
|
#14
|
Senior Member
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,901
|
The sources.list I posted will work. Just copy it over yours. Then run apt-get update or open Syaptic and click reload.
Comment out the ones you do not use and uncomment the ones you use.
Using my complete list I have access to over 22k packages.
|
|
|
08-25-2005, 05:06 PM
|
#15
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
Whats the purpose of experimental when Debian already has unstable?
|
|
|
All times are GMT -5. The time now is 10:42 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|