You are not logged in.

#1 2012-08-09 09:44:51

phunni
Member
From: Bristol, UK
Registered: 2003-08-13
Posts: 794

Pacman hanging on "checking for file conflicts"

I've tried running pacman -Syu on my laptop and pacman is simply hanging at the checking for file conflicts stage.  I've let it sit for several minutes, but it never seems to get past that stage.  The list of packages to be updated isn't long:

Targets (5): bison-2.6.2-1  chromium-21.0.1180.75-1  flex-2.5.37-1  libldap-2.4.32-1  lm_sensors-3.3.2-4

This is being done on a laptop that was only recently rebuilt with a new Arch install using the latest installation media.  The install went well and previous updates have worked with no problems.

Offline

#2 2012-08-09 09:56:29

Terminator
Member
From: Belgium
Registered: 2012-05-07
Posts: 265

Re: Pacman hanging on "checking for file conflicts"

clear your cache 'pacman -Scc'

Offline

#3 2012-08-09 10:06:41

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Pacman hanging on "checking for file conflicts"

Run pacman with the --debug option.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2012-08-09 12:58:36

phunni
Member
From: Bristol, UK
Registered: 2003-08-13
Posts: 794

Re: Pacman hanging on "checking for file conflicts"

Terminator wrote:

clear your cache 'pacman -Scc'

That seemed to fix it.  I'm just very surprised that the cache need clearing already - as I say, this install is only a few days old...

Offline

#5 2012-08-12 02:24:12

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,173

Re: Pacman hanging on "checking for file conflicts"

I'm glad you solved the problem but "pacman -Scc" shouldn't be necessary and makes it more difficult to recover in a variety of situations. You can always re-download old packages but having them in your cache makes it easy to roll something back and makes it possible to do this without, for example, a working network connection. I installed in November and I've never even run "pacman -Sc" let alone "pacman -Scc". (Though I have trimmed the cache to free up disk space using, I think, paccache.)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

Board footer

Powered by FluxBB