Bug 36721 - univention-repository-update still uses /cdrom
univention-repository-update still uses /cdrom
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Update - Repository administration
UCS 4.0
Other Linux
: P5 normal (vote)
: UCS 4.1
Assigned To: Philipp Hahn
Felix Botner
: interim-2
: 39128 (view as bug list)
Depends on:
Blocks: 36508 38913
  Show dependency treegraph
 
Reported: 2014-11-14 18:18 CET by Philipp Hahn
Modified: 2015-11-17 12:11 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 Philipp Hahn univentionstaff 2014-11-14 18:18:18 CET
# univention-repository-update cdrom
Error: Failed to mount CD-ROM device at /cdrom

# univention-repository-update cdrom -c /media/cdrom 
Please be patient, copying packages ...
Comment 1 Philipp Hahn univentionstaff 2014-11-14 18:19:38 CET
# univention-repository-update cdrom -c /media/cdrom -d /dev/sr0 
Error: This is not a valid UCS update medium
Error: Failed to umount /media/cdrom

# mount /media/cdrom
mount: block device /dev/sr0 is write-protected, mounting read-only
# univention-repository-update cdrom -c /media/cdrom
Please be patient, copying packages ...
Comment 2 Philipp Hahn univentionstaff 2015-10-13 09:31:23 CEST
*** Bug 39128 has been marked as a duplicate of this bug. ***
Comment 3 Philipp Hahn univentionstaff 2015-10-13 10:03:38 CEST
r64424 | Bug #36721 Updater: Fix usage of /cdrom
 Use the first existing one of /cdrom, /media/cdrom, /media/cdrom0

Package: univention-updater
Version: 11.0.2-8.1410.201510130935
Branch: ucs_4.1-0

We should backport this as errata4.0-3, too.

r64425 | Bug #36721 Updater: Fix usage of /cdrom CL
Comment 4 Felix Botner univentionstaff 2015-10-28 12:19:48 CET
OK - univention-repository-update cdrom -d /dev/sr0 -c /media/cdrom
OK - univention-repository-update cdrom -d /dev/sr0
OK - univention-repository-update cdrom -d /dev/sr0 -c /mnt/
OK - univention-repository-update cdrom
OK - univention-repository-update cdrom -c /media/cdrom

OK - Changelog

(In reply to Philipp Hahn from comment #3)
> We should backport this as errata4.0-3, too.
I guess we need a new bug for this.
Comment 5 Stefan Gohmann univentionstaff 2015-11-17 12:11:54 CET
UCS 4.1 has been released:
 https://docs.software-univention.de/release-notes-4.1-0-en.html
 https://docs.software-univention.de/release-notes-4.1-0-de.html

If this error occurs again, please use "Clone This Bug".