the fedora server may be too slow for upgrade.
it is possible to guide yum to use the mirror host in fast-speed.
a. in /etc/yum.repos.d, create a file, says local-core.mirror, and its content as
# local mirrorlist for Taiwan
http://ftp.isu.edu.tw/pub/Linux/Fedora/linux/core/updates/$releasever/$basearch/
http://fedora.mirrors.tds.net/pub/fedora-core/updates/$releasever/$basearch/
http://mirror.pacific.net.au/linux/fedora/linux/core/$releasever/$basearch/os/
b. in /etc/yum.repos.d, modify fedora-core.repo, fedora-extras.repo and fedora-updates.repo,
replace original 'mirrorlist=' line to
mirrorlist=file:///etc/yum.repos.d/local-core.mirror
now, yum will use the host listed in local-core.mirror for upgrade/install.
2. how to clean up the broken download head/files etc ?
# yum clean headers
# yum clean metadata
# yum clean dbcache
# yum clean cache
etc.
3. my fedora code doesn't include compiler tools, how to install it ?
# yum install gcc
沒有留言:
張貼留言