zypper install-new-recommends

I’m running OpenSUSE 12.1 64 bit.
zypper install-new-recommends shows:

The following NEW packages are going to be installed:
alsa-plugins-pulse-32bit aspell-it bluedevil bluedevil-lang
bundle-lang-common-it bundle-lang-gnome-en
bundle-lang-gnome-extras-en bundle-lang-gnome-extras-it
bundle-lang-gnome-it bundle-lang-kde-it cups-libs-32bit digikam
digikam-doc digikam-lang evolution-data-server
evolution-data-server-lang fontconfig-32bit ft2demos
ghostscript-fonts-other gimp-help-browser gimp-plugins-python
gmplayer gnome-online-accounts graphviz graphviz-gd graphviz-gnome
gstreamer-0_10-lang gstreamer-0_10-plugins-good-lang
gstreamer-0_10-plugins-ugly-lang gtk2-engines-32bit
gtk2-tools-32bit kipi-plugins-acquireimage kopete lensfun-data
libFLAC8-32bit libXi6-32bit libasound2-32bit libatk-1_0-0-32bit
libbluedevil1 libcairo2-32bit libcamel-1_2-29
libcanberra-gtk0-32bit libcanberra-gtk2-module-32bit
libcanberra0-32bit libeXosip2-6 libebackend-1_2-1 libebook-1_2-12
libecal-1_2-10 libedata-book-1_2-11 libedata-cal-1_2-13
libedataserver-1_2-15 libexpat1-32bit libfreetype6-32bit libgadu3
libgdata13 libgeoclue0 libglade-2_0-0 libgoa-1_0-0
libgoa-backend-1_0-0 libgstreamer-0_10-0-32bit libgtk-2_0-0-32bit
libgweather-3-0 libgweather-data libieee1284
libjavascriptcoregtk-1_0-0 libjavascriptcoregtk-3_0-0
libjson-glib-1_0-0 libjson0-32bit libkface1 libksane0 liblensfun0
liblqr-1-0 libltdl7-32bit libmsn0_3 liboauth0 libogg0-32bit
libosip2 libotr2 libpango-1_0-0-32bit libpixman-1-0-32bit
libproxy1-pacrunner-webkit libpulse0-32bit libqdialogsolver1
librest0 libsndfile-32bit libsnmp30 libspeex1-32bit libuuid1-32bit
libvorbis0-32bit libvorbisenc2-32bit libvorbisfile3-32bit
libwebkitgtk-1_0-0 libwebkitgtk-3_0-0 libxine2-codecs linphone
meanwhile notification-daemon nss_ldap-32bit obexd obexd-client
opensuse-manuals_en pango-tools-32bit parallel-printer-support
projectM python-cairo python-distribute python-gtk python-numpy
python-pyudev sane-backends sane-backends-autoconfig skanlite
skanlite-doc skanlite-lang snmp-mibs sssd-32bit synaptiks
tcpd-32bit xorg-x11-fonts xorg-x11-libICE-32bit
xorg-x11-libSM-32bit xorg-x11-libXfixes-32bit xorg-x11-libXmu-32bit
xorg-x11-libXp-32bit xorg-x11-libXpm-32bit
xorg-x11-libXprintUtil-32bit xorg-x11-libXrender-32bit
xorg-x11-libXt-32bit xorg-x11-libfontenc-32bit xorg-x11-libs-32bit
xorg-x11-libxkbfile-32bit yast2-qt-graph

132 new packages to install.
Overall download size: 123.2 MiB. After the operation, additional
325.0 MiB will be used.
Continue? [y/n/?] (y)

What’s your advice? Yes or Not?. :
It shows many 32 bit packages (?)!:open_mouth:

  1. Please use CODE tags around computer text: http://forums.opensuse.org/english/information-new-users/advanced-how-faq-read-only/451526-posting-code-tags-guide.html

  2. You could tell a little bit more. What made you to use this command? Are you immedialtly after an installation? Are you missing something? When you want us to follw your strain of thoughts, you must be a bit more talkative.

I personaly never did it (but maybe YaST did some equivalent) and you made me curious. So I did (on my 32-bit 11.4):

boven:~ # zypper inr -D
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Nothing to do.
boven:~ # 

Thus it seems that saying yes might give you things that could be fine to have. OTOH there are a lot of 32-bit libraries there and I do not know why you should need them

Maybe we must wait for more comments from others.

$ cat /var/lib/zypp/SoftLocks 
# zypp::SoftLocksFile generated Mon 07 May 2012 20:45:01 BST

With this the list should go down. But yes, install the recommends unless you have a good reason not to.

I did it, because of this:
*install-new-recommends or inr
This command finds and installs newly added recommended packages for packages you have already installed. This provides an easy way to get new language bundles for your software or drivers for newly added hardware.
*Anyway I installed those packages and everything went well …

The only reason I can think of that it would automatically select so many 32-bit packages is that you have a 32-bit program installed that’s recommending them.

If you’re really curious about why they’re being selected, I’d see what zypper complains about if you try removing them:

$ sudo zypper rm *-32bit

Without actually removing all the packages, it should give you some idea of what’s requiring them.

No, those 32-bit packages are installed when you ask zypper to install recommendations… because they are recommended. Just that.

My 12.1 x86-64 system only has four -32bit packages

$ zypper --no-refresh se -s -i -- -32bit
Loading repository data...
Reading installed packages...

S | Name               | Type    | Version        | Arch   | Repository
i | glibc-32bit        | package | 2.14.1-14.27.1 | x86_64 | Updates   
i | glibc-locale-32bit | package | 2.14.1-14.27.1 | x86_64 | Updates   
i | libncurses5-32bit  | package | 5.8-5.1.4      | x86_64 | OSS       
i | nss-mdns-32bit     | package | 0.10-52.1.2    | x86_64 | OSS

(grub needs glibc-32bit and libncurses5-32bit, and the other two are recommendations of the first ones)

But that’s because of my /var/lib/zypp/SoftLocks file. Most people will have way more.
gtk2-engines recommends gtk2-engines-32bit… A basic 64 bits package recommends a -32bit one. And obviously gtk2-engines-32bit has it’s own -32bit requirements…

Since they are recommendations and not requirements zypper will not complain about anything.

To sum up, installing those packages is an option (in the sense that it’s not mandatory …). :wink: