Re: Apt and yum problems...
Vladimir Ivanov <[email protected]>
| Newsgroups | gmane.linux.freshrpms.user |
|---|---|
| Organization | High Sky Technology Pty. Ltd. |
| Message-ID | <[email protected]> |
404 Not Found clearly says not found. If you go and check the path you'll not find a directory or it can be just misspelled. In this case you can find some clue going to the upper level in the path, and then correct your /etc/apt/sources.list. For instance > Err http://newrpms.sunsite.dk/apt/redhat/en/i386/fc4/base/pkglist.newrpms > 404 Not Found because it's actually http://newrpms.sunsite.dk/apt/redhat/en/i386/fc4/RPMS.newrpms/ In this case it seems you were updated sources.list from fc3 distribution. I'd suggest fixing these errors first before doing install. Vladimir On Fri, 9 Dec 2005 12:30 am, GEJOE DANIEL wrote: > I installed Apt(apt-0.5.15cnc7-6.fc4.i386) for my Fc4 32 bit > version(Amd64,AsuK8S with 512 DDR RAM) > But whenever i try to install it's showing some error: > > ********************************************* > [root@gejoe Socketsprgms]# apt-get update > Get:1 http://ayo.freshrpms.net fedora/linux/4/i386 release [1834B] > Get:2 http://apt.sw.be fedora/4/en/i386 release [472B] > Get:3 http://ftp.heanet.ie fedora/4/en/i386 release [472B] > Get:4 http://apt.sw.be dries/fedora/fc4/i386 release [486B] > Ign http://newrpms.sunsite.dk redhat/en/i386/fc4 release > Get:5 http://wftp.tu-chemnitz.de fedora/4/en/i386 release [472B] > Fetched 3736B in 7s (501B/s) > Err http://newrpms.sunsite.dk redhat/en/i386/fc4/newrpms pkglist > 404 Not Found > Ign http://newrpms.sunsite.dk redhat/en/i386/fc4/newrpms release > Hit http://apt.sw.be fedora/4/en/i386/dag pkglist > Hit http://apt.sw.be fedora/4/en/i386/dag release > Get:1 http://ayo.freshrpms.net fedora/linux/4/i386/freshrpms pkglist > [74.5kB] Get:2 http://apt.sw.be dries/fedora/fc4/i386/dries pkglist [613kB] > Hit http://ftp.heanet.ie fedora/4/en/i386/dag pkglist > Hit http://ftp.heanet.ie fedora/4/en/i386/dag release > Hit http://wftp.tu-chemnitz.de fedora/4/en/i386/dag pkglist > Hit http://wftp.tu-chemnitz.de fedora/4/en/i386/dag release > Hit http://ayo.freshrpms.net fedora/linux/4/i386/freshrpms release > Err http://apt.sw.be dries/fedora/fc4/i386/dries pkglist > Error reading from server Remote end closed connection > Hit http://apt.sw.be dries/fedora/fc4/i386/dries release > Fetched 74.5kB in 54s (1360B/s) > Failed to fetch > http://apt.sw.be/dries/fedora/fc4/i386/base/pkglist.dries Error > reading from server Remote end closed connection > Failed to fetch > http://newrpms.sunsite.dk/apt/redhat/en/i386/fc4/base/pkglist.newrpms > 404 Not Found > Reading Package Lists... Done > Building Dependency Tree... Done > E: Some index files failed to download, they have been ignored, or old > ones used instead. > *********************************************************************** > > apt-get install xine xine-lib xine-skins > Reading Package Lists... Done > Building Dependency Tree... Done > The following NEW packages will be installed: > xine (0.99.4-1.2.fc4) > xine-lib (1.1.0-1.2.fc4) > xine-skins (1.10-1.fc) > 0 upgraded, 3 newly installed, 0 removed and 0 not upgraded. > Need to get 10.1MB of archives. > After unpacking 19.8MB of additional disk space will be used. > Get:1 http://ayo.freshrpms.net fedora/linux/4/i386/freshrpms xine-lib > 1.1.0-1.2.fc4 [4688kB] > Err http://ayo.freshrpms.net fedora/linux/4/i386/freshrpms xine-lib > 1.1.0-1.2.fc4 > Error reading from server Remote end closed connection > Get:2 http://ayo.freshrpms.net fedora/linux/4/i386/freshrpms xine > 0.99.4-1.2.fc4 [2365kB] > Err http://ayo.freshrpms.net fedora/linux/4/i386/freshrpms xine > 0.99.4-1.2.fc4 Error reading from server Remote end closed connection > Get:3 http://ayo.freshrpms.net fedora/linux/4/i386/freshrpms > xine-skins 1.10-1.fc [3046kB] > Err http://ayo.freshrpms.net fedora/linux/4/i386/freshrpms xine-skins > 1.10-1.fc Error reading from server Remote end closed connection > Failed to fetch > http://ayo.freshrpms.net/fedora/linux/4/i386/RPMS.freshrpms/xine-lib-1.1.0- >1.2.fc4.i386.rpm Error reading from server Remote end closed connection > Failed to fetch > http://ayo.freshrpms.net/fedora/linux/4/i386/RPMS.freshrpms/xine-0.99.4-1.2 >.fc4.i386.rpm Error reading from server Remote end closed connectionFailed > to fetch > http://ayo.freshrpms.net/fedora/linux/4/i386/RPMS.freshrpms/xine-skins-1.10 >-1.fc.noarch.rpm Error reading from server Remote end closed connection > E: Unable to fetch some archives, maybe run apt-get update or try with > --fix-missing? > You have new mail in /var/spool/mail/root > ********************************************** > [root@gejoe ~]# cat /etc/yum.conf > # Note: This file is no longer the entire yum configuration > # for fedorafaq.org. See http://www.fedorafaq.org/#yumconf > # for details on how to set up your system with the new > # yum configuration. > > [main] > cachedir=/var/cache/yum > debuglevel=2 > logfile=/var/log/yum.log > pkgpolicy=newest > distroverpkg=redhat-release > tolerant=1 > exactarch=1 > obsoletes=1 > # We don't want to gpg-check local, unsigned packages > #gpgcheck=1 > > ***************************************************** > > # Changed this because some mirrors go down and then > # re-trying takes forever. > retries=1 > timeout=10 > > # PUT YOUR REPOS HERE OR IN separate files named file.repo > # in /etc/yum.repos.d > [root@gejoe ~]# ls /etc/yum.repos.d/ > dag.repo fedora-extras.repo fedora-updates-testing.repo > fedora-devel.repo fedora.repo > fedora-extras-devel.repo fedora-updates.repo > [root@gejoe ~]# cat /etc/yum.repos.d/dag.repo > [dag] > name=Dag RPM Repository for Fedora Core > baseurl=http://apt.sw.be/fedora/$releasever/en/$basearch/dag > gpgcheck=1 > enabled=1 > > ********************************************************** > [root@gejoe Socketsprgms]# yum install mplayer > Setting up Install Process > Setting up repositories > dag 100% |=========================| 1.1 kB 00:00 > extras 100% |=========================| 1.1 kB 00:00 > updates-released 100% |=========================| 951 B 00:00 > base 100% |=========================| 1.1 kB 00:00 > Reading repository metadata in from local files > primary.xml.gz 100% |=========================| 192 kB 01:33 > primary.xml.gz 100% |=========================| 16 kB 00:17 > primary.xml.gz 100% |=========================| 240 kB 02:06 > primary.xml.gz 100% |=========================| 8.0 kB 00:19 > primary.xml.gz 100% |=========================| 24 kB 00:31 > primary.xml.gz 100% |=========================| 0 B 00:10 > primary.xml.gz 100% |=========================| 16 kB 00:26 > primary.xml.gz 100% |=========================| 16 kB 00:25 > primary.xml.gz 100% |=========================| 0 B 00:16 > primary.xml.gz 100% |=========================| 8.0 kB 00:20 > primary.xml.gz 100% |=========================| 8.0 kB 00:12 > primary.xml.gz 100% |=========================| 80 kB 01:11 > primary.xml.gz 100% |=========================| 40 kB 00:54 > primary.xml.gz 100% |=========================| 16 kB 00:30 > Error: failure: repodata/primary.xml.gz from extras: [Errno 256] No > more mirrors to try. > ************************************ > what should i do to have this problem rectified... > > Gejoe -- Vladimir Ivanov Director High Sky Technology Pty. Ltd. P.O. Box 422 MAROUBRA, NSW 2035 AUSTRALIA Unified Message Box: +61 (0)2 8569-1749 http://HighSkyTech.com Support and Info Inquiry: [email protected]