Bug 7695 - tl-setup will not ask before updating depending package on SLES
Summary: tl-setup will not ask before updating depending package on SLES
Status: CLOSED FIXED
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Misc (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: 4.13.0
Assignee: Frida Flodin
URL:
Keywords: linma_tester, prosaic
Depends on:
Blocks:
 
Reported: 2021-04-26 11:12 CEST by Frida Flodin
Modified: 2021-05-04 12:57 CEST (History)
1 user (show)

See Also:
Acceptance Criteria:


Attachments

Description Frida Flodin cendio 2021-04-26 11:12:38 CEST
If a package is installed via tl-setup and the package has a depending package that need an upgrade we will not ask the admin if this is OK. The upgrade will be done nevertheless by zypper.

The issue is that the zypper backend does not report this scenario back to tl-setup.

I did not find a nice way to reproduce this, the issue was found looking into the parsing code.
Comment 3 Frida Flodin cendio 2021-04-27 09:03:47 CEST
Should be fixed now. Tested to install build 2016 on a fresh SLES 12. It successfully installed all packages and dependencies. 

Tester should make sure that tl-setup works as before when needing to install packages and dependencies. If tester can create a scenario where a package's dependency need to be *upgraded* that would be nice to test but I did not manage to do that.
Comment 4 Linn cendio 2021-05-04 12:57:26 CEST
Tested with build 2029 on a fresh install of SLES 12 and 15, and tl-setup works as before when needing to install packages and dependencies. 


I was not able to create the scenario where a dependency needed to be upgraded. Here is what I tested:

1. Check what version of cups that tl-setup tries to install (cups-2.2.7-3.26.1).

2. Check what the earliest version of cups is available with command: (For me cups-2.2.7-3.17.1).
> zypper search -s cups
3. Install the earlier version of cups with
> zypper install cups=2.2.7-3.17.1
4. Run tl-setup. It does not try to upgrade cups.


The reason tl-setup doesn't upgrade might be because both cups versions belong to 2.2.7-3, but I didn't find any other package that had more suitable versions available.

Note You need to log in before you can comment on or make changes to this bug.