You are not logged in.

#1 2012-08-12 08:43:15

beopen
Member
Registered: 2012-06-29
Posts: 38

[SOLVED] error 404 in package downloads

i tried to install firefox, opera, pm-utils,polkit-gnome gvfs.
while installation i am getting this errors as mentioned below and nothing got installed and everything is pending hence.
1.for firefox 2 packages were not downloaded and no install happened
2.opera not at all downloading
3.pm utils the same like opera
4.for polkit-gnome gvfs a few missing and thus again pending work.

I am trying from yesterday and also did today, i am getting the same results.
here is a snippet of one of the error .

sudo pacman -S firefox
resolving dependencies...
looking for inter-conflicts...

Targets (9): hunspell-1.3.2-1  libevent-2.0.19-1  libnotify-0.7.5-1
             libvpx-1.1.0-1  mime-types-8-1  mozilla-common-1.4-3  nspr-4.9.1-1
             nss-3.13.5-1  firefox-14.0.1-1

Total Download Size:    0.22 MiB
Total Installed Size:   49.99 MiB

Proceed with installation? [Y/n] y
:: Retrieving packages from extra...
error: failed retrieving file 'nspr-4.9.1-1-x86_64.pkg.tar.xz' from archlinux.polymorf.fr : The requested URL returned error: 404
error: failed retrieving file 'nspr-4.9.1-1-x86_64.pkg.tar.xz' from mirror.de.leaseweb.net : The requested URL returned error: 404
error: failed retrieving file 'nspr-4.9.1-1-x86_64.pkg.tar.xz' from mirror.nl.leaseweb.net : The requested URL returned error: 404
error: failed retrieving file 'nspr-4.9.1-1-x86_64.pkg.tar.xz' from mirror.rit.edu : The requested URL returned error: 404
warning: failed to retrieve some files from extra
error: failed to commit transaction (download library error)
Errors occurred, no packages were upgraded.
-----------------------------------------------

I am just putting one error message as it is same for the rest of all other packages. You see as above in firefox one package is pending, balance got downloaded yesterday. Similar happened in polkit-gnome gvfs . Whereas for opera and pm-utils upower nothing got downloaded at all.
In all the 4 cases i got the same error with no downloads or partial downloads .

Now these mirrors have been fast and best for me uptil now and no issue with them.
So basically what these error is and what i should do about the same to complete the installation.

Last edited by beopen (2012-08-12 10:20:37)

Offline

#2 2012-08-12 08:48:26

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED] error 404 in package downloads

Short answer: pacman -Syu, not pacman -S.

Longer answer: you're trying to install versions that no longer exist in the repos, because you have not sync'd your package databases first.

If you're serious about using Arch, the very first thing you need to do is learn how to use pacman. Read the man page, and the various related wiki pages, thoroughly, and make sure you understand them.

Offline

#3 2012-08-12 08:50:08

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED] error 404 in package downloads

Have you done pacman -Sy lately?  It may be that your database is not in sync with the mirrors, so it is trying to retrieve package versions that aren't there.



Edit: I was too slow...

Last edited by WonderWoofy (2012-08-12 08:51:34)

Offline

#4 2012-08-12 10:18:17

beopen
Member
Registered: 2012-06-29
Posts: 38

Re: [SOLVED] error 404 in package downloads

WonderWoofy wrote:

Have you done pacman -Sy lately?  It may be that your database is not in sync with the mirrors, so it is trying to retrieve package versions that aren't there.



Edit: I was too slow...

i have done the pacman -Syu just a week back and everything is uptodate.

@tomk
Short answer: pacman -Syu, not pacman -S.

Secondly do you install firefox or any other package with pacman -Syu firefox or pacman -S [packagename] ????

i have atleast so far installed everrything with pacman -S packagename
this is what the pacman wiki says

Installing specific packages

To install a single package or list of packages (including dependencies), issue the following command:

# pacman -S package_name1 package_name2 ...


lastly i solved the problem and the installation went right by unchecking a few more mirrors and the same went alright now.
So for the moment i am labelling the query as solved.
Thanks.

Offline

#5 2012-08-12 10:43:09

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED] error 404 in package downloads

Just step back and think for a minute. Arch constantly updates packages, and many packages depend on each other. Regular -Syu is crucial, but in particular -Syu is required when installing new applications, so that you get the current version(s) of not only the application that want, and not only its dependencies, but also of any application(s) that you have already installed that also share those dependencies.

The pacman wiki is not official documentation - you need the man page for that. All pacman examples on the wiki page assume that the system is up to date first - pacman -Syu <whatever> is a shortcut to achieving that.

Offline

#6 2012-08-12 12:36:55

beopen
Member
Registered: 2012-06-29
Posts: 38

Re: [SOLVED] error 404 in package downloads

ok fine , I get your point & noted what you have said. So in future when installing any new application, you have to run a -Syu is what you are suggesting to avoid such conflicts.

Offline

#7 2012-08-12 14:04:57

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,094

Re: [SOLVED] error 404 in package downloads


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

Board footer

Powered by FluxBB