[Seek Help] yum安装后无法使用
Tofloor
poster avatar
viperwb
deepin
2021-12-16 06:47
Author

yum insall git
属性错误:'ascii' codec can't decode byte 0xe6 in position 11: ordinal not in range(128)
Usage: yum [options] COMMAND

请问这是什么原因

Reply Favorite View the author
All Replies
babyfengfjx
Super Moderator
CQA
2021-12-16 07:07
#1

为毛用yum?

apt会怎么想?

Reply View the author
北冥夜未央
deepin
Ecological co-builder
2021-12-16 07:12
#2

你非要用别人家的账号密码管理你家的银行卡,能用就奇怪了。

Reply View the author
enforcee
deepin
2021-12-16 09:26
#3

之前论坛也有一个装yum的

joy

都是一个师傅出来的吗

Reply View the author
learner
deepin
2021-12-16 09:33
#4

不知道楼主是不太了解 Debian 中的软件包体系,还是想在 Debian 系统中用 rpm 的高端玩家。如果是后者的话请忽略我下面写的东西。。。

Deepin 基于 Debian, Debian 中的软件包是 .deb 软件包(似乎相当于.rpm文件),软件包管理器是 dpkg(似乎相当于 rpm 或者 rpmbuild),apt-get(还有 aptitude, apt)是建立在dpkg上的更高级的软件包管理工具,能自动处理软件包依赖的问题 (似乎相当于 yum)

所以安装 git 只需运行: sudo apt-get install git 或者 sudo aptitude install git 或者 sudo apt install git

Reply View the author
观摩
deepin
2021-12-16 20:09
#5

我擦,这是什么神仙操作

Reply View the author
wtz
deepin
2021-12-17 16:37
#6

命令是复制粘贴的还是手工输入的?

如果是复制粘贴的,请检查复制的时候末尾有没有特殊(不可见)字符。

如果是手工输入的,可能是仓库里的yum没打包配置好。如楼上所述, when in deepin do as the deepiners do。

Reply View the author