You are not logged in.

#1 2010-04-03 21:41:59

dameunmate
Member
From: London
Registered: 2010-01-19
Posts: 85
Website

can't install any media player - pacman can't find all the files

I'm quite new to Linux. At the moment I can't view any videos or listen to music.

I tried installing mplayer using pacman - several files downloaded successfully, I watched the progress bars... but others couldn't be found. When I try again using a different mirror, from the output you can see that pacman requests 36 installation files for mplayer but it can't locate 14 of them.

I've tried three mirrors in the UK and one in Belgium. I get a similar problem trying to install VLC. Pacman has never failed me before, although admittedly last time I used him was to download firefox in December 2009.

This is what I get if I try again to install mplayer now:


pacman -S mplayer
resolving dependencies...
looking for inter-conflicts...

Targets (36): libmad-0.15.1b-4  cdparanoia-10.2-2  sdl-1.2.14-1  lame-3.98.2-2  
              libogg-1.1.4-1  libtheora-1.1.1-1  xvidcore-1.2.2-1  
              libmng-1.0.10-2  scrnsaverproto-1.2.0-1  libxss-1.2.0-1  
              libsasl-2.1.23-2  libldap-2.4.21-1  tdb-1.2.0-1  talloc-2.0.1-1  
              smbclient-3.4.4-1  aalib-1.4rc5-6  flac-1.2.1-2  
              libvorbis-1.2.3-1  libsndfile-1.0.21-1  
              jack-audio-connection-kit-0.116.2-2  libid3tag-0.15.1b-3  
              imlib2-1.4.2-3  libcaca-0.99.beta16-1  x264-20100107-1  
              libmp4v2-1.6-1  faac-1.28-1  libftdi-0.16-1  lirc-utils-0.8.6-3  
              libxvmc-1.0.5-1  recode-3.6-3  enca-1.12-1  libvdpau-0.3-2  
              opencore-amr-0.1.2-1  a52dec-0.7.4-4  libdca-0.0.5-2  
              mplayer-30325-1  

Total Download Size:    34.58 MB
Total Installed Size:   126.33 MB

Proceed with installation? [Y/n] y
:: Retrieving packages from extra...
error: failed retrieving file 'lame-3.98.2-2-x86_64.pkg.tar.gz' from mirror.lividpenguin.com : Not Found
error: failed retrieving file 'libmng-1.0.10-2-x86_64.pkg.tar.gz' from mirror.lividpenguin.com : Not Found
error: failed retrieving file 'tdb-1.2.0-1-x86_64.pkg.tar.gz' from mirror.lividpenguin.com : Not Found
error: failed retrieving file 'smbclient-3.4.4-1-x86_64.pkg.tar.gz' from mirror.lividpenguin.com : Not Found
error: failed retrieving file 'jack-audio-connection-kit-0.116.2-2-x86_64.pkg.tar.gz' from mirror.lividpenguin.com : Not Found
error: failed retrieving file 'libid3tag-0.15.1b-3-x86_64.pkg.tar.gz' from mirror.lividpenguin.com : Not Found
error: failed retrieving file 'imlib2-1.4.2-3-x86_64.pkg.tar.gz' from mirror.lividpenguin.com : Not Found
error: failed retrieving file 'libcaca-0.99.beta16-1-x86_64.pkg.tar.gz' from mirror.lividpenguin.com : Not Found
error: failed retrieving file 'x264-20100107-1-x86_64.pkg.tar.gz' from mirror.lividpenguin.com : Not Found
error: failed retrieving file 'libmp4v2-1.6-1-x86_64.pkg.tar.gz' from mirror.lividpenguin.com : Not Found
error: failed retrieving file 'faac-1.28-1-x86_64.pkg.tar.gz' from mirror.lividpenguin.com : Not Found
error: failed retrieving file 'enca-1.12-1-x86_64.pkg.tar.gz' from mirror.lividpenguin.com : Not Found
error: failed retrieving file 'libvdpau-0.3-2-x86_64.pkg.tar.gz' from mirror.lividpenguin.com : Not Found
error: failed retrieving file 'mplayer-30325-1-x86_64.pkg.tar.gz' from mirror.lividpenguin.com : Not Found
warning: failed to retrieve some files from extra
error: failed to commit transaction (Not Found)
Errors occurred, no packages were upgraded.

Confusingly, if I now try to clean up the mess and remove the mplayer files that I did download, I get:

pacman -R mplayer
mplayer not found, searching for group...
error: 'mplayer': not found in local db

Thanks for reading

Offline

#2 2010-04-03 21:44:33

gazj
Member
From: /home/gazj -> /uk/cambs
Registered: 2007-02-09
Posts: 681
Website

Re: can't install any media player - pacman can't find all the files

Try pacman -Sy first.  It will make pacman get an up to date list of packages available on your chosen mirror

Offline

#3 2010-04-03 22:44:38

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

Re: can't install any media player - pacman can't find all the files

Actually, you should do pacman -Syu first, to make sure your system is up to date. Then you can install whatever you want.

Offline

#4 2010-06-26 12:15:03

gevpop
Member
Registered: 2010-06-26
Posts: 1

Re: can't install any media player - pacman can't find all the files

I tired doing both of those suggestions,  but instead trying to install avidemux, and neither of them worked.

Offline

#5 2010-06-26 12:37:01

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: can't install any media player - pacman can't find all the files

gevpop wrote:

I tired doing both of those suggestions,  but instead trying to install avidemux, and neither of them worked.

and you wonder why. pacman -Syu and then pacman -S avidemux


you got older database and pacman will try to download older versions which aren't available anymore on the mirrors


Give what you have. To someone, it may be better than you dare to think.

Offline

#6 2010-06-26 12:55:16

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

Re: can't install any media player - pacman can't find all the files

With the new pacman release:

pacman -Syu avidemux mplayer

And check that your mirror is actually up to date too.


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

Offline

#7 2010-06-26 13:52:06

stqn
Member
Registered: 2010-03-19
Posts: 1,191
Website

Re: can't install any media player - pacman can't find all the files

Probably a bit late but be sure to have some free time ahead for the "pacman -Syu" because you'll have a few configuration files to check, surely...

Offline

#8 2010-06-28 00:01:58

joshdmiller
Member
From: California
Registered: 2010-04-25
Posts: 51
Website

Re: can't install any media player - pacman can't find all the files

I am having the same or similar problem. I am unable to install vlc, ffmpeg, and several of their respective dependencies, with the same error

[joshua@desktop ~]$ sudo pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 archlinuxfr is up to date
:: Starting full system upgrade...
 there is nothing to do
[joshua@desktop ~]$ sudo pacman -S ffmpeg
resolving dependencies...
looking for inter-conflicts...

Targets (10): faad2-2.7-1  libmp4v2-1.9.1-1  faac-1.28-2  xvidcore-1.2.2-1  opencore-amr-0.1.2-1  libvdpau-0.4-1  orc-0.4.4-1
              schroedinger-1.0.9-1  libvpx-0.9.1-1  ffmpeg-23619-1

Total Download Size:    3.35 MB
Total Installed Size:   31.32 MB

Proceed with installation? [Y/n] y
:: Retrieving packages from extra...
error: failed retrieving file 'ffmpeg-23619-1-x86_64.pkg.tar.xz' from mirrors.easynews.com : File unavailable (e.g., file not found, no access)
error: failed retrieving file 'ffmpeg-23619-1-x86_64.pkg.tar.xz' from ftp.archlinux.org : File unavailable (e.g., file not found, no access)
error: failed retrieving file 'ffmpeg-23619-1-x86_64.pkg.tar.xz' from ftp.gtlib.gatech.edu : File unavailable (e.g., file not found, no access)
error: failed retrieving file 'ffmpeg-23619-1-x86_64.pkg.tar.xz' from mirrors.hosef.org : Service not available, closing control connection
error: failed retrieving file 'ffmpeg-23619-1-x86_64.pkg.tar.xz' from ibiblio.org : File unavailable (e.g., file not found, no access)
error: failed retrieving file 'ffmpeg-23619-1-x86_64.pkg.tar.xz' from mirrors.xmission.com : File unavailable (e.g., file not found, no access)
warning: failed to retrieve some files from extra
error: failed to commit transaction (File unavailable (e.g., file not found, no access))
Errors occurred, no packages were upgraded.

Checking on the mirrors manually, I see that the package versions are incorrect. For example, http://www.archlinux.org/packages/extra/x86_64/ffmpeg/ has ffmpeg at version 23792-1 but pacman is looking for 23619-1.

Any ideas?

EDIT: this is an install from this morning, from the 2010.05 core disk. Post install, I ran pacman -Syu and then installed some packages without issue.

Last edited by joshdmiller (2010-06-28 00:05:21)

Offline

#9 2010-06-28 02:33:49

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: can't install any media player - pacman can't find all the files

Change your mirrors? You can use reflector to get a good list.

Offline

#10 2010-06-28 05:22:15

joshdmiller
Member
From: California
Registered: 2010-04-25
Posts: 51
Website

Re: can't install any media player - pacman can't find all the files

This isn't a mirror issue. I've used Arch Linux a long time and these are the mirrors I always used. According to the Arch Linux package database, the correct version is not the version pacman is attempting to download. No mirrors have the version pacman is asking for, yet I've updated with -Sy from more than one mirror (including ftp.archlinux.org).

However, it looks like the files db was updated on the ftp, so pacman is requesting the correct version of the packages. In addition, a package missing from the files database (libva) but available from the server has been added and to the db.

Thanks to whoever solved the issue.

Offline

#11 2010-06-28 05:59:39

toffyrn
Member
Registered: 2008-10-07
Posts: 221

Re: can't install any media player - pacman can't find all the files

pacman will update package databases (-Sy) only from the first uncommented mirror.

Offline

#12 2010-06-28 06:09:12

joshdmiller
Member
From: California
Registered: 2010-04-25
Posts: 51
Website

Re: can't install any media player - pacman can't find all the files

Right. The first thing I tried was switching the first mirror as it seemed like an obvious mirror issue but that did not work. Oh well - works now.

Offline

Board footer

Powered by FluxBB