Possible to update only one app using zypper?

Noob here. I want to use zypper to update only my Firefox app and nothing else. Is there a command that can do that? Something like

sudo zyp MozillaFirefox

Will this work? Or do I need to also manually update all the Firefox dependencies?

i  | mozilla-nspr                                 | Netscape Portable Runtime                                                          | package
i  | mozilla-nss                                  | Network Security Services                                                          | package
i  | mozilla-nss-certs                            | CA certificates for NSS                                                            | package
i  | mozilla-openh264                             | H.264 codec support for Mozilla browsers                                           | package
i  | MozillaFirefox                               | Mozilla Firefox Web Browser                                                        | package
i  | MozillaFirefox-branding-openSUSE             | openSUSE branding of MozillaFirefox                                                | package

zypper install --force NAME
should instal the Package NAME from the Repo with highest Prioritory and if all have the same Priorities, the Package with the highest Version-Release.

1 Like

Please also note that MozillaFirefox has some specific requirements, for instance:

bruno@LT-B:~> zypper --no-refresh info --requires MozillaFirefox
Information for package MozillaFirefox:
---------------------------------------
Repository     : Main Repository (OSS)
Name           : MozillaFirefox
Version        : 131.0.2-1.1
<snip>
Requires       : [130]
...
    mozilla-nspr >= 4.35
    mozilla-nss >= 3.104
    libfreetype6 >= 2.13.2
    MozillaFirefox-branding >= 68
<snip>

so if you have, for instance, mozilla-nspr < 4.35 installed, that package will be updated as well.

1 Like

Why --force?

2 Likes

Great. I’ll try it soon.

Seems to have worked. My Firefox is now up to 131.0.2. Unfortunately that version has the recent and bad Firefox bug. So I’ll skip using FIrefox until I can get the next version.

From what I know, 131.0.2 has the patch to fix it!

" The issue has been addressed in the following versions of the web browser -

  • Firefox 131.0.2
  • Firefox ESR 128.3.1, and
  • Firefox ESR 115.16.1. "

So you’re safe to use Firefox again!

1 Like

Is patched against CVE-2024-9680.

rpm -q --changelog https://download.opensuse.org/tumbleweed/repo/oss/x86_64/MozillaFirefox-131.0.2-1.1.x86_64.rpm | grep -iB 10 'CVE-2024-9680'
* Mi Okt 09 2024 Wolfgang Rosenauer <wr@rosenauer.org>
- Mozilla Firefox 131.0.2
  MFSA 2024-51 (bsc#1231413)
  * CVE-2024-9680 (bmo#1923344)

Sorry, I don’t understand. We’re saying the same thing, no?

Firefox 131.0.2
and
Firefox 128.3.1esr

are patched,

right?

Oh, did you meant, that we can also look it up with the command line?

Is there any documentation for the rpm command, or should I just read the man?

I didn’t knew, that you could search for CVE’s with rpm! That is actually really great!

They are patched.

Best is to use the commandline often and use many commands inside.
I use mostly
command --help
to get the short help for command, if I need more, I use
man command

rpm can handle installed packages or if not installed, use the complete Path to the package as seen above.
And this output is “grepped” for some special piece.
Also grep --help or the manpage will help.

1 Like

Oh. One of the articles I read said 131.0.2 was still affected with the bug. Glad it’s fixed. Thanks.

Meanwhile, FF 131.0.3 is available with Mozilla repo.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.