🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #3543

Bug#1153245: plocate database not generated in chroots

#3543
From: Benjamin Drung
Date: Fri, 06 Nov 2026 19:30
24 lines
3689 bytes
On Fri, 2026-11-06 at 20:23 +0100, Steinar H. Gunderson wrote:
> On Fri, Nov 06, 2026 at 08:11:06PM +0100, Benjamin Drung wrote:
> > For me: I have a schroot wrapper where I can specify what I want to have
> > installed. I often use this as throw-away environment. So a one-time
> > setup is good enough for me.
> 
> But this depends on when plocate was unpacked and configured relative to
> other packages? Depending on completely uncontrollable factors, you could
> have basically zero packages in your database, which then is never updated?

That's a good point. So we would need an apt hook (that is run at the
end) instead of a postinst.

> Shouldn't you just run updatedb explicitly after apt in your setup script,
> in such a case?

That would be an alternative.

-- 
Benjamin Drung
Debian & Ubuntu Developer
Technical Details
Message-ID: <NWxNn-afvN-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <NWweB-aeCI-3@gated-at.bofh.it> <NWwRj-af1t-23@gated-at.bofh.it> <NWxaF-af8n-1@gated-at.bofh.it> <NWxkl-afbW-7@gated-at.bofh.it> <NWxkl-afbW-5@gated-at.bofh.it> <NWxu1-afoP-5@gated-at.bofh.it> <NWxu1-afoP-3@gated-at.bofh.it> <NWweB-aeCI-3@gated-at.bofh.it> <NWxDH-afsF-5@gated-at.bofh.it> <NWxNn-afvN-1@gated-at.bofh.it> <NWweB-aeCI-3@gated-at.bofh.it> <NWxNn-afvN-1@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Benjamin Drung <bdrung@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1153245: plocate database not generated in chroots
Date: Fri, 06 Nov 2026 20:30:01 +0100
Message-ID: <NWxNn-afvN-3@gated-at.bofh.it>
References: <NWweB-aeCI-3@gated-at.bofh.it> <NWwRj-af1t-23@gated-at.bofh.it> <NWxaF-af8n-1@gated-at.bofh.it> <NWxkl-afbW-7@gated-at.bofh.it> <NWxkl-afbW-5@gated-at.bofh.it> <NWxu1-afoP-5@gated-at.bofh.it> <NWxu1-afoP-3@gated-at.bofh.it> <NWweB-aeCI-3@gated-at.bofh.it> <NWxDH-afsF-5@gated-at.bofh.it> <NWxNn-afvN-1@gated-at.bofh.it> <NWweB-aeCI-3@gated-at.bofh.it> <NWxNn-afvN-1@gated-at.bofh.it>
X-Original-To: "Steinar H. Gunderson" <sesse@debian.org>, 1153245@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Fri Nov  6 19:26:20 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Benjamin Drung <bdrung@debian.org>, 1153245@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: sesse@debian.org
X-Debian-Pr-Message: followup 1153245
X-Debian-Pr-Package: plocate
X-Debian-Pr-Keywords: patch
X-Debian-Pr-Source: plocate
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
User-Agent: Evolution 3.56.2-9 
MIME-Version: 1.0
X-Debian-User: bdrung
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2001122
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 24
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Fri, 06 Nov 2026 20:25:10 +0100
X-Original-Message-ID: <04c05e83328053f28ba1d5eb74efba844a3c6f9a.camel@debian.org>
X-Original-References: <179398682670.41926.6937255915626023779.reportbug@curves>  <bwudooknuq7juk66cztztxlzrp5e4ankwyfdqw2i475hlyh4ca@fglwgophl2h5>  <0b4214586b8041ba8bb9badc8521243a9433efb5.camel@debian.org>  <iggxc64n5nj6lcl5rpsd2hydb3hl5vzhydduwfrq6ggxwdtsam@jwriea7iyd55>  <bca79703ab9fa0cd61f8de174b71f9d19c9440cf.camel@debian.org>  <ichvfl6xi26cak7aztlfwljizpjwy3umer4o3fowyqcxoa45fr@rurz27dhbn45>  <awb2ze42neuzid6fzigqwp3aolgjzdfcpl3wvau6735pu4736o@6gotd2k47mcb>  <179398682670.41926.6937255915626023779.reportbug@curves>  <2d5d2c572c7bbf3c79722830d14edcc00a9baf81.camel@debian.org>  <k2s5rvjop52ckcgtezozfybdsmgpfogkercwiykxoyu72kwhiv@ufsb6lseojf4> <179398682670.41926.6937255915626023779.reportbug@curves> <k2s5rvjop52ckcgtezozfybdsmgpfogkercwiykxoyu72kwhiv@ufsb6lseojf4>