LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 01-19-2017, 08:03 PM   #1
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Linux Mint 17.3 Unable to Update Errors


Hi:

I installed Linux Mint 17.3 on a friends Toshiba 64-bit laptop about 4 months ago.

Code:
AMD Turion CPU GPU AMD/ATI Radeon RS69om
Qualcom Atheros AR24x?AR542 PCI Express
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.
How do I fix this system?
 
Old 01-19-2017, 09:29 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Procgress

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?

Last edited by Ztcoracat; 01-19-2017 at 09:37 PM.
 
Old 01-20-2017, 02:00 AM   #3
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
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).
 
1 members found this post helpful.
Old 01-20-2017, 06:38 AM   #4
TxLonghorn
Member
 
Registered: Feb 2004
Location: Austin Texas
Distribution: Mandrake 9.2
Posts: 702

Rep: Reputation: 231Reputation: 231Reputation: 231
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.
 
1 members found this post helpful.
Old 01-20-2017, 05:08 PM   #5
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by TxLonghorn View Post
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
Thank You-
 
Old 01-20-2017, 05:11 PM   #6
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by hydrurga View Post
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.
 
Old 01-20-2017, 07:26 PM   #7
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
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.
 
Old 01-21-2017, 02:01 AM   #8
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by Ztcoracat View Post
I clicked on Restore the default options and it did nothing.
Yes, but did you shut your eyes, turn round three times, and say the magic word before you clicked on it? ;-)

Sorry about that, but good to know that you solved the problem.
 
Old 01-21-2017, 04:52 PM   #9
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by hydrurga View Post
Yes, but did you shut your eyes, turn round three times, and say the magic word before you clicked on it? ;-)

Sorry about that, but good to know that you solved the problem.
LOL-

Thanks, I'm glad it's working now.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie having update errors in Mint 17.2 Ericj Linux - Software 6 05-01-2016 07:48 PM
Linux Mint 17.3 Cinnamon errors taperwil Linux - Newbie 8 01-23-2016 09:14 PM
Errors while updating Linux Mint 16 lpvmc Linux Mint 8 09-23-2015 08:04 PM
Mint 14 update manager has some failed to fetch items and other errors james2b Linux Mint 2 02-24-2014 11:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 09:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration