FS#7188 - space check fails in chroot
Attached to Project:
Pacman
Opened by james meyer (jams) - Thursday, 17 May 2007, 15:04 GMT
Last edited by Dan McGee (toofishes) - Saturday, 02 June 2007, 17:19 GMT
Opened by james meyer (jams) - Thursday, 17 May 2007, 15:04 GMT
Last edited by Dan McGee (toofishes) - Saturday, 02 June 2007, 17:19 GMT
|
Details
Summary and Info:
When installing packages into a chroot enviroment without an /etc/mtab file the pacman process fails on the space check. Adding a /etc/mtab file to the chroot fixes the problem. A switch to disable the space check seems like a reasonable workaround. Steps to Reproduce: see description |
This task depends upon
Closed by Dan McGee (toofishes)
Saturday, 02 June 2007, 17:19 GMT
Reason for closing: Deferred
Additional comments about closing: free space check code removed for now
Saturday, 02 June 2007, 17:19 GMT
Reason for closing: Deferred
Additional comments about closing: free space check code removed for now
The first message happens when /etc/mtab is present but empty.
The second message occurs when /etc/mtab is NOT present
### /etc/mtab not present
bash-3.2# pacman -V
.--. Pacman v3.0.4 - libalpm v1.0.0
/ _.-' .-. .-. .-. Copyright (C) 2002-2007 Judd Vinet <jvinet@zeroflux.org>
\ '-. '-' '-' '-'
'--'
This program may be freely redistributed under
the terms of the GNU General Public License
bash-3.2# pacman -S xterm
resolving dependencies... done.
looking for inter-conflicts... done.
Targets: xorg-apps-1.0.2-3 xterm-225-1
Total Package Size: 0.80 MB
Proceed with installation? [Y/n] y
:: Retrieving packages from current...
xorg-apps 617.5K 8.7M/s 00:00:00 [#############################################################################################################################################################] 100%
xterm 198.3K 49.7M/s 00:00:00 [#############################################################################################################################################################] 100%
checking package integrity... done.
cleaning up... done.
(2/2) checking for file conflicts [#############################################################################################################################################################] 100%
error: could not prepare transaction
error: failed to commit transaction (not enough space on disk)
#---------------------------
#etc mtab is missing
bash-3.2# pacman -S xterm
resolving dependencies... done.
looking for inter-conflicts... done.
error: cannot read disk space information from /etc/mtab: No such file or directory
error: failed to prepare transaction (not enough space on disk)
:: 0.0 MB required, have -0.0 MB