Hi Maitland,

On Sat, Dec 02, 2023 at 10:57:40AM -0500, Maitland Bottoms wrote:
> Helmut Grohne <hel...@subdivi.de> writes:
> 
> > Then when you retry it, please go for experimental first. Then have
> > Chris or me check your upload is ok and only then proceed with uploading
> > to unstable.
> 
> hackrf_2023.01.1-6 now in experimental is the retry with upstream
> updates and the udev rules handling.

This is the earlier reproducer adapted for experimental:

mmdebstrap trixie /dev/null http://deb.debian.org/debian --architectures 
amd64,i386 --include=libhackrf0:amd64,libhackrf0:i386 --customize-hook='sed -i 
-e s/trixie/experimental/ "$1/etc/apt/sources.list"' 
--chrooted-customize-hook="apt update" --chrooted-customize-hook="apt-get 
download -t experimental libhackrf0" --chrooted-customize-hook="dpkg 
--auto-deconfigure --unpack /*.deb" --chrooted-customize-hook="dpkg -r 
libhackrf0:i386" --chrooted-customize-hook="dpkg --configure -a" 
--customize-hook='test -e "$1/lib/udev/rules.d/60-libhackrf0.rules"'

It now succeeds. If you run it, you also see the protective diversion
being created and removed now:

| I: running --chrooted-customize-hook in shell: sh -c 'apt-get download -t 
experimental libhackrf0'
| Get:1 http://deb.debian.org/debian experimental/main amd64 libhackrf0 amd64 
2023.01.1-6 [17.5 kB]
| Fetched 17.5 kB in 0s (197 kB/s)      
| W: Download is performed unsandboxed as root as file 
'//libhackrf0_2023.01.1-6_amd64.deb' couldn't be accessed by user '_apt'. - 
pkgAcquire::Run (13: Permission denied)
| I: running --chrooted-customize-hook in shell: sh -c 'dpkg --auto-deconfigure 
--unpack /*.deb'
| (Reading database ... 10384 files and directories currently installed.)
| Preparing to unpack .../libhackrf0_2023.01.1-6_amd64.deb ...
| De-configuring libhackrf0:i386 (2023.01.1-2), to allow configuration of 
libhackrf0:amd64 (2023.01.1-6) ...
| Adding 'diversion of /lib/udev/rules.d/60-libhackrf0.rules to 
/lib/udev/rules.d/60-libhackrf0.rules.usr-is-merged by usr-is-merged'
| Unpacking libhackrf0:amd64 (2023.01.1-6) over (2023.01.1-2) ...
| Processing triggers for libc-bin (2.37-12) ...
| I: running --chrooted-customize-hook in shell: sh -c 'dpkg -r libhackrf0:i386'
| (Reading database ... 10389 files and directories currently installed.)
| Removing libhackrf0:i386 (2023.01.1-2) ...
| Processing triggers for libc-bin (2.37-12) ...
| I: running --chrooted-customize-hook in shell: sh -c 'dpkg --configure -a'
| Setting up libhackrf0:amd64 (2023.01.1-6) ...
| Removing 'diversion of /lib/udev/rules.d/60-libhackrf0.rules to 
/lib/udev/rules.d/60-libhackrf0.rules.usr-is-merged by usr-is-merged'
| Processing triggers for libc-bin (2.37-12) ...
| I: running --customize-hook in shell: sh -c 'test -e 
"$1/lib/udev/rules.d/60-libhackrf0.rules"' exec /tmp/mmdebstrap.NH48tKvp88

Also dumat (Debain Usr Merge Analysis Tool) noticed the
package without reporting any issues.

> Thanks for your attention on this, indeed my lack of attention before
> making uploads is the problem. I am happier with -6 though.

Shit happens. Thanks for quickly resolving the issue. Please go ahead
for unstable.

Helmut

Reply via email to