[pacman-dev] makepkg --pkg for selective installation of split packages

Allan McRae allan at archlinux.org
Sun Feb 14 23:05:53 UTC 2016


On 15/02/16 08:31, Xyne wrote:
> On 2016-02-14 21:37 +0000
> Xyne wrote:
> 
>> On 2016-02-14 15:31 -0500
>> Dave Reisner wrote:
>>
>>> Note that you can now also use makepkg to list the names of the packages
>>> that it would generate, using the --packagelist flag.  
>>
>> I am going to use that as a workaround but even after splitting apart the
>> components (pkgname, pkgver, arch) and making sure that the name matches, it
>> will require assumptions about the package archive extension (or sourcing of
>> makepkg.conf, but that requires knowledge of which makepkg.conf was used to be
>> rigorous). Nothing comes close to the cleanliness of the --pkg option.
>>
>> Incidentally, that option was also useful to avoid storing unwanted packages at
>> PKGDEST.
> 
> Implementing the workaround right now I've noticed that another issue with the
> separate invocation of pacman -U is that any dependencies installed via
> "makepkg -rs" are removed and then re-installed during installation with
> pacman, while omitting "-r" will leave makedeps.
> 

pamcan -U deals with dependency resolution.


More information about the pacman-dev mailing list