Univention Bugzilla – Bug 30748
Define sources.list entries via UCR policy
Last modified: 2014-06-12 09:19:53 CEST
It should be possible to define entries in /etc/apt/sources.list.d/* via UCR policies. That would allow to easily include UCS components like "cool-solutions" or other project specific repositories without the need to modify the default UCC image.
The content of all UCRV that start with "ucc/apt/" is (sorted by UCRV name) written to /etc/apt/sources.list.d/ucc.
ucr set ucc/apt/sec1="deb http://security.debian.org/ wheezy/updates main"
ucr set ucc/apt/sec2="deb-src http://security.debian.org/ wheezy/updates main"
The content of /etc/apt/sources.list.d/ucc is written correctly, but the file is now parsed with the current name scheme:
# apt-get update
Ign http://ucc2.software-univention.de trusty-security/universe Translation-en
Reading package lists... Done
N: Ignoring file 'ucc' in directory '/etc/apt/sources.list.d/' as it has no filename extension
Renaming the template to ucc.list fixes this. Also, a changelog entry is missing.
(In reply to Moritz Muehlenhoff from comment #2)
> The content of /etc/apt/sources.list.d/ucc is written correctly, but the
> file is now parsed with the current name scheme:
I meant "not parsed"
Renamed to "ucc.list".
Ok, working fine now.
UCC 2.0 has been released:
If this error occurs again, please use "Clone This Bug".