[arch-announce] Binaries move to /usr/bin requiring update intervention
Arch Linux: Recent news updates: Allan McRae
announce at archlinux.org
Mon Jun 3 08:01:02 EDT 2013
Allan McRae wrote:
During your next update, you will get a error message like:
error: failed to commit transaction (conflicting files)
filesystem: /bin exists in filesystem
The update merges all binaries into a unified /usr/bin directory. This step
removes a distinction that has been meaningless for Arch systems and simplifies
package maintenance for the development team. See [this post][1] for more
explanation of the reasoning behind this change.
The following instructions will ensure a safe update:
1) Fix any non-official packages with files in /bin, /sbin or /usr/sbin to put
those files in /usr/bin. The list of packages that are not in a repo that need
to be fixed can be generated using:
$ pacman -Qqo /bin /sbin /usr/sbin | pacman -Qm -
Also check packages installed from non-official repos using:
$ paclist <repo> | awk ' { print $1 } ' | pacman -Ql - | grep ' /s\?bin/\|
/usr/sbin/'
2) Make sure any packages in IgnorePkg or IgnoreGroup do not have files in /bin,
/sbin, or /usr/sbin. Fix them if necessary.
3) If you have files in /bin, /sbin or /usr/sbin that are unowned by any
package, you need to move them. Find a list using:
$ find /bin /sbin /usr/sbin -exec pacman -Qo -- {} + >/dev/null
4) Ensure all partitions are mounted if using autofs. They may not automount
when needed later in this update.
5) Update your system.
Before performing this update, you may want to ensure you have a second terminal
open with root privileges in the unlikely event of an emergency, particularly if
updating over ssh.
# pacman -Syu --ignore filesystem,bash
# pacman -S bash
# pacman -Su
[1]: https://mailman.archlinux.org/pipermail/arch-dev-
public/2012-March/022625.html
URL: https://www.archlinux.org/news/binaries-move-to-usrbin-requiring-update-intervention/
More information about the arch-announce
mailing list