[pacman-dev] [arch] Plans for switching to new package naming format (name-ver-rel -> name-ver-rel-arch)

Xavier shiningxc at gmail.com
Fri Jun 15 16:00:25 EDT 2007


Apparently, pacman 3 (unlike pacman-g2) reads the whole archive too,
because of this :
lib/libalpm/package.c :
 551   /* Read through the entire archive for metadata.  We will
continue reading
 552    * even if all metadata is found, to verify the integrity of
the archive in
 553    * full */

Also, I found it a bit slower than the tar way (1.7s vs 1.3s). Maybe
it's related with this? :
 544   /* TODO there is no reason to make temp files to read
 545    * from a libarchive archive, it can be done by reading
 546    * directly from the archive
 547    * See: archive_read_data_into_buffer
 548    * requires changes 'parse_descfile' as well
 549    * */




More information about the pacman-dev mailing list