diff options
author | Dan McGee <dan@archlinux.org> | 2008-10-31 22:43:55 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-12-12 21:42:41 -0600 |
commit | 209d0643e5fd38f8add70cfb3651012993d861f1 (patch) | |
tree | 860f1b0d5eb37899c6cfa1b87f6e8e2aec320131 /lib/libalpm/po/LINGUAS | |
parent | b276a76dc9e02e1cdc227661ae4ffe97a24d9f4d (diff) | |
download | pacman-209d0643e5fd38f8add70cfb3651012993d861f1.tar.xz |
Attempt to stop installation when we encounter problems
This should hopefully address some of the concerns raised in FS#11639 with
regards to continuing after filling the disk up.
Add some more checks and passing of error conditions between our functions.
When a libarchive warning is encountered, check if it is due to lack of disk
space and if so upgrade it to an error condition. A review of other
libarchive warnings suggests that these are less critical and can remain as
informative warning messages at this stage.
Note the presence of errors after extraction of an entire package is complete.
If so, we abort the transaction to be on the safe side and keep damage to a
minimum.
Signed-off-by: Dan McGee <dan@archlinux.org>
[Allan: make ENOSPC warning into an error]
Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/po/LINGUAS')
0 files changed, 0 insertions, 0 deletions