-
Hey Podman Community, A few days ago, I tried updating Podman to the latest version using Podman Desktop, but the process failed. Now, I'm stuck with two installations: one that's half-complete and another that's working (4.x is fine, but 5.x isn't). Every time I try to install the latest version, I get an error, even though I have around 20GB free on my C: drive and plenty of space on my D: drive. FYI, my D: drive is BTRFS (using WinBtrfs), but I doubt that's causing the issue. I'd love some guidance on manually uninstalling the current versions, or any workarounds to get rid of 4.x and successfully install 5.x. If anyone has faced this issue or knows a fix to avoid this error during installation, please share your insights! Thanks a bunch in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
podman-desktop is a different project and it might be worth asking over there as well. @l0rd any ideas here? |
Beta Was this translation helpful? Give feedback.
-
It's hard to tell without logs. It's the first time I see such error. The screenshot is from the 4.6.1 installer. @aarmn did you get a similar error if trying the 5.4.0 installer? You may want to use this command from a terminal to generate some logs with more details:
|
Beta Was this translation helpful? Give feedback.
-
It can happen to have some inconsistencies in the MSI databases. What I do to remove every Podman installation is executing this commands from a terminal: $Installer = New-Object -ComObject WindowsInstaller.Installer;
$InstallerProducts = $Installer.ProductsEx("", "", 7);
$InstalledProducts = ForEach($Product in $InstallerProducts){
[PSCustomObject]@{ProductCode = $Product.ProductCode();
LocalPackage = $Product.InstallProperty("LocalPackage");
VersionString = $Product.InstallProperty("VersionString");
ProductName = $Product.InstallProperty("ProductName")
}
};
$InstalledProducts | Where-Object {$_.ProductName -match "podman"} and uninstall it with |
Beta Was this translation helpful? Give feedback.
Final Update:
I think, It was not an issue with podman setup, windows seem to have a max number of setup files and tmp lock files in
C:\windows\installers
and somehow, I managed to reach the maximum and no cleaner or common ways, seemed to clean that up, meanwhile its recommended to NEVER manually delete
.tmp
files there, I did it, and it solved my issue, sorry and thanks to everyone for their help.Somehow this happened first when I was updating from podman 4 to 5, but I don't think it has to do with podman, rather with awful implementation of
msiexec
.