On 25 Jan 2020, at 14:35, Felix Miata <mrmazda@earthlink.net> wrote:
In an attempt to QA https://bugzilla.opensuse.org/show_bug.cgi?id=1161763 I thought I needed to do: # zypper -v in android-studio which is http://download.opensuse.org/repositories/home:/jayvdb:/android/openSUSE_Tum... 42K Zypper reported extracted size to be 50.1K. I thought, no big deal, so I proceeded. Freespace on / when I started was 81%. Installation was taking a seriously long time for a 50K installation, so I checked with lsof to find a zip file in /opt growing to 1015M.
I'm not sure it's zypper that mislead you here. https://build.opensuse.org/package/view_file/home:jayvdb:android/android-stu... It looks like this package runs a wget in %pre which is why the download of the rpm, doesn't match the size of the actual download. Really, I think this package probably needs some work to avoid the wget here in pre ...
# excerpted tail of /var/log/zypp/history 2020-01-03 14:29:10|install|frameworkintegration-plugin|5.65.0-1.1|x86_64|root@p5bse|OSS|d094dddd716eed86e157577a29cb3b54c57e5959fa382a1f19c53b5b38c685ec| 2020-01-24 22:25:10|command|root@p5bse|'zypper' 'rm' 'kernel-default-4.20.13'| 2020-01-24 22:25:34|remove |kernel-default|4.20.13-1.2|x86_64|root@p5bse| 2020-01-24 22:29:16|command|root@p5bse|'zypper' '-v' 'in' 'android-studio'| # 2020-01-24 22:42:43 android-studio-3.3.2-2.4.x86_64.rpm installed ok # Additional rpm output: # /var/tmp/rpm-tmp.bQj4UK: line 5: /tmp/apps-scripts/android-studio.txt: Nosuch file or directory # --2020-01-24 22:29:18-- https://dl.google.com/dl/android/studio/ide-zips/3.3.2.0/android-studio-ide-... # Resolving dl.google.com (dl.google.com)... 64.233.185.190, 64.233.185.93, 64.233.185.136, ... # Connecting to dl.google.com (dl.google.com)|64.233.185.190|:443... connected. # HTTP request sent, awaiting response... 200 OK # Length: 1064031415 (1015M) [application/zip] # Saving to: '/opt/android-studio-ide-182.5314842-linux.zip' # # 0K .......... .......... .......... .......... .......... 0% 962K 18m0s # 50K .......... .......... .......... .......... .......... 0% 1.84M 13m36s ... # 499500K .......... .......... .......... .......... .......... 48% 1.34M 6m40s # 499550K .......... .......... .......... .......... .......... 48% 1.47M 6m40s # [truncated] # 2020-01-24 22:42:43|install|android-studio|3.3.2-2.4|x86_64|root@p5bse|homeJayvdbAndroid|077b7bba49ae36178706c3e19e5999ada1f88493a30d6baa28417b1befafb05f|
From the description at https://software.opensuse.org/package/android-studio?search_term=android-stu... I had no clue that the android-studio rpm was merely an installer for a very much larger package. Zypper gave no clue that the post script was exhausting freespace wgetting a 1015M file that would leave insufficient space to extract its contents.
Did the android-studio packager not do something he should have done? Is there something that could be done to prevent exhausting freespace by installing a 50K rpm without any warning what was really going to result? -- Evolution as taught in public schools is religion, not science.
Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!
Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
— Sincerely, William Brown Senior Software Engineer, 389 Directory Server SUSE Labs -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org