LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > elementary OS
User Name
Password
elementary OS This forum is for the discussion of elementary Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 09-04-2021, 01:21 PM   #1
joden1
Member
 
Registered: Jun 2020
Posts: 94

Rep: Reputation: Disabled
SOLVED:App is blocked from updating, but App centre keeps trying to update it...


It is Wine-Staging I am trying to hold to a particular version (6.14) and I have run the command to stop it updating, however App Centre keeps adding it to the list of updates (under System) so I cannot stop it updating, which will break a couple of other apps I need to run.

There are now 179 updates, but I cannot do them as I cannot get rid of the Wine-Staging update.

I tried running the updates, just to see if it would skip the Wine update and just install the others, but that didn't work and i had to go and downgrade Wine again....rinse and repeat, Wine then starts to appear in the system updates again.

How can I stop App Centre including wine in it's scan?

Last edited by joden1; 09-05-2021 at 03:51 PM.
 
Old 09-04-2021, 04:47 PM   #2
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,139
Blog Entries: 21

Rep: Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480
I'd disable the wine repo temporarily to finish my update.

Then investigate the why it won't update later on.
 
Old 09-04-2021, 05:01 PM   #3
joden1
Member
 
Registered: Jun 2020
Posts: 94

Original Poster
Rep: Reputation: Disabled
Yes that's what I am saying - I HAVE blocked the repo from updating, but EOS keeps re-adding it to the update list
 
Old 09-04-2021, 08:05 PM   #4
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,388

Rep: Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560
How have you tried to block it from updating?

The easiest way is to comment the external wine repo in /etc/apt/sources.list or if its not listed there, delete (or move away) the file in /etc/apt/sources.list.d then
Code:
sudo apt update && sudo apt upgrade
edit: doh, EOS is elementary OS

Last edited by enigma9o7; 09-05-2021 at 01:50 PM.
 
Old 09-04-2021, 08:32 PM   #5
joden1
Member
 
Registered: Jun 2020
Posts: 94

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by enigma9o7 View Post
How have you tried to block it from updating?

The easiest way is to comment the external wine repo in /etc/apt/sources.list or if its not listed there, delete (or move away) the file in /etc/apt/sources.list.d then
Code:
sudo apt update && sudo apt upgrade
Whatever EOS is, if it is acting inbetween the time you remove the repo and run update/upgrade, then figure out how to kill that process.
Yep, again as I wrote in the OP, that is already done this is the command I used sudo apt-mark hold winehq-staging. I did not try the one you posted there so worht a try
 
Old 09-05-2021, 12:00 AM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by joden1 View Post
Yes that's what I am saying - I HAVE blocked the repo from updating, but EOS keeps re-adding it to the update list
Please show us:
Code:
cat /etc/apt/sources.list{,.d/*}
 
Old 09-05-2021, 12:39 PM   #7
joden1
Member
 
Registered: Jun 2020
Posts: 94

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
Please show us:
Code:
cat /etc/apt/sources.list{,.d/*}
There were a few, but I am guessing the salient one is this?

deb https://dl.winehq.org/wine-builds/ubuntu/ focal main
# deb-src https://dl.winehq.org/wine-builds/ubuntu/ focal main
deb http://ppa.launchpad.net/elementary-os/stable/ubuntu focal main
deb-src http://ppa.launchpad.net/elementary-os/stable/ubuntu focal main
 
Old 09-05-2021, 01:48 PM   #8
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,388

Rep: Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560
As I suggested earlier, comment out the wine one, the first line there, put a # before it then update.
Code:
sudo apt edit-sources 
sudo apt update
sudo apt upgrade

Last edited by enigma9o7; 09-05-2021 at 01:51 PM.
 
1 members found this post helpful.
Old 09-05-2021, 03:35 PM   #9
joden1
Member
 
Registered: Jun 2020
Posts: 94

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by enigma9o7 View Post
As I suggested earlier, comment out the wine one, the first line there, put a # before it then update.
Code:
sudo apt edit-sources 
sudo apt update
sudo apt upgrade

EDIT: figured it out from your post, thanks!

Last edited by joden1; 09-05-2021 at 03:51 PM.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help me control centre synaptic will not let me update or download michelle cullum Linux - Newbie 14 06-17-2019 05:21 AM
[SOLVED] Set up app as an init.d daemon, but it isn't running in background and stdout isn't blocked Abscissa256 Debian 1 02-14-2013 12:48 AM
How to update the Software Centre? janap-146 Ubuntu 18 03-26-2011 07:01 PM
gsm connection keeps hanging: blocked by SELinux? Hairyloon Linux - Wireless Networking 1 10-15-2008 12:55 PM
Mod recent blocked related question (netfilter). WHO IS BLOCKED CarLost Linux - Security 6 07-29-2008 03:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > elementary OS

All times are GMT -5. The time now is 11:32 PM.

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