You are not logged in.

#1 2012-10-30 13:29:49

KenJackson
Member
From: Maryland, USA
Registered: 2011-05-31
Posts: 18

[solved] "pacman -Syu" hangs after "checking for file conflicts"

This is my third attempt.  I let it run yesterday for 20 hours on the theory that maybe it was actually doing something.  It always completes "checking for file conflicts" but never goes any further.

Does anyone have any suggestions how to get it to continue?

[ken@xxxxx ~]$ sudo pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra                   1421.6 KiB  2.03M/s 00:01 [######################] 100%
 community               1775.0 KiB  3.00M/s 00:01 [######################] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...

Targets (27): binutils-2.23-1  coreutils-8.20-1  cryptsetup-1.5.1-1
              device-mapper-2.02.98-1  emacs-24.2-2  filesystem-2012.10-2
              firefox-16.0.2-1  gcc-4.7.2-2  gcc-libs-4.7.2-2  glibc-2.16.0-5
              hwids-20121022-1  imagemagick-6.8.0.3-1  libidn-1.25-1
              libwbclient-3.6.9-1  linux-api-headers-3.6.3-1  lvm2-2.02.98-1
              mkinitcpio-0.11.0-1  nspr-4.9.3-1  nss-3.14-1
              nss-myhostname-0.3-3  smbclient-3.6.9-1  systemd-195-2
              thunderbird-16.0.2-1  tzdata-2012h-1  util-linux-2.22.1-2
              wget-1.14-2  xulrunner-16.0.2-1

Total Download Size:    47.80 MiB
Total Installed Size:   550.57 MiB
Net Upgrade Size:       6.43 MiB

Proceed with installation? [Y/n] y
:: Retrieving packages from extra...
 libwbclient-3.6.9-1...    19.5 KiB   407K/s 00:00 [######################] 100%
 smbclient-3.6.9-1-x...     7.9 MiB  2.71M/s 00:03 [######################] 100%
 thunderbird-16.0.2-...    17.1 MiB  2.92M/s 00:06 [######################] 100%
 xulrunner-16.0.2-1-...    22.9 MiB  2.92M/s 00:08 [######################] 100%
(27/27) checking package integrity                 [######################] 100%
(27/27) loading package files                      [######################] 100%
(27/27) checking for file conflicts                [######################] 100%

Last edited by KenJackson (2012-10-30 14:25:05)

Offline

#2 2012-10-30 13:36:32

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: [solved] "pacman -Syu" hangs after "checking for file conflicts"

Can you run with --debug?

Offline

#3 2012-10-30 13:57:42

KenJackson
Member
From: Maryland, USA
Registered: 2011-05-31
Posts: 18

Re: [solved] "pacman -Syu" hangs after "checking for file conflicts"

Allan wrote:

Can you run with --debug?

OK.  That garnered an additional piece of info.  Here's the end of the long output:

...
debug: searching for filesystem conflicts: wget
debug: searching for file conflicts: xulrunner
debug: searching for filesystem conflicts: xulrunner
checking available disk space...
debug: checking available disk space

Disk space?  I think I have enough disk space.

[ken@xxxxx ~]$ df
Filesystem      Size  Used Avail Use% Mounted on
rootfs           47G   11G   34G  25% /
dev             2.0G     0  2.0G   0% /dev
run             2.0G  292K  2.0G   1% /run
/dev/sda3        47G   11G   34G  25% /
shm             2.0G  140K  2.0G   1% /dev/shm
/dev/sda1        99M   21M   74M  22% /boot
/dev/sda4        72G  1.9G   66G   3% /home

Is disk space really the problem?  Or is that just where it hung?

Offline

#4 2012-10-30 13:59:13

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: [solved] "pacman -Syu" hangs after "checking for file conflicts"

Do you have any systemd automounts or stuff like that waiting for a timeout?

Offline

#5 2012-10-30 14:12:30

KenJackson
Member
From: Maryland, USA
Registered: 2011-05-31
Posts: 18

Re: [solved] "pacman -Syu" hangs after "checking for file conflicts"

Ramses de Norre wrote:

Do you have any systemd automounts or stuff like that waiting for a timeout?

"mount" reports two nfs mounts are mounted to hosts that are currently offline, and have been since I reboot this machine.  Both mounts have the "noauto" option in /etc/fstab, so I don't understand why they're mounted.

The command "umount -f ..." also hangs.

I'm going to try a Windows technique--reboot--to get them unmounted.

Offline

#6 2012-10-30 14:23:53

KenJackson
Member
From: Maryland, USA
Registered: 2011-05-31
Posts: 18

Re: [solved] "pacman -Syu" hangs after "checking for file conflicts"

Ah!  After reboot, the upgrade completed.
Apparently the nfs mounts were the problem.
Thank you.

Offline

#7 2012-10-30 16:15:05

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: [solved] "pacman -Syu" hangs after "checking for file conflicts"

KenJackson wrote:

Ah!  After reboot, the upgrade completed.
Apparently the nfs mounts were the problem.
Thank you.

Pacman's checksize chokes on unresponsive network mounts, even if they are in locations were pacman should never install anything.
I've disabled the checksize functionality temporarily because of this, it should be fixed in the next release.

Offline

#8 2012-10-30 22:11:28

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: [solved] "pacman -Syu" hangs after "checking for file conflicts"

I believe this has been fixed in git, so will not be an issue with pacman-4.1.

Offline

Board footer

Powered by FluxBB