You are not logged in.
Pages: 1
So, as stated here:
http://www.archlinux.org/news/filesyste … equired-1/
should we perform "# pacman -Syu --ignore filesystem && pacman -S filesystem --force" EVERY time we update our sistem, until next version of filesistem?
Last edited by Daerun (2012-06-22 21:55:56)
Offline
Just update normally and read the news.
Offline
Offline
If you used an up to date mirror you would only have to do it once, I had the package come through to my system about 10 minutes after it got listed on the site.
If you do that command every time you will just constantly be forcing a re-install of the filesystem package.
Offline
I am asking because I performed the "--ignore filesystem etc" thing a couple of days ago (already had the /var/lock and /var/run symlinks), but this morning when I pacman -Syu, filesystem-2012.6-2 appeared again to be updated, and that confuses me a bit. As I understand it, now I have to normally update it?
Offline
Yes it was only this time. You can't have that much fun everytime you update ![]()
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Hi. I hope my question isn't too dumb, but here it is:
I updated according to the newspost, and when I update normally again, the package shows up again.
My problem is, the update does finish with
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.What did I do wrong?
Offline
Did you follow the instructions for upgrading the filesystem? What do you have now at /var/run and /var/lock?
Last edited by 2ManyDogs (2012-06-14 12:55:25)
Offline
I followed the instructions step by step. Before upgrading they were already symlinks.
running "ls -la" printed this:
lrwxrwxrwx 1 root root 9 Apr 6 22:08 lock -> /run/lock
lrwxrwxrwx 1 root root 4 Apr 6 22:08 run -> /runwhich is what they are now, too, btw.
the command i ran is
pacman -Syu --ignore filesystem && pacman -S filesystem --forcethen I restarted and then i tried to run an udpate with "pacman -Syyu"
Edit:
Sorry, didn't quite catch your meaning there...
Contents of /var/run
benjamin run $ ls -la
total 36
drwxr-xr-x 17 root root 520 Jun 14 14:51 .
drwxr-xr-x 21 root root 4096 May 5 22:53 ..
drwxr-xr-x 2 root root 60 Jun 14 14:33 console
drwxr-xr-x 2 root root 80 Jun 14 14:33 ConsoleKit
-rw-r--r-- 1 root root 4 Jun 14 14:32 crond.pid
---------- 1 root root 0 Jun 14 14:32 cron.reboot
drwxr-xr-x 2 root root 120 Jun 14 14:32 daemons
drwxr-xr-x 2 dbus dbus 60 Jun 14 14:32 dbus
-rw-r--r-- 1 root root 4 Jun 14 14:32 dbus.pid
-rw-r--r-- 1 root root 4 Jun 14 14:32 dhcpcd-eth0.pid
drwx--x--x 4 root gdm 80 Jun 14 14:33 gdm
-rw-r--r-- 1 root root 4 Jun 14 14:32 gdm.pid
drwxr-xr-x 2 root root 60 Jun 14 14:32 initramfs
drwxr-xr-x 2 root root 40 Jun 14 14:32 lock
drwxr-xr-x 2 root root 60 Jun 14 14:32 mount
drwxr-xr-x 2 root root 40 Jun 14 14:32 NetworkManager
-rw-r--r-- 1 root root 3 Jun 14 14:32 NetworkManager.pid
drwxr-xr-x 4 root root 80 Jun 14 14:33 pm-utils
srwxr-xr-x 1 root root 0 Jun 14 14:32 syslog-ng.ctl
-rw-r--r-- 1 root root 4 Jun 14 14:32 syslog-ng.pid
drwxr-xr-x 7 root root 140 Jun 14 14:32 systemd
drwxr-xr-x 6 root root 160 Jun 14 14:36 udev
drwx------ 2 root root 40 Jun 14 14:33 udisks
drwx------ 2 root root 40 Jun 14 14:51 udisks2
drwxr-xr-x 2 root root 40 Jun 14 14:32 user
-rw-rw-r-- 1 root utmp 4992 Jun 14 14:34 utmp/var/lock is empty
Last edited by benjamin.w (2012-06-14 13:13:29)
Offline
Alright, I am unmarking this as not solved again because I have found the same problem as benjamin, with exactly the same messages and the same content in /var/run (being it a symlink and not a folder)
Offline
I have exactly the same problem. I followed the upgrade steps in [http://www.archlinux.org/news/filesyste … equired-1/] and after two attempted updates (pacman -Syu), I get the message:
filesystem: /var/lock exists in filesystem
filesystem: /var/run exists in filesystem The output of ls -al from in /var is:
[alan@brittany9 var]$ ls -al
total 52
drwxr-xr-x 13 root root 4096 Jun 7 17:53 .
drwxr-xr-x 21 root root 4096 Jun 7 17:53 ..
drwxr-xr-x 7 root root 4096 Dec 3 2011 cache
drwxr-xr-x 3 root root 4096 Apr 4 19:34 db
drwxr-xr-x 2 root root 4096 Feb 20 21:24 empty
drwxrwxr-x 2 root games 4096 May 2 12:49 games
drwxr-xr-x 25 root root 4096 Jun 7 17:52 lib
drwxr-xr-x 2 root root 4096 May 2 12:49 local
lrwxrwxrwx 1 root root 9 Dec 29 09:39 lock -> /run/lock
drwxr-xr-x 5 root root 4096 Jun 24 17:21 log
lrwxrwxrwx 1 root root 10 May 2 12:49 mail -> spool/mail
drwx------ 3 root root 4096 Mar 10 11:12 net-snmp
drwxr-xr-x 2 root root 4096 May 2 12:49 opt
lrwxrwxrwx 1 root root 4 Dec 29 09:39 run -> /run
drwxr-xr-x 7 root root 4096 Jun 7 17:53 spool
drwxrwxrwt 8 root root 4096 Jun 24 19:56 tmp.
Regards,
Algenon.
Offline
I have the same problem as benjamin.w, Daerun and algenon. /var/run and /var/lock were symlinked so I ran the first command:
pacman -Syu --ignore filesystem && pacman -S filesystem --forceafter all the packages are upgraded it outputs:
error: you cannot perform this operation unless you are root.Subsequent attempts to upgrade produce:
pacman -Syuerror: failed to commit transaction (conflicting files)
filesystem: /var/lock exists in filesystem
filesystem: /var/run exists in filesystem
Errors occurred, no packages were upgraded.Offline
Yes you should be doing that as root!
Mike C
Offline
All pacman operations were done as root, packages were upgraded as stated. I don't know what the error message is referring to.
Offline
Apologies, except for the one after the && operator. I don't know how I missed that.
Offline
I have just repeated
pacman -Syu --ignore filesystem && pacman -S filesystem --force as root and the upgrade was ok. The first time I did it as sudo and that could have been the cause of my problem.
Thanks for your help.
Algenon.
Offline
Also getting
filesystem: /var/lock exists in filesystem
filesystem: /var/run exists in filesystem after doing --force filesystem on previous upgrade. Will this go away eventually?
EDIT: Sorry, noticed the missing sudo after &&. Everything seems to be ok now.
Last edited by aash29 (2012-07-05 07:23:34)
Offline
Weird. I really thought that I had the same problem that was being described here. However, I've _never_ used sudo on this machine, and the problem persists.
Edit:
In fact, this problem was complicated by the similar glibc issue. I had to:
pacman -Syu --ignore filesystem,glibc && pacman -S filesystem --force
pacman -SuAll as root :)
Last edited by Convergence (2012-07-18 04:16:45)
It's a very deadly weapon to know what you're doing
--- William Murderface
Offline
I have to upgrade the filesystem package too, should I copy /var/run and /var/lock content in /run and /run/lock directories before running pacman with the --force flag? That command will erase my directories content.....
Offline
Pages: 1