Vanilla-OS / live-iso

Vanilla OS Live ISO Builder.
GNU General Public License v3.0
932 stars 101 forks source link

Containers DNF and ZYPPER unusable - error 125 at startup #145

Open anigris opened 1 year ago

anigris commented 1 year ago

Hi! Installed succesfully Vanilla OS on Virtualbox VM. No errors. Started Arch container - all OK - functional

Started Fedora container - error 125 "Error: OCI runtime error: unable to start container "74221f63dbe4f4ce5b287ee5a794bd47eb0c2fcd66c57255e291a4922aea7fa6": mount /etc/localtime to /etc/localtime: Not a directory Error: exit status 125" - no operation possibile

Started OpenSuse container - same error 125 - no operation possibile

/etc/localtime is not a directory, is a symlink to /usr/share/zoneinfo/ Tried to rename and mkdir a directory, but have the same error. What can I try? Thank you, Vanilla OS is a great idea, the future of linux! Good luck!!

kbdharun commented 1 year ago

Thanks for reporting, this is a known issue. You can use the following temporary fix as mentioned in the Discord server.

Fix apx localtime error:
Check if your timezone and time are set correctly, if they are and the issue still persists, follow these steps:
- `sudo abroot exec apt install tzdata`
- `reboot`
- Set your timezone to the correct one
- Check if `apx init` works, if it doesn't remove the container and image (this will remove all packages installed inside that container)
- `podman stop apx_managed`
- `podman rm apx_managed`
- `podman rmi docker.io/library/ubuntu:latest`
- Now, initializing should work: `apx init`
anigris commented 1 year ago

Thanks but... 1- the localization setup during the installation was partially done, completed and rebooted 2- tzdata was yet installed 3- apx --dnf init - same error 125 4- podman procedure completed, but same error 125 as before Have to try to reinstall?

kbdharun commented 1 year ago

Thanks but... 1- the localization setup during the installation was partially done, completed and rebooted 2- tzdata was yet installed 3- apx --dnf init - same error 125 4- podman procedure completed, but same error 125 as before Have to try to reinstall?

Actually I forgot to replace the Ubuntu container ID with Fedora I will send the updates steps soon.

anigris commented 1 year ago

Reinstalled Vanilla OS, same region and language problem after installation (partial installation and configuration - italian keyboard but US language, but menus of Gnome mostly in italian), fully resolved before create first container. As before, after creation of first container (--dnf) same error 125. Idem with --zypper...

anigris commented 1 year ago

Set all system language to US English, rebooted, erased all container, reinit --dnf container with "podman rmi docker.io/library/fedora:latest" - same error 125...