To edit the file useand remove the extra / from the lines.Code:sudo nano /etc/apt/sources.list.d/official-package-repositories.list
To exit and save to the file in nano use Ctrl-O and Ctrl-X.
Also remove the line you added earlier.
Good Luck
Printable View
To edit the file useand remove the extra / from the lines.Code:sudo nano /etc/apt/sources.list.d/official-package-repositories.list
To exit and save to the file in nano use Ctrl-O and Ctrl-X.
Also remove the line you added earlier.
Good Luck
Hey man!
Thanks for working with me with so patience...
After editing here is the result:
ANDCode:
cat /etc/apt/sources.list
# deb cdrom:[Linux Mint 16 _petra_ - Release i386 20131126]/ saucy contrib main non-free
deb http://security.ubuntu.com/ubuntu saucy-security main restricted universe multiverse
Code:cat /etc/apt/sources.list.d/official-package-repositories.list
deb http://packages.linuxmint.com petra main upstream import
deb http://extra.linuxmint.com petra main
deb http://archive.ubuntu.com/ubuntu saucy main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu saucy-updates main restricted universe multiverse
deb http://archive.canonical.com/ubuntu saucy partner
Now the security distro error is GONE!! :D :D
But this :( :
Where do I go to edit this?Code:W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/saucy/InRelease
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/saucy-updates/InRelease
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/saucy/Release.gpg Could not resolve 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/saucy-updates/Release.gpg Could not resolve 'archive.ubuntu.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
Thanks a ton...
Try adding us to the front of the archive.
(or gb if in Britain, I think...)
so it would look like
instead ofCode:us.archive.ubuntu.com
use the same nano command, or you could try a simple one linerCode:archive.ubuntu.com
of course modify the ending for the mint repo stylings.Code:sudo sed -i -e 's/archive.ubuntu.com/us.archive.ubuntu.com/g' /etc/apt/sources.list
This line will replace all the lines that have the archive.ubuntu.com line in them.
Then run an update again.
Hi deadflowr,
Boy am I glad you guys exist in this planet! - FAITH IN HUMANITY RESTORED :D :D :D
So I added gb.archive.ubuntu.com and that error went away.
I am still getting error related to
deb http://archive.canonical.com/ubuntu saucy partner
I just ended up deleting that line, as it made no sense. Do you think I should be bothered by it. As now I am not getting any error at all.
Cheers!
Hi, you may find a "Ubuntu Sources.list Generator" according to location and preferences:
http://repogen.simplylinux.ch/
Here is an example that worked fine with a new fresh install of Linux Mint 16 Petra in /etc/apt/sources.list.d/official-package-repositories.list
Usual command after changing the source.list is: sudo apt-get update
###### Ubuntu Main Repos
deb http://fr.archive.ubuntu.com/ubuntu/ saucy main restricted universe multiverse
###### Ubuntu Update Repos
deb http://fr.archive.ubuntu.com/ubuntu/ saucy-security main restricted universe multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ saucy-updates main restricted universe multiverse
###### Ubuntu Partner Repo
deb http://archive.canonical.com/ubuntu saucy partner
Peace & Blessings