yum安装tcpkill时出现No package dsniff available的解决方案

今天安装tcpkill的时候提示

[jiankunking@cmp24 ~]# yum -y install dsniff
Loaded plugins: fastestmirror, langpacks
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository contrib is listed more than once in the configuration
base                                                                                                                                                                                          | 3.6 kB  00:00:00     
extras                                                                                                                                                                                        | 2.9 kB  00:00:00     
percona-release-noarch                                                                                                                                                                        | 1.5 kB  00:00:00     
percona-release-x86_64                                                                                                                                                                        | 2.9 kB  00:00:00     
prel-release-noarch                                                                                                                                                                           | 1.5 kB  00:00:00     
updates                                                                                                                                                                                       | 2.9 kB  00:00:00     
zabbix                                                                                                                                                                                        | 2.9 kB  00:00:00     
zabbix-non-supported                                                                                                                                                                          | 2.9 kB  00:00:00     
(1/4): extras/7/x86_64/primary_db                                                                                                                                                             | 250 kB  00:00:00     
(2/4): zabbix/x86_64/primary_db                                                                                                                                                               | 225 kB  00:00:00     
(3/4): updates/7/x86_64/primary_db                                                                                                                                                            |  22 MB  00:00:01     
(4/4): percona-release-x86_64/7/primary_db                                                                                                                                                    | 1.4 MB  00:00:02     
Determining fastest mirrors* base: mirrors.aliyun.com* extras: mirrors.aliyun.com* updates: mirrors.aliyun.com
No package dsniff available.
Error: Nothing to do

上网搜了一下解决方案

当使用yum搜索某些rpm包,找不到是因为CentOS是RedHat企业版编译过来的,去掉了所有关于版权问题的东西。安装EPEL后可以很好的解决这个问题。EPEL(Extra Packages for Enterprise Linux )即企业版Linux的扩展包,提供了很多可共Centos使用的组件,安装完这个以后基本常用的rpm都可以找到。

验证下可以

[jiankunking@cmp24 ~]# yum install -y epel-release
Loaded plugins: fastestmirror, langpacks
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository contrib is listed more than once in the configuration
Loading mirror speeds from cached hostfile* base: mirrors.aliyun.com* extras: mirrors.aliyun.com* updates: mirrors.aliyun.com
Resolving Dependencies
--> Running transaction check
---> Package epel-release.noarch 0:7-11 will be installed
--> Finished Dependency ResolutionDependencies Resolved===================================================================================================================================================================================================================== Package                                                 Arch                                              Version                                           Repository                                         Size
=====================================================================================================================================================================================================================Installing:epel-release                                            noarch                                            7-11                                              extras                                             15 kTransaction Summary
=====================================================================================================================================================================================================================Install  1 PackageTotal download size: 15 k
Installed size: 24 k
Downloading packages:
epel-release-7-11.noarch.rpm                                                                                                                                                                  |  15 kB  00:00:01     
Running transaction check
Running transaction test
Transaction test succeeded
Running transactionInstalling : epel-release-7-11.noarch                                                                                                                                                                          1/1 Verifying  : epel-release-7-11.noarch                                                                                                                                                                          1/1 Installed:epel-release.noarch 0:7-11                                                                                                                                                                                         Complete!
[jiankunking@cmp24 ~]# yum -y install dsniff
Loaded plugins: fastestmirror, langpacks
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository contrib is listed more than once in the configuration
epel/x86_64/metalink                                                                                                                                                                          | 7.9 kB  00:00:00     
epel                                                                                                                                                                                          | 4.7 kB  00:00:00     
(1/3): epel/x86_64/group_gz                                                                                                                                                                   |  99 kB  00:00:00     
epel/x86_64/primary_db         FAILED                                                        1% [-                                                                                 ]  0.0 B/s |  99 kB  --:--:-- ETA 
https://ftp.yz.yamagata-u.ac.jp/pub/linux/fedora-projects/epel/7/x86_64/repodata/9e98594fb8b5a0b2cea2c2e98dbec3b34f6b239443307f7d1bee3d89e1b05c4a-primary.sqlite.bz2: [Errno 14] HTTPS Error 404 - Not Found-:-- ETA 
Trying other mirror.
To address this issue please refer to the below knowledge base article https://access.redhat.com/articles/1320623If above article doesn't help to resolve this issue please create a bug on https://bugs.centos.org/(2/3): epel/x86_64/updateinfo                                                                                                                                                                 | 1.0 MB  00:00:00     
(3/3): epel/x86_64/primary_db                                                                                                                                                                 | 7.0 MB  00:00:00     
Loading mirror speeds from cached hostfile* base: mirrors.aliyun.com* epel: ftp.iij.ad.jp* extras: mirrors.aliyun.com* updates: mirrors.aliyun.com
Resolving Dependencies
--> Running transaction check
---> Package dsniff.x86_64 0:2.4-0.33.b1.el7 will be installed
--> Processing Dependency: libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) for package: dsniff-2.4-0.33.b1.el7.x86_64
--> Processing Dependency: libssl.so.1.1(OPENSSL_1_1_0)(64bit) for package: dsniff-2.4-0.33.b1.el7.x86_64
--> Processing Dependency: libcrypto.so.1.1()(64bit) for package: dsniff-2.4-0.33.b1.el7.x86_64
--> Processing Dependency: libnet.so.1()(64bit) for package: dsniff-2.4-0.33.b1.el7.x86_64
--> Processing Dependency: libnids.so.1.24()(64bit) for package: dsniff-2.4-0.33.b1.el7.x86_64
--> Processing Dependency: libssl.so.1.1()(64bit) for package: dsniff-2.4-0.33.b1.el7.x86_64
--> Running transaction check
---> Package libnet.x86_64 0:1.1.6-7.el7 will be installed
---> Package libnids.x86_64 0:1.24-6.el7 will be installed
---> Package openssl11-libs.x86_64 1:1.1.1k-5.el7 will be installed
--> Finished Dependency ResolutionDependencies Resolved===================================================================================================================================================================================================================== Package                                                Arch                                           Version                                                    Repository                                    Size
=====================================================================================================================================================================================================================Installing:dsniff                                                 x86_64                                         2.4-0.33.b1.el7                                            epel                                         127 k
Installing for dependencies:libnet                                                 x86_64                                         1.1.6-7.el7                                                base                                          59 klibnids                                                x86_64                                         1.24-6.el7                                                 epel                                          39 kopenssl11-libs                                         x86_64                                         1:1.1.1k-5.el7                                             epel                                         1.5 MTransaction Summary
=====================================================================================================================================================================================================================Install  1 Package (+3 Dependent packages)Total download size: 1.7 M
Installed size: 4.1 M
Downloading packages:
(1/4): libnet-1.1.6-7.el7.x86_64.rpm                                                                                                                                                          |  59 kB  00:00:00     
warning: /var/cache/yum/x86_64/7/epel/packages/dsniff-2.4-0.33.b1.el7.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
Public key for dsniff-2.4-0.33.b1.el7.x86_64.rpm is not installed
(2/4): dsniff-2.4-0.33.b1.el7.x86_64.rpm                                                                                                                                                      | 127 kB  00:00:00     
(3/4): libnids-1.24-6.el7.x86_64.rpm                                                                                                                                                          |  39 kB  00:00:00     
(4/4): openssl11-libs-1.1.1k-5.el7.x86_64.rpm                                                                                                                                                 | 1.5 MB  00:00:00     
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Total                                                                                                                                                                                4.6 MB/s | 1.7 MB  00:00:00     
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Importing GPG key 0x352C64E5:Userid     : "Fedora EPEL (7) <epel@fedoraproject.org>"Fingerprint: 91e9 7d7c 4a5e 96f1 7f3e 888f 6a2f aea2 352c 64e5Package    : epel-release-7-11.noarch (@extras)From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Running transaction check
Running transaction test
Transaction test succeeded
Running transactionInstalling : libnet-1.1.6-7.el7.x86_64                                                                                                                                                                         1/4 Installing : libnids-1.24-6.el7.x86_64                                                                                                                                                                         2/4 Installing : 1:openssl11-libs-1.1.1k-5.el7.x86_64                                                                                                                                                              3/4 Installing : dsniff-2.4-0.33.b1.el7.x86_64                                                                                                                                                                     4/4 Verifying  : libnet-1.1.6-7.el7.x86_64                                                                                                                                                                         1/4 Verifying  : libnids-1.24-6.el7.x86_64                                                                                                                                                                         2/4 Verifying  : 1:openssl11-libs-1.1.1k-5.el7.x86_64                                                                                                                                                              3/4 Verifying  : dsniff-2.4-0.33.b1.el7.x86_64                                                                                                                                                                     4/4 Installed:dsniff.x86_64 0:2.4-0.33.b1.el7                                                                                                                                                                                    Dependency Installed:libnet.x86_64 0:1.1.6-7.el7                                        libnids.x86_64 0:1.24-6.el7                                        openssl11-libs.x86_64 1:1.1.1k-5.el7                                       Complete!
[jiankunking@cmp24 ~]# 

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/30947.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

PHP序列化,反序列化

一.什么是序列化和反序列化 php类与对象 类是定义一系列属性和操作的模板&#xff0c;而对象&#xff0c;就是把属性进行实例化&#xff0c;完事交给类里面的方法&#xff0c;进行处理。 <?php class people{//定义类属性&#xff08;类似变量&#xff09;,public 代表可…

MySQL高级-存储引擎+存储过程+索引(详解01)

目录 1.mysql体系结构 2.存储引擎 2.1.存储引擎概述 2.2.1.InnoDB 2.2.2.MyISAM 2.2.3.存储引擎选择 3.存储过程 3.1.存储过程和函数概述 3.2.创建存储过程 3.3.调用存储过程 3.4.查看存储过程 3.5.删除存储过程 3.6.语法 3.6.1.变量 3.6.2.if条件判断 3.6.3.…

知网期刊《中阿科技论坛》简介及投稿须知

知网期刊《中阿科技论坛》简介及投稿须知 主管单位&#xff1a;宁夏回族自治区科学技术厅 主办单位&#xff1a;宁夏回族自治区对外科技交流中心(中国一阿拉伯国家技术转移中心) 刊  期&#xff1a;月刊 国际刊号&#xff1a;ISSN 2096-7268 国内刊号&#xff1a;CN 64-…

抽象类,抽象方法

1、抽象类概述 由来 父类中的方法&#xff0c;被它的子类们重写&#xff0c;子类各自的实现都不尽相同。那么父类的方法声明和方法主体&#xff0c;只有声明还有意义&#xff0c;而方法主体则没有存在的意义了。我们把没有方法主体的方法称为抽象方法。Java语法规定&#xff0c…

基于Doris实时数据开发的一些注意事项

300万字&#xff01;全网最全大数据学习面试社区等你来&#xff01; 最近Doris的发展大家是有目共睹的。例如冷热分离等新特性的持续增加。使得Doris在易用和成本上都有大幅提升。 基于Doris的一些存储实时数仓在越来越多的场景中开始有一些实践。大家也看到了这种方案频繁出现…

Kubernetes(K8s)从入门到精通系列之十五:利用 kubeadm 创建高可用K8s集群

Kubernetes K8s从入门到精通系列之十五:利用 kubeadm 创建高可用K8s集群 一、kubeadm、kubelet和kubectl的区别二、准备工作1.堆叠Stacked etcd拓扑2.外部etcd拓扑三、容器镜像四、命令行五、为 kube-apiserver 创建负载均衡器六、使用堆控制平面和 etcd 节点七、托管节点标签…

MYSQL进阶-查询优化- 实战 STATUS

回城传送–》《100天精通MYSQL从入门到就业》 文末有送书活动&#xff0c;可以参加&#xff01; 文章目录 一、练习题目二、SQL思路SQL进阶-查询优化- SHOW STATUS初始化数据解法SHOW STATUS是什么实战经验&#xff1a;常用的mysql状态查询1、QPS(每秒处理的请求数量)计算思路…

Android 13 Hotseat定制化修改

一.背景 由于需求是需要自定义修改Hotseat,所以此篇文章是记录如何自定义修改hotseat的,应该可以覆盖大部分场景,修改点有修改hotseat布局方向,hotseat图标数量,hotseat图标大小,hotseat布局位置,hotseat图标禁止形成文件夹,hotseat图标禁止移动到Launcher中,下面开始…

对于现有的分布式id发号器的思考 id生成器 雪花算法 uuid

目录 雪花id tinyid uuid 分布式id特点 业务编号 数据中心编号 当前时间 ip地址 当前序号 对于时钟回拨问题 发号器机器当期时间小于redis的时间 解决方案 发号器机器当期时间等于redis时间 发号器机器当期时间大于redis时间 分布式id的单次获取和批次获取 在工…

C语言:在反汇编中,rep stos是什么意思?

在汇编语言中&#xff0c;"rep stos" 是一条指令的组合&#xff0c;用于在内存中进行重复的存储操作。这个组合实际上是两个指令的结合&#xff1a;"rep" 和 "stos"。 "rep"&#xff1a;这是一个前缀指令&#xff0c;代表"repeat…

MySQL 中的 Hash 索引

Hash 本身是一个函数&#xff0c;又被称为散列函数&#xff0c;它可以帮助我们大幅提升检索数据的效率。打个比方&#xff0c;Hash 就好像一个智能前台&#xff0c;你只要告诉它想要查找的人的姓名&#xff0c;它就会告诉你那个人坐在哪个位置&#xff0c;只需要一次交互就可以…

ToolLLM:能够使用 16000 种真实 API 的 LLM

随着对 LLM&#xff08;大语言模型&#xff09;的了解与使用越来越多&#xff0c;大家开始偏向于探索 LLM 的 agent 能力。尤其是让 LLM 学习理解 API&#xff0c;使用工具进行对用户的 instruction&#xff08;指令&#xff09;进行处理。然而&#xff0c;目前的开源大模型并不…

大麦订单截图 一键生成订单截图

新版付款图样式展示 这个样式图就是在大麦刚付款完的一个订单截图&#xff0c;它的状态是等待卖家发货 下滑下载源码 下载源码&#xff1a;https://pan.baidu.com/s/16lN3gvRIZm7pqhvVMYYecQ?pwd6zw3

【新闻】室温超导体来了?可以在超级计算机上写代码,用超级计算机打游戏?

2023年7月&#xff0c;韩国科学家团队表示&#xff0c;他们发现了全球首个室温超导材料&#xff0c;一种名为“改性铅磷灰石晶体结构”的材料。7月31日&#xff0c;该团队第二篇论文《超导体 Pb10 xCux (PO4) 60o在室温常压下表现出悬浮现象及其机理》在arXiv上发布&#xff0c…

Linux-PG+postgres安装

一、PG数据库安装 1. 获取所需依赖包 wget https://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/l/llvm5.0-devel-5.0.1-7.el7.x86_64.rpm wget https://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/l/llvm5.0-5.0.1-7.el7.x86_64.rpm wge…

linux系统虚拟主机开启支持Swoole Loader扩展

特别说明&#xff1a;只是安装支持Swoole扩展&#xff0c;主机并没有安装服务端。目前支持版本php5.4-php7.2。 1、登陆主机控制面板&#xff0c;找到【远程文件下载】这个功能。 2、远程下载文件填写http://download.myhostadmin.net/vps/SwooleLoader_linux.zip 下载保存的路…

Ctfshow web入门 XXE 模板注入篇 web373-web378 详细题解 全

CTFshow XXE web373 学习资料&#xff1a; &#xff08;梭哈~&#xff09; https://www.cnblogs.com/20175211lyz/p/11413335.html https://www.cnblogs.com/zhaijiahui/p/9147595.html https://www.cnblogs.com/r00tuser/p/7255939.html https://mp.weixin.qq.com/s?__bizMz…

Python爬虫的学习day02 requests 模块post 函数, lmxl 模块的 etree 模块

1. requests 模块post 函数 1.1 post 函数的参数 &#xff08;简单版&#xff09; 参数1&#xff1a; url 网络地址 参数2&#xff1a; data 请求数据 &#xff08;一般数据是 账号&#xff0c;密码&#xff09; 参数3&#xff1a; headers 头请求 &#xff08…

【团队协作开发】IDEA中Git从远程其他分支拉取代码并同步更新到自己的分支中更新不全问题解决

出现这个问题往往是因为没有先拉取远程分支的最新变化到本地导致的&#xff0c;具体操作流程和解决方法如下&#xff1a; 1、首先&#xff0c;先确保本地有一个和远程要拉取分支(比如dev_z)相关联的分支&#xff0c;如果没有&#xff1a;选择远程要拉取的分支&#xff0c;点击C…