LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 09-12-2021, 11:54 AM   #1
wpost
Member
 
Registered: Jul 2004
Location: Honduras
Distribution: openSUSE
Posts: 33

Rep: Reputation: 1
Upgrading to 15.3 reinstalled default applications


I upgraded an openSUSE box from 15.2 to 15.3. Previous upgrades worked as I expected: installed software was upgraded but nothing not needed was installed. This upgrade however re-installed openSUSE's default software (default web browser, default mail client, default music and video players, etc.). I'll uninstall them, but what might I have done wrong during the upgrade that could have caused that? I ask because I have several other boxes to upgrade and I'd prefer to learn from my mistake before continuing.

What I did to upgrade was what what I always do, follow the offline upgrade instructions at https://en.opensuse.org/SDB:Offline_upgrade. Perhaps there is some new option in the 15.3 upgrade process that I overlooked in my enthusiasm to upgrade?
 
Old 09-12-2021, 12:46 PM   #2
petelq
Member
 
Registered: Aug 2008
Location: Yorkshire
Distribution: openSUSE(Leap and Tumbleweed) and a (not so) regularly changing third and fourth
Posts: 629

Rep: Reputation: Disabled
You can search 'patterns' and taboo the ones you don't want eg 'patterns multimedia' loads the standard a/v stuff. Or you can just taboo the individual packages that you don't want.
You can do this with zypper or yast software management. In yast it's a right click on the item or run
Code:
zypper help | less

Last edited by petelq; 09-12-2021 at 12:50 PM.
 
1 members found this post helpful.
Old 09-12-2021, 02:58 PM   #3
wpost
Member
 
Registered: Jul 2004
Location: Honduras
Distribution: openSUSE
Posts: 33

Original Poster
Rep: Reputation: 1
Pete, thank you for reminding me of patterns. I see that patterns-xfce-xfce lists the applications that were re-installed during upgrade. It is my belief that removing that pattern before upgrading will avoid the problem I reported. I'll try that and report back. (Edit: Yes, that worked.)

You know but lurkers might not that:

- Removing a pattern does not remove the packages that it brought in, so it should be safe to remove a pattern. You don't have to take my word for it though: `sudo zypper remove --dry-run patterns-xfce-xfce` will tell you what the command would remove but doesn't actually do anything.

- If you have a similar problem to mine but don't use Xfce, then you will want to look at the packages for the desktop environment that you use.

Last edited by wpost; 09-19-2021 at 01:57 PM.
 
Old 09-12-2021, 04:12 PM   #4
petelq
Member
 
Registered: Aug 2008
Location: Yorkshire
Distribution: openSUSE(Leap and Tumbleweed) and a (not so) regularly changing third and fourth
Posts: 629

Rep: Reputation: Disabled
I had a feeling you'd know about it but I edited my response and added the brief instructions just in case.
I'm glad I was able to help.
 
1 members found this post helpful.
Old 09-13-2021, 12:15 AM   #5
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,850
Blog Entries: 1

Rep: Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074
There were unusual changes in 15.3 caused by the new dependence on SUSE Linux Enterprise packages being used directly in the distro. This caused some unexpected upgrading results that weren't caught soon enough before release, or were caught only afterward. I agree removing patterns prior to upgrade should reduce the unwanted behavior. You could take if further by setting
Code:
 solver.onlyRequires = true
in /etc/zypp/zypp.conf, which should prevent additional recommended packages from being installed.
 
1 members found this post helpful.
Old 09-19-2021, 02:14 PM   #6
wpost
Member
 
Registered: Jul 2004
Location: Honduras
Distribution: openSUSE
Posts: 33

Original Poster
Rep: Reputation: 1
I'm reporting back as promised to confirm that the solution is to review and perhaps remove patterns packages before upgrading. In my particular case, that would be:

1. While still running 15.2, `sudo zypper remove patterns-xfce-xfce` or whatever patterns you have that would drag in things you have uninstalled and don't want to see again.
2. Upgrade to 15.3.
 
Old 09-19-2021, 04:48 PM   #7
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,850
Blog Entries: 1

Rep: Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074
Thanks for the confirmation!
 
  


Reply

Tags
upgrade



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
Modifying /usr/share/applications/default.list (Or: setting default applications) arizonagroovejet Linux - Desktop 0 06-02-2010 04:19 AM
reinstalled windows, boot data erased, now what farhanali Linux - General 3 04-27-2003 01:13 PM
Reinstalled Mozilla to 1.3! orange400 LinuxQuestions.org Member Success Stories 0 03-20-2003 01:47 AM
Reinstalled Mandrake 8.2 now super slow...... 1611AV Linux - Distributions 3 05-07-2002 10:02 PM
Reinstalled Zend Cache and Zend Optimizer jeremy LQ Suggestions & Feedback 0 05-11-2001 11:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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