Zypper dup keeps wanting to install new, unwanted packages.

Hi all,

I am trying to run zypper dup but when I do extra packages/programmes that I don’t need or want are added too. Digikam and Showfoto are two that it wants to install at the moment. Is this normal and if so, why ?

I’m using KDE.

Digikam is recommended by patterns-kde-kde_imaging-20170319-13.1.noarch. Showfoto and Marble are recommended by Digikam.

Thanks for your reply xorbe

So it is best to just let them install and then ignore them.

Adrian

I cannot profess to know how “zypper dup” decides to add and remove packages, I just let it do its thing … if you aren’t getting any conflict resolution questions then it sounds good to me! Is this the system’s first dup?

Yes, this is the first time I have run dup, no conflicts or anything else reportind.

Adrian

If you not want them you can lock these packages (patterns).
zypper al package or zypper al -t pattern (pattern you want) - without “()”

Thank you for that another_roadrunner, I will remember that, much appreciated.

You are welcome.
I did myself in this way.
Here is a link who help me a lot
https://en.opensuse.org/SDB:Zypper_manual_(plain)
Regards

Thanks again another _roadrunner, that really is helpful, have bookmarked the page for easy reference in the future. Thank you for your help, much appreciated.

Adrian

With pleasure.

I think with the first dup, some extra packages are finally installed. Not sure why it’s arranged like this, it’s been mentioned before, I’m pretty sure.

Locking is good to prevent individual packages from being added or removed. I block PackageKit and keep one of my own packages that way.

However if you tune your installation to remove games, graphics tools or somesuch, it may be more convenient to use zypper’s “–no–recommends” option. I perform routine TW version upgrades with:

> sudo zypper dup --no-recommends 

Please be aware that Tw should only be updated through ‘zypper dup’, nothing else. The technical background for this is that Tw actually doesn’t know updates, it gets released over and over again, and a new snapshot can not only contain updated packages, but ( somtimes ) also downgraded packages, all for good reasons. YaST, the updater applets etc cannot deal with that (yet?).

The process:
Rebuild updated packages -> Build new snapshot -> Test snapshot in openqa.opensuse.org -> if OK -> release snapshot.

You can actually see this in /etc/os-release:


knurpht@Knurpht-HP:~> cat /etc/os-release 
NAME="openSUSE Tumbleweed"
# VERSION="20180326"
ID=opensuse
ID_LIKE="suse"
**VERSION_ID="20180326"**
PRETTY_NAME="openSUSE Tumbleweed"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:tumbleweed:20180326"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
knurpht@Knurpht-HP:~> 

You can keep your system lean by making --no-recommends your default → configure

solver.onlyRequires = true

in /etc/zypp/zypp.conf.

Thank you all for the information, explanations and help in general, it’s greatly and genuinely appreciated. It’s taking me a little while to understand everything about Opensuse but hopefully I am getting there and really enjoying the experience of using this OS. So thanks again for the help you have all provided, I am very grateful for your patience someone who is new to Suse. I rely on this computer for my photography and so far Opensuse looks like its going to be just perfect for me.

Adrian