Results 1 to 4 of 4

Thread: zypper question

  1. #1

    Default zypper question

    I've been updating a TW minimal mate installation since May with the default settings in /etc/zypp/zypp.conf. After noticing that unrequired packages were sometimes being installed during updates, I changed solver.onlyRequires to true in the zypp.conf file. Is there any way to get a list of packages that have been installed as recommends during the "zypper dup" commands?

    Thanks,
    Gene

  2. #2
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    1,930
    Blog Entries
    1

    Default Re: zypper question

    Quote Originally Posted by Gene_S View Post
    I've been updating a TW minimal mate installation since May with the default settings in /etc/zypp/zypp.conf. After noticing that unrequired packages were sometimes being installed during updates, I changed solver.onlyRequires to true in the zypp.conf file. Is there any way to get a list of packages that have been installed as recommends during the "zypper dup" commands?

    Thanks,
    Gene
    Code:
    erlangen:~ # zypper packages --help
    packages (pa) [OPTIONS] [REPOSITORY] ...
    
    List all packages available in specified repositories.
    
      Command options:
    
        --orphaned              Show packages which are orphaned (without repository). Default: false
        --suggested             Show packages which are suggested. Default: false
        --recommended           Show packages which are recommended. Default: false
        --unneeded              Show packages which are unneeded. Default: false
    -N, --sort-by-name          Sort the list by package name. Default: false
    -R, --sort-by-repo          Sort the list by repository. Default: false
    -r, --repo <ALIAS|#|URI>    Work only with the specified repository.
    -i, --installed-only        Show only installed packages.
    -u, --not-installed-only    Show only packages which are not installed.
    
    erlangen:~ #
    AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), AMD Ryzen 5 3400G (2020), openSUSE Tumbleweed, KDE Plasma 5

  3. #3

    Default Re: zypper question

    Thanks!

    Gene

  4. #4

    Default Re: zypper question

    A grep command is needed to filter the auto installed packages:

    # zypper pa --recommended -i | grep '^i[^+]'

    Gene

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •