LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-23-2017, 11:12 AM   #1
RayRay
LQ Newbie
 
Registered: Sep 2017
Location: Panama
Distribution: Linux Mint 18.2
Posts: 2

Rep: Reputation: Disabled
Cannot refresh list of updates after upgrade to Linux Mint 18.2


Hello,

First off, I am a total Noob as far as Linux Mint (all Linux for that matter) goes. If you Google Noob and click images you'll see my picture.

Before the upgrade from 18 to 18.2 the Update Manager worked. I don't know if it was instant or happened sometime later. The update was in place several days before I saw the red X. Thanks in advance for your help!


Below are some error messages I noticed:


Error message from running Synaptic Package Manager (I saw someone suggest this in a post in this forum):

E: Malformed entry 1 in list file /etc/apt/sources.list.d/additional-repositories.list (Component)
E: The list of sources could not be read.
Go to the repository dialog to correct the problem.
E: _cache->open() failed, please report.


Extracted from Information - Update Manager after clicking on refresh a several times:

09.23@11:07 ++ Launching mintUpdate
09.23@11:07 ++ Starting refresh
09.23@11:07 ++ Initial refresh will happen in 10 minutes, 0 hours and 0 days
09.23@11:07 -- Exception occurred in the refresh thread: <class 'subprocess.CalledProcessError'>
09.23@11:17 ++ MintUpdate is in tray mode, performing initial refresh
09.23@11:17 ++ Auto-refresh will happen in 0 minutes, 2 hours and 0 days
09.23@11:17 ++ Starting refresh (including refreshing the APT cache)
09.23@11:17 -- Exception occurred in the refresh thread: <class 'subprocess.CalledProcessError'>
09.23@11:40 ++ Starting refresh (including refreshing the APT cache)
09.23@11:40 -- Exception occurred in the refresh thread: <class 'subprocess.CalledProcessError'>
09.23@11:40 ++ Starting refresh (including refreshing the APT cache)
09.23@11:40 -- Exception occurred in the refresh thread: <class 'subprocess.CalledProcessError'>
09.23@11:46 ++ Starting refresh (including refreshing the APT cache)
09.23@11:46 -- Exception occurred in the refresh thread: <class 'subprocess.CalledProcessError'>
 
Old 09-23-2017, 12:30 PM   #2
wagscat123
Member
 
Registered: Jan 2009
Location: Maryland-Pennsylvania border, USA
Distribution: openSUSE 15.2, Tumbleweed, Kubuntu 18.04/20.10, macOS 10.15, antiX 19, and Linux Mint 19.3
Posts: 857
Blog Entries: 45

Rep: Reputation: 119Reputation: 119
Two things:

1. How did you upgrade to Mint 18.2? Did you use the commandline upgrade tool, the Update Manager upgrade, or hack it by modifying your repos and doing something like a massive apt-get upgrade?

2. What output does running
Code:
grep -h ^deb /etc/apt/sources.list /etc/apt/sources.list.d/*
in a terminal yield?

Also, welcome to Linux and LQ! It's a fun ride that will soon give you the control and prestige living in the Linux world provides. We're always happy to help you out, and one day you'll be able return the favor to tomorrow's newbs!

Last edited by wagscat123; 09-23-2017 at 12:32 PM. Reason: LQ welcome added
 
Old 09-23-2017, 03:04 PM   #3
RayRay
LQ Newbie
 
Registered: Sep 2017
Location: Panama
Distribution: Linux Mint 18.2
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks wagscat123, I appreciate the help.

I did a search on how to upgrade and the results indicated that using Update Manager. So that is the method I used.

The output from the grep command is below:

jafu@jafu-HP-Pavilion-dv7 ~ $ grep -h ^deb /etc/apt/sources.list /etc/apt/sources.list.d/*
deb https://dl.winehq.org/wine-builds/ubuntu/xenial main
deb http://dl.google.com/linux/chrome/deb/ stable main
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
deb http://packages.linuxmint.com sonya main upstream import backport #id:linuxmint_main
deb http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ xenial partner
jafu@jafu-HP-Pavilion-dv7 ~ $

Thanks for the welcome! I am looking forward to learning more about Linux Mint. Moving from sheltered world of windows to a command line environment is a bit of a challenge.

Sincerely,

RayRay
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Could not refresh the list of updates. I tried to fix it but no go L a r r y Linux - Software 7 08-09-2016 07:32 AM
can't refresh the updates in Mint 17.2 niborok Linux - Newbie 8 06-10-2016 01:23 AM
Could not refresh list of updates crash rclinux Linux - Laptop and Netbook 1 02-13-2016 04:50 PM
[SOLVED] Mint 12: sudo aptitude upgrade, /etc/gnome/defaults.list changes Tachtory Linux Mint 2 12-19-2011 07:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:37 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