Univention Bugzilla – Full Text Bug Listing |
Summary: | wrong patchlevel=0 directory for 4.0-1 | ||
---|---|---|---|
Product: | UCS | Reporter: | Philipp Hahn <hahn> |
Component: | Update - Repository administration | Assignee: | Philipp Hahn <hahn> |
Status: | CLOSED FIXED | QA Contact: | Stefan Gohmann <gohmann> |
Severity: | normal | ||
Priority: | P5 | CC: | gohmann, schwardt, walkenhorst |
Version: | UCS 4.0 | ||
Target Milestone: | UCS 4.0-1-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
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: | |||
Bug Depends on: | 35927, 36269 | ||
Bug Blocks: | 35537, 38509, 38615 |
Description
Philipp Hahn
2015-04-13 14:56:12 CEST
(In reply to Philipp Hahn from comment #0) > # univention-repository-create -i UCS_4.0-1-amd64.iso -n > ... > # ls /var/lib/univention-repository/mirror/4.0/maintained > 4.0-0 As far as I remember, it should only be possible to use the patchlevel 0 dvd to create a local repository. (In reply to Stefan Gohmann from comment #1) > As far as I remember, it should only be possible to use the patchlevel 0 dvd > to create a local repository. Or rather a local repository must start with the patchlevel 0. r60122 | Bug #35537 Up: Fix package build r60111 | Bug #38248 Up: Prepare for code change r60110 | Bug #38248 Up: Fix patchlevel for local repository The DVD is copied to 4.0-1 The warning is printed when minor!=0 or patchlevel!=0. Package: univention-updater Version: 10.0.53-13.1387.201504231330 Branch: ucs_4.0-0 Scope: errata4.0-1 r60127 | Bug #38248,Bug #35537: Profile based installation YAML 2015-04-23-univention-updater.yaml I got a traceback while trying to create a local repository. I've used 'univention-repository-create -i UCS_4.0-1-CORE-Edition-amd64.iso' Please insert a UCS installation medium and press <Enter> Mounting /media/cdrom ... done. Checking medium in /media/cdrom ... ok. Setting repository/mirror File: /etc/apt/mirror.list Copying data. Please be patient ... copying version information ... done. copying packages ... done. Creating indexes ... i386 amd64 all done. /usr/lib/python2.7/dist-packages/debian/deb822.py:200: UnicodeWarning: decoding from utf-8 failed; attempting to detect the true encoding UnicodeWarning) generating Package files for installer ... Setting repository/online/server Create repository/mirror/version/start Create repository/mirror/version/end File: /etc/apt/mirror.list File: /etc/apt/sources.list.d/15_ucs-online-version.list File: /etc/apt/sources.list.d/20_ucs-online-component.list The local repository has been created. The local host has been modified to use this local repository. Other hosts must be re-configured by setting the Univention Configuration Registry (UCR) variable 'repository/online/server' to the FQDN of this host. ucr set repository/online/server="master421.deadlock42.intranet" UCS validates the archive integrity through signed Release files (using the secure APT mechanism). Secure APT is not yet available for local repositories. As such, it must be disabled on this and all other hosts using this repository by setting the UCR variable 'update/secure_apt' to no: ucr set update/secure_apt=no Both settings are best set in a domain by defining UCR Policies, which set these variables on all hosts using this repository server. For example: udm policies/repositoryserver create \ --position "cn=repository,cn=update,cn=policies,dc=deadlock42,dc=intranet" \ --set name="master421 repository" \ --set repositoryServer="master421.deadlock42.intranet" udm policies/registry create \ --position "cn=config-registry,cn=policies,dc=deadlock42,dc=intranet" \ --set name="global settings" \ --set registry="update/secure_apt no" udm container/dc modify \ --dn "dc=deadlock42,dc=intranet" \ --policy-reference "cn=global settings,cn=config-registry,cn=policies,dc=deadlock42,dc=intranet" \ --policy-reference "cn=master421 repository,cn=repository,cn=update,cn=policies,dc=deadlock42,dc=intranet" Traceback (most recent call last): File "/usr/sbin/univention-repository-create", line 393, in <module> main() File "/usr/sbin/univention-repository-create", line 380, in main if options.version.minor != 0 or options.verion.patchlevel != 0: AttributeError: Values instance has no attribute 'verion' root@master421:~# (In reply to Stefan Gohmann from comment #4) > I got a traceback while trying to create a local repository. ... > Traceback (most recent call last): > File "/usr/sbin/univention-repository-create", line 393, in <module> > main() > File "/usr/sbin/univention-repository-create", line 380, in main > if options.version.minor != 0 or options.verion.patchlevel != 0: > AttributeError: Values instance has no attribute 'verion' r60382 | Bug #38248 up: Fix patchlevel for local repository Package: univention-updater Version: 10.0.53-14.1388.201505050831 Branch: ucs_4.0-0 Scope: errata4.0-1 r60383 | Bug #38248 up: Fix patchlevel for local repository YAML 2015-04-23-univention-updater.yaml r60417 | Bug #38248 up: Fix major version number printing minor → major version Package: univention-updater Version: 10.0.53-15.1389.201505051507 Branch: ucs_4.0-0 Scope: errata4.0-1 r60419 | Bug #38248 up: Fix major version number printing YAML 2015-04-23-univention-updater.yaml r60420 | Bug #38248 Up: drop details from message Strip (confusing) version details Package: univention-updater Version: 10.0.53-16.1390.201505051532 Branch: ucs_4.0-0 Scope: errata4.0-1 r60422 | Bug #38248 Up: drop details from message YAML 2015-04-23-univention-updater.yaml Code review: OK YAML: OK Tests: OK |