Zypper, KDE, and the new Tumbleweed

Hi all,

I had a nice, tidy KDE Tumbleweed installation going and after switching to the new Tumbleweed repos and doing the typical ref/dup process, it forces me to install Firefox, marble, k3b, games, etc etc etc. If I go in and remove those and do a dup again, it reinstalls everything I just took off. If I take off Firefox, it tries to install Thunderbird. Any tips on figuring out what is forcing me to do those?

Thanks

MN

Here is some output to use as an example:

# zypper se --requires marble
Loading repository data...
Reading installed packages...


S | Name                          | Summary                                                  | Type       
--+-------------------------------+----------------------------------------------------------+------------
i | Marble                        | Virtual Globe                                            | application
  | Subsurface                    | Open source divelog program                              | package    
  | Subsurface                    | Open source divelog program                              | srcpackage 
  | calligra                      | Libraries and Base Files for the KDE Office Suite        | package    
  | calligra                      | Libraries and Base Files for the KDE Office Suite        | srcpackage 
  | calligra-kexi                 | Database Application                                     | package    
  | digikam                       | A KDE Photo Manager                                      | srcpackage 
  | kphotoalbum                   | A photo administration utility                           | srcpackage 
i | libkgeomap1                   | World-Map Library interface for KDE                      | package    
  | libpublictransporthelper11    | Libraries needed by public transport plasmoids           | package    
i | marble                        | Generic map viewer                                       | package    
i | marble-data                   | Generic map viewer: data                                 | package    
  | marble-devel                  | Generic map viewer: Build Environment                    | package    
i | marble-doc                    | Marble documentation                                     | package    
  | package-lists-openSUSE-KDE-cd | Patterns for Installation (full ftp tree)                | package    
i | plasma-addons-marble          | Additional Plasmoids Depending on Marble                 | package    
  | plasmoid-publictransport      | Public transport plasmoid                                | srcpackage 
  | plasmoid-timekeeper           | A clock and a calendar functions via steampunk interface | package    

And my subsequent:


# zypper rm -u Marble libkgeomap1 marble marble-data marble-doc plasma-addons-marble
Loading repository data...
Reading installed packages...
Resolving package dependencies...


The following 3 applications are going to be REMOVED:
  Marble Showfoto digiKam 


The following 12 packages are going to be REMOVED:
  digikam digikam-doc kipi-plugins-geolocation libkface2 libkgeomap1 libmarblewidget19 libpgf6 libquazip1 marble marble-data marble-doc plasma-addons-marble 


12 packages to remove.
After the operation, 114.2 MiB will be freed.
Continue? [y/n/? shows all options] (y):

After that happens, running zypper dup results in:


# zypper dup
Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.
Loading repository data...
Reading installed packages...
Computing distribution upgrade...


The following 12 NEW packages are going to be installed:
  digikam digikam-doc kipi-plugins-geolocation libkface2 libkgeomap1 libmarblewidget19 libpgf6 libquazip1 marble marble-data marble-doc plasma-addons-marble 


12 new packages to install.
Overall download size: 51.9 MiB. Already cached: 0 B  After the operation, additional 114.2 MiB will be used.
Continue? [y/n/? shows all options] (y):

I’m flummoxed as I took out anything that requires Marble and it still gets put back.

MN

…removing the patterns and dependencies also doesn’t resolve. zypper dup results in it reinstalling the patterns.

MN

Well, that’s a change in zypper, totally unrelated to Tumbleweed. The same happens in 13.2 as well I think.

zypper knows about “application” now, in addition to “package”, “patch”, and “pattern” e.g. (see the “type” column in your output)
I.e the “application” Marble is not exactly the same as the “package” marble.

Probably that feature is not quite working as intended yet, I think there’s even a bug report about that.

In the end it only matters what packages you have installed anyway.

Hi, thanks for the extra information. I also remove marble and the same result is achieved. It just pummels me with **** I don’t want installed on my system. Would a fresh installation with the new Tumbleweed/Factory ISOs get me the desired result or am I stuck with these packages?

Thanks!
MN

Well, “Taboo” them, or add a lock with zypper.
Maybe the --norecommends switch will help as well, or setting the corresponding option in /etc/zypp/zypper.conf.

But again, also this is not at all related/specific to Tumbleweed. Changes have been made to the package management system months ago and they are in 13.2 as well.
In this particular case it’s the “SoftLocks” feature that got removed, i.e. packages you manually uninstalled did not get automatically installed again any more.
This caused unexpected behaviour and confusion, e.g. it could cause the wrong nvidia kernel modules to be installed if you ever uninstalled the driver manually (the same for other KMPs like virtualbox). So it got removed, with the effect that recommended packages that you uninstall will get reinstalled automatically again.

But, for clarity’s sake and to ensure I’m not nuking/overthinking it:


# zypper rm -u marble
Loading repository data...
Reading installed packages...
Resolving package dependencies...


The following application is going to be REMOVED:
  Marble 


The following 6 packages are going to be REMOVED:
  kipi-plugins-geolocation libquazip1 marble marble-data marble-doc plasma-addons-marble 


6 packages to remove.
After the operation, 29.1 MiB will be freed.
Continue? [y/n/? shows all options] (y):

And then…


# zypper dup
Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.
Loading repository data...
Reading installed packages...
Computing distribution upgrade...


The following 6 NEW packages are going to be installed:
  kipi-plugins-geolocation libquazip1 marble marble-data marble-doc plasma-addons-marble 


6 new packages to install.
Overall download size: 15.1 MiB. Already cached: 0 B  After the operation, additional 29.1 MiB will be used.
Continue? [y/n/? shows all options] (y):

So something is calling for it even though I’ve removed the package completely from the system and attempting to nuke the patterns that may be calling these things in doesn’t fix it as it simply pulls the patterns back in. But I’m going to try and dig up the bug report you mentioned, though.

MN

Okay…hm. Bummer. But that is probably what I need to do to get this fixed. My apologies for the long reply to your original response; I didn’t see you had replied again. :slight_smile:

Thanks!
MN

Fixed my issue. Now to cleanup the stuff that was added on…

Thanks again, wolfi.

MN

Yeah. Sorry, I didn’t notice the part about removing marble and getting it installed again in my first reply.
I wanted to clear up the confusion about “Marble” the application and “marble” the package.

Anyway, try to set “installRecommends = no” in /etc/zypp/zypper.conf, it shouldn’t get installed again automatically then.
I don’t think anything requires marble, otherwise you shouldn’t be able to remove it in the first place (without removing everything as well that requires it).

The installRecommends option got it working. Now I’m sifting through an installed package list to take out what I don’t want. Really think that I should’ve thought about the Zypper configuration; kind of embarrassing I didn’t. :slight_smile:

Thanks again!

MN

On 11/06/2014 05:26 PM, Mountainerd wrote:
>
> But, for clarity’s sake and to ensure I’m not nuking/overthinking it:
>
> Code:
> --------------------
>
> # zypper rm -u marble
> Loading repository data…
> Reading installed packages…
> Resolving package dependencies…
>
>
> The following application is going to be REMOVED:
> Marble
>
>
> The following 6 packages are going to be REMOVED:
> kipi-plugins-geolocation libquazip1 marble marble-data marble-doc plasma-addons-marble
>
>
> 6 packages to remove.
> After the operation, 29.1 MiB will be freed.
> Continue? [y/n/? shows all options] (y):
>
> --------------------
>
> And then…
>
> Code:
> --------------------
>
> # zypper dup
> Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See ‘man zypper’ for more information about this command.
> Loading repository data…
> Reading installed packages…
> Computing distribution upgrade…
>
>
> The following 6 NEW packages are going to be installed:
> kipi-plugins-geolocation libquazip1 marble marble-data marble-doc plasma-addons-marble
>
>

<code>

zypper al kipi-plugins-geolocation libquazip1 marble marble-data
marble-doc plasma-addons-marble

</code>

Should stop them from being installed.

Ken