WSL2, sudo apt-get install продолжается вечно - PullRequest
0 голосов
/ 05 августа 2020

Итак, по сути, у меня происходит следующее:

benmclean@Ben-Laptop:~/mypythonx$ sudo apt-get install tree
[sudo] password for benmclean: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libdumbnet1 libllvm9
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  tree
0 upgraded, 1 newly installed, 0 to remove and 11 not upgraded.
2 not fully installed or removed.
Need to get 40.7 kB of archives.
After this operation, 105 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic/universe amd64 tree amd64 1.7.0-5 [40.7 kB]
Fetched 40.7 kB in 1s (80.5 kB/s)
Selecting previously unselected package tree.
(Reading database ... 99895 files and directories currently installed.)
Preparing to unpack .../tree_1.7.0-5_amd64.deb ...
Unpacking tree (1.7.0-5) ...
Setting up tree (1.7.0-5) ...
Setting up servicefabric (7.1.418.1804) ...
In PostInst - configure
Creating sfuser
Creating sfappsuser
ServiceFabricAllowedUsers exists...
Enabling password authentication for FileStoreService accounts
Setting up Fabric environment
FabricHostServicePath = /etc/systemd/system/servicefabric.service
UpdaterServicePath = /etc/systemd/system/servicefabricupdater.service
Copying servicefabric.service file to systemd
Copying servicefabricupdater.service file to systemd
Setting sfuser as owner of Fabric services
Setting sfuser as owner of FabricBinRoot
Validate and fix any system service log files
getfacl: Removing leading '/' from absolute path names
getfacl: Removing leading '/' from absolute path names
find: ‘/mnt/d/$RECYCLE.BIN/S-1-5-21-2710838556-2472511765-623904815-1003’: Permission denied

По какой-то причине он проходит все на / mnt / c и / mnt / d и получает «доступ запрещен». Весь этот процесс занимает около часа, и я не могу его остановить. Я не понимаю, что я сделал не так, или что я сделал, чтобы это произошло.

1 Ответ

0 голосов
/ 26 августа 2020

Если sudo не работает, попробуйте переключиться на суперпользователя, набрав su. Затем в качестве суперпользователя введите apt-get install tree / apt install tree

...