[SOLVED] Update manager error
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
- FinixFighter
- Level 3
- Posts: 162
- Joined: Mon Oct 01, 2018 12:54 pm
- Location: Pescara, Italy
[SOLVED] Update manager error
Hi! I'm having a problem with the Update Manager. I have set up updates on Automatic updates (Update Manager->Edit->Preferences->Auto-Upgrade->Apply updates automatically) but it doesn't work. There is a red cross on the update manager icon (in my panel) and if I click it it says:"Could not refresh the list of updates". Then, if I click the Refresh button, it refreshes normally and says that my system is up to date (or it lists the updates available, if there are). I would like the system to install all updates automatically, how can I solve the problem?
I have Linux Mint 19 Tara 64-bit (Kernel Linux 4.15.0-36-generic x86_64, MATE 1.20.1)
I have Linux Mint 19 Tara 64-bit (Kernel Linux 4.15.0-36-generic x86_64, MATE 1.20.1)
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
stallmansupport.org
Re: Update manager error
Can you share the output of this command run from the terminal (you can select and copy text from the terminal through its Edit menu):
inxi -Sr
- FinixFighter
- Level 3
- Posts: 162
- Joined: Mon Oct 01, 2018 12:54 pm
- Location: Pescara, Italy
Re: Update manager error
This is what I get:
Code: Select all
System: Host: luca-Lenovo-G500 Kernel: 4.15.0-36-generic x86_64 bits: 64
Desktop: MATE 1.20.1 Distro: Linux Mint 19 Tara
Repos: Active apt sources in file: /etc/apt/sources.list.d/additional-repositories.list
deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main
Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
deb http://mirrors.evowise.com/linuxmint/packages tara main upstream import backport
deb http://archive.ubuntu.com/ubuntu bionic main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ bionic partner
Active apt sources in file: /etc/apt/sources.list.d/spotify.list
deb http://repository.spotify.com stable non-free
stallmansupport.org
Re: Update manager error
Nothing stands out as suspect in that; all those repositories work. I don't have an immediate other idea what the cause could be.
- catweazel
- Level 19
- Posts: 9763
- Joined: Fri Oct 12, 2012 9:44 pm
- Location: Australian Antarctic Territory
Re: Update manager error
Please post the output of this terminal command:
Code: Select all
apt update
[ⅽode]
and [/ⅽode]
code markers by selecting </>
from the mini toolbar above the textbox where you type your reply.
Last edited by xenopeek on Mon Oct 22, 2018 2:59 am, edited 1 time in total.
Reason: removed redundant sudo
Reason: removed redundant sudo
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
Re: Update manager error
Are you using wireless? If so, in the settings of your preferred wireless connection(s) under Identity, are Connect automatically and Make available to other users checked? By default they should be but unavailability of a wireless connection could be a cause.
- FinixFighter
- Level 3
- Posts: 162
- Joined: Mon Oct 01, 2018 12:54 pm
- Location: Pescara, Italy
Re: Update manager error
That's what I get:catweazel wrote: ⤴Mon Oct 22, 2018 2:48 amPlease post the output of this terminal command:Enclose the results betweenCode: Select all
apt update
[ⅽode]
and[/ⅽode]
code markers by selecting</>
from the mini toolbar above the textbox where you type your reply.
Code: Select all
Ign:1 http://mirrors.evowise.com/linuxmint/packages tara InRelease
Hit:2 http://mirrors.evowise.com/linuxmint/packages tara Release
Hit:3 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:4 http://archive.canonical.com/ubuntu bionic InRelease
Hit:5 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:7 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:8 http://repository.spotify.com stable InRelease
Hit:9 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease
Hit:10 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
@Neil Darlow Yes, those voices are checked
stallmansupport.org
Re: Update manager error
Automatic upgrades run daily through /etc/cron.daily/mintupdates and use the mintupdate-cli program which runs independent of the Update Manager GUI window. That is, errors during the automatic upgrade are not shown in Update Manager GUI window and errors in Update Manager GUI window or status icon bear no relation to what automatic upgrade did or didn't do.
The automatic upgrades will run when it's been 24 hours since it was last run (I think) so time of day can vary. It writes a log in /var/log/mintupdate.log.
If you have errors in Update Manager GUI window or status icon, that should be related to automatic refresh—not automatic upgrade. Default config for auto-refresh is 10 minutes after login and then every 2 hours after that. The logs of the Update Manager GUI window are in the directory /tmp/mintUpdate.
The automatic upgrades will run when it's been 24 hours since it was last run (I think) so time of day can vary. It writes a log in /var/log/mintupdate.log.
If you have errors in Update Manager GUI window or status icon, that should be related to automatic refresh—not automatic upgrade. Default config for auto-refresh is 10 minutes after login and then every 2 hours after that. The logs of the Update Manager GUI window are in the directory /tmp/mintUpdate.
- FinixFighter
- Level 3
- Posts: 162
- Joined: Mon Oct 01, 2018 12:54 pm
- Location: Pescara, Italy
Re: Update manager error
I attached a picture where you can see what I got today.
And this the error that I have in /tmp/mintUpdate:
As always, if I click "Refresh" button then it refreshes and shows me the updates. But it doesn't install it automatically. The oldest is there since October 21 (more than 24 hours).
That's what I get when I refresh manually:
And this the error that I have in /tmp/mintUpdate:
Code: Select all
10.23@14:50 ++ MintUpdate is in tray mode, performing auto-refresh
10.23@14:50 ++ Starting refresh (including refreshing the APT cache)
10.23@14:50 ++ Auto-refresh will happen in 0 minutes, 1 hours and 0 days
10.23@14:50 ++ Error in checkAPT.py, could not refresh the list of updates
That's what I get when I refresh manually:
Code: Select all
10.23@15:33 ++ Starting refresh (including refreshing the APT cache)
10.23@15:33 ++ Found 4 software updates
10.23@15:33 ++ Refresh finished
Last edited by FinixFighter on Tue Oct 23, 2018 9:55 am, edited 1 time in total.
stallmansupport.org
Re: Update manager error
Maybe it wasn't clear to you from xeno's post but the relevant log to look at is
As he said, what happens in the GUI tool really has nothing to do with what happens during auto-updates, it's a separate process.
Code: Select all
/var/log/mintupdate.log
- FinixFighter
- Level 3
- Posts: 162
- Joined: Mon Oct 01, 2018 12:54 pm
- Location: Pescara, Italy
Re: Update manager error
That's what I have in itgm10 wrote: ⤴Tue Oct 23, 2018 9:51 am Maybe it wasn't clear to you from xeno's post but the relevant log to look at isAs he said, what happens in the GUI tool really has nothing to do with what happens during auto-updates, it's a separate process.Code: Select all
/var/log/mintupdate.log
Code: Select all
Traceback (most recent call last):
File "/usr/lib/linuxmint/mintUpdate/mintupdate-cli.py", line 37, in <module>
check.refresh_cache()
File "/usr/lib/linuxmint/mintUpdate/checkAPT.py", line 92, in refresh_cache
self.cache.update()
File "/usr/lib/python3/dist-packages/apt/cache.py", line 545, in update
raise FetchFailedException()
apt.cache.FetchFailedException
stallmansupport.org
Re: Update manager error
Suggest to change to a different mirror for Linux Mint repository in Software Sources, as both auto-refresh and auto-upgrade logs show problems with it.
Re: Update manager error
Solution: Mint menu > Software Sources and change to a different mirror for Main (tara), the evowise one has apparently gone bad, seen other people have issues with it, too.
PS: too slow
PS: too slow
- FinixFighter
- Level 3
- Posts: 162
- Joined: Mon Oct 01, 2018 12:54 pm
- Location: Pescara, Italy
Re: Update manager error
I changed it to a german one, if everything works the Update Manager will auto download and auto install updates without doing anything, right? Fingers crossed XD
stallmansupport.org
- FinixFighter
- Level 3
- Posts: 162
- Joined: Mon Oct 01, 2018 12:54 pm
- Location: Pescara, Italy
Re: Update manager error
Daily update: auto-refresh works but updates are not automatically installed, they remain there...
stallmansupport.org
Re: Update manager error
The auto-updater may not have run yet. Again, screenshots of the GUI application don't help, it's a different software. Post the full output of
Code: Select all
ll /var/log/mintupdate.log;cat /var/log/mintupdate.log
- FinixFighter
- Level 3
- Posts: 162
- Joined: Mon Oct 01, 2018 12:54 pm
- Location: Pescara, Italy
Re: Update manager error
Output of the first instruction:
Output of the second instruction:
Code: Select all
-rw-r--r-- 1 root root 2222 Oct 24 00:07 /var/log/mintupdate.log
Code: Select all
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
assaultcube-data extremetuxracer-data gsfonts-x11 libboost-random1.65.1
libboost-regex1.65.1 libgsasl7 libmikmod3 libntlm0 libqt5sql5
libqt5sql5-sqlite libsdl-mixer1.2 libsfml-audio2.4 libsfml-graphics2.4
libsfml-system2.4 libsfml-window2.4 libtinyxml2.6.2v5 libwine
libwine-development pokerth-data
Use 'apt autoremove' to remove them.
Suggested packages:
fdutils linux-doc-4.15.0 | linux-source-4.15.0 linux-tools groff
Recommended packages:
update-manager-core
The following NEW packages will be installed:
linux-headers-4.15.0-38 linux-headers-4.15.0-38-generic
linux-image-4.15.0-38-generic linux-modules-4.15.0-38-generic
linux-modules-extra-4.15.0-38-generic
The following packages will be upgraded:
friendly-recovery linux-generic linux-headers-generic linux-image-generic
linux-libc-dev man-db mintsystem
7 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 67,9 MB of archives.
After this operation, 336 MB of additional disk space will be used.
Get:1 http://ftp-stud.hs-esslingen.de/pub/Mirrors/packages.linuxmint.com tara/main amd64 mintsystem all 8.4.0 [18,4 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 man-db amd64 2.8.3-2ubuntu0.1 [1.019 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 friendly-recovery all 0.2.38ubuntu1 [8.912 B]
Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 linux-modules-4.15.0-38-generic amd64 4.15.0-38.41 [13,0 MB]
Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 linux-image-4.15.0-38-generic amd64 4.15.0-38.41 [7.898 kB]
Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 linux-modules-extra-4.15.0-38-generic amd64 4.15.0-38.41 [32,7 MB]
Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 linux-generic amd64 4.15.0.38.40 [1.868 B]
Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 linux-image-generic amd64 4.15.0.38.40 [2.380 B]
Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 linux-headers-4.15.0-38 all 4.15.0-38.41 [11,0 MB]
stallmansupport.org
Re: Update manager error
If that's the full log, is it possible you shut down the computer while the update was taking place? You can check your recent shutdown times using this command:
Code: Select all
last -n5
- FinixFighter
- Level 3
- Posts: 162
- Joined: Mon Oct 01, 2018 12:54 pm
- Location: Pescara, Italy
Re: Update manager error
That's what I get:gm10 wrote: ⤴Wed Oct 24, 2018 5:37 am If that's the full log, is it possible you shut down the computer while the update was taking place? You can check your recent shutdown times using this command:Code: Select all
last -n5
Code: Select all
luca tty7 :0 Wed Oct 24 08:59 gone - no logout
reboot system boot 4.15.0-36-generi Wed Oct 24 08:56 still running
reboot system boot 4.15.0-36-generi Wed Oct 24 08:54 - 08:56 (00:02)
luca tty7 :0 Tue Oct 23 19:49 - 00:07 (04:18)
reboot system boot 4.15.0-36-generi Tue Oct 23 19:48 - 00:08 (04:19)
wtmp begins Sat Oct 20 10:04:11 2018
stallmansupport.org
Re: Update manager error
Yes, and as you can see from the times, you happened to shut it down last night exactly when it was updating. But otherwise it was running fine, so your updates should get installed tomorrow if nothing else interferes.