Pacman "filesystem: /etc/mtab exists in filesystem" » 荒野无灯weblog

Keep It Simple, Stupid.

荒野无灯weblog

Pacman "filesystem: /etc/mtab exists in filesystem"

好久没升级了,今天升级时遇到这个错误:

error: failed to commit transaction (conflicting files)
filesystem: /etc/mtab exists in filesystem
Errors occurred, no packages were upgraded.


在官方论坛找到了解决办法:

When upgrading to filesystem-2011.12 there will be a conflict with /etc/mtab.
Install the package as follows:
pacman -S filesystem –force
It is strongly advised to avoid the –force or -f switch as it is not safe. However, in this particular case it is needed as deleting /etc/mtab manually would break pacman.
The reason for the conflict is that the file used to be generated at boot and hence not owned by any package. Now it is a symlink to /proc/self/mounts owned by filesystem. This change means that initscripts no longer requires write access to the rootfs (though other packages might).

@SEE https://bbs.archlinux.org/viewtopic.php?id=132225

Tagged in :

All Comments (0)
Gravatar image
No Comments