[pacman-dev] [PATCH 2/2] be_package: fallback to standard filelist loading

Allan McRae allan at archlinux.org
Thu Mar 26 04:36:36 UTC 2015


On 25/03/15 19:53, Andrew Gregory wrote:
> In order to work properly, loading the filelist from an mtree file
> requires a libarchive patch that has not yet been included in an
> official release.[1]  Under certain circumstances, an unpatched
> libarchive may refuse to read the mtree file due to inconsistencies
> between it and the user's file system.  In order to allow alpm to
> recover in this situation, read the mtree data into a temporary filelist
> that is only copied over to the package if the entire read is
> successful.
> 
> [1] https://github.com/libarchive/libarchive/commit/661684170b970ef7d6eff135b57e58a537e8bc53
> 
> Signed-off-by: Andrew Gregory <andrew.gregory.8 at gmail.com>
> ---
> 
> https://bbs.archlinux.org/viewtopic.php?id=194771
> 

Good catch!   I could not tell what was wrong on that forum post.

And where is that libarchive release!


More information about the pacman-dev mailing list