Bug 54180 - ucs@school installation fails during replica join
ucs@school installation fails during replica join
Status: VERIFIED INVALID
Product: UCS@school
Classification: Unclassified
Component: Metapackages
UCS@school 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: Jürn Brodersen
Daniel Tröder
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-12-01 21:49 CET by Jürn Brodersen
Modified: 2022-01-10 11:12 CET (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 6: Setup Problem: Issue for the setup process
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 4: A User would return the product
User Pain: 0.274
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments
apt debug output (161.37 KB, text/plain)
2021-12-01 21:49 CET, Jürn Brodersen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jürn Brodersen univentionstaff 2021-12-01 21:49:49 CET
Created attachment 10869 [details]
apt debug output

ucs@school installation fails during replica join

There is some dependency issue that prevents apt from installing the "ucs-school-replica" package. As far as I can tell, the problem is the already enabled errata repository which includes an updated samba version. That results in dependencies on the updated packages and apt doesn't want to update all the packages.


Error:
"""
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 ucs-school-replica : Depends: univention-s4-connector (>= 6.0.128-24) but it is not going to be installed or
                               univention-samba-slave-pdc but it is not installable
E: Unable to correct problems, you have held broken packages.
"""

Workarounds:
- Update the system before joining.
- Just joining again after the error appeared seems to work as well.
- You could also comment out the errata repository in "/etc/apt/sources.list.d/15_ucs-online-version.list" before joining.

Some notes:
"apt install univention-s4-connector" -> works
"apt install ucs-school-replica" -> does not work
"apt install samba-dsdb-modules ucs-school-replica" -> works

So it is not impossible to break the dependency chain. "aptitude" is also able to install "ucs-school-replica".

Attached is the output from:
"apt-get -o Debug::pkgProblemResolver=yes -o Debug::pkgProblemResolver::ShowScores=yes -o Debug::pkgDepCache::Marker=yes -o Debug::pkgDepCache::AutoInstall=yes install ucs-school-replica"
Comment 1 Jürn Brodersen univentionstaff 2022-01-06 18:33:52 CET
With the release of ucs 5.0-1 this is not necessary anymore. Though the installation will probably never work with an older image (5.0-0). We decided that is ok.
Comment 2 Daniel Tröder univentionstaff 2022-01-10 11:12:25 CET
OK: As can be seen in the DVD Installation tests, fixed in bug 54179, the installation works with a UCS 5.0-1 installation medium.