Bug#963037: gsutil: autopkgtest failure: Can't locate LWP/UserAgent.pm in @INC
Package: gsutil
Version: 3.1-3
Severity: serious
Tags: patch
Justification: Policy 7.2
There are broken dependencies for gsutil since the changes from 3.1-1 (see:
#620478)
As we can see on the README from upstream
> Only perl and perl-libwww-perl were used, and they came
> with the operating system, so you probably won't have to
> download any perl modules.
The fix is just:
1: installing both libhtml-form-perl AND libwww-perl
AND
2: removing the restrictions libwww-perl (<< 6) because the current version of
the library in unstable is 6.45-1.
We can confirm the problem by just running gsutil from the command line.
I also tested the changes in a clear debootstrap jail and I can reproduce the
problem by using both the source and binary packages, from 3.1-1 to 3.1-3.
-- System Information:
Debian Release: 10.4
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.4.0-0.bpo.4-amd64 (SMP w/3 CPU cores)
Kernel taint flags: TAINT_CRAP
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8), LANGUAGE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages gsutil depends on:
ii libhtml-form-perl 6.03-1
ii libwww-perl 6.36-2
ii perl 5.28.1-6
gsutil recommends no packages.
gsutil suggests no packages.
diff -Nru gsutil-3.1/debian/control gsutil-3.1/debian/control
--- gsutil-3.1/debian/control 2020-05-11 03:16:27.000000000 +0000
+++ gsutil-3.1/debian/control 2020-06-18 06:33:01.000000000 +0000
@@ -7,7 +7,7 @@
Package: gsutil
Architecture: all
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends}, libhtml-form-perl | libwww-perl (<< 6)
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends}, libhtml-form-perl, libwww-perl
Description: configure and manage Grandstream BudgeTone 100 VOIP and GX2000 phones
GsUtil is a short program written to dump and restore the data
from randstream BudgeTone 100 VOIP and GX2000 phone.
Reply to: