Bug 36773 - UCC shows wrong image size
UCC shows wrong image size
Status: CLOSED WONTFIX
Product: Z_Univention Corporate Client (UCC)
Classification: Unclassified
Component: UMC modules
unspecified
Other Linux
: P5 normal
: UCC 2.x
Assigned To: UCC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-17 18:18 CET by Florian Best
Modified: 2023-06-20 21:00 CEST (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 Florian Best univentionstaff 2014-11-17 18:18:46 CET
The module shows me that 1.1 GB are required. Well, thats only the download size and not the required size. I had 13 GB free space but nevertheless it failed with the following error message:

Die Image-Daten der Spec-Datei ucc-2.0-desktop-image.img.xz.spec konnten nicht vom Server herunter geladen werden:
Das Entpacken der Datei /var/lib/univention-client-boot/ucc-2.0-desktop-image.img.xz schlug fehl: Auf der Festplatte ist nicht ausreichend freier Speicherplatz vorhanden.

After the attempt to extract that image it is removed so that one must download these GB again.

→ The free space should be calculated before extracting the file.
→ The file could be cached on the disk to not redownload it again.
Comment 1 Moritz Muehlenhoff univentionstaff 2014-11-26 11:07:17 CET
(In reply to Florian Best from comment #0)
> The module shows me that 1.1 GB are required. Well, thats only the download
> size and not the required size. I had 13 GB free space but nevertheless it
> failed with the following error message:
> 
> Die Image-Daten der Spec-Datei ucc-2.0-desktop-image.img.xz.spec konnten
> nicht vom Server herunter geladen werden:
> Das Entpacken der Datei
> /var/lib/univention-client-boot/ucc-2.0-desktop-image.img.xz schlug fehl:
> Auf der Festplatte ist nicht ausreichend freier Speicherplatz vorhanden.

We already discussed that during the development of the UCC image UMC module; there's no simple way to tell in advance what the unpacked size will be. We would need to store that separately on the image download server.
Comment 2 Florian Best univentionstaff 2014-11-26 11:10:03 CET
Yes, but it can be determined after the image was downloaded before trying to unpack it. Then it can also show how much space is needed so that an administrator is able to free some disk resources. The module can give an option to continue trying to unpack the image.
Comment 3 Florian Best univentionstaff 2023-06-20 21:00:36 CEST
UCC is discontinued.