You are not logged in.

#1 2007-10-15 22:33:41

tizoc
Member
Registered: 2006-07-28
Posts: 57

Pacman -S hangs when resolving dependencies.

When running pacman -S <package> it hangs on "resolving dependencies...".
I did a pacman -Sy but I still have the same problem.

I don't remember doing any upgrades before this stopped working.... any clues??

Offline

#2 2007-10-15 23:28:58

nj
Member
Registered: 2007-04-06
Posts: 93

Re: Pacman -S hangs when resolving dependencies.

Try running 'pacman -S --debug <package>'. Hopefully that will pinpoint the problem.

Offline

#3 2007-10-16 10:49:30

tizoc
Member
Registered: 2006-07-28
Posts: 57

Re: Pacman -S hangs when resolving dependencies.

Yeah, I did that before, but nothing interesting showed up, it hangs when resolving dependencies and no messages are displayed from there.

[root@macbook ~]# pacman -S --debug libx86
debug: config: new section 'options'
debug: config: logfile: /var/log/pacman.log
debug: config: holdpkg: pacman
debug: config: holdpkg: glibc
debug: config: ignorepkg: postgresql
debug: config: new section 'core'
debug: registering database 'core'
debug: opening database 'core'
debug: opening database from path '/var/lib/pacman/core/'
debug: config: including /etc/pacman.d/core
debug: attempt to re-register the 'core' database, using existing
debug: adding new server to database 'core': protocol 'ftp', server 'ftp.archlinux.org', path '/core/os/x86_64'
debug: adding new server to database 'core': protocol 'ftp', server 'ftp.nethat.com', path '/pub/linux/archlinux/core/os/x86_64'
debug: adding new server to database 'core': protocol 'ftp', server 'locke.suu.edu', path '/linux/dist/archlinux/core/os/x86_64'
debug: adding new server to database 'core': protocol 'ftp', server 'mirrors.unixheads.org', path '/archlinux/core/os/x86_64'
debug: adding new server to database 'core': protocol 'ftp', server 'ftp-linux.cc.gatech.edu', path '/pub/linux/distributions/archlinux/core/os/x86_64'
debug: adding new server to database 'core': protocol 'ftp', server 'mirror.cs.vt.edu', path '/pub/ArchLinux/core/os/x86_64'
debug: adding new server to database 'core': protocol 'http', server 'mirrors.easynews.com', path '/linux/archlinux/core/os/x86_64'
debug: adding new server to database 'core': protocol 'ftp', server 'ftp.ibiblio.org', path '/pub/linux/distributions/archlinux/core/os/x86_64'
debug: adding new server to database 'core': protocol 'http', server 'archlinux.c3sl.ufpr.br', path '/core/os/x86_64'
debug: adding new server to database 'core': protocol 'ftp', server 'gd.tuwien.ac.at', path '/opsys/linux/archlinux/core/os/x86_64'
debug: adding new server to database 'core': protocol 'ftp', server 'ftp.belnet.be', path '/packages/archlinux/core/os/x86_64'
debug: adding new server to database 'core': protocol 'ftp', server 'ftp.sh.cvut.cz', path '/MIRRORS/arch/core/os/x86_64'
debug: adding new server to database 'core': protocol 'ftp', server 'ftp.estpak.ee', path '/pub/archlinux/core/os/x86_64'
debug: adding new server to database 'core': protocol 'ftp', server 'ftp.sixnix.net', path '/pub/archlinux/core/os/x86_64'
debug: adding new server to database 'core': protocol 'ftp', server 'ftp.rez-gif.supelec.fr', path '/pub/Linux/distrib/archlinux/core/os/x86_64'
debug: adding new server to database 'core': protocol 'ftp', server 'mir1.archlinuxfr.org', path '/archlinux/core/os/x86_64'
debug: adding new server to database 'core': protocol 'ftp', server 'mir2.archlinuxfr.org', path '/archlinux/core/os/x86_64'
debug: adding new server to database 'core': protocol 'ftp', server 'distrib-coffee.ipsl.jussieu.fr', path '/pub/linux/archlinux/core/os/x86_64'
debug: adding new server to database 'core': protocol 'ftp', server 'ftp.tu-chemnitz.de', path '/pub/linux/sunsite.unc-mirror/distributions/archlinux/core/os/x86_64'
debug: adding new server to database 'core': protocol 'ftp', server 'ftp.hosteurope.de', path '/mirror/ftp.archlinux.org/core/os/x86_64'
debug: adding new server to database 'core': protocol 'ftp', server 'ftp.archlinuxppc.org', path '/i686/core/os/x86_64'
debug: adding new server to database 'core': protocol 'http', server 'ftp.parrswood.manchester.sch.uk', path '/Mirrors/ftp.archlinux.org/core/os/x86_64'
debug: adding new server to database 'core': protocol 'ftp', server 'ftp.ntua.gr', path '/pub/linux/archlinux/core/os/x86_64'
debug: adding new server to database 'core': protocol 'ftp', server 'ftp.heanet.ie', path '/mirrors/ftp.archlinux.org/core/os/x86_64'
debug: adding new server to database 'core': protocol 'ftp', server 'mi.mirror.garr.it', path '/mirrors/archlinux/core/os/x86_64'
debug: adding new server to database 'core': protocol 'ftp', server 'saule.mintis.lt', path '/pub/linux/core/os/x86_64'
debug: adding new server to database 'core': protocol 'ftp', server 'ftp.nluug.nl', path '/pub/metalab/distributions/archlinux/core/os/x86_64'
debug: adding new server to database 'core': protocol 'ftp', server 'ftp.surfnet.nl', path '/pub/os/Linux/distr/archlinux/core/os/x86_64'
debug: adding new server to database 'core': protocol 'ftp', server 'mirror.djzradio.net', path '/archlinux/core/os/x86_64'
debug: adding new server to database 'core': protocol 'ftp', server 'sunsite.icm.edu.pl', path '/site/linux-sunsite/distributions/archlinux/core/os/x86_64'
debug: adding new server to database 'core': protocol 'ftp', server 'mirror.icis.pcz.pl', path '/archlinux/core/os/x86_64'
debug: adding new server to database 'core': protocol 'ftp', server 'gul.est.ips.pt', path '/repos/archlinux/core/os/x86_64'
debug: adding new server to database 'core': protocol 'ftp', server 'cesium.di.uminho.pt', path '/pub/archlinux/core/os/x86_64'
debug: adding new server to database 'core': protocol 'ftp', server 'darkstar.ist.utl.pt', path '/pub/archlinux/core/os/x86_64'
debug: adding new server to database 'core': protocol 'ftp', server 'ftp.iasi.roedu.net', path '/mirrors/archlinux.org/core/os/x86_64'
debug: adding new server to database 'core': protocol 'http', server 'archlinux.freeside.ru', path '/core/os/x86_64'
debug: adding new server to database 'core': protocol 'ftp', server 'mirror.yandex.ru', path '/archlinux/core/os/x86_64'
debug: adding new server to database 'core': protocol 'ftp', server 'ftp.ds.hj.se', path '/pub/os/linux/archlinux/core/os/x86_64'
debug: adding new server to database 'core': protocol 'ftp', server 'ftp.gigabit.nu', path '/core/os/x86_64'
debug: adding new server to database 'core': protocol 'ftp', server 'archlinux.puzzle.ch', path '/core/os/x86_64'
debug: adding new server to database 'core': protocol 'ftp', server 'ftp.linux.org.tr', path '/pub/archlinux/core/os/x86_64'
debug: adding new server to database 'core': protocol 'ftp', server 'ftp.linux.kiev.ua', path '/pub/Linux/ArchLinux/core/os/x86_64'
debug: adding new server to database 'core': protocol 'ftp', server 'hell.org.ua', path '/archlinux/core/os/x86_64'
debug: adding new server to database 'core': protocol 'http', server 'mirror.isoc.org.il', path '/pub/archlinux/core/os/x86_64'
debug: adding new server to database 'core': protocol 'ftp', server 'mirror.pacific.net.au', path '/linux/archlinux/core/os/x86_64'
debug: config: new section 'extra'
debug: registering database 'extra'
debug: opening database 'extra'
debug: opening database from path '/var/lib/pacman/extra/'
debug: config: including /etc/pacman.d/extra
debug: attempt to re-register the 'extra' database, using existing
debug: adding new server to database 'extra': protocol 'ftp', server 'ftp.archlinux.org', path '/extra/os/x86_64'
debug: adding new server to database 'extra': protocol 'ftp', server 'ftp.nethat.com', path '/pub/linux/archlinux/extra/os/x86_64'
debug: adding new server to database 'extra': protocol 'ftp', server 'locke.suu.edu', path '/linux/dist/archlinux/extra/os/x86_64'
debug: adding new server to database 'extra': protocol 'ftp', server 'mirrors.unixheads.org', path '/archlinux/extra/os/x86_64'
debug: adding new server to database 'extra': protocol 'ftp', server 'ftp-linux.cc.gatech.edu', path '/pub/linux/distributions/archlinux/extra/os/x86_64'
debug: adding new server to database 'extra': protocol 'ftp', server 'mirror.cs.vt.edu', path '/pub/ArchLinux/extra/os/x86_64'
debug: adding new server to database 'extra': protocol 'http', server 'mirrors.easynews.com', path '/linux/archlinux/extra/os/x86_64'
debug: adding new server to database 'extra': protocol 'ftp', server 'ftp.ibiblio.org', path '/pub/linux/distributions/archlinux/extra/os/x86_64'
debug: adding new server to database 'extra': protocol 'http', server 'archlinux.c3sl.ufpr.br', path '/extra/os/x86_64'
debug: adding new server to database 'extra': protocol 'ftp', server 'gd.tuwien.ac.at', path '/opsys/linux/archlinux/extra/os/x86_64'
debug: adding new server to database 'extra': protocol 'ftp', server 'ftp.belnet.be', path '/packages/archlinux/extra/os/x86_64'
debug: adding new server to database 'extra': protocol 'ftp', server 'ftp.sh.cvut.cz', path '/MIRRORS/arch/extra/os/x86_64'
debug: adding new server to database 'extra': protocol 'ftp', server 'ftp.estpak.ee', path '/pub/archlinux/extra/os/x86_64'
debug: adding new server to database 'extra': protocol 'ftp', server 'ftp.sixnix.net', path '/pub/archlinux/extra/os/x86_64'
debug: adding new server to database 'extra': protocol 'ftp', server 'ftp.rez-gif.supelec.fr', path '/pub/Linux/distrib/archlinux/extra/os/x86_64'
debug: adding new server to database 'extra': protocol 'ftp', server 'mir1.archlinuxfr.org', path '/archlinux/extra/os/x86_64'
debug: adding new server to database 'extra': protocol 'ftp', server 'mir2.archlinuxfr.org', path '/archlinux/extra/os/x86_64'
debug: adding new server to database 'extra': protocol 'ftp', server 'distrib-coffee.ipsl.jussieu.fr', path '/pub/linux/archlinux/extra/os/x86_64'
debug: adding new server to database 'extra': protocol 'ftp', server 'ftp.tu-chemnitz.de', path '/pub/linux/sunsite.unc-mirror/distributions/archlinux/extra/os/x86_64'
debug: adding new server to database 'extra': protocol 'ftp', server 'ftp.hosteurope.de', path '/mirror/ftp.archlinux.org/extra/os/x86_64'
debug: adding new server to database 'extra': protocol 'ftp', server 'ftp.archlinuxppc.org', path '/i686/extra/os/x86_64'
debug: adding new server to database 'extra': protocol 'http', server 'ftp.parrswood.manchester.sch.uk', path '/Mirrors/ftp.archlinux.org/extra/os/x86_64'
debug: adding new server to database 'extra': protocol 'ftp', server 'ftp.ntua.gr', path '/pub/linux/archlinux/extra/os/x86_64'
debug: adding new server to database 'extra': protocol 'ftp', server 'ftp.heanet.ie', path '/mirrors/ftp.archlinux.org/extra/os/x86_64'
debug: adding new server to database 'extra': protocol 'ftp', server 'mi.mirror.garr.it', path '/mirrors/archlinux/extra/os/x86_64'
debug: adding new server to database 'extra': protocol 'ftp', server 'saule.mintis.lt', path '/pub/linux/extra/os/x86_64'
debug: adding new server to database 'extra': protocol 'ftp', server 'ftp.nluug.nl', path '/pub/metalab/distributions/archlinux/extra/os/x86_64'
debug: adding new server to database 'extra': protocol 'ftp', server 'ftp.surfnet.nl', path '/pub/os/Linux/distr/archlinux/extra/os/x86_64'
debug: adding new server to database 'extra': protocol 'ftp', server 'mirror.djzradio.net', path '/archlinux/extra/os/x86_64'
debug: adding new server to database 'extra': protocol 'ftp', server 'sunsite.icm.edu.pl', path '/site/linux-sunsite/distributions/archlinux/extra/os/x86_64'
debug: adding new server to database 'extra': protocol 'ftp', server 'mirror.icis.pcz.pl', path '/archlinux/extra/os/x86_64'
debug: adding new server to database 'extra': protocol 'ftp', server 'gul.est.ips.pt', path '/repos/archlinux/extra/os/x86_64'
debug: adding new server to database 'extra': protocol 'ftp', server 'cesium.di.uminho.pt', path '/pub/archlinux/extra/os/x86_64'
debug: adding new server to database 'extra': protocol 'ftp', server 'darkstar.ist.utl.pt', path '/pub/archlinux/extra/os/x86_64'
debug: adding new server to database 'extra': protocol 'ftp', server 'ftp.iasi.roedu.net', path '/mirrors/archlinux.org/extra/os/x86_64'
debug: adding new server to database 'extra': protocol 'http', server 'archlinux.freeside.ru', path '/extra/os/x86_64'
debug: adding new server to database 'extra': protocol 'ftp', server 'mirror.yandex.ru', path '/archlinux/extra/os/x86_64'
debug: adding new server to database 'extra': protocol 'ftp', server 'ftp.ds.hj.se', path '/pub/os/linux/archlinux/extra/os/x86_64'
debug: adding new server to database 'extra': protocol 'ftp', server 'ftp.gigabit.nu', path '/extra/os/x86_64'
debug: adding new server to database 'extra': protocol 'ftp', server 'archlinux.puzzle.ch', path '/extra/os/x86_64'
debug: adding new server to database 'extra': protocol 'ftp', server 'ftp.linux.org.tr', path '/pub/archlinux/extra/os/x86_64'
debug: adding new server to database 'extra': protocol 'ftp', server 'ftp.linux.kiev.ua', path '/pub/Linux/ArchLinux/extra/os/x86_64'
debug: adding new server to database 'extra': protocol 'ftp', server 'hell.org.ua', path '/archlinux/extra/os/x86_64'
debug: adding new server to database 'extra': protocol 'http', server 'mirror.isoc.org.il', path '/pub/archlinux/extra/os/x86_64'
debug: adding new server to database 'extra': protocol 'ftp', server 'mirror.pacific.net.au', path '/linux/archlinux/extra/os/x86_64'
debug: config: new section 'community'
debug: registering database 'community'
debug: opening database 'community'
debug: opening database from path '/var/lib/pacman/community/'
debug: config: including /etc/pacman.d/community
debug: attempt to re-register the 'community' database, using existing
debug: adding new server to database 'community': protocol 'ftp', server 'ftp.archlinux.org', path '/community/os/x86_64'
debug: adding new server to database 'community': protocol 'ftp', server 'ftp.nethat.com', path '/pub/linux/archlinux/community/os/x86_64'
debug: adding new server to database 'community': protocol 'ftp', server 'locke.suu.edu', path '/linux/dist/archlinux/community/os/x86_64'
debug: adding new server to database 'community': protocol 'ftp', server 'mirrors.unixheads.org', path '/archlinux/community/os/x86_64'
debug: adding new server to database 'community': protocol 'ftp', server 'ftp-linux.cc.gatech.edu', path '/pub/linux/distributions/archlinux/community/os/x86_64'
debug: adding new server to database 'community': protocol 'ftp', server 'mirror.cs.vt.edu', path '/pub/ArchLinux/community/os/x86_64'
debug: adding new server to database 'community': protocol 'http', server 'mirrors.easynews.com', path '/linux/archlinux/community/os/x86_64'
debug: adding new server to database 'community': protocol 'ftp', server 'ftp.ibiblio.org', path '/pub/linux/distributions/archlinux/community/os/x86_64'
debug: adding new server to database 'community': protocol 'http', server 'archlinux.c3sl.ufpr.br', path '/community/os/x86_64'
debug: adding new server to database 'community': protocol 'ftp', server 'gd.tuwien.ac.at', path '/opsys/linux/archlinux/community/os/x86_64'
debug: adding new server to database 'community': protocol 'ftp', server 'ftp.belnet.be', path '/packages/archlinux/community/os/x86_64'
debug: adding new server to database 'community': protocol 'ftp', server 'ftp.sh.cvut.cz', path '/MIRRORS/arch/community/os/x86_64'
debug: adding new server to database 'community': protocol 'ftp', server 'ftp.estpak.ee', path '/pub/archlinux/community/os/x86_64'
debug: adding new server to database 'community': protocol 'ftp', server 'ftp.sixnix.net', path '/pub/archlinux/community/os/x86_64'
debug: adding new server to database 'community': protocol 'ftp', server 'ftp.rez-gif.supelec.fr', path '/pub/Linux/distrib/archlinux/community/os/x86_64'
debug: adding new server to database 'community': protocol 'ftp', server 'mir1.archlinuxfr.org', path '/archlinux/community/os/x86_64'
debug: adding new server to database 'community': protocol 'ftp', server 'mir2.archlinuxfr.org', path '/archlinux/community/os/x86_64'
debug: adding new server to database 'community': protocol 'ftp', server 'distrib-coffee.ipsl.jussieu.fr', path '/pub/linux/archlinux/community/os/x86_64'
debug: adding new server to database 'community': protocol 'ftp', server 'ftp.tu-chemnitz.de', path '/pub/linux/sunsite.unc-mirror/distributions/archlinux/community/os/x86_64'
debug: adding new server to database 'community': protocol 'ftp', server 'ftp.hosteurope.de', path '/mirror/ftp.archlinux.org/community/os/x86_64'
debug: adding new server to database 'community': protocol 'ftp', server 'ftp.archlinuxppc.org', path '/i686/community/os/x86_64'
debug: adding new server to database 'community': protocol 'http', server 'ftp.parrswood.manchester.sch.uk', path '/Mirrors/ftp.archlinux.org/community/os/x86_64'
debug: adding new server to database 'community': protocol 'ftp', server 'ftp.ntua.gr', path '/pub/linux/archlinux/community/os/x86_64'
debug: adding new server to database 'community': protocol 'ftp', server 'ftp.heanet.ie', path '/mirrors/ftp.archlinux.org/community/os/x86_64'
debug: adding new server to database 'community': protocol 'ftp', server 'mi.mirror.garr.it', path '/mirrors/archlinux/community/os/x86_64'
debug: adding new server to database 'community': protocol 'ftp', server 'saule.mintis.lt', path '/pub/linux/community/os/x86_64'
debug: adding new server to database 'community': protocol 'ftp', server 'ftp.nluug.nl', path '/pub/metalab/distributions/archlinux/community/os/x86_64'
debug: adding new server to database 'community': protocol 'ftp', server 'ftp.surfnet.nl', path '/pub/os/Linux/distr/archlinux/community/os/x86_64'
debug: adding new server to database 'community': protocol 'ftp', server 'mirror.djzradio.net', path '/archlinux/community/os/x86_64'
debug: adding new server to database 'community': protocol 'ftp', server 'sunsite.icm.edu.pl', path '/site/linux-sunsite/distributions/archlinux/community/os/x86_64'
debug: adding new server to database 'community': protocol 'ftp', server 'mirror.icis.pcz.pl', path '/archlinux/community/os/x86_64'
debug: adding new server to database 'community': protocol 'ftp', server 'gul.est.ips.pt', path '/repos/archlinux/community/os/x86_64'
debug: adding new server to database 'community': protocol 'ftp', server 'cesium.di.uminho.pt', path '/pub/archlinux/community/os/x86_64'
debug: adding new server to database 'community': protocol 'ftp', server 'darkstar.ist.utl.pt', path '/pub/archlinux/community/os/x86_64'
debug: adding new server to database 'community': protocol 'ftp', server 'ftp.iasi.roedu.net', path '/mirrors/archlinux.org/community/os/x86_64'
debug: adding new server to database 'community': protocol 'http', server 'archlinux.freeside.ru', path '/community/os/x86_64'
debug: adding new server to database 'community': protocol 'ftp', server 'mirror.yandex.ru', path '/archlinux/community/os/x86_64'
debug: adding new server to database 'community': protocol 'ftp', server 'ftp.ds.hj.se', path '/pub/os/linux/archlinux/community/os/x86_64'
debug: adding new server to database 'community': protocol 'ftp', server 'ftp.gigabit.nu', path '/community/os/x86_64'
debug: adding new server to database 'community': protocol 'ftp', server 'archlinux.puzzle.ch', path '/community/os/x86_64'
debug: adding new server to database 'community': protocol 'ftp', server 'ftp.linux.org.tr', path '/pub/archlinux/community/os/x86_64'
debug: adding new server to database 'community': protocol 'ftp', server 'ftp.linux.kiev.ua', path '/pub/Linux/ArchLinux/community/os/x86_64'
debug: adding new server to database 'community': protocol 'ftp', server 'hell.org.ua', path '/archlinux/community/os/x86_64'
debug: adding new server to database 'community': protocol 'http', server 'mirror.isoc.org.il', path '/pub/archlinux/community/os/x86_64'
debug: adding new server to database 'community': protocol 'ftp', server 'mirror.pacific.net.au', path '/linux/archlinux/community/os/x86_64'
debug: registering database 'local'
debug: opening database 'local'
debug: opening database from path '/var/lib/pacman/local/'
debug: loading package cache for repository 'core'
debug: loading package cache for repository 'extra'
debug: loading package cache for repository 'local'
debug: package 'libx86' not found in sync
debug: adding target 'libx86' to the transaction set
resolving dependencies... 
debug: resolving target's dependencies
debug: started resolving dependencies

Offline

#4 2007-10-16 17:30:30

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: Pacman -S hangs when resolving dependencies.

Is the disk busy or totally idle when this happens? Same question for the CPU.

And that's using pacman 3.0.6 on i686?


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#5 2007-10-16 17:50:32

tizoc
Member
Registered: 2006-07-28
Posts: 57

Re: Pacman -S hangs when resolving dependencies.

% pacman --version

 .--.                  Pacman v3.0.6 - libalpm v1.0.0
/ _.-' .-.  .-.  .-.   Copyright (C) 2002-2007 Judd Vinet <jvinet@zeroflux.org>
\  '-. '-'  '-'  '-'
 '--'                  
                       This program may be freely redistributed under
                       the terms of the GNU General Public License

% uname -a
Linux macbook 2.6.22-ARCH #1 SMP PREEMPT Wed Sep 26 21:45:47 CEST 2007 x86_64 Intel(R) Core(TM)2 CPU         T7400  @ 2.16GHz GenuineIntel GNU/Linux

The cpu is at 100% (most of it being sys time)
Also, I'm running Arch64

About the disk usage, I'm not sure, this is a laptop, so it isn't as easy as looking at the hdd led, is there some command I can use for that??

Offline

#6 2007-10-16 18:44:58

reverie
Member
From: Denmark
Registered: 2006-03-02
Posts: 59
Website

Re: Pacman -S hangs when resolving dependencies.

That always happens to me if there's a dead mount point lurking around on my system, easiest way to test is just to... reboot (just typing df would also hang). I find it slight amusing that even after all these years, ejecting a floppy too fast could bring the almighty kernel to a halt. Oh well.

Offline

#7 2007-10-16 18:47:54

tizoc
Member
Registered: 2006-07-28
Posts: 57

Re: Pacman -S hangs when resolving dependencies.

Well, I already rebooted twice before, but that hasn't fixed the problem, also, I don't have anything mounted other than hard disk partitions, procfs, etc

% mount
/dev/sda3 on / type ext3 (rw,commit=0)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev type ramfs (rw)
none on /proc/bus/usb type usbfs (rw)
none on /dev/pts type devpts (rw)
none on /dev/shm type tmpfs (rw)
/dev/sda2 on /mnt/osx type hfsplus (rw)

Offline

#8 2007-10-16 20:14:48

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: Pacman -S hangs when resolving dependencies.

It's hard to tell what's wrong, so here are a few ways to get more informations :

* upload your /var/lib/pacman (eg in tar.gz) somewhere, as well as your pacman.conf , so that others can try reproducing the bug
* try compiling pacman with --enable-debug , then run it inside gdb
* try with pacman 3.1 : http://www.archlinux.org/pipermail/pacm … 09153.html


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#9 2007-10-16 20:40:52

tizoc
Member
Registered: 2006-07-28
Posts: 57

Re: Pacman -S hangs when resolving dependencies.

Thank you shining, by looking at /var/lib/pacman I found my problem

% du -h --max-depth=/var/lib/pacman
1.9M    /var/lib/pacman/core
27M     /var/lib/pacman/extra
1.9M    /var/lib/pacman/current
20M     /var/lib/pacman/community
415G    /var/lib/pacman/local
415G    /var/lib/pacman
% du -h --max-depth=1 /var/lib/pacman/local
...
415G    /var/lib/pacman/local/bigreqsproto-1.0.2-1
...
415G    /var/lib/pacman/local

So I removed that directory and now pacman is working again smile

I don't know what caused this, but 'depends' in that directory seems to big...

% ll -h /tmp/bigreqsproto-1.0.2-1
total 415G
-r-------- 16109 root 49168 993M 1952-06-28 01:08 depends
-rw-r--r--     1 root root   282 2007-08-09 18:22 desc
-rw-r--r--     1 root root   173 2007-08-09 18:22 files

Offline

#10 2007-10-16 20:58:41

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: Pacman -S hangs when resolving dependencies.

Hm - do you still have that directory?  What's in the depends file (it should just be plaintext)?

Offline

#11 2007-10-16 21:05:21

tizoc
Member
Registered: 2006-07-28
Posts: 57

Re: Pacman -S hangs when resolving dependencies.

I still have that file, it seems like my filesystem is corrupted because I can't delete it even if I want, I'm going home now, but I will check the contents and tell you what I find.

Offline

#12 2007-10-16 22:33:22

tizoc
Member
Registered: 2006-07-28
Posts: 57

Re: Pacman -S hangs when resolving dependencies.

Well, I can't read the file, I get an I/O error, I'm going to fsck my partition now;

Offline

Board footer

Powered by FluxBB