[Pkg-electronics-devel] Bug#901906: Consumes a lot of disk space after unpacking.

Witold Baryluk witold.baryluk at gmail.com
Wed Jun 20 04:09:40 BST 2018


Package: kicad-packages3d
Severity: normal


The following NEW packages will be installed:
  kicad-packages3d
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/314 MB of archives.
After this operation, 4635 MB of additional disk space will be used.


That is a lot. It would be nice, if the files itself would be stored
compressed with some light weight compression algorithm like lz4 or zstd,
or even gzip.

Also on a side note, apt-get it too stupid to detect that the
installation is going to fail due to lack of free space:

Preparing to unpack .../kicad-packages3d_5.0.0~rc2-2_all.deb ...
Unpacking kicad-packages3d (5.0.0~rc2-2) ...
dpkg: error processing archive /var/cache/apt/archives/kicad-packages3d_5.0.0~rc2-2_all.deb (--unpack):
 cannot copy extracted data for './usr/share/kicad/modules/packages3d/Package_QFP.3dshapes/LQFP-128_14x14mm_P0.4mm.wrl' to '/usr/share/kicad/modules/packages3d/Package_QFP.3dshapes/LQFP-128_14x14mm_P0.4mm.wrl.dpkg-new': failed to write (No space left on device)

When it is obvious it is not going to fit:

$ LC_ALL=C df -h
Filesystem                                   Size  Used Avail Use% Mounted on
udev                                          16G     0   16G   0% /dev
tmpfs                                        3.2G  340M  2.9G  11% /run
/dev/mapper/wielkiczarny_mirrored--ssd-root  1.8G  1.3G  487M  72% /
/dev/mapper/wielkiczarny_mirrored--ssd-usr    22G   18G  3.0G  86% /usr
tmpfs                                         16G  1.6G   15G  10% /dev/shm
tmpfs                                        5.0M  4.0K  5.0M   1% /run/lock
tmpfs                                         16G     0   16G   0% /sys/fs/cgroup
/dev/mapper/wielkiczarny_mirrored--ssd-tmp   3.7G  163M  3.3G   5% /tmp
/dev/mapper/wielkiczarny_mirrored--ssd-opt   3.9G  1.1G  2.6G  30% /opt
/dev/mapper/wielkiczarny_mirrored--ssd-var    28G   20G  7.7G  72% /var
/dev/md0                                     584M  120M  422M  23% /boot
/dev/sdd1                                    121M  1.2M  120M   1% /boot/efi
wctank4/home                                  81G   29M   81G   1% /home
...




Regards,
Witold



-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.16.0-2-amd64 (SMP w/12 CPU cores)
Locale: LANG=pl_PL.utf8, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8), LANGUAGE=pl_PL.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

kicad-packages3d depends on no packages.

Versions of packages kicad-packages3d recommends:
ii  kicad  5.0.0~rc2+dfsg1-3

kicad-packages3d suggests no packages.



More information about the Pkg-electronics-devel mailing list