Windows 10: BASH AptPackageIndexUpdate - how to turn off?

  1. Fafhrd's Avatar
    Posts : 1,395
    Windows 10 x86 14383 Insider Pro and Core 10240
       16 Dec 2016 #1

    BASH AptPackageIndexUpdate - how to turn off?


    Every so often, BASH randomly seems to open AptPackageIndexUpdate, then seems to stay open as it continues to do things, whatever they might be, and uses a considerable proportion of CPU time:

    Click image for larger version. 

Name:	2016_12_16_10_01_321.png 
Views:	3 
Size:	178.1 KB 
ID:	113724

    It goes on doing something for ages, possibly forever, without any indication of what is happening in the console after "Reading package lists... Done". Is it a bug?

    Obviously this can affect foreground processes, and may be inconvenient, dropping frames when trying to watch a video stream etc.

    TaskManager seems ineffectual in stopping the BASH process tree, in fact the console window seems to stay open whatever is done to try to close it.

    What can be done to give more control over this behaviour, short of uninstalling BASH?
      My System SpecsSystem Spec

  2.    19 Dec 2016 #2

    Fafhrd said: View Post
    Every so often, BASH randomly seems to open AptPackageIndexUpdate, then seems to stay open as it continues to do things, whatever they might be, and uses a considerable proportion of CPU time:

    Click image for larger version. 

Name:	2016_12_16_10_01_321.png 
Views:	3 
Size:	178.1 KB 
ID:	113724

    It goes on doing something for ages, possibly forever, without any indication of what is happening in the console after "Reading package lists... Done". Is it a bug?

    Obviously this can affect foreground processes, and may be inconvenient, dropping frames when trying to watch a video stream etc.

    TaskManager seems ineffectual in stopping the BASH process tree, in fact the console window seems to stay open whatever is done to try to close it.

    What can be done to give more control over this behaviour, short of uninstalling BASH?
    schtasks.exe /Delete /TN "\Microsoft\Windows\Windows Subsystem for Linux\AptPackageIndexUpdate"
      My System SpecsSystem Spec


 

Related Threads
I just did a clean install of 64-bit Win 10 Preview Build 14951 from an install.esd converted to an iso image. I go to Turn Windows features on or off and check the box marked Windows Subsystem for Linux (Beta). When my system reboots, an error...
I recently updated my Windows 10 in order to check the new bash feature which Microsoft included. When I launched the bash, a download prompt was there, obviously I entered the "y" and waited to complete the download. But the thing is download isn't...
I'm curious, has anybody already plaid with the new Linux subsystem (bash)? I don't know about you but I love it. Finally I can use the powerful commands of Linux to create folders, files etc. For me that alone is worth the update.
No option to enable bash in Windows Insider
I'm running Windows 10 Education version. I am on windows insider build: th2_release_sec 10586. I haven't received the relevant update where `enable subsystem for linux` or whatever it is appears under the `turn windows features on or off` tab....
Insider First Bug Bash with WindowsInsiders in Windows 10 News
725064067514159104 725065241063641088
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 09:03.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums