Bug 39935 - univention-repository-create does not mount cdrom
univention-repository-create does not mount cdrom
Status: RESOLVED WORKSFORME
Product: UCS
Classification: Unclassified
Component: Update - Repository administration
UCS 4.1
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-11-13 13:46 CET by Stefan Gohmann
Modified: 2018-04-14 13:51 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 Stefan Gohmann univentionstaff 2015-11-13 13:46:52 CET
The cdrom must be mounted manually:

root@master851:~# univention-repository-create 
[...]
dpkg-query: Kein Paket gefunden, das auf ldapacl_66univention-appcenter_app.acl passt

Please insert a UCS installation medium and press <Enter>
 Mounting /media/cdrom ... done.
Checking medium in /media/cdrom ... failed.
Error: This is not an UCS installation medium.
Error: Failed to mount CD-ROM device at /media/cdrom
root@master851:~# ls /media/cdrom
root@master851:~# mount /media/cdrom
mount: block device /dev/sr0 is write-protected, mounting read-only
root@master851:~# ls /media/cdrom
all  amd64  autorun.inf  boot  debian  dists  efi  firmware  g2ldr  g2ldr.mbr  install  install.amd  isolinux  md5sum.txt  netboot  README.diskdefines  setup.exe  win32-loader.ini
root@master851:~# univention-repository-create 
Are you sure you want to create a local repository? [yN] y
 Installing univention-debmirror
Paketlisten werden gelesen...
Paketlisten werden gelesen...
Abhängigkeitsbaum wird aufgebaut....
Statusinformationen werden eingelesen....
univention-debmirror ist schon die neueste Version.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.

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
Comment 1 Philipp Hahn univentionstaff 2015-11-16 15:26:20 CET
# univention-repository-create
...
# ucr get version/version 
4.1
# uname -r
4.1.0-ucs153-686-pae
# mount /media/cdrom
# ls -al /media/cdrom/
insgesamt 1051
dr-xr-xr-x 1 root root   4096 Nov 16 14:22 .
drwxr-xr-x 3 root root   4096 Nov 20  2014 ..
dr-xr-xr-x 1 root root  90112 Nov 16 14:20 all
-r--r--r-- 1 root root     27 Nov 16 14:20 autorun.inf
lr-xr-xr-x 1 root root      1 Nov 16 14:20 debian -> .
dr-xr-xr-x 1 root root   2048 Nov 16 14:22 .disk
dr-xr-xr-x 1 root root   2048 Nov 16 14:20 dists
dr-xr-xr-x 1 root root   6144 Nov 16 14:20 firmware
-r--r--r-- 1 root root 180349 Okt 28 06:20 g2ldr
-r--r--r-- 1 root root   8192 Okt 28 06:20 g2ldr.mbr
dr-xr-xr-x 1 root root 217088 Nov 16 14:20 i386
dr-xr-xr-x 1 root root   2048 Nov 16 14:20 install
dr-xr-xr-x 1 root root   2048 Nov 16 14:20 install.386
dr-xr-xr-x 1 root root   4096 Nov 16 14:20 isolinux
-r--r--r-- 1 root root 182402 Nov 16 14:22 md5sum.txt
dr-xr-xr-x 1 root root   2048 Nov 16 14:20 netboot
-r--r--r-- 1 root root    199 Nov 16 14:20 README.diskdefines
-r--r--r-- 1 root root 366393 Okt 28 06:20 setup.exe
-r--r--r-- 1 root root     25 Nov 16 14:20 .univention_install
-r--r--r-- 1 root root    251 Nov 16 14:20 win32-loader.ini
# cat /media/cdrom/.univention_install 
VERSION=4.1
PATCHLEVEL=0
$ ssh omar readlink /var/univention/buildsystem2/isotests/ucs_4.1-0-latest-i386.iso
ucs_4.1-0-20151116-141731-dvd-i386.iso