Linux MintThis forum is for the discussion of Linux Mint.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I told him several times to update the system and he didn't.
The laptop is now back at my house because the wireless isn't working and the update cmd fails.
Code:
W: Failed to fetch http://ppa.launchpad.net/mozillateam/firefox-next/ubuntu/dists/trusty/InRelease
W: Failed to fetch http://ppa.launchpad.net/noobslab/themes/ubuntu/dists/trusty/InRelease
W: Failed to fetch http://packages.linuxmint.com/dists/rosa/InRelease
W: Failed to fetch http://extra.linuxmint.com/dists/rosa/InRelease
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/InRelease
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/InRelease
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/InRelease
W: Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/InRelease
W: Failed to fetch http://repo.steampowered.com/steam/dists/precise/InRelease
W: Failed to fetch http://ppa.launchpad.net/mozillateam/firefox-next/ubuntu/dists/trusty/Release.gpg Could not resolve 'ppa.launchpad.net'
W: Failed to fetch http://ppa.launchpad.net/noobslab/themes/ubuntu/dists/trusty/Release.gpg Could not resolve 'ppa.launchpad.net'
W: Failed to fetch http://packages.linuxmint.com/dists/rosa/Release.gpg Could not resolve 'packages.linuxmint.com'
W: Failed to fetch http://extra.linuxmint.com/dists/rosa/Release.gpg Could not resolve 'extra.linuxmint.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg Could not resolve 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/Release.gpg Could not resolve 'archive.ubuntu.com'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/Release.gpg Could not resolve 'security.ubuntu.com'
W: Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/Release.gpg Could not resolve 'archive.canonical.com'
W: Failed to fetch http://repo.steampowered.com/steam/dists/precise/Release.gpg Could not resolve 'repo.steampowered.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
I went ahead and edited the sources list with these entries.
Code:
###### Ubuntu Main Repos
deb http://us.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
###### Ubuntu Update Repos
deb http://us.archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-proposed main restricted universe multiverse
###### Ubuntu Partner Repo
deb http://archive.canonical.com/ubuntu trusty partner
After editing the etc/apt/sources.list with those entries above running sudo apt-get update worked. However I'm still getting an error. Something about duplicate entries.
Running apt-get update again didn't correct anything.
Code:
W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ trusty/partner amd64 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_trusty_partner_binary-amd64_Packages)
W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ trusty/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_trusty_partner_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
Running apt-get update again didn't correct anything.
All I need to do is edit the src's list and get rid of the duplicate entries right?
Your new edited sources file doesn't appear to point at any Mint repos which isn't a great idea for a Mint installation.
Mint keeps the relevant sources files in /etc/apt/sources.list.d/ - it doesn't use /etc/apt/sources.list (my one, for example, only has a commented out deb cdrom entry).
These list files include official-package-repositories.list and separate lists for added repositories.
I would highly recommend that you delete the sources.list file, or comment out the entries in the meantime, and fire up software-sources and sort out the repositories through that (it has a Restore the default options setting which might be useful).
You can get a convenient list of all the sources with the command:
Code:
inxi -r
My Mint 17.3 shows:
Code:
~ $ inxi -r
Repos: Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
deb http://mirrors.usinternet.com/mint/packages rosa main upstream import
deb http://extra.linuxmint.com rosa main
deb http://ftp.usf.edu/pub/ubuntu trusty main restricted universe multiverse
deb http://ftp.usf.edu/pub/ubuntu trusty-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ trusty partner
No deb-src
Last edited by TxLonghorn; 01-20-2017 at 06:43 AM.
You can get a convenient list of all the sources with the command:
Code:
inxi -r
My Mint 17.3 shows:
Code:
~ $ inxi -r
Repos: Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
deb http://mirrors.usinternet.com/mint/packages rosa main upstream import
deb http://extra.linuxmint.com rosa main
deb http://ftp.usf.edu/pub/ubuntu trusty main restricted universe multiverse
deb http://ftp.usf.edu/pub/ubuntu trusty-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ trusty partner
Your new edited sources file doesn't appear to point at any Mint repos which isn't a great idea for a Mint installation.
Mint keeps the relevant sources files in /etc/apt/sources.list.d/ - it doesn't use /etc/apt/sources.list (my one, for example, only has a commented out deb cdrom entry).
These list files include official-package-repositories.list and separate lists for added repositories.
I would highly recommend that you delete the sources.list file, or comment out the entries in the meantime, and fire up software-sources and sort out the repositories through that (it has a Restore the default options setting which might be useful).
I clicked on Restore the default options and it did nothing.
I fixed the sources.list to reflect what you posted in post # 4.
When sudo apt-get update is executed there are no errors and the system is up to date.
hydrurga and TxLonghorn thanks for your time and help.-
-::-Glad I didn't have to perform a fresh installation.-::-
I think what broke things was my friend tried to install Steam with an .exe file and the installer created conflict with the sources.list.
The wifi wasn't working because the switch on the front of the laptop wasn't switched to the on position.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.