New answers tagged software-sources
1
Edit /etc/apt/sources.list to fix the broken lines.
To do this, run this command in a Terminal with Ctrl+Alt+T:
sudo gedit /etc/apt/sources.list
Find and comment or delete line 59. It should look like:
deb http://repository.spotify.com ...
Save the file and quit the text editor. Then run this command in a terminal:
sudo apt-get update
1
Files are located in /etc/apt/ so edit them with sudo
You have the same line in sources.list and in sources.list.d/precise-partner.list which is:
sources.list:
deb http//archive.canonical.com/ubuntu precise partner
sources.list.d/precise-partner.list
deb http://archive.canonical.com/ubuntu precise partner
I see another error in the sources.list, the ...
0
You don't have to click on check buttons just click on the ppa and the click on remove button below.
0
Just open synaptic manager & install/reinstall ubantu-extra-keyring & hitt command sudo apt-get update.
cheers u'd get out from this error.
4
How bad are duplicate entries in sources.list?
I don’t know how bad it is, but i don’t like sudo apt-get update showing me duplicate entries.
By the way its not that bad, its just showing you that you have duplicate entries.
SourcesList
The sources.list file is a key factor in adding or upgrading applications to your Ubuntu installation. This is also ...
2
This a a one line command to enter in terminal,
What is a terminal and how do I open and use it?
To use it you would paste the entire command in the terminal:
wget -qO - http://deb.opera.com/archive.key | sudo apt-key add -
But of course it is daunting just copying and pasting commands without knowing what they are doing an having no instructions on ...
0
If it is only the deb-src packages that are failing, this is not a problem. The deb-src only contain source code, so unless you are hacking the source code yourself you don't really need them (generally speaking. There are occasional exceptions).
Nevertheless, I've seen this happen when moving around to different networks for various reasons. Try the ...
0
The mirrors protocol has choosen the nearest mirror server, which is http://giano.com.dist.unige.it/ubuntu/. But in this case, http://giano.com.dist.unige.it/ubuntu/ failed respond with a valid response. (May be they were doing a little maintenance)
And it looks like, its up and running, by the time of this writing.
Please try again. Your problem might ...
0
Well, I solved the Duplicate Entry problem myself by renaming /etc/apt/sources.d (as root) to something else and running sudo apt-get update to re-establish the directory and it's contents.
3
Command-line/Server Instructions
Backports are enabled by default, here's how you can check to make sure they are turned on.
Ensuring Backports are enabled
To enable the backports manually make sure the following line is in your /etc/apt/sources.list:
deb http://archive.ubuntu.com/ubuntu release-backports main restricted universe multiverse
...
1
Please try to edit your sources.list file by dropping sudo gedit /etc/apt/sources.list in a terminal (your password may be asked), after which you will have the options to enable "Line Numbers" in the Menu Edit/Preferences of gEdit and clicking the "Display line numbers" checkbox, then manually go to the Line 57 or by using "Search/Go to line" (Ctrl+I does ...
0
Go Terminal and follow below steps for solution...
sudo su (login as root)
cd /var/lib/apt/lists/
rm -fr *
cd /etc/apt/sources.list.d/
rm -fr *
cd /etc/apt
sudo cp sources.list sources.list.old
sudo cp sources.list sources.list.tmp
sed 's/ubuntuarchive.hnsdc.com/us.archive.ubuntu.com/' sources.list.tmp | sudo tee sources.list
sudo rm sources.list.tmp*
...
0
Obviously, you have a couple of lines duplicated, simply remove the second half of the file. The last entry to keep is the deb-src http://archive.canonical.com/ubuntu raring partner line. After this, apt-get update should run fine.
Top 50 recent answers are included




