sileshn / ManjaroWSL2

Manjaro for WSL2 using wsldl
MIT License
254 stars 10 forks source link

Orphan removal causes ManjaroWSL2 Catastrophic failure #4

Closed Feat-FeAR closed 1 year ago

Feat-FeAR commented 1 year ago

Requirements

WSL Version

Version

Microsoft Windows [Version 10.0.19044.2728]

Kernel Version

5.15.90.1-microsoft-standard-WSL2

Repro Steps

  1. Use $ sudo pacman -Rs $(pacman -Qdtq) to remove orphans, according to Manjaro official Wiki
  2. Shutdown and restart

Expected Behavior

https://wiki.manjaro.org/index.php/Pacman_Overview#Viewing_and_Removing_Orphans

Actual Behavior

image

Feat-FeAR commented 1 year ago

If it helps, I got the following list of (maybe false) orphans:

[FeAR@SkyLake2 ~]$ pacman -Qdt
autoconf-archive 1:2022.09.03-1
base 3-2
cython 0.29.33-1
db 6.2.32-1
doxygen 1.9.6-1
manjaro-release 22.1.0-1
python-appdirs 1.4.4-7
python-pyparsing 3.0.9-1

[FeAR@SkyLake2 ~]$ sudo pacman -Rs $(pacman -Qdtq)
checking dependencies...
:: ldns optionally requires libpcap: ldns-dpa tool

Packages (27) argon2-20190702-4  cryptsetup-2.6.1-3.1  device-mapper-2.03.20-1  iproute2-6.2.0-2  iptables-1:1.8.9-1
              iputils-20221126-1  kbd-2.5.1-1  libbpf-1.1.0-1  libmnl-1.0.5-1  libnetfilter_conntrack-1.0.9-1
              libnfnetlink-1.0.2-1  libnftnl-1.2.5-1  libnl-3.7.0-3  libpcap-1.10.3-1  licenses-20220125-2
              lsb-release-2.0.r48.3cf5103-1  popt-1.19-1  systemd-252.9-1  systemd-sysvcompat-252.9-1
              autoconf-archive-1:2022.09.03-1  base-3-2  cython-0.29.33-1  db-6.2.32-1  doxygen-1.9.6-1
              manjaro-release-22.1.0-1  python-appdirs-1.4.4-7  python-pyparsing-3.0.9-1

Total Removed Size:  80.86 MiB

:: Do you want to remove these packages? [Y/n]
sileshn commented 1 year ago

Your issue is probably because the command removes files which are needed for the basic functionality of the distro. This doesn't happen on Arch. I'll look into it, but don't know if I can fix the issue.

Update: Looks like this is borked on Manjaro for a long time. A simple google search gives hits from 5 years back.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 7 days with no activity.

github-actions[bot] commented 1 year ago

This issue was closed because it has been inactive for 14 days with no activity.