Re: autopkgtest testing postinst

2022-07-22 Thread Marc Haber
On Fri, Jul 22, 2022 at 09:52:37AM +0800, Paul Wise wrote: > On Thu, 2022-07-21 at 10:30 +0200, Marc Haber wrote: > > Is there also a documented way to install the packages from stable, > > testing, unstable to automatically test updates? > > That sounds like what piuparts is for: > >

Re: autopkgtest testing postinst

2022-07-21 Thread Paul Wise
On Thu, 2022-07-21 at 10:30 +0200, Marc Haber wrote: > Is there also a documented way to install the packages from stable, > testing, unstable to automatically test updates? That sounds like what piuparts is for: https://packages.debian.org/unstable/piuparts https://piuparts.debian.org/ --

Re: autopkgtest testing postinst

2022-07-21 Thread Matt Barry
On Thu, 2022-07-21 at 10:30 +0200, Marc Haber wrote: > On Fri, Jul 15, 2022 at 09:23:20AM -0400, Matt Barry wrote: > > autopkgtest adds it's own sources.list entry under /tmp, so afaict > > 'apt-get --reinstall' will do exactly what it should. > > Thanks for finding that out. Is there also a

Re: autopkgtest testing postinst

2022-07-21 Thread Marc Haber
On Fri, Jul 15, 2022 at 09:23:20AM -0400, Matt Barry wrote: > autopkgtest adds it's own sources.list entry under /tmp, so afaict > 'apt-get --reinstall' will do exactly what it should. Thanks for finding that out. Is there also a documented way to install te packages from stable, testing,

Re: autopkgtest testing postinst

2022-07-15 Thread Matt Barry
On Fri, 2022-07-15 at 07:16 -0400, Matt Barry wrote: > On Fri, 2022-07-15 at 09:41 +0200, Marc Haber wrote: > > On Thu, Jul 14, 2022 at 11:33:50PM +0200, Lorenzo wrote: > > > On Thu, 14 Jul 2022 09:52:51 +0200 > > > Marc Haber wrote: > > > > I would like to hear about your experiences. Pointers

Re: autopkgtest testing postinst

2022-07-15 Thread Matt Barry
On Fri, 2022-07-15 at 09:41 +0200, Marc Haber wrote: > On Thu, Jul 14, 2022 at 11:33:50PM +0200, Lorenzo wrote: > > On Thu, 14 Jul 2022 09:52:51 +0200 > > Marc Haber wrote: > > > I would like to hear about your experiences. Pointers to packages > > > that > > > are already doing this would be

Re: autopkgtest testing postinst

2022-07-15 Thread Marc Haber
On Thu, Jul 14, 2022 at 11:33:50PM +0200, Lorenzo wrote: > On Thu, 14 Jul 2022 09:52:51 +0200 > Marc Haber wrote: > > I would like to hear about your experiences. Pointers to packages that > > are already doing this would be greatly appreciated as well. Thank you > > very much. > > You can look

Re: autopkgtest testing postinst

2022-07-14 Thread Paul Wise
On Thu, 2022-07-14 at 09:52 +0200, Marc Haber wrote: > How would I do that in autopkgtest? Can I uninstall and reinstall the > package in question while an autopkgtest is running? Sounds like you want the breaks-testbed and needs-root restrictions:

Re: autopkgtest testing postinst

2022-07-14 Thread Lorenzo
Hi, On Thu, 14 Jul 2022 09:52:51 +0200 Marc Haber wrote: > Hi, > > [ ... ] > > But due to the criticality of the package, I need to test package > installation in both cases, with and without ucf. [ ... ] > > How would I do that in autopkgtest? Can I uninstall and reinstall the > package in

autopkgtest testing postinst

2022-07-14 Thread Marc Haber
Hi, for adduser (which is Priority: important and installed on nearly every Debian system alive), I would like to use ucf to manage adduser.conf in the future. I would not like to add ucf as a dependency though. I am therefore planning to use ucf in Recommends or Suggests and to scaffold the ucf