On Fri, 2026-11-06 at 18:50 +0100, Steinar H. Gunderson wrote:
> On Fri, Nov 06, 2026 at 06:40:26PM +0100, Benjamin Drung wrote:
> > When installing plocate in a container, the plocate database is not
> > generated.
> > 
> > In Ubuntu we have been carrying the attached patch to create the plocate
> > database in postinst since several years.
> 
> Hi,
> 
> Thanks for the patch. However, this means installing plocate can make apt
> block further installation for unbounded amounts of time, even days on
> certain systems, and I doubt that is acceptable.

I searched the bug reports and found
https://bugs.launchpad.net/ubuntu/+source/plocate/+bug/1968388

So blocking for the update is not a good idea. But how can we solve the
initial problem (installation in containers)? How about detecting if
running in a container and only then update the db in postinst?
containers are normally smaller than full desktop installations.

-- 
Benjamin Drung
Debian & Ubuntu Developer

Reply via email to