Im still using Fedora 15 for my workstation.
It’s totally out of support since …ago. Yum always fail.
Im trying to install gdal:
1 2 3 4 5 6 7 |
[root@suse suse]# yum provides */ogr2ogr ... ... gdal-1.7.3-14.fc15.i686 : GIS file format library Repo : updates 匹配来自于: Filename : /usr/bin/ogr2ogr |
but installation is not so smoothly togo
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
[root@suse suse]# yum install gdal ... ... 依赖关系解决 ================================================================================ 软件包 架构 版本 仓库 大小 ================================================================================ 正在安装: gdal i686 1.7.3-14.fc15 updates 3.0 M 为依赖而安装: cfitsio i686 3.250-6.fc15 fedora 525 k geos i686 3.2.1-3.fc14 fedora 468 k hdf5 i686 1.8.5.patch1-10.fc15 updates 1.2 M libdap i686 3.11.0-3.fc15 updates 396 k libgeotiff i686 1.2.5-6.fc15 fedora 536 k librx i686 1.5-15.fc15 fedora 31 k netcdf i686 4.1.1-6.fc15 updates 4.4 M ogdi i686 3.2.0-0.15.beta2.fc15 fedora 230 k proj i686 4.7.0-4.fc15 fedora 151 k xerces-c i686 3.0.1-21.fc15 fedora 883 k 事务概要 ================================================================================ Install 11 Package(s) ... 下载软件包: Setting up and reading Presto delta metadata Processing delta metadata Package(s) data still to download: 8.9 M http://download.fedoraproject.org/pub/fedora/linux/updates/15/i386/gdal-1.7.3-14.fc15.i686.rpm: [Errno 14] HTTP Error 404 - Not Found : http://ftp.riken.jp/Linux/fedora/updates/15/i386/gdal-1.7.3-14.fc15.i686.rpm 尝试其他镜像。 http://download.fedoraproject.org/pub/fedora/linux/updates/15/i386/hdf5-1.8.5.patch1-10.fc15.i686.rpm: [Errno 14] HTTP Error 404 - Not Found : http://ftp.riken.jp/Linux/fedora/updates/15/i386/hdf5-1.8.5.patch1-10.fc15.i686.rpm ... ... 下载软件包出错: netcdf-4.1.1-6.fc15.i686: failure: netcdf-4.1.1-6.fc15.i686.rpm from updates: [Errno 256] No more mirrors to try. gdal-1.7.3-14.fc15.i686: failure: gdal-1.7.3-14.fc15.i686.rpm from updates: [Errno 256] No more mirrors to try. libdap-3.11.0-3.fc15.i686: failure: libdap-3.11.0-3.fc15.i686.rpm from updates: [Errno 256] No more mirrors to try. hdf5-1.8.5.patch1-10.fc15.i686: failure: hdf5-1.8.5.patch1-10.fc15.i686.rpm from updates: [Errno 256] No more mirrors to try. |
An easy workaround is google/rpmpbone
google “netcdf-4.1.1-6.fc15.i686”, it will direct to page:
http://rpm.pbone.net/index.php3/stat/4/idpl/16958906/dir/fedora_15/com/netcdf-4.1.1-6.fc15.i686.rpm.html
same options on the rest RPMs.
# finally.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
[root@suse Download]# ls hdf5-1.8.5.patch1-10.fc15.i686.rpm libdap-3.11.0-3.fc15.i686.rpm gdal-1.7.3-14.fc15.i686.rpm netcdf-4.1.1-6.fc15.i686.rpm gdal-1.7.3-14.fc15.i686.rpm libdap-3.11.0-3.fc15.i686.rpm hdf5-1.8.5.patch1-10.fc15.i686.rpm netcdf-4.1.1-6.fc15.i686.rpm # following cmd will use the previous yum cache, those downloaded RPMs for the dependancies. [root@suse Download]# yum localinstall hdf5-1.8.5.patch1-10.fc15.i686.rpm libdap-3.11.0-3.fc15.i686.rpm gdal-1.7.3-14.fc15.i686.rpm netcdf-4.1.1-6.fc15.i686.rpm -y ... ... 依赖关系解决 ================================================================================ 软件包 架构 版本 仓库 大小 ================================================================================ 正在安装: gdal i686 1.7.3-14.fc15 /gdal-1.7.3-14.fc15.i686 9.5 M hdf5 i686 1.8.5.patch1-10.fc15 /hdf5-1.8.5.patch1-10.fc15.i686 6.4 M libdap i686 3.11.0-3.fc15 /libdap-3.11.0-3.fc15.i686 1.2 M netcdf i686 4.1.1-6.fc15 /netcdf-4.1.1-6.fc15.i686 14 M 为依赖而安装: cfitsio i686 3.250-6.fc15 fedora 525 k geos i686 3.2.1-3.fc14 fedora 468 k libgeotiff i686 1.2.5-6.fc15 fedora 536 k librx i686 1.5-15.fc15 fedora 31 k ogdi i686 3.2.0-0.15.beta2.fc15 fedora 230 k proj i686 4.7.0-4.fc15 fedora 151 k xerces-c i686 3.0.1-21.fc15 fedora 883 k 事务概要 ================================================================================ Install 11 Package(s) 总文件大小:34 M Installed size: 43 M 下载软件包: 运行 rpm_check_debug 执行事务测试 事务测试成功 执行事务 正在安装 : hdf5-1.8.5.patch1-10.fc15.i686 1/11 正在安装 : proj-4.7.0-4.fc15.i686 2/11 正在安装 : ogdi-3.2.0-0.15.beta2.fc15.i686 3/11 正在安装 : libgeotiff-1.2.5-6.fc15.i686 4/11 正在安装 : netcdf-4.1.1-6.fc15.i686 5/11 正在安装 : libdap-3.11.0-3.fc15.i686 6/11 正在安装 : geos-3.2.1-3.fc14.i686 7/11 正在安装 : librx-1.5-15.fc15.i686 8/11 正在安装 : cfitsio-3.250-6.fc15.i686 9/11 正在安装 : xerces-c-3.0.1-21.fc15.i686 10/11 正在安装 : gdal-1.7.3-14.fc15.i686 11/11 已安装: gdal.i686 0:1.7.3-14.fc15 hdf5.i686 0:1.8.5.patch1-10.fc15 libdap.i686 0:3.11.0-3.fc15 netcdf.i686 0:4.1.1-6.fc15 作为依赖被安装: cfitsio.i686 0:3.250-6.fc15 geos.i686 0:3.2.1-3.fc14 libgeotiff.i686 0:1.2.5-6.fc15 librx.i686 0:1.5-15.fc15 ogdi.i686 0:3.2.0-0.15.beta2.fc15 proj.i686 0:4.7.0-4.fc15 xerces-c.i686 0:3.0.1-21.fc15 完毕! |