首页 > 其他分享 >Failed to execute child process "net" when entering Nautilus

Failed to execute child process "net" when entering Nautilus

时间:2023-07-23 17:25:16浏览次数:44  
标签:execute Nautilus process but apt nautilus 2018 net

 

 

Failed to execute child process "net" when entering Nautilus

Ask Question Asked 5 years, 3 months ago Modified 1 year, 7 months ago Viewed 20k times   19

When typing either of the commands nautilus . or xdg-open . into terminal, they execute correctly, but with a warning:

Nautilus-Share-Message: Called "net usershare info" but it failed:
Failed to execute child process “net” (No such file or directory)

As I say, it opens the file manager correctly and I can detect no further problems. There are several instances of users experiencing this message in other questions (1)(2)(3), but each of the questions either addresses a side-issue I'm not experiencing, or simply goes unanswered.

What does this message mean, and can I do anything to prevent it?

Share Improve this question   edited Apr 13, 2018 at 10:04 dessert's user avatar dessert 39.2k1212 gold badges115115 silver badges163163 bronze badges asked Apr 13, 2018 at 9:17 preferred_anon's user avatar preferred_anon 45511 gold badge33 silver badges99 bronze badges
  • 1 It looks like the warning is caused by the "nautilus-share" package (a Nautilus extension). If you're not using it, you can remove that package.  – Logix  Apr 13, 2018 at 9:20
  •   … or try reinstalling it with sudo apt install --reinstall nautilus-share.  – dessert  Apr 13, 2018 at 10:13
  • 2 Interesting... reinstalling with sudo apt install --reinstall nautilus-share appears to not work, while calling sudo apt-get remove nautilus-share and then sudo apt-get remove nautilus-share separately appears to have resolved it.  – preferred_anon  Apr 13, 2018 at 10:21 
  •   @preferred_anon If that worked kindly post that as an answer and mark that as accepted answer.  – Kulfy  Nov 28, 2018 at 17:00 
  •   I think it worked on my old machine, but trying it on my current one did not resolve the issue. @Yavuz Selim's suggestion worked, so I've accepted it.  – preferred_anon  Nov 30, 2018 at 9:02
Show 1 more comment

1 Answer

24  

Error says, net command not found, so I tried net command. Ubuntu suggested me to install samba-common-bin

Command 'net' not found, but can be installed with:

apt install samba-common-bin

So, I've installed that package.

sudo apt-get install samba-common-bin

That error gone, but in my case new error was thrown.

Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory

And then I've created directory

mkdir /var/lib/samba/usershares

Finally, I have no error.

Share Improve this answer   answered Aug 8, 2018 at 11:16 Yavuz Selim's user avatar Yavuz Selim 3563   https://askubuntu.com/questions/1024593/failed-to-execute-child-process-net-when-entering-nautilus https://ubuntuforums.org/showthread.php?t=2424307 https://ubuntuforums.org/showthread.php?t=2424307

标签:execute,Nautilus,process,but,apt,nautilus,2018,net
From: https://www.cnblogs.com/pengmn/p/17575272.html

相关文章

  • mysql执行execute immediate
    实现"mysql执行executeimmediate"的步骤对于刚入行的小白来说,学会如何使用"mysql执行executeimmediate"可能会有些困惑。在本文中,我将向你展示整个实现过程的步骤,并提供每一步所需的代码和注释。步骤概述下面的表格演示了实现"mysql执行executeimmediate"的步骤概述。步......
  • android studio annotationProcessor
    AndroidStudioAnnotationProcessor在Android开发中,我们经常使用注解来简化代码的实现和提高开发效率。AndroidStudio提供了一个名为AnnotationProcessor的功能,用于在编译期间处理这些注解。本文将介绍AnnotationProcessor的基本概念和使用方法,并提供一些代码示例。AnnotationP......
  • 在cmd中使用pip命令出现报错Fatal error in launcher: Unable to create process usin
    1. 我找到了之前安装python的安装包,进行了修复2.然后在cmd中输入了wherepip看看是否有重复的pip路径发现没有3.重新尝试打开cmd后输入命令问题就解决了 ......
  • Scrapy 部署错误:subprocess.CalledProcessError 以及解决方案
    最近在使用Scrapy和Scrapyd时,我遇到了一个关于subprocess.CalledProcessError的问题。在这篇博文中,我将描述这个错误、找出的原因以及最后的解决方案。错误描述在使用scrapyd-deploy命令部署我的Scrapy项目时,我遇到了如下的错误:subprocess.CalledProcessError:Comma......
  • mysql EXECUTE s1 into a
    使用MySQL中的EXECUTE语句将查询结果存储在变量中在MySQL中,我们经常需要执行查询语句并将结果存储在变量中以供后续使用。为了实现这个目标,MySQL提供了一个非常有用的EXECUTE语句。本文将介绍EXECUTE语句的使用方法,并提供几个简单的示例来帮助读者更好地理解该语句的用法。EXECUT......
  • python subprocess 脚本
    实现Pythonsubprocess脚本的步骤1.了解subprocess模块在Python中,subprocess模块用于创建子进程并与其进行通信。它提供了一种执行命令行命令的方式,并允许我们捕获其输出和错误。2.导入subprocess模块在代码的开头,需要导入subprocess模块,以便可以使用其中的相关功能。在Pytho......
  • Metadata processing is not available 解决方案
    问题Export:Release11.2.0.4.0-ProductiononWedJul1920:49:242023Copyright(c)1982,2011,Oracleand/oritsaffiliates.Allrightsreserved.Connectedto:OracleDatabase11gEnterpriseEditionRelease11.2.0.4.0-64bitProductionWiththePartitio......
  • maven build 运行unit test失败 process exit code:134
    环境:JDK:17.0.7Springboot:3.1.0Junit:5问题:运行mvncleaninstall时在maven-surefire-plugin:test阶段失败。TheforkedVMterminatedwithoutprperlysayinggoodbye.VMcrashorSystem.exitcalled?dumpfile中的错误:Corruptedchannelbydirectlywriting......
  • 使用mvn test -Dtest=具体方法名,结果报:No tests were executed!
    执行命令:mvnw.cmdtest-Dtest=com.cy.store.mapper.UserMapperTests#print问题描述:[ERROR]Failedtoexecutegoalorg.apache.maven.plugins:maven-surefire-plugin:2.22.2:test(default-test)onprojectstore:Notestswereexecuted! (Set-DfailIfNoTests=falseto......
  • Since Redis always uses the last processed
    RedisandItsUseofLastProcessedDataRedisisanopen-source,in-memorydatastructurestorethatcanbeusedasadatabase,cache,andmessagebroker.OneoftheuniquefeaturesofRedisisitsabilitytousethelastprocesseddataefficiently.Int......