Tag Info

New answers tagged

1

Edit sources.list and comment out the duplicate entry. Edit sources.list: sudo nano /etc/apt/sources.list Place a # in front of the duplicate entry Save: CTRL + X, Y, ENTER Update: sudo apt-get update Now try again.


2

sudo mv /etc/apt/sources.list.d/google.list’ /etc/apt/sources.list.d/google.list I thinks this should work as the file currently has the name google.list’, but it needs to end in *.list to work - the above command should move/rename it to a file with the appropriate extension.


0

Upgrading 10.04 to 12.04 is strange idea - why don't you want to have 14.04? Anyway, upgrading such old Ubuntu release will almost certainly lead to troubles. Just make a backup of your files and use whole disk to install current version of Ubuntu - 14.04.


2

Try to install it after an update: sudo apt-get update && sudo apt-get install patch


0

You're looking specifically for the Oracle 7 java? If so, you may have better luck with the answer given by @user283885. Webupd8 also has an Oracle 8 java installer at this link. If however, you just want easy to maintain, java runtimes, you should consider removing the PPS from software sources, and using the Ubuntu Software Center to load OpenJDK, ...


2

If you want to regenerate your sources.list you could use http://repogen.simplylinux.ch/ Select your country, your Ubuntu version and choose the repositories you want. Run in a terminal: sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak gksu gedit /etc/apt/sources.list Delete all contents and then paste (Ctrl+A, Delete and Ctrl+V) the output from ...


0

Open a Terminal. First make a backup: sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak You can open /etc/apt/sources.list in a text editor with root privileges: gksu gedit /etc/apt/sources.list Then go to Edit - Replace and replace the current country ID with ir. For example if you have us.archive.ubuntu.com you would write in the Search box ...



Top 50 recent answers are included