You are not logged in.

#1 2011-07-02 09:21:17

wolfdogg
Member
From: Portland, OR, USA
Registered: 2011-05-21
Posts: 545

[SOLVED] pacman replies - No such file

i cant install amarok right now.

pacman -S amarok

No such file “amarok-2.4.1-1-x86_64.pkg.tar.xz”.

warning: failed to retrieve some files from extra
error: failed to commit transaction (error invoking external downloader)
Errors occurred, no packages were upgraded.

i have tried various transfer commands as well in the pacman.conf

#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#MY EDIT
#XferCommand = /usr/bin/wget -c --passive-ftp -c %u
#XferCommand = /usr/bin/curl %u > %o

i tried about 15 different mirrors as well. 

what am i doing wrong?

Last edited by wolfdogg (2011-07-05 23:04:17)


Node.js, PHP Software Architect and Engineer (Full-Stack/DevOps)
GitHub  | LinkedIn

Offline

#2 2011-07-02 09:46:56

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] pacman replies - No such file


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2011-07-02 14:13:25

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] pacman replies - No such file

Please use an up to date mirrorlist http://www.archlinux.org/mirrorlist/

error: failed to commit transaction (error invoking external downloader)

w/o any external downloader for the time being.

Offline

#4 2011-07-02 14:56:47

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [SOLVED] pacman replies - No such file

If you switch mirrors, you need to forcefully update your sync DBs with 'pacman -Syy'. Failing to do this will lead to attempts to download the same missing files.

Last edited by falconindy (2011-07-02 14:57:34)

Offline

#5 2011-07-02 20:22:41

wolfdogg
Member
From: Portland, OR, USA
Registered: 2011-05-21
Posts: 545

Re: [SOLVED] pacman replies - No such file

thank you for the replies.

falconindy wrote:

If you switch mirrors, you need to forcefully update your sync DBs with 'pacman -Syy'. Failing to do this will lead to attempts to download the same missing files.

your right, thanks its working now! i forgot about this, (to re sync pacman -Syy after switching mirrors)

first i received a message that the file doesnt exist, thats understandable if its using the old pacman database before the -Syy resync


Connecting to mirror.rit.edu|129.21.171.98|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /archlinux/extra/os/x86_64 ... done.
==> SIZE amarok-2.4.1-1-x86_64.pkg.tar.xz ... done.
==> PASV ... done.    ==> RETR amarok-2.4.1-1-x86_64.pkg.tar.xz ...
No such file “amarok-2.4.1-1-x86_64.pkg.tar.xz”.

why is it if i switch mirrors, even though i can see the machine its connecting to is the new mirror, the file isnt found, it must be because the old database list from the old mirror tells it that it doesnt exist, so it doesnt even bother looking right? 

but for some reason the next time i tried i got a 404 error, which is confusing to me because when you see a 404, that means that the server responded that the file doesnt exist.  i think this is the one i was going off off to make my assumption.  i didnt notice the first one until i detailed this out.  i only noticed the 404.

Connecting to mirrors.kernel.org|149.20.20.135|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2011-07-02 13:20:52 ERROR 404: Not Found.

Last edited by wolfdogg (2011-07-02 20:51:23)


Node.js, PHP Software Architect and Engineer (Full-Stack/DevOps)
GitHub  | LinkedIn

Offline

#6 2011-07-02 20:37:31

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] pacman replies - No such file

Please use [ code ] tags when pasting code https://bbs.archlinux.org/help.php#bbcode

'-Syy' is about updating the pacman database so you will download amarok 2.4.1-3 instead of looking for the old version which isn't there anymore.

It's a good practice to run 'pacman -Syu <somepackage>' if you haven't updated in a while.

Last edited by karol (2011-07-02 20:40:28)

Offline

#7 2011-07-02 20:44:06

wolfdogg
Member
From: Portland, OR, USA
Registered: 2011-05-21
Posts: 545

Re: [SOLVED] pacman replies - No such file

sorry karol, i was still reediting that one and submitted it before i should have

i updated lastnight,  when i was having this problem.  it didnt go away.
it wasnt until i force updated that it worked.  i frequently pacman -Syy, it doesnt make sense to me to always have to always force it.    next time ill have to remember to update it AFTER changing mirrors. LOL.

Last edited by wolfdogg (2011-07-02 20:48:13)


Node.js, PHP Software Architect and Engineer (Full-Stack/DevOps)
GitHub  | LinkedIn

Offline

#8 2011-07-05 22:58:03

wolfdogg
Member
From: Portland, OR, USA
Registered: 2011-05-21
Posts: 545

Re: [SOLVED] pacman replies - No such file

same questions, see post 2011-07-02 12:22:41 above


Node.js, PHP Software Architect and Engineer (Full-Stack/DevOps)
GitHub  | LinkedIn

Offline

#9 2011-07-06 13:17:53

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] pacman replies - No such file

wolfdogg wrote:

same questions, see post 2011-07-02 12:22:41 above

The date and time is displayed according to my localization options so I guess you mean this post. You can post a link to a post, the url is "hidden" under the date and time of the post. If you mouse over it, the cursor should change to the pointing hand.


Pacman looks for files is has in the sync databases and that's why you got a

No such file “amarok-2.4.1-1-x86_64.pkg.tar.xz”

- the file doesn't exist anymore one the server, we're using a newer version. The file exists in the database on your computer because you haven't updated your pacman databases.


I have no idea about that 404.

Offline

#10 2011-08-16 23:59:42

wolfdogg
Member
From: Portland, OR, USA
Registered: 2011-05-21
Posts: 545

Re: [SOLVED] pacman replies - No such file

well, i ran into almost the same problem again.  it wasnt getting past downloading linux-3.0.2-1-x86_64.pkg.tar.xz  without errors after the first 3MB it seemed.  Eventually i completely wiped out my old mirror list and pasted in a new one from http://www.archlinux.org/mirrorlist .

I initially forgot to pacman -Syy, i ended up switching back to http://mirror.rit.edu/archlinux/.  The problems continued, now i was facing a $arch variable architecture error, so i inspected my pacman.conf and .pacnewnew files, i realize what the .new files are for, its my JOB to merge them?  (rc.conf.new, pacman.pacnew,etc..) ok, ill check for that more often now. 

So in the .pacnew file i found the 'Architecture = auto' command that was missing on my conf file, so i placed that line in my pacman.conf file and that solved that problem.  i also checked for anything else i was missing.   Then further problems continued as if i had done nothing, it would error out after the first 3.5 MB or so of linux-3.0.2-1-x86_64.pkg.tar.xz.

I went back to my pacman.conf file and enabled the wget once again

XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u

, and now the problem seems solved.  whoosh.


Node.js, PHP Software Architect and Engineer (Full-Stack/DevOps)
GitHub  | LinkedIn

Offline

Board footer

Powered by FluxBB