Important! This is an automatic machine translated page. If you can read english, you should Click Here to read the original English version of the article.

Switch Ubuntu Server to use Internet Repositories Instead of cdrom Switch Ubuntu Server do korzystania z repozytoriów Internet zamiast cdrom

If you install Ubuntu from a cd-rom, when you try to use apt-get to install new software it will prompt you for the cdrom every time. Po zainstalowaniu Ubuntu z cd-rom, gdy spróbujesz użyć apt-get do instalowania nowego oprogramowania zostanie wyświetlony monit o podanie cdrom za każdym razem. Kinda frustrating! Kinda frustrujące!

There's an easy way to fix this problem. Istnieje prosty sposób na rozwiązanie tego problemu. Run the following command to open the sources.list file. Uruchom następujące polecenie, aby otworzyć pliku sources.list. You can use a different editor if you feel like. Można użyć innego edytora, jeśli masz ochotę.

sudo vi /etc/apt/sources.list sudo vi / etc / apt / sources.list

The first thing you'll want to do is comment out this line, by placing a # symbol before it. Pierwszą rzeczą, którą musisz zrobić jest komentarz na tej linii, umieszczając przed nim znak #.

deb cdrom:[Ubuntu-Server 6.10 _Ed….. deb cdrom: [Ubuntu-Server 6.10 _Ed ... ..

You can also use this opportunity to uncomment the universe repositories. Możesz także skorzystać z okazji i usuń repozytoriów wszechświata.

Now that you've updated the repository list, you will have to run this command to update the local list of available software: Teraz, gdy już zaktualizowany wykaz stron, musisz uruchomić to polecenie, aby zaktualizować lokalną listę dostępnego oprogramowania:

sudo apt-get update sudo apt-get update

Now you can apt-get install from the internet. Teraz możesz apt-get install z internetu.

This article was originally written on 12/13/06 Tagged with: Ten artykuł został napisany na 12/13/06 Tagged with: Adding Software Dodawanie Software , , SysAdmin Techblog , , Ubuntu Ubuntu , , Ubuntu Tips & Tweaks Ubuntu Tips & Tweaks

Daily Email Updates Daily Email Updates

You can get our how-to articles in your inbox each day for free. Możesz pobrać nasze instrukcje postępowania w skrzynce odbiorczej codziennie za darmo. Just enter your name and email below: Wystarczy podać swoje imię i adres e-mail:


Name: Imię i nazwisko:
Email: E-mail:

Comments (4) Komentarze (4)

  1. Keith Keith

    It's a great site you have here. It's a great witryna jest tutaj. I just installed Ubuntu and over the past two days have been really struggling with it. Właśnie zainstalowane Ubuntu i w ciągu ostatnich dwóch dni były naprawdę walczy z nim.
    I'm not sure what you mean by this: Nie jestem pewien co masz na myśli to:
    “The first thing you'll want to do is comment out this line, by placing a # symbol before it.” "Pierwszą rzeczą, którą musisz zrobić jest komentarz na tej linii, umieszczając przed nim znak #.
    You mean, before typing out sudo vi /etc apt/sources. To znaczy, wpisując się przed sudo vi / etc apt / sources. list ? list?

    apologies if I sound dim, but it's no fun being a newbie! Przepraszamy, jeśli dźwięk słabe, ale to nie zabawa jest nowo narodzony!

  2. The Geek Geek

    If you are using Ubuntu Desktop, you might want to use the article “Update Ubuntu Repository list using Software Sources GUI Tool” linked in the related how-to list above. Jeśli korzystasz z Ubuntu Desktop, możesz korzystać z artykułu "Aktualizacja Ubuntu Repository List pomocą Źródła oprogramowania GUI Tool" połączone w pokrewnych, jak do powyższej listy.

    You can just uncheck the cdrom from there, mostly likely. Możesz po prostu odznacz cdrom stamtąd, głównie prawdopodobne.

    Otherwise, you can open the file /etc/apt/sources.list in whatever editor you choose, and put the # right before the cdrom line, on the same line. W przeciwnym razie, można otworzyć plik / etc / apt / sources.list w edytorze niezależnie od wyboru, a wprowadzone # tuż przed linią cdrom, w tym samym wierszu.

  3. Keith Keith

    Thanks very much. Dziękuję bardzo. I'll try that. I'll try that.
    Another question, which I can't find the answer to: I have a lot of photographs (jpegs) burned on to CDs. Kolejne pytanie, którego nie mogę znaleźć odpowiedzi na: Mam dużo zdjęć (JPEG) spalił na płytach CD. But when I put them in the drive nothing at all happens and I can't find them by browsing the files. Ale kiedy je w napęd na wszystkie nie dzieje i nie mogę ich znaleźć, przeglądając akta.
    Any idea how I can make them display? Każdy pomysł, jak mogę uczynić je wyświetlać? Thanks. Dzięki.

  4. ftpmget ftpmget

    thx, man, helped me to overcome the annoying prompt for dvd insertion. thx człowiek, pomógł mi pokonać przykry dla polecenia DVD wstawiania.
    thx again. thx again.


Our Friends Nasi Przyjaciele
Getting Started Pierwsze kroki


About How-To Geek O How-To Geek
What Is That Process? Co to jest proces?
svchost.exe svchost.exe
jusched.exe jusched.exe
dwm.exe dwm.exe
ctfmon.exe Gadu-Gadu
wmpnetwk.exe wmpnetwk.exe
wmpnscfg.exe wmpnscfg.exe
rundll32.exe rundll32.exe
wfcrun32.exe wfcrun32.exe
Ipoint.exe Ipoint.exe
Itype.exe Itype.exe
Wfica32.exe Wfica32.exe
Mobsync.exe Mobsync.exe
conhost.exe conhost.exe
Dpupdchk.exe Dpupdchk.exe Adobe_Updater.exe Adobe_Updater.exe

Copyright © 2006-2009 HowToGeek.com. Copyright © 2006-2009 HowToGeek.com. All Rights Reserved. All Rights Reserved.