Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#27640 - [devtools] cannot update chroots because of /etc/mtab
Attached to Project:
Arch Linux
Opened by Andrea Scarpino (BaSh) - Tuesday, 20 December 2011, 11:34 GMT
Last edited by Ionut Biru (wonder) - Saturday, 04 February 2012, 12:33 GMT
Opened by Andrea Scarpino (BaSh) - Tuesday, 20 December 2011, 11:34 GMT
Last edited by Ionut Biru (wonder) - Saturday, 04 February 2012, 12:33 GMT
|
DetailsDescription:
Trying to build a package using testing-x86_64-build doesn't update the chroot because of the mtab conflict. error: failed to commit transaction (conflicting files) filesystem: /etc/mtab exists in filesystem Errors occurred, no packages were upgraded. This line in the mkarchroot script create the mtab file everytime: chroot "${working_dir}" /bin/findmnt -rnu -o SOURCE,TARGET,FSTYPE,OPTIONS > "${working_dir}/etc/mtab" Additional info: * devtools 20111111-1 * devtools from git Steps to reproduce: |
This task depends upon
http://mailman.archlinux.org/pipermail/arch-general/2011-December/023507.html
mkarchroot create that file everytime.
Alternatively recreating the chroot with 'testing-x86_64-build -c' works around the issue.
Patch posted: <http://mailman.archlinux.org/pipermail/arch-projects/2011-December/002277.html>.