[Mageia-dev] ANNOUNCE: The /usr move cometh! <---- Instructions
Shlomi Fish
shlomif at shlomifish.org
Mon Jul 23 10:25:28 CEST 2012
Hi Colin,
On Sun, 22 Jul 2012 18:18:34 +0100
Colin Guthrie <mageia at colin.guthr.ie> wrote:
>> OK, I did all that and now I am getting:
> >>
> >> [QUOTE]
> >> installing findutils-4.5.10-2.mga3.x86_64.rpm lib64plymouth2-0.8.6.1-2.mga3.x86_64.rpm filesystem-2.1.9-18.mga3.x86_64.rpm lib64ncursesw-devel-5.9-7.mga3.x86_64.rpm plymouth-plugin-script-0.8.6.1-2.mga3.x86_64.rpm lib64ncurses5-5.9-7.mga3.x86_64.rpm ncurses-5.9-7.mga3.x86_64.rpm plymouth-plugin-label-0.8.6.1-2.mga3.x86_64.rpm lib64dbjava5.1-5.1.29-4.mga3.x86_64.rpm lib64ncursesw5-5.9-7.mga3.x86_64.rpm lib64ncurses-devel-5.9-7.mga3.x86_64.rpm from /var/cache/urpmi/rpms
> >> Preparing... #############################################
> >> 1/69: filesystem #############################################
> >> error: unpacking of archive failed on file /var/lock: cpio: rename failed - Is a directory
> >> error: filesystem-2.1.9-18.mga3.x86_64: install failed
> >> 2/69: ncurses #############################################
> >> 3/69: lib64ncurses5 #############################################
> >> 4/69: lib64plymouth2 #############################################
> >> 5/69: plymouth-plugin-label #############################################
> >> 6/69: lib64ncursesw5 #############################################
> >> 7/69: lib64ncursesw-devel #############################################
> >> 8/69: plymouth-plugin-script
> >> #############################################
> >> 9/69: lib64ncurses-devel #############################################
> >> 10/69: findutils #############################################
> >> 11/69: lib64dbjava5.1 #############################################
> >> [/QUOTE]
> >>
> >> And the rest of the packages refuse to install.
> >
> > OK, I figured out. After I ran as root:
> >
> > # cd /var
> > # mv lock lock.ol
> > # mv run run.old
> >
> > It was fixed and I was able to install the "filesystem" package and the rest
> > of the packages. However, something like that should not happen.
>
>
> Well, this should have been done for you. Did you already have
> run.runmove~ and lock.lockmove~ folders in /var?
>
I don't believe I had those.
> If so then I suspect something is killing the symlinks.
>
> I did have this problem initially too because the
> mandriva-clean-var-run-lock.service file would actually delete the
> symlinks and then some other system (perhaps systemd-tmpfiles) actually
> recreated the /var/run and /var/lock folders.
>
> In the latest version of the dracut script I ensured that I disabled
> that script by deleting the service file.
>
> Can you double check that rebooting again doesn't "reconvert" the links
> back to dirs for /var/run and /var/lock because if so, then there could
> be some other "cleaning" config somewhere that I've missed.
>
After a reboot /var looks like this:
[QUOTE]
shlomif at telaviv1:~$ ls -l /var
total 92
drwxr-xr-x 2 root root 4096 Jun 27 13:13 agentx
drwxr-xr-x 11 root root 4096 Jul 21 21:22 cache
drwxr-xr-x 3 root root 4096 Jul 21 21:22 db
drwxr-xr-x 2 root root 4096 Jul 21 21:22 empty
drwxr-xr-x 5 root root 4096 Jun 28 05:07 games
drwxr-xr-x 56 root root 4096 Jul 21 21:22 lib
drwxr-xr-x 2 root root 4096 Jul 21 21:22 local
lrwxrwxrwx 1 root root 11 Jul 22 19:41 lock;500c2d1c -> ../run/lock
lrwxrwxrwx 1 root root 11 Jul 22 19:41 lock;500c2d38 -> ../run/lock
lrwxrwxrwx 1 root root 11 Jul 22 19:46 lock;500c2e50 -> ../run/lock
drwxrwxr-x 4 root uucp 4096 Jul 16 04:02 lock.old
drwxr-xr-x 16 root root 4096 Jul 22 20:18 log
drwx------ 2 root root 16384 Sep 12 2011 lost+found
lrwxrwxrwx 1 root root 10 Jul 22 19:48 mail -> spool/mail
drwxr-xr-x 2 root root 4096 Jul 21 21:22 nis
drwxr-xr-x 2 root root 4096 Jul 22 20:16 nmbd
drwxr-xr-x 2 root root 4096 Jul 21 21:22 opt
drwxr-xr-x 2 root root 4096 Jul 21 21:22 preserve
drwxr-xr-x 11 root root 4096 Jul 23 11:01 run
lrwxrwxrwx 1 root root 6 Jul 22 19:47 run;500c2e9e -> ../run
drwxr-xr-x 26 root root 4096 Jul 22 19:38 run.old
drwxr-xr-x 11 root root 4096 Jul 21 21:22 spool
drwxrwxrwt 4 root root 4096 Jul 22 22:49 tmp
drwxr-xr-x 4 root root 4096 Jul 17 14:47 www
drwxr-xr-x 2 root root 4096 Jul 21 21:22 yp
[/QUOTE]
BTW, I should note that right now after a few reboots, I am getting these
symtoms:
1. I cannot run pm-suspend as user "shlomif", only as root.
2. On X, I am getting a frequent and random "The password you entered is
incorrect [CLOSE]" dialogues which I have to click through.
3. Running startx as user "shlomif" gives me:
<<<
xauth: file /home/shlomif/.serverauth.2718 does not exist
Authentication failed - cannot start X server.
Perhaps you do not have console ownership?
>>>
How can I fix these issues?
Regards,
Shlomi Fish
--
-----------------------------------------------------------------
Shlomi Fish http://www.shlomifish.org/
Apple Inc. is Evil - http://www.shlomifish.org/open-source/anti/apple/
95% of Programmers consider 95% of the code they did not write, in the bottom
5%.
Please reply to list if it's a mailing list post - http://shlom.in/reply .
More information about the Mageia-dev
mailing list