diff -Nru r-cran-rcppparallel-5.1.7+dfsg/debian/changelog r-cran-rcppparallel-5.1.7+dfsg/debian/changelog
--- r-cran-rcppparallel-5.1.7+dfsg/debian/changelog	2024-06-10 19:01:46.000000000 +0800
+++ r-cran-rcppparallel-5.1.7+dfsg/debian/changelog	2025-04-06 15:27:25.000000000 +0800
@@ -1,3 +1,9 @@
+r-cran-rcppparallel (5.1.7+dfsg-5.1) UNRELEASED; urgency=medium
+
+  *fix parser failed. 
+
+ -- Gui-Yue <yuemewng.gui@gmail.com>  Sun, 06 Apr 2025 15:27:25 +0800
+
 r-cran-rcppparallel (5.1.7+dfsg-5) unstable; urgency=medium
 
   * Re-add r-base-dev to Test-Depends (seems dh-update-R removed it again)
diff -Nru r-cran-rcppparallel-5.1.7+dfsg/debian/rules r-cran-rcppparallel-5.1.7+dfsg/debian/rules
--- r-cran-rcppparallel-5.1.7+dfsg/debian/rules	2024-06-10 19:01:46.000000000 +0800
+++ r-cran-rcppparallel-5.1.7+dfsg/debian/rules	2025-04-06 15:27:25.000000000 +0800
@@ -11,7 +11,7 @@
 	# As per bug #1058751 we need to pin the libtbb version that was used at Build time of r-cran-rcppparallel
 	# Alternatively we need to replace the symlinks with copied of the library
 	#
-	tbbversion=`dpkg -l libtbb-dev | grep 'ii' | sed 's/^.*libtbb-dev:[a-z0-9]\+[[:space:]]\+\([0-9.]\+\)-[0-9]\+[[:space:]]\+.*/\1/'`; \
+	tbbversion=$$(dpkg-query -W -f='$${Version}' libtbb-dev | sed 's/-[^-]*$$//'); \
 	sed -i -e "s/libtbb12 ([^)]\+)/libtbb12 (>= $${tbbversion}), libtbb12 (<< $${tbbversion}-99)/" -e "s/libtbb-dev ([^)]\+)/libtbb-dev (>= $${tbbversion}), libtbb-dev (>= $${tbbversion}-99)/" debian/*substvars
 	dh_gencontrol
 	echo "DEBUG 2"
