Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

When trying to update an Arch install I get this error message stating that there is a file conflict. After having a full system update fail, I started to go package by package as shown below. Some updates such as coreutils take while others do not.

#pacman -S filesystem

resolving dependencies...
looking for inter-conflicts...

Targets (1): filesystem-2012.10-1

Total Installed Size:   0.31 MiB
Net Upgrade Size:       0.01 MiB

Proceed with installation? [Y/n] 
(1/1) checking package integrity                      [############################] 100%
(1/1) loading package files                           [############################] 100%
(1/1) checking for file conflicts                     [############################] 100%
error: failed to commit transaction (conflicting files)
filesystem: /etc/profile.d/locale.sh exists in filesystem
filesystem: /usr/share/man/man7/archlinux.7.gz exists in filesystem
Errors occurred, no packages were upgraded.

I've tried # pacman -Scc with no real results. Anyone have suggestions on how to recover from this? I'm running Arch Arm Linux 3.1.10-13-ARCH armv5tel.

Update: ignoring

I can get most of my system upgraded by ignoring gcc, but this is obviously not a full solution.

pacman -Syu --ignore glibc

Update 2: Four packages remain

Now the only packages that can't install are

  • glibc-2.16.0-4
  • kmod-10-2
  • vim-7.3.712-1
  • vim-runtime-7.3.712-1

Update 3: --force

Well the force option didn't seem to take

# pacman -Syuf
:: Synchronizing package databases...
...
looking for inter-conflicts...

Targets (4): glibc-2.16.0-4  kmod-10-2  vim-7.3.712-1  vim-runtime-7.3.712-1

Total Installed Size:   61.64 MiB
Net Upgrade Size:       0.09 MiB

Proceed with installation? [Y/n] 
(4/4) checking package integrity                           [################################] 100%
(4/4) loading package files                                [################################] 100%
(4/4) checking available disk space                        [################################] 100%
(1/4) upgrading glibc                                      [################################] 100%
error: extract: not overwriting dir with file lib
error: problem occurred while upgrading glibc
call to execv failed (No such file or directory)
error: command failed to execute correctly
error: could not commit transaction
error: failed to commit transaction (transaction aborted)
Errors occurred, no packages were upgraded.
share|improve this question

closed as off-topic by Michael Hampton Oct 8 '13 at 20:59

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions must be relevant to professional system administration. Server Fault is a site dedicated to professionals; novice questions are off-topic. Please see the Help Center for more information on topicality. The best advice we can give you is to hire a professional to help you out." – Michael Hampton
If this question can be reworded to fit the rules in the help center, please edit the question.

add comment

1 Answer

add -–force I think that should do it. You can also try this

 pacman -Syuf
share|improve this answer
    
Well, I tried this and sadly no luck. See UPDATE #3. Thanks anyway. –  Richard Oct 24 '12 at 14:51
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.