You are not logged in.

#1 2012-06-04 17:22:16

erville
Member
From: Philippines
Registered: 2011-04-12
Posts: 15

[SOLVED] Cannot upgrade "filesystem" package due to file conflicts

When I try to upgrade "filesystem" I get the following error:

erwin@villejo ~ % sudo pacman -S filesystem
Password: 
resolving dependencies...
looking for inter-conflicts...

Targets (1): filesystem-2012.6-1

Total Installed Size:   0.30 MiB
Net Upgrade Size:       0.23 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: /var/lock exists in filesystem
filesystem: /var/run exists in filesystem
Errors occurred, no packages were upgraded.

I searched the forums and found out that /var/lock and /var/run are symlinked to /run/lock and /run respectively:

erwin@villejo ~ % ls -ln /var/{lock,run}
lrwxrwxrwx 1 0 9 Apr  1 18:20 /var/lock -> /run/lock/
lrwxrwxrwx 1 0 4 Apr  1 18:20 /var/run -> /run/

Could these symlinks to /run and /run/lock be the problem? I checked my /etc/fstab and /etc/mtab and both files aren't there so I assume that they're not mounted as tmpfs. Also, I do not have a separate var partition.

How do I get around this? Is it safe to delete the symlinks? Or should I force install "filesystem"?

Last edited by erville (2012-06-04 17:52:04)

Offline

#2 2012-06-04 17:28:24

2ManyDogs
Member
Registered: 2012-01-15
Posts: 1,635

Re: [SOLVED] Cannot upgrade "filesystem" package due to file conflicts

When was the last time you did a full update (pacman -Syu)?

Offline

#3 2012-06-04 17:30:30

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 1,119

Re: [SOLVED] Cannot upgrade "filesystem" package due to file conflicts

If you use the [testing] repo you should subscribe to the arch-dev-public mailing list

http://www.mail-archive.com/arch-dev-pu … 19425.html

Online

#4 2012-06-04 17:32:02

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: [SOLVED] Cannot upgrade "filesystem" package due to file conflicts

arojas wrote:

If you use the [testing] repo you should subscribe to the arch-dev-public mailing list

And post in the [testing subforum!


ᶘ ᵒᴥᵒᶅ

Offline

#5 2012-06-04 17:49:18

FrankCastle
Member
Registered: 2012-04-20
Posts: 5

Re: [SOLVED] Cannot upgrade "filesystem" package due to file conflicts

try pacman -Sf filesystem

Offline

#6 2012-06-04 17:52:16

erville
Member
From: Philippines
Registered: 2011-04-12
Posts: 15

Re: [SOLVED] Cannot upgrade "filesystem" package due to file conflicts

Marked as solved. That was embarrassing, solution was in arch-dev-public mailing list all along. Thanks arojas. In my defense, I did subscribe to the said mailing list but on a separate email address, which I later on deleted. My bad. Lesson learned.

Anyway, thanks for the quick response!

Offline

#7 2012-06-04 18:16:49

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 12,421

Re: [SOLVED] Cannot upgrade "filesystem" package due to file conflicts

... And, I am moving this over to the testing forum...


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Like you, I have no idea what you are doing, but I am pretty sure it is wrong...Jasonwryan
----
How to Ask Questions the Smart Way

Offline

#8 2012-06-15 08:11:12

attila123
Member
Registered: 2012-04-20
Posts: 4

Re: [SOLVED] Cannot upgrade "filesystem" package due to file conflicts

As this is the first google hit for the error message, let me post another thread which has more info than this:
http://bbs.archbang.org/viewtopic.php?id=2909

Offline

#9 2012-06-15 16:58:33

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,059

Re: [SOLVED] Cannot upgrade "filesystem" package due to file conflicts

Wouldn't it make more sense to just go to the main page of archlinux ? roll


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

Board footer

Powered by FluxBB