简体   繁体   English

我正在使用 amazon Linux 2 & 每当我尝试使用 yum 命令时,我都会收到错误消息

[英]I am working on amazon Linux 2 & whenever I am trying to use yum command I am getting error

enter image description here I am trying basic command sudo yum update but it's not working在此处输入图像描述我正在尝试基本命令 sudo yum update 但它不起作用

enter image description here在此处输入图像描述

It is showing error in this file.它在此文件中显示错误。 Its location is /usr/bin/yum它的位置是/usr/bin/yum

You replace the yum executable with some ImageMagick script.您将yum可执行文件替换为一些 ImageMagick 脚本。 So you can try to download the yum package and install it with rpm所以你可以试试下载yum package,用rpm安装

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 为什么在尝试使用sed命令删除字符串时出现此错误? - Why am I getting this error when trying to use sed command to delete string? 我收到错误消息:每当我运行yml策略标记实例时,此处都不允许使用映射值 - I am getting error: mappings value are not allowed here whenever I am running the yml policy to tag the instance 我正在尝试使用命令在 centos 上安装 jenkins - “sudo yum install jenkins -y” - I am trying to install jenkins on centos using command - "sudo yum install jenkins -y" 在执行以下命令时,为什么我的权限被拒绝? 我正在尝试在HDP上运行它 - while executing following command, why am I getting permission denied? I am trying to run this on HDP 我正在尝试在 linux 中使用 grep 命令。 grep 相似词组 - I am trying to use the grep command in linux. how to grep similar words and phrases 我需要调用一个可以在 windows 中运行但在 linux 中不能运行的 API,我收到 401 错误 - I need to call an API which is working in windows but not in linux, I am getting 401 error 我正在尝试在linux上构建一个程序 - I am trying to build a program on linux 为什么在编写 linux 服务时出现 Exec 格式错误? - why am I getting Exec format error when I am writing my linux service? 为什么在尝试使用 Linux 中的 bash 脚本从 MySQL db 检索数据时出现此错误? - Why am I getting this error while trying to retrieve data from MySQL db using bash script in Linux? 我正在尝试使用 bash 脚本在 linux 中设置我的路径,但它不起作用 - I am trying to use a bash script to set my paths in linux but it is not working
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM