今天开始试着安装saltstack 来应用到公网环境中来应对越来越多的服务器。可是一来就出师不利 。在yum 安装salt-master 时  yum报了以下错误:Transaction Check Error:  file /usr/lib/python2.6/site-packages/Crypto/Cipher/__init__.py from install of py            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2013-12-04 17:08:34
                            
                                3140阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            Transaction Check Error:file /usr/libexec/getconf/default conflicts between attempted installs of gcc-6.4.1-1.fc25.i686 and gcc-6.4.1-1.fc25.x86_64									今天在我的ubuntu系统上使用yum来安装软件时出错...            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2022-03-02 18:24:36
                            
                                424阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            利用yum机制进行软件安装或者升级的时候,偶尔会遇到Transaction Check Error等的错误。本人在安装dhcp服务器的时候,就遇到这种状况。
 
顾名思义,就是软件冲突。自己的第一感觉就是客户端和服务器版本的冲突。然后比较了下,果然发现版本有些许的差异。为了进一步确定原因,google了一下,有说源出现问题的,也有说需要卸载软件。。。或许原因也挺多的,经过了这一次            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2012-04-06 22:10:21
                            
                                2133阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            报错类型(base) [root@localhost rstudio]# yum install shiny-server-1.5.9.923-x86_64.rpm   File "/usr/bin/yum", line 30    except KeyboardInterrupt, e:                            ^SyntaxError: invalid ...            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2021-06-04 22:51:54
                            
                                1270阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            ## Docker事务检查错误
在使用Docker时,有时候我们会遇到"Transaction check error"这样的错误。本文将解释这个错误的原因,并给出解决方法。我们将通过一个具体的示例来演示这个问题。
### 什么是Docker事务检查?
Docker事务检查是在安装软件包或更新软件包时执行的一个过程。它用于检查软件包之间的依赖关系,以确保系统中的软件包能够正确地安装和运行。            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2024-01-11 05:20:37
                            
                                275阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            造成的原因是之前对python进行了一个备份,当python出现多版本也会出现这个情况 [root@localhost bin]# yum -bash: /usr/bin/yum: /usr/bin/python: bad interpreter: No such file or directory            
                
                    
                        
                                                            
                                                                        
                                                                                        转载
                                                                                    
                            2019-12-04 17:23:00
                            
                                2708阅读
                            
                                                                                    
                                2评论
                            
                                                 
                 
                
                             
         
            
            
            
            # 如何解决“/usr/bin/env: ‘python’: No such file or directory”
## 引言
作为一名经验丰富的开发者,我经常遇到各种技术难题,并努力解决它们。今天,我将帮助一位刚入行的小白解决一个常见的问题:“/usr/bin/env: ‘python’: No such file or directory”。这个问题通常出现在使用Python脚本或命令时,            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2023-09-05 13:39:04
                            
                                9111阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            自己也遇到了今天在Win IDE下写了个脚本,传到服务器执行后提示:-bash: /usr/bin/autocrorder: /usr/bin/python^M: bad interpreter: No such file or directory 分析: 这是不同系统编码格式引起的:在windows系统中编辑的.sh .py文件可能有不可见字符,所以在Linux系统下执行会报以上异常信息。一般是            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2022-09-19 14:17:08
                            
                                171阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            ### 如何解决/usr/bin/dockerd: No such file or directory问题
作为一名经验丰富的开发者,我将帮助你解决"usr/bin/dockerd: No such file or directory"的问题。首先,我们需要了解这个问题的背景和解决方案的步骤。下面是整个过程的流程图和步骤表格:
```mermaid
stateDiagram
    [*] -            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2023-08-18 14:04:56
                            
                                1553阅读
                            
                                                                             
                 
                
                             
         
            
            
            
               在yuminstall安装软件的过程中,报如下错误:Transactioncheckerror:file/usr/bin/dockerfrominstallofdocker-ce-17.12.1.ce-1.el7.centos.x86_64conflictswithfilefrompackagedocker-common-2:1.12.6-71.git3e8e77d.el7.centos.1            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2018-03-06 15:55:31
                            
                                6954阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            吾奇怪,吾脚本中有sed,也能执行,怎么报错?一搜索,原来是在/bin下。家一个链接:ln -sn /bin/sed /usr/bin/sed            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2022-02-07 16:35:58
                            
                                453阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            吾奇怪,吾脚本中有sed,也能执行,怎么报错?一搜索,原来是在/bin下。家一个链接:ln -sn /bin/sed /usr/bin/sed            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2021-08-07 11:12:13
                            
                                1252阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            clang++ -ccc-gcc-name g++ -Wl,-rpath,/home/yigo/Qt5.12.12/5.12.12/gcc_64/lib -o Test1 main.o mainwindow.o moc_mainwindow.o /home/yigo/Qt5.12.12/5.12.12/gcc_64/lib/libQt5Widgets.so /            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2022-04-27 20:58:08
                            
                                1529阅读
                            
                                                                             
                 
                
                                
                     
                                    
                             
         
            
            
            
            # 如何解决“/usr/bin/yum: /usr/bin/python”错误
## 引言
在进行Linux系统开发时,我们经常会使用yum命令来安装和更新软件包。然而,有时我们可能会遇到一个常见的错误:“/usr/bin/yum: /usr/bin/python”。这个错误通常是由于Python解释器的版本问题引起的。本文将向你介绍如何解决这个错误,并帮助你理解整个解决问题的流程。
## 解            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2023-08-18 03:59:53
                            
                                210阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            ## 解决 "error: unpacking of archive failed on file /usr/share/filebeat/bin/filebeat" 的步骤
在解决 "error: unpacking of archive failed on file /usr/share/filebeat/bin/filebeat" 的问题之前,我们首先需要了解整个流程。以下是解决问题的步骤            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2023-08-17 17:50:08
                            
                                378阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            ## 故障排除:`bash: /usr/bin/yum: /usr/bin/python2.7: bad interpreter: No such file or directory`
### 故障现象
小白遇到了一个问题,当他在终端执行`yum`命令时,出现了`bash: /usr/bin/yum: /usr/bin/python2.7: bad interpreter: No such fi            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2023-08-27 11:01:42
                            
                                1951阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            今天使用yum安装软件时报错:[root@westos1 ~]# yum repolist-bash: /usr/bin/yum: /usr/bin/py            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2023-01-03 11:40:14
                            
                                682阅读
                            
                                                                             
                 
                
                                
                     
                                    
                             
         
            
            
            
            # 解决"oci runtime error: cont"的步骤
作为一名经验丰富的开发者,我将向你介绍解决"oci runtime error: cont"的步骤。这个错误通常与Docker容器运行时相关,并且可能由于各种原因引起。
## 解决步骤
以下是解决该问题的步骤,我将以表格的形式展示每个步骤。
| 步骤 | 描述 |
| --- | --- |
| 步骤1 | 查找错误的根本原因            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2023-08-03 06:07:42
                            
                                1308阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            # 如何解决“/usr/bin/docker-current: Error response from daemon: No command specified”
## 引言
在使用Docker时,有时候会遇到一些问题,比如在执行docker命令时出现错误消息“/usr/bin/docker-current: Error response from daemon: No command spec            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2023-08-17 10:20:54
                            
                                1183阅读
                            
                                                                             
                 
                
                             
         
            
            
            
            Transaction Check Error:
  file /sbin/hwclock from install of util-linux-2.13-0.59.el5_8.x86_64 conflicts with file from package            
                
                    
                        
                                                            
                                                                        
                                                                                        原创
                                                                                    
                            2015-06-04 11:27:54
                            
                                4375阅读