Here's my geeky tip for updating your /etc/apt/sources.list on Ubuntu GNU/Linux.This tip is especially useful around April/October when the new Ubuntu releases are freed into the wild and the main servers are very busy.I know what you're saying: This can easily be done from the Ubuntu Software Center via the edit > sources menu.
Hi. I recently installed Ubuntu Server 11.10. But I cannot install any software using the "apt-get" command. I think that's because the software sources for my country (Bangladesh) don't really work.
In Ubuntu 11.10 I managed to change the sources from the software center. I use Ubuntu main server as the source and it works.
Possible Duplicate:
How do I remove a malformed line from my sources.list?
“Malformed line 6” error in my /etc/apt/sources.list
My Software Center is not opening or closing by itself:
E:Malformed line 57 in source list /etc/apt/sources.list (dist parse)
E:The list of sources could not be read
E:The package lists or status file could not be parsed or opened.
The Ubuntu sources.list generator, is a web application that can create custom sources.list files for various version of Ubuntu. The sources.list file tells the packaging system where it can look for software to install. The generator can add many additional sources, including those for proprietary software.
I'm trying to use apt-get source as a regular user on a debian squeeze system.
I want to retrieve the sources for cyrus-imapd-2.4 from the testing/wheezy repository.
apt-get source works without root privilegets; however, it seems there is no way to get apt-get to fetch anything from a repository that is not in /etc/apt/sources.list.
Is there any command line option, alternate sources.list file
Go to Ubuntu Software Center.
Edit > Software Sources
Change the server from the default value to some other value.
Click Close. You'd need to enter your password.
Run sudo apt-get update to check.
Enable the universe repo:
open the Software center.
Click on edit and then software sources to open the software sources window.
If I don't want to edit the sources.list file by vi(m), could I add the source by command line to import the specific source in the sources.list file
I want to add the command to the sell script, please give me the suggestion...thanks
for example:
Could I add below sources into sources.list by one line command
Quote:
deb http://ppa.launchpad.net/shiki/mediainfo/ubuntu precise
I'm looking for Ubuntu mirror that is hosted on Akamai CDN.
In my country, average Internet speed is 128 kbps. With this speed it is very difficult to update Ubuntu and install software.
However with my ISP I can get high speed (1mbps) speed from CDNs like Akamai.
Earlier, in software sources -> Mirror List -> Select best server, ubuntu.sth.sze.hu was picked.
Whenever I try to install any software using terminal or by entering sudo apt-get update, the result is:
E: Malformed line 56 in source list /etc/apt/sources.list (dist parse)
E: The list of sources could not be read.