diff mbox

Missing package "Proc::ProcessTable" is in debian: libproc-processtable-perl

Message ID 4E35F779.4090100@redhat.com (mailing list archive)
State Not Applicable
Headers show

Commit Message

Mauro Carvalho Chehab Aug. 1, 2011, 12:46 a.m. UTC
Hi Henning,

Em 31-07-2011 20:01, Henning Hollermann escreveu:
> I just tried to install the latest media-build-package via git. I got an
> error because of a missing package, but the script could not provide a
> hint about the name of the missing package. One quick search made clear,
> that it was perl's ProcessTable package, which was missing. This is
> named "libproc-processtable-perl" in debian, so you could add this as hint.

There are some functions there that tries to detect the distribution used.
Currently, it parses Fedora, RHEL and Ubuntu. From the above, it seems
that the requirements for Debian are the same as the ones for Ubuntu.


This is the requirements for Ubuntu:

		"lsdiff"		=> "patchutils",
		"Digest::SHA1"		=> "libdigest-sha1-perl",
		"Proc::ProcessTable"	=> "libproc-processtable-perl",

Could you please double check if all of them also applies for Debian?

If so, then probably the enclosed patch will do the job. Could you
please test it as well?

Thanks,
Mauro

-

check_needs.pl: Add detection for Debian


Reported-by: Henning Hollermann <henning.hollermann@stud.uni-goettingen.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/check_needs.pl b/check_needs.pl
index 8060361..1467ee1 100755
--- a/check_needs.pl
+++ b/check_needs.pl
@@ -73,6 +73,10 @@  sub give_hints
 		give_ubuntu_hints;
 		return;
 	}
+	if ($system_release =~ /Debian/) {
+		give_ubuntu_hints;
+		return;
+	}
 
 	# Fall-back to generic hint code
 	foreach my $prog (@missing) {