okibcn/wslcompact

Needs 0MB of free space

mikemaccana opened this issue · 3 comments

Used scoop to install instead, running wslcompact gives:

Please, change the TEMP folder to a drive with at least 0 MB of free space.
You cand do it by typing $env:TEMP="Z:/your/new/temp/folder" before using wslcompact.

I hope you don't mind the bug reports. I might do this manually as disk tools with errors are a bit scary. Nothing personal.

I perfectly understand. Even with large software you never know if you will have some problems, even more, a small utility coming from a random guy. Can you please provide all the output? I need to know the details of the image, and execution command.

I am afraid both issues are related. Do you have any special configuration regarding the temp folder? Any special Powershell addon?

This utility has helped hundreds, but there are always special situations not considered by the utility.

Can't reproduce the issue. If the issue persists, please report.

`WslCompact v8.7 2023.03.01
(C) 2023 Oscar Lopez
wslcompact -h for help. For more information visit: https://github.com/okibcn/wslcompact

Distro's name: Ubuntu-22.04
Image file: C:\Users<redacted>\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu22.04LTS_79rhkp1fndgsc\LocalState\ext4.vhdx
Current size: 359266 MB
Estimated size: 361163 +/- 8809 MB
The estimated process time using an SSD is about 89 minutes.
WARNING: there isn't enough free space in temp drive P to process Ubuntu-22.04.
There are only 366136 MB available.

Please, change the TEMP folder to a drive with at least 0 MB of free space.
You cand do it by typing $env:TEMP="Z:/your/new/temp/folder" before using wslcompact.`