[pve-devel] r4943 - dab/trunk
svn-commits at proxmox.com
svn-commits at proxmox.com
Mon Aug 9 10:19:55 CEST 2010
Author: dietmar
Date: 2010-08-09 08:19:55 +0000 (Mon, 09 Aug 2010)
New Revision: 4943
Modified:
dab/trunk/DAB.pm
dab/trunk/Makefile
dab/trunk/changelog.Debian
Log:
Modified: dab/trunk/DAB.pm
===================================================================
--- dab/trunk/DAB.pm 2010-08-09 06:28:18 UTC (rev 4942)
+++ dab/trunk/DAB.pm 2010-08-09 08:19:55 UTC (rev 4943)
@@ -1022,7 +1022,14 @@
my ($pkginfo, $closure, $list, $skipself) = @_;
foreach my $pname (@$list) {
- my $info = $pkginfo->{$pname} || die "no such package '$pname'";
+ my $info = $pkginfo->{$pname};
+ # fixme: if someone install packages directly using dpkg, there
+ # is no entry in 'available', only in 'status'. In that case, we
+ # should extract info from $instpkgs
+ if (!$info) {
+ warn "hint: ignoring provides for '$pname' - package not in 'available' list.\n";
+ next;
+ }
if (my $prov = $info->{provides}) {
my @pl = split (',', $prov);
foreach my $p (@pl) {
Modified: dab/trunk/Makefile
===================================================================
--- dab/trunk/Makefile 2010-08-09 06:28:18 UTC (rev 4942)
+++ dab/trunk/Makefile 2010-08-09 08:19:55 UTC (rev 4943)
@@ -1,6 +1,6 @@
VERSION=1.1
PACKAGE=dab
-PKGREL=4
+PKGREL=5
SCRIPTS= \
Modified: dab/trunk/changelog.Debian
===================================================================
--- dab/trunk/changelog.Debian 2010-08-09 06:28:18 UTC (rev 4942)
+++ dab/trunk/changelog.Debian 2010-08-09 08:19:55 UTC (rev 4943)
@@ -1,3 +1,10 @@
+dab (1.1-5) unstable; urgency=low
+
+ * bug fix: only print a warning for packages installed directly with
+ 'dpkg' (when there is no information in 'available' list)
+
+ -- Proxmox Support Team <support at proxmox.com> Mon, 09 Aug 2010 10:18:28 +0200
+
dab (1.1-4) unstable; urgency=low
* add support for debian squeeze (debian 6.0)
More information about the pve-devel
mailing list