Pacman failed retrieving *.pkg.tar.xz
I recently discovered that my system was not upgrading because pacman was looking in repositories with older versions of files.
I added this to /etc/pacman.d/mirrorlist
Server = http://archlinux.org/$repo/os/x86_64
Pacman needed upgrading
So I upgraded pacman from 3.3.x to 3.5.4 and updated the database as instructed
Now I sync'd with pacman -Sy
It gave errors about not being able to find core.db and other .db files but appeared to sync the repositories anyways
Now I started seeing lots of packages that needed upgrading, including pacman
So I upgraded with pacman -Su and every file gave an error like the following line but then appeared to download
error: failed retrieving file 'man-db-2.6.0.2-2-x86_64.pkg.tar.xz' from archlinux.org : Not Found
I searched all around but haven't seen anything definitive about these kinds of errors
One suggestion I saw was that this is connected to the pacman database version change
Does anyone know why those errors are happening and how can I fix it?
This is my conf file
# /etc/pacman.conf
# See the pacman.conf(5) manpage for option and repository directives
# GENERAL OPTIONS
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
#DBPath = /var/lib/pacman/
#CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
HoldPkg = pacman glibc
# If upgrades are available for these packages they will be asked for first
SyncFirst = pacman
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#XferCommand = /usr/bin/curl -C - %u > %o
#CleanMethod = KeepInstalled
Architecture = auto
# Misc options (all disabled by default)
#UseSyslog
#ShowSize
#UseDelta
#TotalDownload
#[testing]
## Add your preferred servers here, they will be used first
#Include = /etc/pacman.d/mirrorlist
[core]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
[extra]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
#[community-testing]
## Add your preferred servers here, they will be used first
#Include = /etc/pacman.d/mirrorlist
[community]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#Server = file:///home/custompkgs
[archlinuxfr]
Server = http://repo.archlinux.fr/i686
You should also use a mirror that actually exists; http://archlinux.org/$repo/os/x86_64 is not correct.
Similar Messages
-
[SOLVED] Pacman failed retrieving file 'core.db' after removing KDE
Hey, I had to remove KDE and foolishly used the -Rsc flag. Now, trying to update yields:
[root@Gal-PC2 gal]# pacman -Sy
:: Synchronizing package databases...
error: failed retrieving file 'core.db' from mirror.isoc.org.il : Resolving timed out after 10524 milliseconds
error: failed retrieving file 'core.db' from mirror.us.leaseweb.net : Resolving timed out after 10523 milliseconds
I tryed using the -Sy and -Syy flags to update the database, and made sure I am not using ipv6. I think the -Rsc flag might deleted an importent package. I can connect to the net, and I can acess mirrors using http and I can ping the mirrors. The error persists on a large number of mirrors. Any help will be appriciated.
Last edited by Greenstuff (2015-02-08 20:49:24)Sorry, will do!
The debug printed a lot of the first errors, so I cut them. This is what pacman --Syu --debug show:
debug: adding new server URL to database 'multilib': [url]http://ftp.nluug.nl/pub/os/Linux/distr/archlinux/multilib/os/x86_64[/url]
debug: adding new server URL to database 'multilib': [url]http://ftp.ds.hj.se/pub/os/linux/archlinux/multilib/os/x86_64[/url]
debug: adding new server URL to database 'multilib': [url]http://ftp.uni-kl.de/pub/linux/archlinux/multilib/os/x86_64[/url]
debug: adding new server URL to database 'multilib': [url]http://ftp.tu-chemnitz.de/pub/linux/archlinux/multilib/os/x86_64[/url]
debug: adding new server URL to database 'multilib': [url]http://mirror.lnx.sk/pub/linux/archlinux/multilib/os/x86_64[/url]
debug: adding new server URL to database 'multilib': [url]http://mirrors.st.uz/archlinux/multilib/os/x86_64[/url]
debug: adding new server URL to database 'multilib': [url]http://mirrors.mithril.org.ua/linux/archlinux/multilib/os/x86_64[/url]
debug: adding new server URL to database 'multilib': [url]http://piotrkosoft.net/pub/mirrors/ftp.archlinux.org/multilib/os/x86_64[/url]
debug: adding new server URL to database 'multilib': [url]http://ftp.uni-bayreuth.de/linux/archlinux/multilib/os/x86_64[/url]
debug: adding new server URL to database 'multilib': [url]http://artfiles.org/archlinux.org/multilib/os/x86_64[/url]
debug: adding new server URL to database 'multilib': [url]http://repo.ukdw.ac.id/archlinux/multilib/os/x86_64[/url]
debug: adding new server URL to database 'multilib': [url]http://linux.cs.nctu.edu.tw/archlinux/multilib/os/x86_64[/url]
debug: adding new server URL to database 'multilib': [url]http://ftp.kaist.ac.kr/ArchLinux/multilib/os/x86_64[/url]
debug: config: new section '(null)'
debug: config: finished parsing /etc/pacman.conf
:: Synchronizing package databases...
debug: url: [url]http://mirror.isoc.org.il/pub/archlinux/core/os/x86_64/core.db[/url]
debug: maxsize: 26214400
debug: using time condition: 1422991262
debug: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
debug: curl returned error 28 from transfer
error: failed retrieving file 'core.db' from mirror.isoc.org.il : Resolving timed out after 10523 milliseconds
debug: url: [url]http://mirror.us.leaseweb.net/archlinux/core/os/x86_64/core.db[/url]
debug: maxsize: 26214400
debug: using time condition: 1422991262
debug: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
EDIT: SOLVED!
Ok, so I did indeed disable ipv6 as I promised, but turns out I put in the GRUB kernel line "ipv6.disable_ipv6=1". Upon re-reading the wiki, turns out this means ipv6 is disabled but tunnels with ipv6 may be opened by programs. I changed to "ipv6.disable=1" and pacman updates away! I hope others will find this usefull. Be careful!
Last edited by Greenstuff (2015-02-08 20:52:45) -
[SOLVED] Does .pkg.tar.gz contain all dependencies ?
Hey , while doing "makepkg -s" .. the resulting .pkg.tar.gz is formed. Does this file contain all the dependencies as well ? Does this mean, if i store this file, Then in a new installation I wont have to do makepkg or anything. I can just install it by pacman -U <name.pkg.tar.gz> ?
Last edited by prateek.bvcoe (2014-01-05 07:55:22)No, makepkg -s installs the dependencies prior to build / install. That is just the single package you are referring to. If you do pacman -U it won't say installing x,y, and z it will only say install x.
Edit: I do not know of any way to put mutliple packages that can be installed simultaneously with one archive with pacman. It may be possible but I have not seen this.
Last edited by dodo3773 (2014-01-05 07:50:49) -
[SOLVED]Failed retrieving file 'extra.db.tar.gz'
I was just trying to install GNOME and it failed when trying to download libxfixes-4.0.4-1-i686.pkg.tar.gz
Package wasn't found. So I ran -Syy and it is failing to retrieve extra.db.tar.gz
Is anyone else having this problem?
Last edited by mack (2010-03-01 02:21:40)Tried a bunch of different mirrors. Used mirrors from rankmirrors and then mirrors from updated mirror list I received last night.
pacman.conf
[options]
HoldPkg = pacman glibc
SyncFirst = pacman
Included: core, extra, community -
Cannot sync pacman; error: failed retrieving file, No address record
Hello,
As a heads up, I'm trying not to repost
I've searched the forums but found nothing, I'll keep looking. I've read the front page news about the mirrorlist and tried using the old mirrorlist file. I've been on #archlinux on IRC. Nothing yet.
Here is an example of what I see:
root@dungeon pacman.d # pacman -Sy
:: Synchronizing package databases...
error: failed retrieving file 'core.db.tar.gz' from ftp.archlinux.org : No address record
error: failed to update core (No address record)
error: failed retrieving file 'extra.db.tar.gz' from ftp.archlinux.org : No address record
error: failed to update extra (No address record)
error: failed retrieving file 'community.db.tar.gz' from ftp.archlinux.org : No address record
error: failed to update community (No address record)
error: failed to synchronize any databases
I've commented out all but one of the servers in the mirrorlost file to shorten the output.
Any ideas?Snowman wrote:You are trying to fetch non-official dbs which are not on the Arch Linux mirrors. Are you using Chakra? Post your pacman.conf
no I am using normal Arch, and it was working fine until i updated on tuseday. I am using "yaourt -Syu --aur" to update.
My actual pacman.conf is (changed automaticly to this within unsuccesfull update yesterday):
# /etc/pacman.conf
# See the pacman.conf(5) manpage for option and repository directives
# GENERAL OPTIONS
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
#DBPath = /var/lib/pacman/
#CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
HoldPkg = pacman glibc
# If upgrades are available for these packages they will be asked for first
SyncFirst = pacman
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#XferCommand = /usr/bin/curl -C - %u > %o
#CleanMethod = KeepInstalled
Architecture = auto
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg =
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options (all disabled by default)
#UseSyslog
#ShowSize
#UseDelta
#TotalDownload
# REPOSITORIES
# - can be defined here or included from another file
# - pacman will search repositories in the order defined here
# - local/custom mirrors can be added here or in separate files
# - repositories listed first will take precedence when packages
# have identical names, regardless of version number
# - URLs will have $repo replaced by the name of the current repo
# - URLs will have $arch replaced by the name of the architecture
# Repository entries are of the format:
# [repo-name]
# Server = ServerName
# Include = IncludePath
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.
[core-testing]
Include = /etc/pacman.d/mirrorlist
[desktop]
Include = /etc/pacman.d/mirrorlist
#[desktop-testing]
#Include = /etc/pacman.d/mirrorlist
[platform-testing]
Include = /etc/pacman.d/mirrorlist
[apps]
Include = /etc/pacman.d/mirrorlist
#[apps-testing]
#Include = /etc/pacman.d/mirrorlist
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#Server = file:///home/custompkgs
NOW I tried the saved pacman.conf (wich worked fine for months) wich is like this
# /etc/pacman.conf
# See the pacman.conf(5) manpage for option and repository directives
# GENERAL OPTIONS
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
#DBPath = /var/lib/pacman/
#CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
HoldPkg = pacman glibc
# If upgrades are available for these packages they will be asked for first
SyncFirst = pacman
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#XferCommand = /usr/bin/curl %u > %o
#CleanMethod = KeepInstalled
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg =
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options (all disabled by default)
#UseSyslog
#ShowSize
#UseDelta
#TotalDownload
# REPOSITORIES
# - can be defined here or included from another file
# - pacman will search repositories in the order defined here
# - local/custom mirrors can be added here or in separate files
# - repositories listed first will take precedence when packages
# have identical names, regardless of version number
# - URLs will have $repo replaced by the name of the current repo
# Repository entries are of the format:
# [repo-name]
# Server = ServerName
# Include = IncludePath
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.
#[testing]
## Add your preferred servers here, they will be used first
#Include = /etc/pacman.d/mirrorlist
[core]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
[extra]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
#[community-testing]
## Add your preferred servers here, they will be used first
#Include = /etc/pacman.d/mirrorlist
[community]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#Server = file:///home/custompkgs
#ArchAudio
# tried and tested packages
[archaudio-stable]
Server = http://repos.archaudio.org/stable/x86_64
#ArchAudio
# these are..for testing?
[archaudio-testing]
Server = http://repos.archaudio.org/testing/x86_64
#ArchAudio
# for your pleasure
[archaudio-experimental]
Server = http://repos.archaudio.org/experimental/x86_64
and tried to update with it using pacman, wich doesn't succed also:
[studio@myhost ~]$ sudo pacman -Syu
Senha:
erro: O mirror ftp://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/$arch contém a variável $arch, mas não possui arquitetura definida.
erro: O mirror ftp://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/$arch contém a variável $arch, mas não possui arquitetura definida.
erro: O mirror ftp://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/$arch contém a variável $arch, mas não possui arquitetura definida.
:: Sincronizando a base de dados de pacotes...
erro: falha ao atualizar core (nenhum servidor configurado para o repositório)
erro: falha ao atualizar extra (nenhum servidor configurado para o repositório)
erro: falha ao atualizar community (nenhum servidor configurado para o repositório)
archaudio-stable está atualizado
archaudio-testing está atualizado
archaudio-experimental está atualizado
:: Iniciando atualização do sistema...
atenção: bristol: local (0.60.5-1) é mais novo que archaudio-testing (0.40.8-1)
atenção: fil-plugins: local (0.3.0-4) é mais novo que archaudio-testing (0.3.0-3)
atenção: guitarix: local (0.11.0-1) é mais novo que archaudio-testing (0.06.0-1)
atenção: kernel26rt: local (2.6.33.7_rt29-1) é mais novo que archaudio-stable (2.6.31_rt10-4)
atenção: lash: local (0.6.0~rc2-3) é mais novo que archaudio-testing (0.6.0~rc2-1)
atenção: ll-plugins: local (0.2.1-4) é mais novo que archaudio-testing (0.2.1-3)
atenção: lv2-c++-tools: local (1.0.3-1) é mais novo que archaudio-testing (1.0.2-1)
atenção: lv2vocoder: local (1-4) é mais novo que archaudio-testing (1-3)
atenção: rakarrack: local (0.5.8-1) é mais novo que archaudio-testing (0.4.2-1)
atenção: rev-plugins: local (0.3.1-3) é mais novo que archaudio-testing (0.3.1-2)
atenção: swh-lv2: local (1.0.15-3) é mais novo que archaudio-testing (1.0.15-2)
não há nada a fazer
[studio@myhost ~]$
!!!all messages are in portuguese but I think it is possible to understand them, if not i will translate
EDIT:
OK, I undestand the last problem and I changed my mirrolist from
# 2010-08-11 23:15
# generated by reflector
# ranked by rankmirrors
Server = ftp://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/$arch
Server = ftp://ftp.gtlib.gatech.edu/pub/linux/distributions/archlinux/$repo/os/$arch
Server = ftp://mirrors.kernel.org/archlinux/$repo/os/$arch
Server = http://archlinux.c3sl.ufpr.br/$repo/os/$arch
Server = http://archlinux.limun.org/$repo/os/$arch
Server = http://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/$arch
Server = http://mirrors.kernel.org/archlinux/$repo/os/$arch
Server = http://www.gtlib.gatech.edu/pub/linux/distributions/archlinux/$repo/os/$arch
to
# 2010-08-11 23:15
# generated by reflector
# ranked by rankmirrors
Server = ftp://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/x86_64
Server = ftp://ftp.gtlib.gatech.edu/pub/linux/distributions/archlinux/$repo/os/x86_64
Server = ftp://mirrors.kernel.org/archlinux/$repo/os/x86_64
Server = http://archlinux.c3sl.ufpr.br/$repo/os/x86_64
Server = http://archlinux.limun.org/$repo/os/x86_64
Server = http://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/x86_64
Server = http://mirrors.kernel.org/archlinux/$repo/os/x86_64
Server = http://www.gtlib.gatech.edu/pub/linux/distributions/archlinux/$repo/os/x86_64
and now it's working again
but I don't understand how this all happened
AND: how can I force reflector to output a correct mirrorlist for 64bit?
Last edited by capoeira (2010-08-12 15:18:15) -
Can anyone help with this please? Sorry if it's a well known issue and I have just failed to find the solution, but I have searched for one.
I use yaourt -Syu regularly, and generally it's great.
BUT - every time linux-3.17...-x86_64.pkg.tar.xz is upgraded the system fails to reboot! Throwing something like:
Nov 17 16:09:49 cart systemd[1]: boot-efi.mount mount process exited, code=exited status=32
Nov 17 16:09:49 cart systemd[1]: Failed to mount /boot/efi.
Nov 17 16:09:49 cart systemd[1]: Unit boot-efi.mount entered failed state.
Nov 17 16:09:49 cart mount[232]: mount: unknown filesystem type 'vfat'
After much struggling I have discovered a workaround, but I don't understand it - or like it. This is what I do:
1. Boot from an archiso image cd in UEFI mode
2. Mount the correct partitions on / /home and /boot
3. # arch-chroot /mnt /bin/bash
4. # cd /var/cache/pacman/pkg
5. # pacman -U linux-3.16.3-1-x86_64.pkg.tar.xz (or whatever is the latest upgrade)
Then, when I exit and reboot all is well again.
I use the rEFInd boot manager to choose between ArchLinux and ,reluctantly, Windows 8.1 - I suspect that might have something to do with my problem but I don't know what.
If anyone can tell what I am doing wrong, please explain.
Thanks
John
Last edited by JohnColeman (2014-11-18 15:58:51)Hi Matt,
I think you've done it - thanks a lot.
I changed this line in my /etc/fstab :
UUID=0E51-F605 /boot/efi vfat ...
to
UUID=0E51-F605 /boot vfat ...
and I think that's done the trick.
I did pacman -U linux-3.16.3-1-x86_64.pkg.tar.xz again without booting from an archiso image cd in UEFI mode, which would previously have failed - and it didn't.
I look forward to the next actual upgrade of linux-3...
Thanks again, I can't remember how, or why, I went wrong in fstab but I won't do it again.
John -
Failed retrieving file 'core.db.tar.gz'
Hello !
I'm trying to install Archlinux from another distro (currently gentoo) but when I have to do pacman_chroot -Syf base --ignore kernel26 (this uses the static version of pacman), I get nasty errors :
gyscos ArchLinux # pacman_chroot -Syf base --ignore kernel26
:: Synchronizing package databases...
error: failed retrieving file 'core.db.tar.gz' from ftp.archlinux.org : Connexion terminée par expiration du délai d'attente
error: failed retrieving file 'core.db.tar.gz' from locke.suu.edu : Connexion terminée par expiration du délai d'attente
error: failed retrieving file 'core.db.tar.gz' from mirrors.unixheads.org : Connexion terminée par expiration du délai d'attente
error: failed retrieving file 'core.db.tar.gz' from ftp-linux.cc.gatech.edu : Le réseau n'est pas accessible
error: failed retrieving file 'core.db.tar.gz' from mirror.cs.vt.edu : Connexion terminée par expiration du délai d'attente
error: failed retrieving file 'core.db.tar.gz' from mirrors.easynews.com : Connexion terminée par expiration du délai d'attente
error: failed retrieving file 'core.db.tar.gz' from ftp.ibiblio.org : Connexion terminée par expiration du délai d'attente
The error is in french, meaning "Connexion timed out"
I am behind a proxy, but it is configured in http_proxy and ftp_proxy vars, and in my ~/.wgetrc
Any idea what I have to do ? Thanks !
EDIT : if I try to wget ftp://ftp.archlinux.org/core/os/i686/core.db.tar.gz, it works just fine... so the problem shouldn't be my network...
Last edited by Gyscos (2009-09-19 09:44:21)Thanks so much ! It was using tmp/pacman.conf and not etc/pacman.conf.
Now it works so fine !!! -
[SOLVED] Pacman error: failed retrieving file : No address record
I just installed Arch on a x86 laptop using the cd as the package source. I wanted to do a net install, but when I attempted to (regardless of the mirror) I got many responses from pacman in tty7 of "No address record". This happened despite having a network connection and being able to ping any site from the cli.
After installing, I am still having the same problem. The laptop is plugged in via ethernet, and I can ping any site I want, but a call to pacman -Syyu just returns numerous errors such as
error: failed retrieving file 'core.db' from mirror.rit.edu : No address record
And just as a test, I was getting replies when pinging mirror.rit.edu.
Last edited by process91 (2011-11-18 18:21:17)Try the following steps:
1 - Set the VirtualBox Networking option to NAT
2 - Start the arch machine in the VirtualBox
3 - Edit /etc/rc.conf as a dynamic IP:
HOSTNAME="arch"
interface=eth0
address=
netmask=
broadcast=
gateway=
4 - Run dhcpcd
5 - Try to ping a couple of sites, or your router
If you still can't ping or anything, I suggest you start a new thread specifically about your problem. Include the output from "ipconfig -a". You're not going to get much help from posting in a thread marked "[SOLVED]".
Last edited by process91 (2012-01-18 07:21:14) -
Pacman - error: failed retrieving file
Hi.
I just installed Arch on my new laptop but when I first got to the stage where you need to use pacman for the first time, I got this error:
error: failed retrieving file
for all the mirrors I have uncommented in my /etc/pacman.d/mirrorlist with reasons like "Not found", "File unavailable" or "Service not available".
I've tried several mirrors (all french mirrors and some others) but I got the feeling that it's more coming from my computer.
I first got this error when I tried to install Xorg, but it's the same when I try with someting else (I tried Firefox for instance). Some packages are downloaded but some aren't and so, I can't install anything.
I've checked my internet connexion which seems to work since I have 0% loss when I ping something.
I've also tried pacman -Syy but it didn't fix it.
So, I'm asking for your help, since I never had any problem at this stage of the installation before.
And by the way, I'm running on a VAIO laptop with Arch x86_64 installed via network an I used DHCP during the install.
ThanksI don't think so, since I added nothing after installing. Unless there is a firewall in the hardware (I don't know anything about that). My computer is a Vaio VGN-SR and this morning, I was able to install both cpudyn and acpid on the first try.
And I installed Arch before with the same internet connexion and there was no problem so it must be the computer. -
Intermittent pacman errors failed retrieving file
I got most of the way through the Beginners' Guide, but at the part where it has me upgrade the system using pacman I run into trouble. It can't always download the packages. Sometimes it works fine, but many of them return errors before they finish downloading. I always says some variation of "error: failed retrieving file '<filename>' from <mirror> : <reason>" Then it will attempt to finish downloading from another mirror. At the end of the whole thing it says that errors occurred and no packages were upgraded. It doesn't seem to matter what I put in mirrorlist. I've tried the rankmirrors script, Reflector, and picking some that look good from the mirror status page. I can ping the mirrors, so I know that works. my host name is the same in /etc/hosts and /etc/rc.conf. I've looked through the wiki and the forum and haven't found anything that works. I might have missed something, but I've been working on it all day.
If you need me to post any more information let me know.
Thanks,
ProNateitsbrad212 wrote:
Sometimes, refreshing the mirrors with:
pacman -Sy
may resolve some of those errors.
EDIT: Scratch that above suggestion. You could possibly try using one trusted mirror (as stated below). For me, http://archlinux.unixheads.org seems to work quite well, so maybe use that.
I'd recommended only having one selected mirror in /etc/pacman.d/mirrorlist. Although that is most likely unrelated to the issue at hand.
If I just use that mirror it fails to synchronize any databases. -
Sudo-1.8.4-1-i686.pkg.tar.xz causes sudo/gksudo to fail
Sudo and gksudo from the sudo-1.8.4-1-i686.pkg.tar.xz package fail with me, often producing a 'cannot open display' error, despite having 'Defaults env_keep += "HOME"' in /etc/sudoers. Happens with any program I'm trying to run. Downgrading to sudo-1.8.3.p2-2-i686.pkg.tar.xz makes everything work again as expected.
Has something in the sudo logic or configuration changed, or is this a bug or whatever?Yes, I have experienced the same problem. After playing around with visudo, I commented the "Defaults env_keep += "HOME" option that I added in /etc/sudoers (therefore disabling it) and sudo/gksudo started functioning again for graphical applications. Something definitely changed, but I have no idea what..
From the Arch Wiki this variable does the following;
"Run X11 apps using sudo
To allow sudo to start graphical application in X11, you need to add
Defaults env_keep += "HOME" to visudo."
But now it seems with the new sudo package that adding "Defaults env_keep += "HOME" disables the functionality of sudo/gksudo for X11 apps on my end?
Last edited by iknelav (2012-02-22 02:03:52) -
Uncompress .pkg.tar.xz and install result without pacman
Can the pacman packages be untarred and stored ready to install by either pacman or otherwise...probably otherwise?
Purpose, to reduce access time for package installs, which pacman must untar before installing. These untarred packages would be used in a "live" ram system from flash storage devices.
Any way to do this?file:///media/disk/cache2/untar/avahi-0.6.27-2-x86_64.pkg
This file in flash has three folders, Etc, usr and var. It was extracted from the .pkg.tar.xz.
This is the situation that needs a means to install the .pkg listed above, used as an example.
I assume that it is ready for install since it has been untarred. -
Error: failed retrieving file
everytime I try to download a file from pacman or yaourt, I get this:
error: failed retrieving file 'whateverfileimdownloading.tar.gz' from mirrors.gigenet.com : Not Found
I'm trying to install mathmap in gimp 2.6, but I this happens and mathmap doesn't seem to install:
:: Retrieving packages from extra...
error: failed retrieving file 'gtksourceview-1.8.5-3-i686.pkg.tar.gz' from mirrors.gigenet.com : Not Found
gtksourceview-1.8.5... 553.3K 985.9K/s 00:00:01 [#####################] 100%
:: Retrieving packages from community...
error: failed retrieving file 'gimp-mathmap-1.2.4-4.pkg.tar.gz' from mirrors.gigenet.com : Not Found
gimp-mathmap-1.2.4-4 221.4K 788.9K/s 00:00:00 [#####################] 100%
checking package integrity...
(2/2) checking for file conflicts [#####################] 100%
(1/2) installing gtksourceview [#####################] 100%
(2/2) installing gimp-mathmap [#####################] 100%
/sbin/ldconfig: file /opt/qt/lib/libqt-mt.so.3.3.8 is truncated
/sbin/ldconfig: file /opt/qt/lib/libqt-mt.so is truncated
/sbin/ldconfig: file /opt/qt/lib/libqt-mt.so.3 is truncated
/sbin/ldconfig: file /opt/qt/lib/libqt-mt.so.3.3 is truncatedI think, you should change the server
(open the file /etc/pacman.d/mirrorlist with i.e. nano and put # infront of Server = http://mirrors.gigenet.com/archlinux/$repo/os/i686 and remove the # infront of another server)
On http://mirrors.gigenet.com/, there is no (more?) a directory for arch.
Last edited by ZaQ (2010-01-18 18:47:08) -
[Solved] Pacman fails to get packages http 403 or 404 error
Hi,
I'm not sure if I should raise this as a bug or not, or indeed if I am doing something fundamentally wrong...
Pacman tells me there are updates to do, but:
Using the mirror "mirrors.manchester.m247.com" I get a 404 error
Using the mirror "http://mirror.bytemark.co.uk/archlinux/$repo/os/$arch" I get a 403 error
example:
# pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date 0.0 B 0.00B/s 00:00 [-----------------------------------------------------------------------] 0%
community is up to date 0.0 B 0.00B/s 00:00 [-----------------------------------------------------------------------] 0%
multilib is up to date 0.0 B 0.00B/s 00:00 [-----------------------------------------------------------------------] 0%
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
Packages (9) ca-certificates-mozilla-3.18-3 dhcpcd-6.8.1-1 gnupg-2.1.2-3 iptables-1.4.21-3 p11-kit-0.23.1-2 procps-ng-3.3.10-2 sudo-1.8.13-1 which-2.21-1 whois-5.2.7-1
Total Download Size: 0.03 MiB
Total Installed Size: 21.35 MiB
Net Upgrade Size: 4.34 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages ...
error: failed retrieving file 'whois-5.2.7-1-x86_64.pkg.tar.xz' from mirrors.manchester.m247.com : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.
any ideas?
[edited to add solved tag to title]
Last edited by flangemonkey (2015-04-01 15:29:18)Hi flangemonkey,
that mirror was not synced yet when you did the upgrade (the last sync ended today at 10:54 UTC, about 17 mitues after you posted on this borad). It should be ok now, just try to redo the update. Next time, you may want to check first the status of the mirrors https://www.archlinux.org/mirrors/status
edit: typo
Last edited by mauritiusdadd (2015-04-01 11:06:10) -
[SOLVED]pacman fails to install mtpaint
[me@mypc ~]$ sudo pacman -S mtpaint
resolving dependencies...
looking for inter-conflicts...
Targets (3): giflib-4.1.6-4 openjpeg-1.3-3 mtpaint-3.31-4
Total Download Size: 0.86 MB
Total Installed Size: 2.61 MB
Proceed with installation? [Y/n] y
:: Retrieving packages from extra...
giflib-4.1.6-4-x86_64 85.0K 533.6K/s 00:00:00 [###################################################################################################################################################################] 100%
error: failed retrieving file 'openjpeg-1.3-3-x86_64.pkg.tar.gz' from mirror.lividpenguin.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.
[me@mypc ~]$
I have tried changing mirrors but it doesn't help
Last edited by dameunmate (2011-09-25 21:56:23)You must use pacman -Syy when changing mirrors. openjpeg is at version 1.4-1. You should not expect to find openjpeg 1.3-3 anywhere.
Maybe you are looking for
-
Nokia Lumia 1020 power consumption
Hello, On 5th of October 2013 I bought from Vodafone Romania a Nokia Lumia 1020. OS version: 8.0.10328.78. Firmware revision number: 3049.0000.1330.1001. Manufacter Name: RM-875_eu_hungary_298. I'm syncing Microsoft Account daily (contacts only, no e
-
How to keep MacBook Pro running ...
Hi everyone!! New to MAC world, bought it 2 months ago, I want to keep my MAC running fast and smooth as it is right now, WHAT IS THE BEST WAY to keep it that way? I have search around blogs,ppl have different point of view. Someone said all I nee
-
hi, why do we activate a program or tables in sap.Though there is a option known as save why do we activate?
-
Cannot Publish to ZCM, error 14
I have created a ZAV Excel application using the built in templates (ZAV9). It works fine, but now I am trying to publish this to our ZENworks Zone (10.3.3) After I enter all of the Bundle information and click Publish Now, I receive the following er
-
BO XI 3.1 Java SDk- setrights
hi, I am developing a custom java application. one of the features is setting the rights for users/usergroups as described in the code example http://devlibrary.businessobjects.com/businessobjectsxir2/en/en/BOE_SDK/boesdk_java_dg_doc/doc/boesdk_java_