[DRE-maint] Bug#1015751: fixed in redmine 6.0.4+ds-2
Jörg-Volker Peetz
jvpeetz at web.de
Fri Apr 18 18:59:12 BST 2025
Hi Soren,
thanks for taking care of this.
(I'm adding this report also to the Debian bug tracking system.)
Soren Stoutner wrote on 17/04/2025 23:48:
> On Friday, April 11, 2025 5:27:14 PM Mountain Standard Time Soren
> Stoutner wrote:
<snip>
>> In the discussion on the associated MR the question was raised if it
>> is possible to use wildcards in the path names. For example:
>>
>> interest-noawait /usr/lib/*/rubygems-integration
>>
>> https://salsa.debian.org/ruby-team/redmine/-/merge_requests/21
>>
>> Does anyone know the answer to that question?
>
> Lintian and piuparts don’t indicate any problems, so I have uploaded
> redmine 6.0.4+ds-2, which includes this change.
>
In sid I tried the following:
- down-grade ruby-nokogiri to version 1.18.2+dfsg-1 from 1.18.2+dfsg-1+b1
dpkg -i ruby-nokogiri_1.18.2+dfsg-1_amd64.deb
- remove all redmine references from /var/lib/dpkg/triggers/File
- upgrade redmine to 6.0.4+ds-2
as to be expected, this adds 4 lines to /var/lib/dpkg/triggers/File :
/usr/share/redmine/plugins redmine/noawait
/usr/lib/ruby/vendor_ruby redmine/noawait
/usr/share/rubygems-integration redmine/noawait
/usr/lib/*/rubygems-integration redmine/noawait
- upgrade ruby-nokogiri to 1.18.2+dfsg-1+b1
apt -t sid install '~U~nby-nokogiri'
This did not trigger the reconfiguration of redmine.
Then I tried this:
- down-grade ruby-nokogiri to version 1.18.2+dfsg-1 again
- adding the following line at the end of var/lib/dpkg/triggers/File :
/usr/lib/x86_64-linux-gnu/rubygems-integration redmine/noawait
- upgrade ruby-nokogiri to 1.18.2+dfsg-1+b1
This now triggered the reconfiguration of redmine.
Therefore, I think the wildcard '*' isn't working in trigger files.
Maybe, there is a method to determine the architecture during installation?
And let the trigger file redmine.trigger be adapted by the preinst script?
Alternatively, just include a trigger line for every supported architecture?
Best regards,
Jörg.
More information about the Pkg-ruby-extras-maintainers
mailing list