devkitPro / pacman

GNU General Public License v2.0
170 stars 16 forks source link

Pacman doesn't install anything on WSL/Ubuntu #6

Closed ketsuban closed 6 years ago

ketsuban commented 6 years ago

Pacman is on my system via downloading the .deb provided and installing it with dpkg.

Thomas@Altaria:~$ uname -a
Linux Altaria 4.4.0-17134-Microsoft #112-Microsoft Thu Jun 07 22:57:00 PST 2018 x86_64 x86_64 x86_64 GNU/Linux
Thomas@Altaria:~$ sudo dkp-pacman -S gba-dev
:: There are 10 members in group gba-dev:
:: Repository dkp-libs
   1) gba-examples  2) libfat-gba  3) libgba  4) maxmod-gba
:: Repository dkp-linux
   5) devkit-env  6) devkitARM  7) gba-tools  8) general-tools  9) grit  10) mmutil

Enter a selection (default=all):
resolving dependencies...
looking for conflicting packages...

Packages (10) devkit-env-1.0.1-1  devkitARM-r49-2  gba-examples-20170228-3  gba-tools-1.1.0-1  general-tools-1.0.2-2
              grit-0.8.15-1  libfat-gba-1.1.3-1  libgba-0.5.1-1  maxmod-gba-1.0.11-1  mmutil-1.8.7-1

Total Download Size:    48.36 MiB
Total Installed Size:  240.59 MiB

:: Proceed with installation? [Y/n]
error: could not open file: /etc/mtab: No such file or directory
error: could not determine filesystem mount points
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.
WinterMute commented 6 years ago

sudo ln -s /proc/self/mounts /etc/mtab

See https://github.com/Microsoft/WSL/issues/150

Pokechu22 commented 6 years ago

Shouldn't that be /proc/self/mounts? (sef doesn't exist). Same thing for both here and this wiki article

WinterMute commented 6 years ago

but it is /proc/self/mounts ;o)

Thanks for pointing out the typo.