Unable to update Linux Mint - SOLVED

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
PartsAbuser
Level 3
Level 3
Posts: 104
Joined: Tue Jan 01, 2019 6:38 am

Unable to update Linux Mint - SOLVED

Post by PartsAbuser »

Hello,
So, I tried to update Mint using this command: sudo apt update && sudo apt upgrade -y
The result was this:

Code: Select all

Get:1 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease [6,259 B]
Err:1 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease                                     
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease                                             
Ign:3 http://packages.linuxmint.com tara InRelease                                                  
Get:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]                           
Hit:5 http://packages.linuxmint.com tara Release                                                    
Hit:6 http://archive.canonical.com/ubuntu bionic InRelease                                          
Get:7 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]                         
Hit:9 http://ppa.launchpad.net/noobslab/apps/ubuntu bionic InRelease                                
Get:10 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]                        
Hit:11 http://ppa.launchpad.net/plushuang-tw/uget-stable/ubuntu bionic InRelease                    
Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [307 kB]          
Get:13 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [273 kB]      
Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2,468 B]
Get:15 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [7,972 B]
Get:16 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [38.7 kB]
Get:17 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [42.0 kB]
Get:18 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 DEP-11 Metadata [2,464 B]
Reading package lists... Done                                              
W: GPG error: https://dl.winehq.org/wine-builds/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
E: The repository 'https://dl.winehq.org/wine-builds/ubuntu bionic InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
It's clear to me that my system failed to update, but I lack the skills to decipher the above.
Was the command I entered incorrect? If so, what is the correct command?

For the record, I've given up trying to get Wine to work (for use with Sketchup) and, based on my attempt to remove it from my system, I'm not even sure it's installed. I did find WineTricks installed, but I'm not sure what that program is, and therefore left it alone. In any event, any help would be appreciated.
Thanks,
Vince

My system:

Code: Select all

System:    Host: Pancho Kernel: 4.15.0-45-generic x86_64 bits: 64 gcc: 7.3.0
           Desktop: Cinnamon 3.8.9 (Gtk 3.22.30-1ubuntu2) Distro: Linux Mint 19 Tara
Machine:   Device: desktop System: Gigabyte product: AB350-Gaming 3 serial: N/A
           Mobo: Gigabyte model: AB350-Gaming 3-CF v: x.x serial: N/A
           UEFI: American Megatrends v: F21 date: 02/08/2018
CPU:       Quad core AMD Ryzen 3 2200G with Radeon Vega Graphics (-MCP-) 
           arch: Zen rev.0 cache: 2048 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm) bmips: 27947
           clock speeds: max: 3500 MHz 1: 1427 MHz 2: 1446 MHz 3: 1528 MHz 4: 1571 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series]
           bus-ID: 07:00.0
           Display Server: x11 (X.Org 1.19.6 )
           drivers: ati,amdgpu (unloaded: modesetting,fbdev,vesa,radeon)
           Resolution: 1920x1080@30.00hz
           OpenGL: renderer: AMD RAVEN (DRM 3.23.0, 4.15.0-45-generic, LLVM 7.0.0)
           version: 4.5 Mesa 18.2.2 Direct Render: Yes
Audio:     Card-1 Advanced Micro Devices [AMD] Device 15e3 driver: snd_hda_intel bus-ID: 07:00.6
           Card-2 Advanced Micro Devices [AMD/ATI] Device 15de
           driver: snd_hda_intel bus-ID: 07:00.1
           Sound: Advanced Linux Sound Architecture v: k4.15.0-45-generic
Network:   Card: Realtek RTL8111/8168/8411 PCIE Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: f000 bus-ID: 03:00.0
           IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 1000.2GB (42.7% used)
           ID-1: /dev/nvme0n1 model: CT500P1SSD8 size: 500.1GB
           ID-2: /dev/sda model: ST500DM002 size: 500.1GB
Partition: ID-1: / size: 442G used: 384G (92%) fs: ext4 dev: /dev/dm-1
           ID-2: /boot size: 705M used: 292M (45%) fs: ext4 dev: /dev/nvme0n1p2
           ID-3: swap-1 size: 16.05GB used: 0.00GB (0%) fs: swap dev: /dev/dm-2
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 26.9C mobo: N/A gpu: 0.0
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 229 Uptime: 4:23 Memory: 3770.1/15043.5MB
           Init: systemd runlevel: 5 Gcc sys: 7.3.0 Client: Shell (bash 4.4.191) inxi: 2.3.56
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.
User avatar
Pjotr
Level 24
Level 24
Posts: 20120
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: Unable to update Linux Mint

Post by Pjotr »

Launch the application Software Sources and remove the WineHQ source.
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
User avatar
spamegg
Level 14
Level 14
Posts: 5091
Joined: Mon Oct 28, 2019 2:34 am
Contact:

Re: Unable to update Linux Mint

Post by spamegg »

Update Manager/Edit/Software Sources, look under PPA or Additional Repositories, and remove the Wine source there.
pbear
Level 16
Level 16
Posts: 6569
Joined: Wed Jun 21, 2017 12:25 pm
Location: San Francisco

Re: Unable to update Linux Mint

Post by pbear »

PartsAbuser wrote: Mon Apr 20, 2020 5:09 am So, I tried to update Mint using this command: sudo apt update && sudo apt upgrade -y
Was the command I entered incorrect? If so, what is the correct command?
As Pjotr and others have said, the solution to the immediate problem is to remove WineHQ from Software Sources. You'll find that on Menu.

For the future, why are you using this command rather than Update Manager? Further, I think -y is bad practice, especially if you're new. Only takes a few seconds to review the proposed action. If you're going to use -y, I hope you have Timeshift setup and have done a trial restore or two.
sleeper12
Level 21
Level 21
Posts: 14593
Joined: Thu May 25, 2017 3:22 pm

Re: Unable to update Linux Mint

Post by sleeper12 »

As others have said, remove Wine if you don't want it. If you just want to fix the error message, try:

Code: Select all

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 76F1A20FF987672F 
apt update 
Last edited by sleeper12 on Mon Apr 20, 2020 11:50 am, edited 1 time in total.
User avatar
Flemur
Level 20
Level 20
Posts: 10096
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Unable to update Linux Mint

Post by Flemur »

PartsAbuser wrote: Mon Apr 20, 2020 5:09 am Hello,
So, I tried to update Mint using this command: sudo apt update && sudo apt upgrade -y
The result was this:

For the record, I've given up trying to get Wine to work (for use with Sketchup)
Do what Pjotr and others suggested (remove wine repos), then follow the correct instructions for installing wine:
viewtopic.php?f=90&t=314921
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
PartsAbuser
Level 3
Level 3
Posts: 104
Joined: Tue Jan 01, 2019 6:38 am

Re: Unable to update Linux Mint

Post by PartsAbuser »

Thanks for the help everyone! Was able to remove WineHQ.
Now to the original problem: updating Mint. Is this advisable, based on my currently installed version?
Vince
User avatar
MartyMint
Level 7
Level 7
Posts: 1730
Joined: Thu Dec 27, 2012 10:50 pm

Re: Unable to update Linux Mint

Post by MartyMint »

It's perfectly fine, but be sure to have anything you want backed up before any major changes.
pbear
Level 16
Level 16
Posts: 6569
Joined: Wed Jun 21, 2017 12:25 pm
Location: San Francisco

Re: Unable to update Linux Mint

Post by pbear »

PartsAbuser wrote: Mon Apr 20, 2020 2:21 pm Now to the original problem: updating Mint. Is this advisable, based on my currently installed version?
I addressed that question three posts before this one.
PartsAbuser
Level 3
Level 3
Posts: 104
Joined: Tue Jan 01, 2019 6:38 am

Re: Unable to update Linux Mint

Post by PartsAbuser »

Thank you, MartyMint.
pbear, I did a search for 'update Linux' but nothing seemed relevant. Perhaps I was searching while you were formulating your response to the other poster's query? In any case, I appreciate your time.
Again, thanks for the help everybody.
Vince
pbear
Level 16
Level 16
Posts: 6569
Joined: Wed Jun 21, 2017 12:25 pm
Location: San Francisco

Re: Unable to update Linux Mint

Post by pbear »

PartsAbuser wrote: Mon Apr 20, 2020 8:27 pm pbear, I did a search for 'update Linux' but nothing seemed relevant.
Search? I'm talking about a post in this thread, which only has eleven posts (including this one). How hard can that post be to find?
PartsAbuser
Level 3
Level 3
Posts: 104
Joined: Tue Jan 01, 2019 6:38 am

Re: Unable to update Linux Mint - SOLVED

Post by PartsAbuser »

pbear,
You said
How hard can that post be to find?
Not sure how you'd interpret that statement, were someone were to send it your way, but it feels an awful lot like an insult, from where I'm sitting. Not very pleasant.
For the record, I just went through every single word in the post to which you're referring, and nowhere is there any mention of whether updating my version of Mint is advisable, so...
Vince
User avatar
Pjotr
Level 24
Level 24
Posts: 20120
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: Unable to update Linux Mint - SOLVED

Post by Pjotr »

Updating is always advisable. As is having one or two Timeshift snapshots (no more, in order to avoid excessive disk storage consumption) as backup, in case things go south. :wink:

In fact, as you're still running Mint 19 Tara, I recommend an in-place upgrade to Mint 19.3.
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
PartsAbuser
Level 3
Level 3
Posts: 104
Joined: Tue Jan 01, 2019 6:38 am

Re: Unable to update Linux Mint - SOLVED

Post by PartsAbuser »

Pjotr,
Thanks for the reply.
I've got two Timeshift snapshots.
Is this a good place to have you define/explain an in-place upgrade, or would it be best to move this to a new thread?
Thanks,
Vince
User avatar
Pjotr
Level 24
Level 24
Posts: 20120
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: Unable to update Linux Mint - SOLVED

Post by Pjotr »

PartsAbuser wrote: Tue Apr 21, 2020 5:13 am Is this a good place to have you define/explain an in-place upgrade
Can be dealt with here.... Launch Update Manager and click Edit. An in-place upgrade option should be shown.

This method might necessitate you to perform an upgrade in stages, i.e. first to 19.1, then to 19.2, finally to 19.3.
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
pbear
Level 16
Level 16
Posts: 6569
Joined: Wed Jun 21, 2017 12:25 pm
Location: San Francisco

Re: Unable to update Linux Mint - SOLVED

Post by pbear »

PartsAbuser wrote: Tue Apr 21, 2020 3:10 am Not very pleasant.
Conversely, it's darn frustrating to take the time to post, only to have that ignored. Also, while update and upgrade can be confused, just as people sometimes mix up imply and infer, in the context of this thread, update plainly meant what was described in the OP, for which my post was apt.

Moreover, even if you upgrade, the question of how to do updates correctly remains, as you later will be updating the upgraded system.
Locked

Return to “Beginner Questions”