Pacman is unreliable [SOLVED]

I just installed a fresh reinstallation of arch, and pacman is acting up.  I will run 'sudo pacman -S programname' and it will start the installation process, but it will freeze at the 'retreving packages from ...' part.  I run the command again and on the 3rd or 4th try, it will work normally.  I have run all these commands to try and help:
$ sudo pacman -Syy
$ sudo pacman -S pacman-mirrorlist
$ sudo pacman -Syu
I have installed madwifi and it is working.  That is all.  It has been so far consistent and never failed to not work like this.
Last edited by Lexion (2009-03-22 14:59:29)

Try to change your mirror and see if it's still happening. In particular, if you're using ftp.archlinux.org, you can expect poor performance.

Similar Messages

  • Pacman seg fault(Solved but with comments on pacman-db-upgrade)

    Performed an install from FTP and booted into root login.
    Performed pacman -Syu  and received report system up to date.
    Performed downloads via pacman of twelve packages including xorg and xfce4.
    Performed download of abs package. 
    Downloaded abs repos.
    Modified abs extra vlc package and performed pacman -U install of modified package.
    Pacman working well at this point.
    Rebooted.
    After reaching xfce4 Desktop, attemptd to install firefox.
    Pacman -S firefox produced..... /usr/bin/pacman/ report(forget the exact error)
    Subsequent trials with ...pacman -U .... produces seg fault.
    Cannot use pacman.  All other programs seem to perform correctly.  Perhaps have lost DNS.
    Cannot perform ...pacman -Syu --debug.....segfaults.
    Last edited by lilsirecho (2011-07-19 18:19:49)

    Solved the difficulty but have no idea what can be done to prevent it from occuring for another user.
    It seems that the db did not get upgraded when the ...pacman-db-upgrade ...command was executed.  There was no statement for ..."pre 3.5 db" upgrade....while executing the command.
    After re-install, the upgrade command performed correctly and pacman now performs correctly after reboots.
    The question comes up as to what to do if the upgrade command does not work correctly and whether some indicator of correct response should appear in the beginners guide.  Additionally, what can be done in the event that the upgrade command fails to meet the correct response.
    These questions will in time be resolved by a new .iso but the present exposure is amazing in its consequences!
    Perhaps the upgrade command is also a function of properly synced mirrors but the command requesting the upgrade was ...pacman -Syy... the mirror sync function!
    What do we have...catch22?
    The resultant segfaults make sense if the pacman sync db is not upgraded.
    How is a user to know the upgrade failed?  What to do about such a condition?
    Marking this thread as solved ...with comments...

  • Rebuild pacman database?[solves]

    During update disk was full, now pacman doesnt work correctly. Only get those error:
    pacman -Su
    db_read: error: /var/lib/pacman/local/less-394-1/depends: No such file or directory
    Is it possible to solve this problem?

    thx that solved the problem 

  • Weird Pacman Error! [solved]

    Since last night, I've been getting this weird error when I run 'pacman -Syu' as root. What's going on?
    :: Synchronizing package databases...
    current 71.2K 143.5K/s 00:00:00 [#####################] 100%
    extra is up to date
    community 274.6K 339.7K/s 00:00:01 [#####################] 100%
    :: Starting full system upgrade...
    resolving dependencies... done.
    looking for inter-conflicts... done.
    Targets: gd-2.0.35-1 gstreamer0.10-good-0.10.6-1 gstreamer0.10-flac-0.10.6-1
    gstreamer0.10-gconf-0.10.6-1
    Total Package Size: 0.84 MB
    Proceed with installation? [Y/n]
    :: Retrieving packages from current...
    gd 175.9K 627.3K/s 00:00:00 [#####################] 100%
    checking package integrity... done.
    cleaning up... done.
    (4/4) checking for file conflicts [#####################] 100%
    error: could not prepare transaction
    error: failed to commit transaction (conflicting files)
    gstreamer0.10-good: /usr/lib/gstreamer-0.10/libgstqtdemux.so exists in filesystem
    gstreamer0.10-good: /usr/lib/gstreamer-0.10/libgstvideocrop.so exists in filesystem
    errors occurred, no packages were upgraded.
    Any ideas, anyone?
    Last edited by tony5429 (2007-06-29 22:38:16)

    @ tony5429
    I was running in a semilar problem!
    I forced the update from gstreamer0.10-good with
    pacman -Syf gstreamer0.10-good
    after then I run again
    pacman -Syu
    and all run normal.
    You can also read here in this topic about it
    http://bbs.archlinux.org/viewtopic.php?id=34669
    the arch developmer tomk wrote
    tomk wrote:If you're not in a hurry, wait for the -bad package upgrade. Otherwise, I'd suggest -Syf for the -good package, followed by -Su for everything else.
    cheers
    JaDa

  • Can't pacman virtualbox-ose [SOLVED]

    Hi!
    I'm trying to install virtualbox-ose. I've never used it before (as well as any other virtual machine). But the problem is that I can't install it via pacman. It says:
    resolving dependencies...
    looking for inter-conflicts...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: klibc-extras: requires klibc-jfflyAahxqaliwAofrf_fdf5upI
    :: klibc-kbd: requires klibc-jfflyAahxqaliwAofrf_fdf5upI
    :: klibc-module-init-tools: requires klibc-jfflyAahxqaliwAofrf_fdf5upI
    :: klibc-udev: requires klibc-jfflyAahxqaliwAofrf_fdf5upI
    wtf? What is wrong?
    Thanks.
    Last edited by Axell (2009-01-30 01:33:19)

    Ok, it helped Thank you!

  • Deleting Pacman Database File [SOLVED]

    Hello,
    just a quick question. I tested the "testing" repos but now disabled it in pacman.conf. When I'm doing pacman -Syy oder pacman -Syu it updates
    the remaing databases ( core,extra,community ) and complains that it can't find a server for "testing" and "community-testing". It doesn't cause
    any problem but looks ugly. How can I get pacman to stop trying to update my disabled repos?
    Kind Regards,
    blackout23
    Last edited by blackout23 (2012-03-07 15:24:24)

    Post your pacman.conf, I can't reproduce your issue.
    In the future, please post the exact error message you're getting.
    Just a guess, it looks like you forgot to comment out the header:
    :: Synchronizing package databases...
    error: failed to update testing (no servers configured for repository)
    error: failed to update community-testing (no servers configured for repository)
    core is up to date
    [testing]
    should now be
    #[testing]
    Last edited by karol (2012-03-07 15:05:14)

  • 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)

  • Pacman strange behavior (SOLVED)

    I installed Arch bare and I am liking it. I set up pacman "to the book" but it is behaving rather "strangely". When I am installing a package it DLs one item then books out with a message "Failed Downloading . . . " then it locks. Each time I have to go to /tmp and delete pacman.lck then rerun the instllation and it does this up to about the last 3 items of which I get the message "Failed Downloading . . . " then it searches the next repo and processed to DL and install. Could it be something with my config? Do I have to disable the other repos?

    I'm having the same problem.  It looks like not being able to retreive the filesize is causing pacman to dump.
    Here is my output:
    [root@stheno ~]# pacman -S scons
    Targets: scons-0.96.92-2
    Total Package Size:   0.6 MB
    Proceed with upgrade? [Y/n] y
    :: Retrieving packages from extra...
    warning: failed to get filesize for scons-0.96.92-2.pkg.tar.gz
    failed downloading scons-0.96.92-2.pkg.tar.gz from ftp.nethat.com: 550 scons-0.96.92-2.pkg.tar.gz: No such file or directory
    warning: failed to get filesize for scons-0.96.92-2.pkg.tar.gz
    failed downloading scons-0.96.92-2.pkg.tar.gz from ftp-linux.cc.gatech.edu: 550 Failed to open file.
    warning: failed to get filesize for scons-0.96.92-2.pkg.tar.gz
    failed downloading scons-0.96.92-2.pkg.tar.gz from ftp.archlinux.org: 550 Failed to open file.
    warning: failed to get filesize for scons-0.96.92-2.pkg.tar.gz
    failed downloading scons-0.96.92-2.pkg.tar.gz from ftp.ibiblio.org: 550 scons-0.96.92-2.pkg.tar.gz: No such file or directory
    warning: failed to get filesize for scons-0.96.92-2.pkg.tar.gz
    failed downloading scons-0.96.92-2.pkg.tar.gz from mirror.cs.vt.edu: 550 Failed to open file.
    connect: Connection refused
    error: cannot connect to archlinux.antesis.org
    *** glibc detected *** pacman: double free or corruption (fasttop): 0x0875ce70 ***
    ======= Backtrace: =========
    /lib/libc.so.6[0x400b7b10]
    /lib/libc.so.6(__libc_free+0x89)[0x400b91a9]
    pacman[0x80604ee]
    pacman[0x805b731]
    pacman[0x805bdeb]
    pacman[0x80523c6]
    pacman[0x8055335]
    /lib/libc.so.6(__libc_start_main+0xd8)[0x400697c8]
    pacman[0x804a0a1]
    ======= Memory map: ========
    08048000-0806b000 r-xp 00000000 03:43 2083461    /usr/bin/pacman
    0806b000-0806c000 rw-p 00023000 03:43 2083461    /usr/bin/pacman
    0806c000-0877f000 rw-p 0806c000 00:00 0          [heap]
    40000000-4001a000 r-xp 00000000 03:43 5226508    /lib/ld-2.5.so
    4001a000-4001b000 r--p 00019000 03:43 5226508    /lib/ld-2.5.so
    4001b000-4001c000 rw-p 0001a000 03:43 5226508    /lib/ld-2.5.so
    4001c000-4001f000 rw-p 4001c000 00:00 0
    4001f000-40027000 r-xp 00000000 03:43 5226552    /lib/libnss_files-2.5.so
    40027000-40029000 rw-p 00007000 03:43 5226552    /lib/libnss_files-2.5.so
    40029000-4002d000 r-xp 00000000 03:43 5226549    /lib/libnss_dns-2.5.so
    4002d000-4002f000 rw-p 00003000 03:43 5226549    /lib/libnss_dns-2.5.so
    4002f000-4003d000 r-xp 00000000 03:43 5226548    /lib/libresolv-2.5.so
    4003d000-4003f000 rw-p 0000d000 03:43 5226548    /lib/libresolv-2.5.so
    4003f000-40042000 rw-p 4003f000 00:00 0
    40042000-40053000 r-xp 00000000 03:43 2065997    /usr/lib/libz.so.1.2.3
    40053000-40054000 rw-p 00011000 03:43 2065997    /usr/lib/libz.so.1.2.3
    40054000-40178000 r-xp 00000000 03:43 5226513    /lib/libc-2.5.so
    40178000-40179000 r--p 00124000 03:43 5226513    /lib/libc-2.5.so
    40179000-4017b000 rw-p 00125000 03:43 5226513    /lib/libc-2.5.so
    4017b000-40184000 rw-p 4017b000 00:00 0
    401a9000-401b3000 r-xp 00000000 03:43 2065391    /usr/lib/libgcc_s.so.1
    401b3000-401b4000 rw-p 00009000 03:43 2065391    /usr/lib/libgcc_s.so.1
    40200000-40221000 rw-p 40200000 00:00 0
    40221000-40300000 ---p 40221000 00:00 0
    bfb19000-bfb2e000 rw-p bfb19000 00:00 0          [stack]
    ffffe000-fffff000 ---p 00000000 00:00 0          [vdso]
    Aborted
    Is this a mirror syncing issue?

  • Circular: can't install libusb-compat for `pacman-key --init` [SOLVED]

    So like a lot of people on here have upgraded to pacman 4.
    I can't run `pacman-key --init` to update the keyring:
    [stuart@myhost ~]$ sudo pacman-key --init
    Password:
    gpg: error while loading shared libraries: libusb-0.1.so.4: cannot open shared object file: No such file or directory
    chmod: cannot access `/etc/pacman.d/gnupg/trustdb.gpg': No such file or directory
    gpg: error while loading shared libraries: libusb-0.1.so.4: cannot open shared object file: No such file or directory
    gpg: error while loading shared libraries: libusb-0.1.so.4: cannot open shared object file: No such file or directory
    ==> Updating trust database...
    gpg: error while loading shared libraries: libusb-0.1.so.4: cannot open shared object file: No such file or directory
    And because of signature issues can't install libusb-compat:
    [stuart@myhost ~]$ sudo pacman -S libusb-compat
    Password:
    resolving dependencies...
    looking for inter-conflicts...
    Targets (1): libusb-compat-0.1.3-2
    Total Installed Size: 0.06 MiB
    Net Upgrade Size: -0.02 MiB
    Proceed with installation? [Y/n] y
    (1/1) checking package integrity [######################] 100%
    warning: Public keyring not found; have you run 'pacman-key --init'?
    error: GPGME error: Invalid crypto engine
    error: failed to commit transaction (invalid or corrupted package (PGP signature))
    Errors occurred, no packages were upgraded.
    Last edited by Skipper_the_eye_child (2012-01-26 19:24:00)

    That worked - thanks. It'd have helped had I remembered to write over pacman.conf of course! I've not done any mainentance for while, got a little rusty i'm afraid.
    Last edited by Skipper_the_eye_child (2012-04-11 14:02:52)

  • 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

  • Skype not exist in community or multilib via pacman or yaourt [SOLVED]

    I try install/found skype using pacman and yaourt, but nothing is return:
    pacman.conf
    # /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
    #GPGDir = /etc/pacman.d/gnupg/
    HoldPkg = pacman glibc
    #XferCommand = /usr/bin/curl -C - -f %u > %o
    #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
    #CleanMethod = KeepInstalled
    #UseDelta = 0.7
    Architecture = auto
    # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
    #IgnorePkg =
    #IgnoreGroup =
    #NoUpgrade =
    #NoExtract =
    # Misc options
    #UseSyslog
    #Color
    #TotalDownload
    CheckSpace
    #VerbosePkgLists
    # By default, pacman accepts packages signed by keys that its local keyring
    # trusts (see pacman-key and its man page), as well as unsigned packages.
    SigLevel = Required DatabaseOptional
    LocalFileSigLevel = Optional
    #RemoteFileSigLevel = Required
    # NOTE: You must run `pacman-key --init` before first using pacman; the local
    # keyring can then be populated with the keys of all official Arch Linux
    # packagers with `pacman-key --populate archlinux`.
    # 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.
    [xorg113]
    Server = http://catalyst.wirephire.com/repo/xorg113/$arch
    SigLevel = Never
    #[testing]
    #Include = /etc/pacman.d/mirrorlist
    [core]
    Include = /etc/pacman.d/mirrorlist
    [extra]
    Include = /etc/pacman.d/mirrorlist
    #[community-testing]
    #Include = /etc/pacman.d/mirrorlist
    [community]
    Include = /etc/pacman.d/mirrorlist
    # If you want to run 32 bit applications on your x86_64 system,
    # enable the multilib repositories as required here.
    #[multilib-testing]
    #Include = /etc/pacman.d/mirrorlist
    #[multilib]
    Include = /etc/pacman.d/mirrorlist
    # An example of a custom package repository. See the pacman manpage for
    # tips on creating your own repositories.
    #[custom]
    #SigLevel = Optional TrustAll
    #Server = file:///home/custompkgs
    1. nothing
    pacman -S skype
    [patrick@sara ~]$ sudo pacman -S skype
    error: target not found: skype
    [patrick@sara ~]$
    2. nothing
    [patrick@sara ~]$ sudo pacman -Ss skype
    community/skype-call-recorder 0.8-3
    Open source tool that allows you to record your Skype calls on Linux
    [patrick@sara ~]$
    3. a lot things but, not "skype"
    yaourt skype
    Note: I uncomment multilib in my pacman.conf
    Last edited by patrickmaciel (2013-10-10 01:24:08)

    skottish wrote:Did you uncomment just the [multilib] line or did you do the 'Include' line as well? If you did both, did you update the pacman database afterwards?
    Oh my god.
    Terrible mistake.
    I uncomment just the include.
    Really sorry haw-haw.

  • 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

  • Perl-xml-sax conflict prevents pacman from updating [SOLVED]

    When I run pacman -Syu, I get this:
    (36/36) checking for file conflicts                 [####################################] 100%
    error: could not prepare transaction
    error: failed to commit transaction (conflicting files)
    perl-xml-sax: /usr/lib/perl5/site_perl/current/XML/SAX/ParserDetails.ini exists in filesystem
    errors occurred, no packages were upgraded.
    Can I get some pointers on how to fix this? I tried searching the forums for anyone else having this problem but no dice.
    Thanks!
    edit: enrique's advice worked and the system upgraded.
    Last edited by kandrews (2007-08-24 15:19:16)

    I had the same problem when installing xmltv.
    First I checked what package owned the file: pacman -Qo /usr/lib/perl5/site_perl/current/XML/SAX/ParserDetails.ini
    Then I removed the package, and I still got a similar error, so I just removed the file, because no package owned it any longer.

  • Pacman wont upgrade (SOLVED)

    :: Synchronizing package databases.
    core                     35.5K  238.2K/s 00:00:00 [######################] 100%
    extra                   460.1K  756.7K/s 00:00:01 [######################] 100%
    community               381.5K  690.9K/s 00:00:01 [######################] 100%
    archlinuxfr              16.2K  150.8K/s 00:00:00 [######################] 100%
    catalyst-10.5             1.9K    4.0M/s 00:00:00 [######################] 100%
    error: failed to prepare transaction (could not satisfy dependencies)
    :: Starting full system upgrade.
    :: catalyst: requires kernel26<2.6.35
    I use yaourt, but I tried pacman clean and still the same problem.
    So, what should I do ?
    Last edited by webmasteryoda (2010-08-21 22:14:15)

    webmasteryoda wrote:
    Skripka wrote:
    webmasteryoda wrote:
    Does it means that I cant update anything until Catalyst updates.
    There is no update 4-5 days for me....
    I edited my post...look again.
    thx, but it seems I have it installed:
    xorg-server-1.8-catalyst-maximize-fix 1.8.1-1 [installed]
    aur/catalyst 10.7-4 [10.5-2 installed]
    No, you have 10.5-2 installed

  • 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.

Maybe you are looking for

  • Multiple iPods on one account

    All I want is to see my iPod's song list when I plug in my iPod, instead of seeing my son's song list. But when I plug mine in it says an iPod can only link to one iTunes library at a time, and I have to erase it and reload (sync) this iPod with the

  • How to access more than one catalog from ECC

    We use the catalogs in SRM from ECC, ME21N. But we are only able to access one catalog. Is there any way to access different catalogs for the users. We have set up different catalogs in customizing but are not able to selcet them. At the moment we ha

  • Possibility of extract from BCM list of users.

    Hello Everyone, Is there any possibility to have a list of agents with assigned queues and skills? Based on location or Cost Center? Thanks in advance for your time. SAP BCM v.5.5.500.20586 with SP1, 2, 4 and 5 installed. Kind regards, Pawel Wilczyns

  • Right click 'Open link in new tab/window' help

    Hi, since I updated my Safari to 6.1 last night (running on Lion) the right click options for "Open new link in tab..." have swapped around and it's only a small thing but it's already annoying me, anyway to swap them back around so 'open in new wind

  • Idoc xml msg

    Can we track idoc xml msg directly from Integration Server?