Bug 45475 - trml2pdf and libjsoncpp0 from 4.0-0/unmaintained are newer than from 4.2-2/maintained
trml2pdf and libjsoncpp0 from 4.0-0/unmaintained are newer than from 4.2-2/ma...
Status: RESOLVED WORKSFORME
Product: UCS
Classification: Unclassified
Component: UMC - Reports
UCS 4.4
Other Linux
: P5 minor (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on: 39239
Blocks:
  Show dependency treegraph
 
Reported: 2017-10-02 09:16 CEST by Philipp Hahn
Modified: 2022-06-30 11:45 CEST (History)
6 users (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
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

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2017-10-02 09:16:21 CEST
When trml2pdf was imported in UCS-4.2, it's previous version in UCS-4.0 was not checked. Due to the change in how we rebuild packages for UCS, the newly imported package has a lower version number than the old package from 4.0.
This leads to the strange situation, that two pending updates are shown as soon as UCRV repository/online/unmaintained=yes is enabled.


+++ This bug was initially created as a clone of Bug #39239 +++

# apt-cache policy python-trml2pdf libjsoncpp0
python-trml2pdf:
  Installiert:           1.2-3A~4.2.0.201706211305
  Installationskandidat: 1.2-3.4.201403132135
  Versionstabelle:
     1.2-3.4.201403132135 0
        500 https://updates.software-univention.de/4.0/unmaintained/ 4.0-0/all/ Packages
 *** 1.2-3A~4.2.0.201706211305 0
        500 https://updates.software-univention.de/4.2/maintained/ 4.2-2/all/ Packages
        100 /var/lib/dpkg/status
libjsoncpp0:
  Installiert:           0.6.0~rc2-3.1A~4.2.0.201708141913
  Installationskandidat: 0.6.0~rc2-3.A~4.2.0.201608231644
  Versionstabelle:
     0.6.0~rc2-3.A~4.2.0.201608231644 0
        500 https://updates.software-univention.de/4.2/unmaintained/ 4.2-0/amd64/ Packages
     0.6.0~rc2-3.2.201403220848 0
        500 https://updates.software-univention.de/4.0/unmaintained/ 4.0-0/amd64/ Packages
 *** 0.6.0~rc2-3.1A~4.2.0.201708141913 0
        500 https://updates.software-univention.de/4.2/maintained/ 4.2-2/amd64/ Packages
        100 /var/lib/dpkg/status
Comment 1 Philipp Hahn univentionstaff 2019-09-30 08:39:16 CEST
Still true with UCS-4.4:

# apt policy python-trml2pdf
python-trml2pdf:
  Installiert:           1.2-3A~4.2.0.201706211305
  Installationskandidat: 1.2-3.4.201403132135
  Versionstabelle:
     1.2-3.4.201403132135 500
        500 http://univention-repository.knut.univention.de/4.0/unmaintained 4.0-0/all/ Packages
 *** 1.2-3A~4.2.0.201706211305 500
        500 http://univention-repository.knut.univention.de/4.2/maintained 4.2-2/all/ Packages
        100 /var/lib/dpkg/status
Comment 2 Florian Best univentionstaff 2022-06-30 11:45:06 CEST
# apt policy python-trml2pdf
python-trml2pdf:
  Installiert:           (keine)
  Installationskandidat: 1.2-3A~5.0.0.202006250030
  Versionstabelle:
     1.2-3A~5.0.0.202006250030 500
        500 http://apt.knut.univention.de ucs502/main amd64 Packages