LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cannot refresh list of updates after upgrade to Linux Mint 18.2 (https://www.linuxquestions.org/questions/linux-newbie-8/cannot-refresh-list-of-updates-after-upgrade-to-linux-mint-18-2-a-4175614379/)

RayRay 09-23-2017 11:12 AM

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'>

wagscat123 09-23-2017 12:30 PM

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!

RayRay 09-23-2017 03:04 PM

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


All times are GMT -5. The time now is 10:12 PM.