首页 > 系统相关 >ubuntu安装findutils报错xargs: not found

ubuntu安装findutils报错xargs: not found

时间:2024-07-26 13:08:17浏览次数:17  
标签:xargs amd64 报错 findutils stdlib libpython3.4 prerm dpkg minimal

因为缺少find所以安装findutils

apt-get install findutils

报错说缺少xargs和find,但这俩也是属于findutils的,造成了循环依赖

root@ubuntu:/home/mika# apt-get install findutils
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
  libreadline6
Use 'apt autoremove' to remove it.
The following packages will be REMOVED:
  libpython3.4-minimal libpython3.4-stdlib
The following NEW packages will be installed:
  findutils
0 upgraded, 1 newly installed, 2 to remove and 3 not upgraded.
2 not fully installed or removed.
Need to get 0 B/291 kB of archives.
After this operation, 12.2 MB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 162217 files and directories currently installed.)
Removing libpython3.4-stdlib:amd64 (3.4.3-1ubuntu1~14.04.7) ...
/var/lib/dpkg/info/libpython3.4-stdlib:amd64.prerm: 11: /var/lib/dpkg/info/libpython3.4-stdlib:amd64.prerm: xargs: not found
/var/lib/dpkg/info/libpython3.4-stdlib:amd64.prerm: 15: /var/lib/dpkg/info/libpython3.4-stdlib:amd64.prerm: find: not found
/var/lib/dpkg/info/libpython3.4-stdlib:amd64.prerm: 18: /var/lib/dpkg/info/libpython3.4-stdlib:amd64.prerm: xargs: not found
dpkg: error processing package libpython3.4-stdlib:amd64 (--remove):
 installed libpython3.4-stdlib:amd64 package pre-removal script subprocess returned error exit status 127
dpkg: libpython3.4-minimal:amd64: dependency problems, but removing anyway as you requested:
 libpython3.4-stdlib:amd64 depends on libpython3.4-minimal (= 3.4.3-1ubuntu1~14.04.7).

Removing libpython3.4-minimal:amd64 (3.4.3-1ubuntu1~14.04.7) ...
/var/lib/dpkg/info/libpython3.4-minimal:amd64.prerm: 11: /var/lib/dpkg/info/libpython3.4-minimal:amd64.prerm: xargs: not found
/var/lib/dpkg/info/libpython3.4-minimal:amd64.prerm: 13: /var/lib/dpkg/info/libpython3.4-minimal:amd64.prerm: find: not found
/var/lib/dpkg/info/libpython3.4-minimal:amd64.prerm: 16: /var/lib/dpkg/info/libpython3.4-minimal:amd64.prerm: xargs: not found
dpkg: error processing package libpython3.4-minimal:amd64 (--remove):
 installed libpython3.4-minimal:amd64 package pre-removal script subprocess returned error exit status 127
Errors were encountered while processing:
 libpython3.4-stdlib:amd64
 libpython3.4-minimal:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)

所以直接下载findutils的源码安装,地址:https://github.com/aixoss/findutils
解压后

./configure    # 配置编译选项
make           # 编译源代码
sudo make install

即可

标签:xargs,amd64,报错,findutils,stdlib,libpython3.4,prerm,dpkg,minimal
From: https://www.cnblogs.com/nemuzuki/p/18325100

相关文章

  • OpenFeign报错:Caused by: java.lang.IllegalStateException: Method has too many Bod
    近两天在开发进行若依二开,openfeign需要一个微服务调用另一个微服务。等service层注入远程bean后,报错Causedby:java.lang.IllegalStateException:MethodhastoomanyBodyparameters:publicabstractvoidcom.shop.user.remote.RemoteUmsMemberAddressService.export(j......
  • 终端输入mvn -v报错:JAVA_HOME not found in your environment.
    终端输入mvn-v报错:JAVA_HOMEnotfoundinyourenvironment.       原因在于jdk环境变量未配置好。环境变量设置有如下两种方法:1、右键我的电脑-->属性-->高级系统设置-->环境变量-->系统变量-->双击Path-->点击新建-->输入jdk本地路径(如:D:\Tools\jdk1.8.0_121\bin)-......
  • hbase SLF4J报错
    hbaseSLF4J报错HBaseSLF4J错误的解决方法介绍在使用HBase开发过程中,经常会遇到SLF4J报错的情况。SLF4J(SimpleLoggingFacadeforJava)是一个为Java应用程序提供日志记录接口的简单日志门面。本文将介绍如何解决HBase中常见的SLF4J报错问题。解决流程下面是解决HBaseSLF4......
  • 【pywpsrpc/Python】改变图片宽高报错 对象无效属性: ‘tuple‘ object has no attrib
    概要开发UOS环境下,使用Python通过pywpsrpc库操作word文档在指定段落添加指定宽高的图片时意外发现的该问题,在原作者的github提问后获得解答后记录(源码地址、对应提问链接以及相关资料链接贴在文章末尾)。原因及解决方式首先贴一段简单的代码,作用是新建一个word文档并在其......
  • springboot+vue前后端分离项目:导出功能报错Request processing failed: cn.hutool.cor
    1.报错截图: 2.hutool官网,推荐引入poi-ooxml依赖 3.mvn仓库找到依赖 4.用最新版依赖 5.复制到本项目pom.xml,刷新maven 解决......
  • jwc令牌报错生成失败
    源代码//生成jwt令牌@TestpublicvoidtestGenJwt(){Map<String,Object>claims=newHashMap<>();//存储测试数据claims.put("id",1);claims.put("name","ZTZGTEDXT");String......
  • 20240722-0725 数据库外键报错
    数据库关联查询:​ 有一个村庄表,每个村庄属于一个村庄管理员,存着村庄管理员的id,村庄管理员在user_user和sys_user里存着。​ 查询村庄表,是超级管理员能看到所有村庄,村庄管理员只能看到自己的村庄。selectv.id,v.name,v.owner_id,v.created_at,v.updated_atfromlocation......
  • 【YashanDB知识库】stmt未close,导致YAS-00103 no free block in sql main pool part 0
    问题现象问题单:YAS-00103nofreeblockinsqlmainpoolpart0,YAS-00105outofmemorytoallocatehashtableofsize=256现象:业务处理sql时,报错YAS-00103nofreeblockinsqlmainpoolpart0问题风险及影响业务处理报错,影响功能使用问题影响版本客户版本:22.2.4......
  • object dict cannot be used in await expression报错解释
    报错解释:这个错误通常出现在使用Python的异步编程模型时,尝试在一个不支持异步的对象上使用await关键字。在Python中,await关键字只能在异步函数中使用,而异步函数通常定义在asyncdef语句中。错误"objectdictcannotbeusedinawaitexpression"意味着你正尝试在一个普通的字典......
  • JavaSE异常、今日面试题,解决git合并失败的终极篇!!!若以框架报错Invalid bound statement
    20240723一、JavaSE异常二、今日面试题三、解决git无法合并推送问题(终极篇!!!)1.直接把你写的复制出来,然后输入git命令1.1.解决办法一:保留本地的更改,中止合并->重新合并->重新拉取1.2解决办法二:舍弃本地代码,远端版本覆盖本地版本(慎重)2.然后复制回来,然后再合并推......