From b6b5ffc158a8fe35e5848f9bd7b65661df423db8 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 13 Jun 2012 18:43:18 +0000 Subject: (install) adapt to URPM-4.2 --- NEWS | 2 ++ urpm/install.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index ca93a9e4..e3fcfa2c 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,5 @@ +- adapt to URPM-4.2 + Version 7.0 - 8 June 2012 - adapt to perl-5.16.0 diff --git a/urpm/install.pm b/urpm/install.pm index 3dd97302..0ac6e1a9 100644 --- a/urpm/install.pm +++ b/urpm/install.pm @@ -162,7 +162,7 @@ sub install { my $db = urpm::db_open_or_die_($urpm, !$options{test}); #- open in read/write mode unless testing installation. - my $trans = $db->create_transaction($urpm->{root}); + my $trans = $db->create_transaction(); if ($trans) { sys_log("transaction on %s (remove=%d, install=%d, upgrade=%d)", $urpm->{root} || '/', scalar(@{$remove || []}), scalar(values %$install), scalar(values %$upgrade)); $urpm->{log}(N("created transaction for installing on %s (remove=%d, install=%d, upgrade=%d)", $urpm->{root} || '/', -- cgit v1.2.1