Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No recommends #194

Open
jayvdb opened this issue Jun 30, 2017 · 1 comment
Open

No recommends #194

jayvdb opened this issue Jun 30, 2017 · 1 comment

Comments

@jayvdb
Copy link
Member

jayvdb commented Jun 30, 2017

zypper install has a --no-recommends mode.

Without it, latest master shows

The following 332 NEW packages are going to be installed:
  ...

The following 4 packages are going to be upgraded:

  libgcc_s1 libgcrypt20 libncurses6 libstdc++6

4 packages to upgrade, 332 new.
Overall download size: 406.0 MiB. Already cached: 0 B. After the operation, additional 1.4 GiB will be used.

With --no-recommends, there is surprisingly actually more packages, and little difference in the image increase:

The following 356 NEW packages are going to be installed:
  ...

The following 7 packages are going to be upgraded:

  libgcc_s1 libgcrypt20 libncurses6 libopenssl1_0_0 libstdc++6 openssl openssl-1_0_0

7 packages to upgrade, 332 new.
Overall download size: 407.9 MiB. Already cached: 0 B. After the operation, additional 1.4 GiB will be used.

But maybe that can be improved upon.

@jayvdb
Copy link
Member Author

jayvdb commented Jul 1, 2017

It may be that the default config already enables this option. Possibly this line:

solver.onlyRequires = true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants