Re: [請問]Fedora repos missing dependency
※ 引述《Adama.bbs@ptt.cc (So Say We All.)》之銘言:
: ※ 引述《Maxsolar.bbs@OfO.twbbs.org (Astro v.s. Geo)》之銘言:
: : 先把rawhide的類別全部都disable掉就ok了!
: rawhide應該預設是disable的,是你自己手動開的嗎?XD
是阿!因為不知道是什麼所以就把他打開了哩@.@
: : baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases
: : /$releasever/Everything/$basearch/os/
: : 是不是可以寫再sources.list,變成
: : repomd http://download.fedoraproject.org/pub/ fedora/linux/releases/$(VERSION)
: : /Everything/$(ARCH)/os/
: 最近在下在看您的網誌學Debian XD 覺得aptitude好像又比yum聰明一點...
弟的blog不過是野人獻曝,實在不敢當~
由於yum沒有非常熟,所以也不好說yum不好用;
不過就使用的感覺而言,aptitude好於yum好於apt
: 雖然每次都要aptitude update和clean多幾步。我會覺得應該是寫成
: repomd http://download.fedoraproject.org/pub/fedora/linux \
: releases/$(VERSION)/Everything/$(ARCH)/os/ \
: updates/$(VERSION)/$(ARCH)
: 由此可以看出 linux 是根目錄,就像Debian的debian目錄一樣
: : 我測試的結果似乎沒問題,不過我發現他還是會去查mirrorlist裡面的站台,
: : 我不知道是不是會跟yum的設定檔有關連@@
: 好像mirrorlist沒有#mark掉的話,它會和baseurl一起作用
: 意思就是有可能還是會去尋找mirrors。所以我都#mark掉
謝謝您的寶貴資訊,弟重寫了所有在yum.repo.d裡被enable的repos:
#Fedora
#repomd http://ftp.twaren.net/Linux/Fedora/linux/ \
releases/$(VERSION)/Everything/$(ARCH)/os/
#repomd http://ftp.twaren.net/Linux/Fedora/linux/ updates/$(VERSION)/$(ARCH)/
#repomd http://ftp.twaren.net/Linux/Fedora/linux/ \
updates/testing/$(VERSION)/$(ARCH)/
#livna
#repomd http://rpm.livna.org/repo/ $(VERSION)/$(ARCH)/
#rpmfusion free
repomd http://download1.rpmfusion.org/ \
free/fedora/releases/$(VERSION)/Everything/$(ARCH)/os/
repomd http://download1.rpmfusion.org/ \
free/fedora/updates/$(VERSION)/$(ARCH)/
repomd http://download1.rpmfusion.org/ \
free/fedora/updates/testing/$(VERSION)/$(ARCH)/
#rpmfusion non-free
repomd http://download1.rpmfusion.org/ \
nonfree/fedora/releases/$(VERSION)/Everything/$(ARCH)/os/
repomd http://download1.rpmfusion.org/ \
nonfree/fedora/updates/$(VERSION)/$(ARCH)/
repomd http://download1.rpmfusion.org/ \
nonfree/fedora/updates/testing/$(VERSION)/$(ARCH)/
並且把在/etc/apt/sources.list.d/裡面的全都註解調,可以順利的
apt-get update成功,不過弟發現幾件事情:
1.sources.list的寫法 站台跟類別的斷開位置其實可以隨便寫,只要可以找到
repomd.xml即可。例如:可以寫成
repomd http://download1.rpmfusion.org/ free/fedora/releases/10/\
Everything/i386/os/
也可以寫成
repomd http://download1.rpmfusion.org/free/fedora/ eleases/10/\
Everything/i386/os/
2.Reading Package Lists的速度挺慢的(不知道是不是我機器的問題),跟debian
比起來是明顯慢許多。
3.yum search 跟apt-cache search 的結果會是不同的?!
我詳細比對yum repos並把內容改寫成sources.list,
我使用yum search synaptic的結果:
gsynaptics.i386 : Settings tool for Synaptics touchpad driver
ksynaptics.i386 : KDE configuration for synaptics module
libsynaptics.i386 : Synaptics touchpad driver library
libsynaptics-devel.i386 : Development files for libsynaptics
synaptic.i386 : Graphical frontend for APT package manager.
synaptics.i386 : Synaptics Touchpad Driver
xfce-mcs-plugin-gsynaptics.i386 : GSynaptics icon for the Xfce Settings
Manager
xfce4-gsynaptics-mcs-plugin.i386 : GSynaptics icon for the Xfce Settings
Manager
xorg-x11-drv-synaptics.i386 : Xorg X11 synaptics input driver
使用apt-cache search synaptic的結果:
xorg-x11-drv-synaptics - Xorg X11 Synaptics touchpad input driver
竟然連"synaptic"本身都沒找到,這真是太詭異了@@
我可以理解兩者搜尋的方式可能會不一樣,
但是這個結果還蠻令人意外的說~
謝謝!
--
我不是風 但我想飛
--
◢█◣▏◤█◣ ◆未來最舊小棧 Oldest Future Object
█●▇█▁˙█ ◆通訊頻率 OfO.twbbs.org
◥█◢▉◥█◤ ◆來源座標 122-117-177-125.HINET-IP.hinet.net
討論串 (同標題文章)
Linux 近期熱門文章
21
56
PTT數位生活區 即時熱門文章