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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxx>
Signed-off-by: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>

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) {
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux