Bug 20370 - updateTo für Repositories speichert falsche Syntax in repository/mirror/version/end
updateTo für Repositories speichert falsche Syntax in repository/mirror/versi...
Status: RESOLVED WORKSFORME
Product: UCS
Classification: Unclassified
Component: Update - Repository administration
UCS 2.3
Other Linux
: P5 normal (vote)
: ---
Assigned To: Bugzilla Mailingliste
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-10-14 10:25 CEST by Arvid Requate
Modified: 2013-02-21 08:45 CET (History)
2 users (show)

See Also:
What kind of report is it?: ---
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 Arvid Requate univentionstaff 2010-10-14 10:25:01 CEST
An Bug #16669 steht
> repository/mirror/version/end hat hierbei eher einen informativen Charakter.

Das ist allerdings nicht ganz richtig, wie das folgende Beispiel zeigt, in dem der Administrator zunächst die Release-Syntax falsch eingibt (wegen fehlender Doku, siehe Bug #20365 und Bug #20366). Das führt dann zu einer undurchsichtigen Fehlersituation:

root@qamaster:~# univention-repository-update net -u ucs_2.3.1
Starting the repository synchronisation from apt.univention.de
0.0 bytes will be downloaded into archive.

root@qamaster:~# univention-repository-update net -u 2.3.1
Starting the repository synchronisation from apt.univention.de
Traceback (most recent call last):
  File "/usr/sbin/univention-repository-update", line 248, in ?
    update_net( options )
  File "/usr/sbin/univention-repository-update", line 123, in update_net
    mirror = UniventionMirror()
  File "/usr/lib/python2.4/site-packages/univention/updater/mirror.py", line 48, in __init__
    self.version_end = UCS_Version( self.configRegistry.get( 'repository/mirror/version/end' ) )
  File "/usr/lib/python2.4/site-packages/univention/updater/tools.py", line 57, in __init__
    self.set( version )
  File "/usr/lib/python2.4/site-packages/univention/updater/tools.py", line 84, in set
    raise AttributeError( 'string does not match UCS version pattern' )
AttributeError: string does not match UCS version pattern

Das liegt dann an
 repository/mirror/version/end: ucs_2.3-0
Comment 1 Stefan Gohmann univentionstaff 2013-02-21 08:45:56 CET
2.3 ist nicht mehr in der Maintenance. Mit neueren UCS Versionen sollte es funktionieren.