Bug 23034 - univention-repository-update kennt Attribut "major" nicht (mehr)
univention-repository-update kennt Attribut "major" nicht (mehr)
Status: RESOLVED DUPLICATE of bug 23030
Product: UCS
Classification: Unclassified
Component: Update - Repository administration
UCS 2.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: Bugzilla Mailingliste
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-07-15 13:29 CEST by Michael Basse
Modified: 2011-07-15 13:46 CEST (History)
1 user (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 Michael Basse univentionstaff 2011-07-15 13:29:19 CEST
Nach dem Update auf UCS 2.4.2 meldet univention-repository-update folgendes

root@dczen-01:~# univention-repository-update net
Traceback (most recent call last):
  File "/usr/sbin/univention-repository-update", line 259, in ?
    update_net( options )
  File "/usr/sbin/univention-repository-update", line 166, in update_net
    mirror.run()
  File "/usr/lib/python2.4/site-packages/univention/updater/mirror.py", line 213, in run
    self.mirror_update_scripts()
  File "/usr/lib/python2.4/site-packages/univention/updater/mirror.py", line 109, in mirror_update_scripts
    for server, struct, phase, path, script in UniventionUpdater.get_sh_files(all_repos):
  File "/usr/lib/python2.4/site-packages/univention/updater/tools.py", line 1343, in get_sh_files
    for server, struct in repositories:
  File "/usr/lib/python2.4/site-packages/univention/updater/tools.py", line 913, in _iterate_component_repositories
    for ver in self._iterate_versions(struct, version, version, parts, archs, server):
  File "/usr/lib/python2.4/site-packages/univention/updater/tools.py", line 822, in _iterate_versions
    (ver.major, ver.minor, ver.patchlevel) = (start.major, start.minor, start.patchlevel)
AttributeError: 'str' object has no attribute 'major'


repository/mirror/architectures: i386 amd64
repository/mirror/basepath: /var/lib/univention-repository
repository/mirror/httpmethod: <empty>
repository/mirror/port: <empty>
repository/mirror/prefix: <empty>
repository/mirror/recreate_packages: yes
repository/mirror/server: univention-repository.knut.univention.de
repository/mirror/sources: <empty>
repository/mirror/threads: 10
repository/mirror/version/end: 2.4-2
repository/mirror/version/start: 2.0-0
repository/mirror: yes
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2011-07-15 13:44:33 CEST

*** This bug has been marked as a duplicate of bug 23030 ***