Switch Ubuntu Server to use Internet Repositories Instead of cdrom Växla Ubuntu Server för att använda Internet arkiv Istället för 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. Om du installerar Ubuntu från en cd-rom, när du försöker använda apt-get för att installera nya program kommer det att be dig för cdrom varje gång. Kinda frustrating! Kinda frustrerande!
There's an easy way to fix this problem. Det finns ett enkelt sätt att åtgärda problemet. Run the following command to open the sources.list file. Kör följande kommando för att öppna sources.list. You can use a different editor if you feel like. Du kan använda en annan editor om du känner för.
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. Den första sak du vill göra är att kommentera ut denna linje, genom att placera ett # tecken före det.
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. Du kan också använda detta tillfälle för att avkommentera universum förråd.
Now that you've updated the repository list, you will have to run this command to update the local list of available software: Nu när du har uppdaterat slutförvaret listan, måste du köra detta kommando för att uppdatera den lokala listan över tillgängliga program:
sudo apt-get update sudo apt-get update
Now you can apt-get install from the internet. Nu kan du apt-get install från Internet.

Daily Email Updates Dagligt Updates
You can get our how-to articles in your inbox each day for free. Du kan få våra instruktioner artiklar i din inkorg varje dag gratis. Just enter your name and email below: Skriv bara in ditt namn och e-postadress nedan:



It's a great site you have here. Det är en stor plats du har här. I just installed Ubuntu and over the past two days have been really struggling with it. Jag har just installerat Ubuntu och under de senaste två dagarna har verkligen kämpat med det.
I'm not sure what you mean by this: Jag är inte säker på vad du menar med detta:
“The first thing you'll want to do is comment out this line, by placing a # symbol before it.” "Det första du vill göra är att kommentera ut denna linje, genom att placera ett # tecken före det."
You mean, before typing out sudo vi /etc apt/sources. Du menar, innan du skriver ut sudo vi / etc apt / sources. list ? lista?
apologies if I sound dim, but it's no fun being a newbie! ursäkta om jag låter svagt, men det är inte roligt att vara en nybörjare!
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. Om du använder Ubuntu Desktop, kanske du vill använda artikeln "Uppdatera Ubuntu Arkivlista med Programvarukällor GUI Tool" länkade i samband hur-till listan ovan.
You can just uncheck the cdrom from there, mostly likely. Kan du bara avmarkera cdrom därifrån, mest troligt.
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. Annars kan du öppna filen / etc / apt / sources.list, oavsett i vilken editor du väljer, och satte # strax innan cdrom linje, på samma rad.
Thanks very much. Tack så mycket. I'll try that. Jag ska prova det.
Another question, which I can't find the answer to: I have a lot of photographs (jpegs) burned on to CDs. En annan fråga, som jag inte kan hitta svaret på: Jag har en massa fotografier (JPEG) brännas på CD. But when I put them in the drive nothing at all happens and I can't find them by browsing the files. Men när jag sätter dem i enheten ingenting alls händer, och jag kan inte hitta dem genom att bläddra i filerna.
Any idea how I can make them display? Någon aning om hur jag kan göra dem samtidigt? Thanks. Tack.
thx, man, helped me to overcome the annoying prompt for dvd insertion. thx, man, hjälpte mig att övervinna den irriterande prompten för dvd isättning.
thx again. thx igen.