每次我嘗試啟動“yum”時都會收到以下錯誤:
Name collision between kterm kterm
Name collision between kterm-color kterm-color
Name collision between xterm-nic xterm-nic
Name collision between xterm1 xterm1
Name collision between color_xterm color_xterm
Name collision between xterm-color xterm-color
Name collision between gnome-rh62 gnome-rh62
Name collision between gnome-rh72 gnome-rh72
Name collision between gnome-rh80 gnome-rh80
Name collision between gnome-rh90 gnome-rh90
Name collision between gnome-fc5 gnome-fc5
Name collision between gnome gnome
Name collision between gnome-256color gnome-256color
Name collision between kvt kvt
Name collision between konsole-base konsole-base
Name collision between konsole-linux konsole-linux
Name collision between konsole-solaris konsole-solaris
Name collision between konsole-xf3x konsole-xf3x
Name collision between konsole-xf4x konsole-xf4x
Name collision between konsole-vt100 konsole-vt100
Name collision between konsole-vt420pc konsole-vt420pc
Name collision between konsole-16color konsole-16color
Name collision between konsole konsole
Name collision between mlterm mlterm
Name collision between rxvt-basic rxvt-basic
Name collision between rxvt+pcfkeys rxvt+pcfkeys
Name collision between rxvt rxvt
Name collision between rxvt-color rxvt-color
Name collision between rxvt-256color rxvt-256color
Name collision between rxvt-xpm rxvt-xpm
Name collision between rxvt-cygwin rxvt-cygwin
Name collision between rxvt-cygwin-native rxvt-cygwin-native
Name collision between rxvt-16color rxvt-16color
Name collision between rxvt-unicode rxvt-unicode
Name collision between Eterm Eterm
Name collision between xtermm xtermm
Name collision between xtermc xtermc
Name collision between xterm-pcolor xterm-pcolor
....
有誰知道如何解決這個問題?
答案1
我建議您臨時(重新)將所有 *.repo 從 /etc/yum.repos.d/ 移至 /tmp/,然後嘗試“yum clean all”,如果可以解決問題,請嘗試查看這些檔案然後將它們一一移回原處,看看問題何時再次出現。
[alexus@wcmisdlin02 ~]$ yum repolist
Loaded plugins: refresh-packagekit
repo id repo name status
adobe-linux-x86_64 Adobe Systems Incorporated 2
epel Extra Packages for Enterprise Linux 6 - x86_64 7,720
google-chrome google-chrome 3
google-talkplugin google-talkplugin 1
sl Scientific Linux 6.1 - x86_64 6,251
sl-security Scientific Linux 6.1 - x86_64 - security updates 1,954
repolist: 15,931
[alexus@wcmisdlin02 ~]$ sudo mv /etc/yum.repos.d/*.repo /tmp/
[alexus@wcmisdlin02 ~]$ yum repolist
Loaded plugins: refresh-packagekit
repolist: 0
[alexus@wcmisdlin02 ~]$
答案2
我重新安裝了新版本的Python,更改了一些環境變量,它起作用了。按照這個解決方案連結查看我為解決我的案例中的問題所做的事情。 「解決方案連結」中的問題是另一個問題,但按照那裡的步驟也可以解決本頁中所述的問題。