Pacman/mirror errors (solved)

For the last 4 days when I have tried to install anything with pacman  (the mirror I use is "unixheads") I get errors saying it failed to retrieve files and no access. Prior to this I had very fast responses.
Last edited by viking (2008-09-01 05:39:49)

andrew123456 wrote:
i had the same problem, too, that's how i ended up here.
i fixed it by going into the /etc/pacman.d/mirrorlist file and scrolling to the very bottom. there's an entry called #setup entry.
change the ftp to http in the unixheads url (and make sure all the other mirrors are still commented) that worked for me
I did as you suggested and then received this error when using pacman.
      bash-3.2# pacman -Syu
:: Synchronizing package databases...
error: failed to init transaction (unable to lock database)
  if you're sure a package manager is not already
  running, you can remove /var/lib/pacman/db.lck
Thanks for your reply, not sure how to remove the /var/lib/pacman/db.lck
Last edited by viking (2008-09-01 02:53:15)

Similar Messages

  • Pacman tar error [solved]

    Has anybody seen this before?
    bash-3.2# pacman -Syu
    :: Synchronizing package databases...
    core is up to date
    extra 385.4K 26.1K/s 00:00:15 [#####################] 100%
    community 88.0K 26.0K/s 00:00:03 [#####################] 100%
    error: could not extract Hi (Truncated tar archive)
    When I try again the error varies slightly
    error: could not extract ظ (Truncated tar archive)
    error: could not extract @ (Truncated tar archive)
    Last edited by greenfuse (2009-03-23 08:24:41)

    It looks like the community database file is not completely on you mirror.  Maybe you caught it in the middle of a sync?  Either weight, or switch mirror.

  • Can't pacman -Syu : errors(solved)

    I am having lots of conflicting erros when I try to update packages one at a time. So I went to update the whole system pacman -Syu and I get the following
    error: could not prepare transaction
    error: failed to commit transaction ( conflicting files)
    filesystem /usr/local/share/man exists
    nvidia-utils: /usr/lib/libXvMCNVIDIA_dynamic.so.1 exists
    errors occured no packages were upgraded
    I know that I can force individual packages to upgrade by adding-f, should I try to fix the problems or should I force the system upgrade? and can you do that with pacman -Syu -f ??
    Last edited by Trevorofmolino (2008-07-26 01:22:01)

    Maybe these threads can help :
    http://bbs.archlinux.org/viewtopic.php?id=45482
    http://bbs.archlinux.org/viewtopic.php?id=44888
    http://bbs.archlinux.org/viewtopic.php?id=44278
    http://bbs.archlinux.org/viewtopic.php?id=43921
    http://bbs.archlinux.org/viewtopic.php?id=43826
    http://bbs.archlinux.org/viewtopic.php?id=41979
    http://bbs.archlinux.org/viewtopic.php?id=30933

  • Pacman / flac error [solved]

    I have just tried to upgrade my system by issueing pacman -Syu but when i answer Y to Proceedwith Upgrade i get the following error message
    checking package integrity...
    error: archive flac-1.1.1-2.pkg.tar.gz is corrupted
    If i issue the following command pacman -S flac i get the following message
    :: flac-1.1.2-1: local version is newer.  Upgrade anyway? [Y/n] n
    I then tried to see what version of flac i have by typing flac -v and got the following message.
    flac: error while loading shared libraries: libFLAC.so.6: cannot open shared object file: No such file or directory
    Any advice?

    it has been discovered that flac 1.1.2 has a bug in it that disables xmms. This package is being removed from the servers this is why its giving you the 'local version is newer' message. If your getting 1.1.1 as corrupt go into your /var/cache/pacman/pkg folder find and delete flac 1.1.1. Then go to /etc/pacman.d and edit the 'current' file (I believe this is were it gets it from) and move a server up on the list until you get flac 1.1.1 with integrety. If you still can get it, go to http://ftp.nluug.nl/ftp/pub/os/Linux/di … pkg.tar.gz
    and download it manually. You can install by cd'ing into the directory it is saved and do
    pacman -U flac-1.1.1-2.pkg.tar.gz

  • [SOLVED] Pacman GPGME error: No data

    I recently bought a new computer and, of course, wanted to get away from windows 8 asap. I've installed arch several times before, and this time, from the outset, I've been plagued with GPGME errors. First was during the installation when I tried to install the base system with pacstrap. I solved that using the method here: https://bbs.archlinux.org/viewtopic.php?id=142798 (essentially delete /var/lib/pacman/sync and then run pacman -Syyu). From there on out, the install proceeded happily. After booting into my system, I attempted to begin downloading and installing things such as openssh, gparted, virt-manager...etc. Now I get the same error that I had before.
    pacman -Syyu
    error: GPGME error: No data
    error: GPGME error: No data
    error: GPGME error: No data
    error: GPGME error: No data
    ::Synchronizing package databases. . .
    Core
    Core.sig
    error: GPGME error: No data
    error: failed to update core (invalid or corrupted database (PGP signature))
    extra
    extra.sig
    error: GPGME error: No data
    error: failed to update core (invalid or corrupted database (PGP signature))
    community
    community.sig
    error: GPGME error: No data
    error: failed to update core (invalid or corrupted database (PGP signature))
    multilib
    multilib.sig
    error: GPGME error: No data
    error: failed to update core (invalid or corrupted database (PGP signature))
    error: failed to synchronuze any databases
    error: failed to init transaction (invalid or corrupted database (PGP signature))
    As soon as this happened, I attempted to re initialize pacman and the keys with
    pacman-key --init && pacman-key --populate archlinux
    This ran properly, but I was still unable to sync or update pacman. I then tried deleting /var/lib/pacman/sync and updating with the same result. 
    Next, I tried commenting out the mirrors, as that was mentioned in several posts while perusing the wiki. This still did not work. The next ting I tried was setting the SigLevel in the pacman.conf to Never, which brought about a whole host of different errors when trying to update (Unrecognized archive format error).
    After reinitializing the keys again, deleting the /var/lib/pacman/sync folder and attempting another (unsuccessful) pacman -Syyu, and running pacman-key --refresh-keys, I set the SigLevel back to it's default, and decided it might be time to post asking for help. Does anyone have any other ideas that I could try? I've been working on this unsuccessfully for a few hours now, and I'd like to see it up and running.
    Thank you all in advance!
    Searching the archwiki, I tried these threads for additional help:
    https://bbs.archlinux.org/viewtopic.php … 2#p1111872 -- had a problem in pacman conf I do not
    https://bbs.archlinux.org/viewtopic.php?id=169225 --commenting out mirrors did not work
    https://bbs.archlinux.org/viewtopic.php?id=135310 --- did not help with archive errors
    ..... and many many more that were totally unrelated despite similar titles to mine
    Last edited by ephreal (2014-03-29 23:28:46)

    I shutdown my computer, moved to a different network area, and it is now running happily. I have no idea why... perhaps firewall controls? Whatever the reason was, this is no longer happening. Marking as solved.

  • [Solved] Unknown bandwidth usage coming from pacman mirrors

    Each 1 or 2 days, there is a brief unknown bandwidth usage coming my
    pacman mirrors, downloading about 15-20mb. I would like to know what is
    responsible for this behavior.
    During the bandwidth usage, I did the following commands to get some hints:
    $ tshark -i wlan0
    18.601379 192.75.96.254 -> [ my_ip ] TCP 1506 [TCP segment of a reassembled PDU
    18.604131 192.75.96.254 -> [ my_ip ] TCP 1506 [TCP segment of a reassembled PDU]
    18.604139 [ my_ip ] -> 192.75.96.254 TCP 66 41989 > http [ACK] Seq=173 Ack=3281761 Win=239040 Len=0 TSval=14001135 TSecr=3310908095
    $ sudo netstat -apntu
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 [ my_ip ]:41989 192.75.96.254:80 ESTABLISHED 5331/python3
    where 192.75.96.254 seems related to the domain name of my first mirror in the mirrorlist:
    http://mirror.its.dal.ca/
    Last edited by ramboman (2012-03-04 22:30:02)

    In cron.daily, there is a "pkgfile" :
    #!/bin/bash
    . /etc/pkgtools/pkgfile.conf
    if (( $UPDATE_CRON )); then
    /usr/bin/pkgfile --update >/dev/null
    fi
    from package : pkgtools
    which seems to be the main suspect.
    Thanks fukawi2 to make me figure it out.

  • Pacman mirror for India

    All the pacman mirrors seems to be slow from my location, chennai in southern India. The only reason I am sticking with ubuntu, is that they have got a mirror 4 kms away from my home in IIT and i get  60K download speed on my 512kbps line. I tried a few of them and none of them includeing the main server give more than 30k. This should'nt be a problem, except that my ISP has a download limit and I can  download for free only for 11pm to 9am, which is usually used for downloading other stuff. So how do I find which server will be fastest for me. I tried to ping the servers and compare, but I soon discovered that the ping really does'nt influence download speed. Often a server with higher ping seems to be faster than some with lower ping.
    Last edited by unixguru (2007-06-27 05:35:55)

    i use the apokryph server from the topic of #archlinux.de which is pretty up to date and i get good speed there aswell (about 650k). the downside is, that it doesn't include the community repo
    edit: switched to hosteurope.de too. just as fast, more up to date than apokryph and it has community too /me happy
    Last edited by baze (2007-04-07 15:51:50)

  • Solver error: Solver quit unexpectedly. Click reopen to open the application again. This report will be sent to Apple automatically. I've tried restarting, reopening. Ideas?

    Tried opening up Solver for the first time on my new macair book. I'm getting the error: Solver quit unexpectedly. Clieck reopen to open the application again. This report will be sent to Apple automatically. I've tried restarting, reopening. Ideas?

    Just found the answer to my own question!

  • I HAVE HP LASER JET M1005MFP CAN WE SCAN DOCUMENT JPEG IMAGE ERROR SOLVE THIS PROBLUM

    I HAVE HP LASER JET M1005MFP CAN WE SCAN DOCUMENT JPEG IMAGE ERROR SOLVE THIS PROBLUM

    Hello Kaushik9
    The product you have is a commercial printer. I suggest posting in the HP Business Support forum for a better chance at finding an answer.
    You may find the Commercial Laserjet board here.
    http://h30499.www3.hp.com/t5/Printers-LaserJet/bd-p/bsc-413
    Don't forgot to say thanks by giving "Kudos" to those that help solve your problems.
    When a solution is found please mark the post that solves your issue.

  • [SOLVED] pacman mirror problems

    It seems that my preferred mirror (mirror.csclub.uwaterloo.ca) is down, so I commented it out of /etc/pacman.d/mirrorlist. However, pacman still insists on trying to download from this mirror EVERY TIME it tries to install or update a package
    So each package takes about 15 seconds to say:
    error: failed retrieving file 'gcc-4.5.0-1-x86_64.pkg.tar.xz' from mirror.csclub.uwaterloo.ca: Connection timed out
    before trying another mirror.
    Is there an option to make sure pacman is using the mirrors specified in the mirrorlist, or to not use a certain mirror? I can't find anything in the man page or wiki.
    thanks.
    Last edited by Chimera (2010-04-25 19:10:36)

    herrvideman wrote:
    I know this thread is marked solved but I've just run into the same problem and was wondering how you fixed this issue?
    When I run pacman -Syu I get:
    error: failed retrieving file 'core.db.tar.gz' from mirror.csclub.uwaterloo.ca : Connection timed out
    So I guess this is the same problem. It's weird though because I'm still able to search for packages without the connection timing out. I did check the mirrors status and it still seems to be up so I don't think that's an issue.
    Any help would be appreciated, sorry in advance if I've done something wrong by posting in a thread marked solved.
    Shot in the dark but I had a similar problem. The way I fixed it (and I'm still not sure why it worked) but I manually entered my DNS servers into my network manager applet. I don't know if you use Gnome, KDE, or whatever (I use KDE), but that worked for some reason. Maybe you could try it.
    Thanks for the response, yes I'm using Gnome and networkmanager applet 0.8. I'm not too sure what you mean by entering the DNS server in the network manager applet. Are you suggesting that I enter my ip address (the one assigned to me by my ISP) into the BSSID or MAC address field? Those are the only two fields that I see when I select my connection and click edit in the network manager applet, unless I go to the security settings or one of the IPv tabs.
    I was able to update my system after uncommenting the kernel.org mirror, so maybe it is the mirror.csclub.uwaterloo.ca. Too bad mirrors don't have a blog or something to post news/status updates on it could prove helpful when problems like this occur. Then again that would mean more maintenance for them and I can understand why it might be considered too much work. I guess https://www.archlinux.de/?page=MirrorStatus works good enough.

  • [SOLVED] Pacman Dependency error with nouveau-dri and libgl

    I am upgrading my system with
    sudo pacman -Syu
    The out put is as follows:
    :: Synchronizing package databases...
    testing is up to date
    core is up to date
    extra is up to date
    community is up to date
    :: Starting full system upgrade...
    resolving dependencies...
    looking for inter-conflicts...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: nouveau-dri: requires libgl=7.10.1
    It seems that the newest libgl is 7.10.2-1, while the newest nouveau-dri(7.10.1-2) requires 7.10.1-1. An upgrade operation will upgrade the libgl from 7.10.1-1 to 7.10.2-1, which result in a conflict with nouveau-dri.
    Is there any workaround? Do I have to wait for the nouveau-dri update?
    THANKS!
    Last edited by songgao (2011-04-11 06:03:53)

    ngoonee wrote:
    songgao wrote:
    Thanks @ngoonee !
    It turns out that this is because the mirror (mirrors.163.com/archlinux) I am using is broken. It is holding <libgl 7.10.2-1> without <nouveau-dri 7.10.1-2> and simultaneously. I changed to http://mirrors.kernel.org/archlinux/ and the problem solves.
    You're welcome. The mirror is/was probably just affected by a partial sync (the letter l is earlier than n ).
    Yeah, that's a quite reasonable explaination :-)

  • [SOLVED] PACMAN sig errors

    Hi,
    So i have this problem which started about a week ago, i reckon around the time of that pacman update. Anyway i'm getting signing erros on package installs and  a sudo pacman-key --init
    sudo pacman-key --populate archlinux with and without sudo pacman -Syy fixes it....till i reboot then it errors up again. I've removed the /etc/pacman.d/gnupg folder etc reinstalled archlinux-keyring, pacman without a fix. Sorry my first post here is a beg for ideas to help but i'm more of a lurker then poster.
    If anyone needs more info i am happy to provide as i really would love to solve this. Long live arch linux
    cheers
    Al
    edit:
    Should add the keys show up with pacman-key -l or -f etc after reboot but doesn't stop me from errors. so the keyring is still there but not searched?   but if i do a pacman-key --refresh-keys then it will find new keys but this will not fix the errors and allow package install.   needs the --init  then populate to allow install.
    hope i'm clear enough
    Last edited by woznme (2013-03-12 12:39:32)

    Allan it appears to be correct, and i disabled the ntpd check/set i had autostarting and that made no difference. Thanks for your efforts in helping troubleshoot this.
    not sure this helps but if I logout my openbox session  (--exit) then logon again the keyring is still working fine.
    Last edited by woznme (2013-03-10 14:22:23)

  • [SOLVED]pacman upgrade: error# failed to prepare transaction

    Whenever I am trying to install some packages using pacman, I get a message to upgrade pacman. When I say 'yes', I get an error message.
    ##code_begin##
    [root@arch matrix]# pacman -S libreoffice
    :: The following packages should be upgraded first :
        pacman
    :: Do you want to cancel the current operation
    :: and upgrade these packages now? [Y/n] y
    resolving dependencies...
    warning: dependency cycle detected:
    warning: udev will be installed before its util-linux dependency
    looking for inter-conflicts...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: gcc: requires gcc-libs=4.7.0-3
    [root@arch matrix]#
    ##code_end##
    This started after adding a new mirror and performing "pacman -Syu" (I was trying to install firefox in arch, which didn't go through even with different mirrors).
    What should I do now to upgrade pacman?
    Last edited by matrix13 (2012-04-11 14:48:24)

    Anyone else, looking at this, look at https://bbs.archlinux.org/viewtopic.php … 3#p1086153 which suggests the above method could break pacman (but I don't understand why yet).

  • Mirror error? pacman failing to fetch xorg/alsa etc.

    just did my second install of arch and pacman fails to fetch xorg and alsa etc. saying error: failed to open file /var/lib/pacman/(filename) I have no idea whats going on here, frist install worked fine. the only thing i can think of is maybe the mirror isnt working, I used ftp@dal, canada. any help is very much welcome

    Trilby wrote:
    OK, this was a very small step in the right direction: you posted the error ... but was that the actual error?  Did it really say 'file A' from mirror A, or is that a shorthand you are using?
    Either way I also asked for you to post your mirror list so we could see what you have done to it.  I'm quite confident now the error is in your mirror list and/or pacman.conf.  IF you post those files (the actual content of those files, not a description or interpretation of them) then and only then will anyone be able to help you.
    how can i when i have no software installed? yes that is shorthand. and currently its failing on all files. i can hand type all these files in but it will take some time. if im missing something because im new, please say so.

  • [SOLVED] pacman download errors

    the 2008.03-1.archboot.ftp.iso is the only iso that worked for me. after the install, i logged in using root. I ran pacman -S xorg but got an error. I checked the mirrorlist file and everything was uncommented. I ran pacman -Syy and got many errors. failed to synchronize any database. I did nano pacman.conf and in there was no ftp sites. i put Architecture = auto at the bottom of pacman.conf file and got an error.
    your help is greatly appreciated.
    Last edited by stevestark (2010-08-24 04:30:04)

    this computer cant boot a cd and no usb. my only option was the 2008 iso because the 2009 iso and 2010 iso were giving errors. so i cant do a system upgrade to 2010.5 once i get pacman fixed?
    Last edited by stevestark (2010-08-23 05:14:00)

Maybe you are looking for