#!/usr/bin/perl
#
# Guillaume Cottenceau (gc@mandrakesoft.com)
#
# Copyright 2001-2002 MandrakeSoft
#
# This software may be freely redistributed under the terms of the GNU
# public license.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
use lib qw(/usr/lib/libDrakX);
use standalone; #- warning, standalone must be loaded very first, for 'explanations'
use common;
use interactive;
use devices;
use detect_devices;
use steps;
use commands;
use fs;
use Data::Dumper;
local $_ = join '', @ARGV;
$::direct = /-direct/;
my $in = 'interactive'->vnew('su', 'default');
my $imagefile = "/root/drakx/replay_install.img";
-f $imagefile or $in->ask_warn(N("Error!"),
N("I can't find needed image file `%s'.", $imagefile), 1), quit_global($in, 0);
$::direct or $in->ask_okcancel(N("Auto Install Configurator"),
N("You are about to configure an Auto Install floppy. This feature is somewhat dangerous and must be used circumspectly.
With that feature, you will be able to replay the installation you've performed on this computer, being interactively prompted for some steps, in order to change their values.
For maximum safety, the partitioning and formatting will never be performed automatically, whatever you chose during the install of this computer.
Do you want to continue?"), 1) or quit_global($in, 0);
my @manual_steps = qw(doPartitionDisks formatPartitions);
my @all_steps;
my @choices;
my $st = \%steps::installSteps;
for (my $f = $st->{first}; $f; $f = $st->{$f}{next}) {
next if member($f, @manual_steps);
my $def_choice = 'replay';
push @choices, { label => translate($st->{$f}{text}), val => \$def_choice, list => [ N("replay"), N("manual") ] };
push @all_steps, [ $f, \$def_choice ];
}
$in->ask_from(N("Automatic Steps Configuration"),
N("Please choose for each step whether it will replay like your install, or it will be manual"),
\@choices
) or quit_global($in, 0);
${$_->[1]} eq N("manual") and push @manual_steps, $_->[0] foreach @all_steps;
my $mountdir = "/root/tmp/drakautoinst-mountdir"; -d $mountdir or mkdir $mountdir, 0755;
my $floppy = detect_devices::floppy();
my $dev = devices::make($floppy);
$in->ask_okcancel('', N("Insert a blank floppy in drive %s", $floppy), 1) or quit_global($in, 0);
{
log::explanations(N("Creating auto install floppy"));
my $_w = $in->wait_message('', N("Creating auto install floppy"));
commands::dd("if=$imagefile", "of=$dev", "bs=1440", "count=1024");
common::sync();
}
fs::mount($dev, $mountdir, 'vfat', 0);
my $cfgfile = "$mountdir/auto_inst.cfg";
eval(cat_($cfgfile));
my $o_old = $o;
my %struct_gui;
if (!$::isEmbedded && $in->isa('interactive::gtk')) {
require ugtk2;
ugtk2->import(qw(:helpers :wrappers));
my %tree;
$struct_gui{$_} = 'General' foreach qw(lang isUpgrade autoExitInstall timezone default_packages mkbootdisk);
$struct_gui{$_} = 'Security' foreach qw(crypto security);
$struct_gui{$_} = 'Harddrive' foreach qw(partitions manualFstab useSupermount partitioning);
$struct_gui{$_} = 'Network' foreach qw(intf netc netcnx);
$struct_gui{$_} = 'Users' foreach qw(superuser users authentication);
$struct_gui{$_} = 'Hardware' foreach qw(keyboard mouse X printer wacom nomouseprobe);
%pixmap = (lang => 'language',
isUpgrade => '',
security => 'security',
autoExitInstall => '',
timezone => '',
default_packages => '',
partitions => 'harddrive',
manualFstab => 'partition',
useSupermount => '',
partitioning => 'partition',
intf => 'network',
netc => 'network',
netcnx => 'network',
superuser => 'user',
users => 'user',
authentication => '',
keyboard => 'keyboard',
mouse => 'mouse',
X => 'X',
printer => 'printer',
wacom => '',
);
member($_, keys %struct_gui) and push @{$tree{$struct_gui{$_}}}, [ $_ , $pixmap{$_}, h2widget($o->{$_}, "\$o->\{$_\}") ] foreach keys %$o;
my $W = ugtk2->new('$o edition');
my @box_to_hide;
my $nb_pages=0;
my $notebook = new Gtk2::Notebook;
$notebook->set_show_border(0);
$notebook->set_show_tabs(0);
$notebook->append_page(gtkpack_(gtkset_border_width(new Gtk2::VBox(0,0), 10),
1, new Gtk2::VBox(0,0),
0, gtkpack_(new Gtk2::HBox(0,0),
1, new Gtk2::VBox(0,0),
0, gtkadd(gtkset_shadow_type(new Gtk2::Frame, 'etched-in'),
gtkcreate_img('mdk_logo')),
1, new Gtk2::VBox(0,0),
),
0, N("\nWelcome.\n\nThe parameters of the auto-install are available in the sections on the left"),
1, new Gtk2::VBox(0,0),
), undef);
$notebook->show_all;
$notebook->set_page(0);
gtkadd($W->{window},
gtkpack_(new Gtk2::VBox(0,5),
1, gtkpack_(new Gtk2::HBox(0,0),
0, gtkadd(gtkset_size_request(gtkset_shadow_type(new Gtk2::Frame, 'in'), 130, 470),
gtkpack_(new Gtk2::VBox(0,0),
map {
my $box = new Gtk2::VBox(0,0);
push @box_to_hide, $box;
$box->{vis} = 0;
my @button_to_hide;
0, gtksignal_connect(new Gtk2::Button($_), clicked => sub {
if ($box->{vis}) { $box->hide; $box->{vis} = 0; $notebook->set_page(0) }
else {
$_->hide, $_->{vis}=0 foreach @box_to_hide;
$box->show; $box->{vis} = 1;
$box->{active_function} and $box->{active_function}->();
}
}), 1, gtkpack__($box,
map {
my $button = gtkset_relief(new Gtk2::ToggleButton(), 'none');
push @button_to_hide, $button;
my $gru = $_->[0];
$notebook->append_page(gtkshow($_->[2]), undef);
$nb_pages++;
my $local_page = $nb_pages;
my $function = sub { $notebook->set_page($local_page) };
gtksignal_connect($button, toggled => sub {
$button->get_active() and $function->()
});
my $b;
if ($_->[1] ne "") { $b = gtkcreate_img($_->[1]) } else { $b = () };
gtksignal_connect(gtkadd($button,
gtkpack__(new Gtk2::VBox(0,3),
$b,
translate($_->[0]),
)
), released => sub {
$button->get_active or $button->set_active(1), return;
$_->set_active(0) foreach @button_to_hide;
$button->set_active(1);
$box->{active_function} = $function;
$function->();
})
} @{$tree{$_}}
)
} keys(%tree)
)
),
1, $notebook,
),
0, new Gtk2::HSeparator,
0, gtkadd(gtkset_border_width(gtkset_layout(new Gtk2::HButtonBox, 'end'), 5),
gtksignal_connect(new Gtk2::Button(N("Accept")), clicked => sub { Gtk2->main_quit }),
gtksignal_connect(new Gtk2::Button(N("Cancel")), clicked => sub { $o = $o_old; Gtk2->main_quit; quit_global($in, 0) }),
)
)
);
$_->hide foreach @box_to_hide;
# $W->{window}->show_all;
# gtkadd($W->{window},
# gtkpack_($W->create_box_with_title(N("Edit variables")),
# 1, my $notebook = create_notebook( map { $_, h2widget($o->{$_}, "\$o->\{$_\}") } keys %$o ),
# 0, gtkpack(gtkset_border_width(new Gtk2::HBox(0,0),5), $W->create_okcancel),
# ),
# );
# $notebook->set_tab_pos('left');
# $::isEmbedded and gtkflush();
$W->main;
# $W->destroy();
}
$o->{interactiveSteps} = \@manual_steps;
my $str = join('',
"#!/usr/bin/perl -cw
#
# Special file generated by ``drakautoinst''.
#
# You should check the syntax of this file before using it in an auto-install.
# You can do this with 'perl -cw auto_inst.cfg.pl' or by executing this file
# (note the '#!/usr/bin/perl -cw' on the first line).
",
Data::Dumper->Dump([$o], ['$o']), "\0");
$str =~ s/ {8}/\t/g; #- replace all 8 space char by only one tabulation, this reduces file size so much :-)
output($cfgfile, $str);
fs::umount($mountdir);
$in->ask_okcancel(N("Congratulations!"),
N("The floppy has been successfully generated.
You may now replay your installation."));
quit_global($in, 0);
sub quit_global {
my ($in, $exitcode) = @_;
$in->exit($exitcode);
}
sub h2widget {
my ($k, $label) = @_;
my $w;
if (ref($k) =~ /HASH/) {
my $vb;
my @widget_list;
my $i = -1;
my @list_keys = keys(%$k);
if (ref($k->{$list_keys[0]}) =~ /HASH/) {
$i++;
my ($button_add, $button_remove);
$w = gtkpack_(new Gtk2::VBox(0,0),
1, create_scrolled_window(gtkpack__($vb = new Gtk2::VBox(0,10),
$widget_list[$i] = create_packtable({ col_spacings => 10, row_spacings => 3 },
map {
my $e;
$e = h2widget($k->{$_}, "$label\{$_\}");
[ "$_ : ", $e ] } @list_keys
),
)
),
control_buttons($k->{$list_keys[0]},
sub { my ($vb, $widget_list2, $ref_local_k, $i) = @_;
my @widget_list = @$widget_list2;
my $field = $in->ask_from_entry(N("Auto Install"), ("Enter the name of the new field you want to add")) or return undef;
$field eq '' and return undef;
gtkpack__($vb,
$widget_list[$i] = create_packtable({ col_spacings => 10, row_spacings => 3 },
[ "$field : ", h2widget($ref_local_k, "$label\{$field\}") ])
);
@$widget_list2 = @widget_list;
},
$vb, \$i, \@widget_list)
);
} else {
$w = create_packtable({ col_spacings => 10, row_spacings => 3 },
map { create_entry_element($k->{$_}, "$label\{$_\}", $_) } @list_keys
)
}
} elsif (ref($k) =~ /ARRAY/) {
my $vb;
my @widget_list;
my $i = -1;
$w = gtkpack_(new Gtk2::VBox(0,0),
1, create_scrolled_window(
gtkpack__($vb = new Gtk2::VBox(0,5),
map { $i++; $widget_list[$i] = h2widget($_, "$label\[$i\]") } @$k,
)
),
control_buttons($k->[0],
sub { my ($vb, $widget_list2, $ref_local_k, $i) = @_;
my @widget_list = @$widget_list2;
gtkpack__($vb, $widget_list[$i] = h2widget($ref_local_k, "$label\[$i\]"));
@$widget_list2 = @widget_list;
},
$vb, \$i, \@widget_list)
);
} else {
$w = create_packtable({ col_spacings => 10, row_spacings => 3 },
create_entry_element($k, $label, $1)) if $label =~ /\$o->\{(.+)\}/;
}
return $w;
}
sub create_entry_element {
my ($text, $value, $label) = @_;
my $e;
if (ref $text =~ /HASH/) {
return ([ "$label : ", h2widget($text, $label) ]);
} elsif (ref $text =~ /ARRAY/) {
return ([ "$label : ", h2widget($text, $label) ]);
} else {
$e = new Gtk2::Entry;
$e->{value} = $value;
my $tag = Glib::Timeout->add(1000, sub { $e->set_text($text); 0 });
gtksignal_connect($e, changed => sub {
my $exe = $e->{value} . "='" . $e->get_text . "'";
print "EXEC : $exe\n ";
eval $exe;
});
}
[ $label ? "$label : " : "" , $e ]
}
sub control_buttons {
my ($ref_local_k, $local_gui, $vb, $j, $widget_list2) = @_;
my @widget_list = @$widget_list2;
my $i = $$j;
ref($ref_local_k) =~ /HASH/ or return();
my (%local_k) = %$ref_local_k;
my ($button_add, $button_remove);
0, gtkadd(gtkset_border_width(gtkset_layout(new Gtk2::HButtonBox, 'spread'), 5),
gtksignal_connect($button_add = new Gtk2::Button(N("Add an item")), clicked => sub {
$local_k{$_} = undef foreach keys %local_k;
$i++;
$local_gui->($vb, \@widget_list, \%local_k, $i) or $i--, return;
$i >= 0 and $button_remove->set_sensitive(1);
}
),
gtksignal_connect($button_remove = new Gtk2::Button(N("Remove the last item")), clicked => sub {
$i >= 0 or return;
$widget_list[$i]->destroy;
$i--;
$i >= 0 or $button_remove->set_sensitive(0);
}
)
)
}
m ignored"
msgstr ""
"medium \"%s\" probeert een al gebruikte lijst te gebruiken, medium genegeerd"
-#: ../urpm.pm:556
+#: ../urpm.pm:559
#, c-format
msgid ""
"unable to take care of medium \"%s\" as list file is already used by another "
@@ -180,41 +186,41 @@ msgstr ""
"kon medium \"%s\" niet verzorgen, omdat het list bestand al in gebruik is "
"door een ander medium"
-#: ../urpm.pm:562
+#: ../urpm.pm:565
#, c-format
msgid "unable to use name \"%s\" for unnamed medium because it is already used"
msgstr ""
"kan naam \"%s\" niet gebruiken voor naamloos medium omdat deze al in gebruik "
"is"
-#: ../urpm.pm:569
+#: ../urpm.pm:572
#, c-format
msgid "unable to take medium \"%s\" into account as no list file [%s] exists"
msgstr ""
"kon geen rekening houden met het medium \"%s\", omdat lijstbestand [%s] niet "
"bestaat"
-#: ../urpm.pm:573
+#: ../urpm.pm:576
#, c-format
msgid "unable to determine medium of this hdlist file [%s]"
msgstr "kon medium van dit hdlist bestand niet vaststellen [%s]"
-#: ../urpm.pm:582
+#: ../urpm.pm:585
#, c-format
msgid "unable to access hdlist file of \"%s\", medium ignored"
msgstr "kon hdlist bestand \"%s\" niet benaderen, medium genegeerd"
-#: ../urpm.pm:584 ../urpm.pm:2692
+#: ../urpm.pm:587 ../urpm.pm:2695
#, c-format
msgid "unable to access list file of \"%s\", medium ignored"
msgstr "kon list bestand van \"%s\" niet benaderen, medium genegeerd"
-#: ../urpm.pm:608
+#: ../urpm.pm:611
#, c-format
msgid "trying to bypass existing medium \"%s\", avoiding"
msgstr "bezig met proberen bestaand medium \"%s\" te omzeilen"
-#: ../urpm.pm:616
+#: ../urpm.pm:619
#, c-format
msgid ""
"virtual medium \"%s\" should not have defined hdlist or list file, medium "
@@ -223,92 +229,92 @@ msgstr ""
"Virtueel medium \"%s\" zou geen gedefinieerde hdlist moeten hebben, medium "
"genegeerd"
-#: ../urpm.pm:621
+#: ../urpm.pm:624
#, c-format
msgid "virtual medium \"%s\" should have a clear url, medium ignored"
msgstr "Virtueel medium \"%s\" moet een leeg url hebben, medium genegeerd"
-#: ../urpm.pm:630
+#: ../urpm.pm:633
#, c-format
msgid "unable to find hdlist file for \"%s\", medium ignored"
msgstr "kon hdlist bestand voor \"%s\" niet vinden, medium genegeerd"
-#: ../urpm.pm:637
+#: ../urpm.pm:640
#, c-format
msgid "unable to find list file for \"%s\", medium ignored"
msgstr "kan het lijstbestand voor \"%s\" niet vinden, medium genegeerd"
-#: ../urpm.pm:660
+#: ../urpm.pm:663
#, c-format
msgid "incoherent list file for \"%s\", medium ignored"
msgstr "onsamenhangend lijst-bestand voor \"%s\", medium genegeerd"
-#: ../urpm.pm:668
+#: ../urpm.pm:671
#, c-format
msgid "unable to inspect list file for \"%s\", medium ignored"
msgstr "kon list bestaand voor \"%s\" niet inspecteren, medium genegeerd"
-#: ../urpm.pm:701
+#: ../urpm.pm:704
#, c-format
msgid "too many mount points for removable medium \"%s\""
msgstr "teveel koppelpunten voor verwisselbaar medium \"%s\""
-#: ../urpm.pm:702
+#: ../urpm.pm:705
#, c-format
msgid "taking removable device as \"%s\""
msgstr "gebruikt verwisselbare schijf als \"%s\""
-#: ../urpm.pm:706
+#: ../urpm.pm:709
#, c-format
msgid "using different removable device [%s] for \"%s\""
msgstr "gebruikt andere verwisselbare schijf [%s] voor \"%s\""
-#: ../urpm.pm:711 ../urpm.pm:714
+#: ../urpm.pm:714 ../urpm.pm:717
#, c-format
msgid "unable to retrieve pathname for removable medium \"%s\""
msgstr "kon de padnaam van verwisselbaar medium \"%s\" niet vinden"
-#: ../urpm.pm:727
+#: ../urpm.pm:730
#, c-format
msgid "unable to write config file [%s]"
msgstr "kon configuratiebestand [%s] niet wegschrijven"
-#: ../urpm.pm:749
+#: ../urpm.pm:752
#, c-format
msgid "write config file [%s]"
msgstr "config-bestand [%s] wegschrijven"
-#: ../urpm.pm:761
+#: ../urpm.pm:764
#, c-format
msgid "Can't use parallel mode with use-distrib mode"
msgstr "Kan parallelle modus niet tegelijk met use-distrib modus gebruiken"
-#: ../urpm.pm:771
+#: ../urpm.pm:774
#, c-format
msgid "unable to parse \"%s\" in file [%s]"
msgstr "niet in staat \"%s\" te interpreteren in bestand [%s]"
-#: ../urpm.pm:782
+#: ../urpm.pm:785
#, c-format
msgid "examining parallel handler in file [%s]"
msgstr "bezig met onderzoeken parallelle handler in bestand [%s]"
-#: ../urpm.pm:792
+#: ../urpm.pm:795
#, c-format
msgid "found parallel handler for nodes: %s"
msgstr "parallelle handler gevonden voor knooppunten: %s"
-#: ../urpm.pm:796
+#: ../urpm.pm:799
#, c-format
msgid "using associated media for parallel mode: %s"
msgstr "geassocieerde media worden voor parallelle modus gebruikt: %s"
-#: ../urpm.pm:800
+#: ../urpm.pm:803
#, c-format
msgid "unable to use parallel option \"%s\""
msgstr "niet in staat parallelle optie \"%s\" te gebruiken"
-#: ../urpm.pm:811
+#: ../urpm.pm:814
#, c-format
msgid ""
"--synthesis cannot be used with --media, --excludemedia, --sortmedia, --"
@@ -317,90 +323,90 @@ msgstr ""
"--synthesis kan niet gebruikt worden met --media, --excludemedia, --"
"sortmedia, --update of --parallel"
-#: ../urpm.pm:862 ../urpm.pm:884 ../urpm.pm:1236 ../urpm.pm:1247
-#: ../urpm.pm:1308 ../urpm.pm:1325 ../urpm.pm:1408 ../urpm.pm:1465
-#: ../urpm.pm:1637 ../urpm.pm:1737 ../urpm.pm:1835 ../urpm.pm:1841
-#: ../urpm.pm:1940 ../urpm.pm:2019 ../urpm.pm:2023
+#: ../urpm.pm:865 ../urpm.pm:887 ../urpm.pm:1239 ../urpm.pm:1250
+#: ../urpm.pm:1311 ../urpm.pm:1328 ../urpm.pm:1411 ../urpm.pm:1468
+#: ../urpm.pm:1640 ../urpm.pm:1740 ../urpm.pm:1838 ../urpm.pm:1844
+#: ../urpm.pm:1943 ../urpm.pm:2022 ../urpm.pm:2026
#, c-format
msgid "examining synthesis file [%s]"
msgstr "bezig met onderzoeken van het synthesis bestand [%s]"
-#: ../urpm.pm:866 ../urpm.pm:879 ../urpm.pm:888 ../urpm.pm:1239
-#: ../urpm.pm:1250 ../urpm.pm:1314 ../urpm.pm:1320 ../urpm.pm:1413
-#: ../urpm.pm:1469 ../urpm.pm:1641 ../urpm.pm:1741 ../urpm.pm:1829
-#: ../urpm.pm:1847 ../urpm.pm:2029
+#: ../urpm.pm:869 ../urpm.pm:882 ../urpm.pm:891 ../urpm.pm:1242
+#: ../urpm.pm:1253 ../urpm.pm:1317 ../urpm.pm:1323 ../urpm.pm:1416
+#: ../urpm.pm:1472 ../urpm.pm:1644 ../urpm.pm:1744 ../urpm.pm:1832
+#: ../urpm.pm:1850 ../urpm.pm:2032
#, c-format
msgid "examining hdlist file [%s]"
msgstr "bezig met onderzoeken hdlist bestand [%s]"
-#: ../urpm.pm:874 ../urpm.pm:1243
+#: ../urpm.pm:877 ../urpm.pm:1246
#, c-format
msgid "virtual medium \"%s\" is not local, medium ignored"
msgstr "Virtueel medium \"%s\" is geen lokaal medium, genegeerd"
-#: ../urpm.pm:897 ../urpm.pm:1257 ../urpm.pm:1333 ../urpm.pm:1417
-#: ../urpm.pm:1745
+#: ../urpm.pm:900 ../urpm.pm:1260 ../urpm.pm:1336 ../urpm.pm:1420
+#: ../urpm.pm:1748
#, c-format
msgid "problem reading hdlist or synthesis file of medium \"%s\""
msgstr "probleem met lezen van hdlist of synthesis bestand van medium \"%s\""
-#: ../urpm.pm:903 ../urpm.pm:1979
+#: ../urpm.pm:906 ../urpm.pm:1982
#, c-format
msgid "performing second pass to compute dependencies\n"
msgstr "uitvoeren tweede fase, controleren van afhankelijkheden\n"
-#: ../urpm.pm:915
+#: ../urpm.pm:918
#, c-format
msgid "skipping package %s"
msgstr "pakket %s overslaan"
-#: ../urpm.pm:924
+#: ../urpm.pm:927
#, c-format
msgid "would install instead of upgrade package %s"
msgstr "Zou pakket %s installeren, niet opwaarderen"
-#: ../urpm.pm:935 ../urpm.pm:2492 ../urpm.pm:2553 ../urpm.pm:3127
-#: ../urpm.pm:3225
+#: ../urpm.pm:938 ../urpm.pm:2495 ../urpm.pm:2556 ../urpm.pm:3128
+#: ../urpm.pm:3226
#, c-format
msgid "unable to open rpmdb"
msgstr "kon rpmdb niet openen"
-#: ../urpm.pm:974
+#: ../urpm.pm:977
#, c-format
msgid "medium \"%s\" already exists"
msgstr "medium \"%s\" bestaat al"
-#: ../urpm.pm:981
+#: ../urpm.pm:984
#, c-format
msgid "virtual medium need to be local"
msgstr "Virtueel medium moet lokaal zijn"
-#: ../urpm.pm:1013
+#: ../urpm.pm:1016
#, c-format
msgid "added medium %s"
msgstr "toegevoegd medium %s"
-#: ../urpm.pm:1029
+#: ../urpm.pm:1032
#, c-format
msgid "unable to access first installation medium"
msgstr "kon het eerste installatiemedium niet vinden"
-#: ../urpm.pm:1033
+#: ../urpm.pm:1036
#, c-format
msgid "copying hdlists file..."
msgstr "bezig met kopiëren hdlist bestanden"
-#: ../urpm.pm:1035 ../urpm.pm:1348 ../urpm.pm:1437
+#: ../urpm.pm:1038 ../urpm.pm:1351 ../urpm.pm:1440
#, c-format
msgid "...copying failed"
msgstr "...kopiëren mislukt"
-#: ../urpm.pm:1035 ../urpm.pm:1348 ../urpm.pm:1441
+#: ../urpm.pm:1038 ../urpm.pm:1351 ../urpm.pm:1444
#, c-format
msgid "...copying done"
msgstr "...kopiëren is klaar"
-#: ../urpm.pm:1037 ../urpm.pm:1056 ../urpm.pm:1084
+#: ../urpm.pm:1040 ../urpm.pm:1059 ../urpm.pm:1087
#, c-format
msgid ""
"unable to access first installation medium (no Mandrake/base/hdlists file "
@@ -409,49 +415,43 @@ msgstr ""
"kon het eerste installatiemedium niet vinden (geen Mandrake/base/hdlists "
"bestanden gevonden)"
-#: ../urpm.pm:1043
+#: ../urpm.pm:1046
#, c-format
msgid "retrieving hdlists file..."
msgstr "bezig met ontvangen van hdlists bestand..."
-#: ../urpm.pm:1050 ../urpm.pm:1727 ../urpm.pm:2320 ../urpm.pm:3001
+#: ../urpm.pm:1053 ../urpm.pm:1730 ../urpm.pm:2323 ../urpm.pm:3004
#: ../urpmi.addmedia:159
#, c-format
msgid "...retrieving done"
msgstr "...ontvangen is klaar"
-#: ../urpm.pm:1052 ../urpm.pm:1711 ../urpm.pm:1720 ../urpm.pm:2323
-#: ../urpm.pm:3004 ../urpmi:664 ../urpmi.addmedia:161
-#, c-format
-msgid "...retrieving failed: %s"
-msgstr "...ontvangen mislukt: %s"
-
-#: ../urpm.pm:1072
+#: ../urpm.pm:1075
#, c-format
msgid "invalid hdlist description \"%s\" in hdlists file"
msgstr "ongeldige hdlist omschrijving \"%s\" in hdlists bestand"
-#: ../urpm.pm:1117
+#: ../urpm.pm:1120
#, c-format
msgid "trying to select nonexistent medium \"%s\""
msgstr "probeert een onbestaand medium \"%s\" te selecteren"
-#: ../urpm.pm:1119
+#: ../urpm.pm:1122
#, c-format
msgid "selecting multiple media: %s"
msgstr "selecteren van meerdere media: %s"
-#: ../urpm.pm:1119
+#: ../urpm.pm:1122
#, c-format
msgid "\"%s\""
msgstr "\"%s\""
-#: ../urpm.pm:1135
+#: ../urpm.pm:1138
#, c-format
msgid "removing medium \"%s\""
msgstr "bezig met verwijderen van medium \"%s\""
-#: ../urpm.pm:1284
+#: ../urpm.pm:1287
#, c-format
msgid ""
"unable to access medium \"%s\",\n"
@@ -462,7 +462,7 @@ msgstr ""
"dit kan gebeuren wanneer u de map handmatig heeft gekoppeld bij het aanmaken "
"van het medium."
-#: ../urpm.pm:1337
+#: ../urpm.pm:1340
#, c-format
msgid ""
"virtual medium \"%s\" should have valid source hdlist or synthesis, medium "
@@ -471,222 +471,222 @@ msgstr ""
"Virtueel medium \"%s\" moet een geldige bron hdlist of synthesis hebben, "
"medium genegeerd"
-#: ../urpm.pm:1345
+#: ../urpm.pm:1348
#, c-format
msgid "copying description file of \"%s\"..."
msgstr "bezig met kopiëren omschrijving bestand van \"%s\"..."
-#: ../urpm.pm:1368 ../urpm.pm:1597
+#: ../urpm.pm:1371 ../urpm.pm:1600
#, c-format
msgid "computing md5sum of existing source hdlist (or synthesis)"
msgstr "berekenen md5sum van bestaande bron hdlist (of synthesis)"
-#: ../urpm.pm:1379 ../urpm.pm:1608
+#: ../urpm.pm:1382 ../urpm.pm:1611
#, c-format
msgid "examining MD5SUM file"
msgstr "bezig met onderzoeken MD5SUM bestand"
-#: ../urpm.pm:1433
+#: ../urpm.pm:1436
#, c-format
msgid "copying source hdlist (or synthesis) of \"%s\"..."
msgstr "bezig met kopiëren bron hdlist (of synthesis) van \"%s\"..."
-#: ../urpm.pm:1446
+#: ../urpm.pm:1449
#, c-format
msgid "copy of [%s] failed (file is suspiciously small)"
msgstr ""
-#: ../urpm.pm:1450
+#: ../urpm.pm:1453
#, c-format
msgid "computing md5sum of copied source hdlist (or synthesis)"
msgstr "berekenen md5sum van gekopieerde bron hdlist (of synthesis)"
-#: ../urpm.pm:1452
+#: ../urpm.pm:1455
#, fuzzy, c-format
msgid "copy of [%s] failed (md5sum mismatch)"
msgstr "kopiëren van [%s] mislukt"
-#: ../urpm.pm:1473 ../urpm.pm:1645 ../urpm.pm:1943
+#: ../urpm.pm:1476 ../urpm.pm:1648 ../urpm.pm:1946
#, c-format
msgid "problem reading synthesis file of medium \"%s\""
msgstr "probleem met lezen van synthesis bestand van medium \"%s\""
-#: ../urpm.pm:1512
+#: ../urpm.pm:1515
#, c-format
msgid "reading rpm files from [%s]"
msgstr "bezig met lezen van rpm-bestanden van [%s]"
-#: ../urpm.pm:1531
+#: ../urpm.pm:1534
#, c-format
msgid "unable to read rpm files from [%s]: %s"
msgstr "kon rpm-bestanden niet lezen van [%s]: %s"
-#: ../urpm.pm:1536
+#: ../urpm.pm:1539
#, c-format
msgid "no rpm files found from [%s]"
msgstr "geen rpm bestanden gevonden van [%s]"
-#: ../urpm.pm:1663
+#: ../urpm.pm:1666
#, c-format
msgid "retrieving source hdlist (or synthesis) of \"%s\"..."
msgstr "bezig met bron hdlist (of synthesis) van \"%s\" te ontvangen..."
-#: ../urpm.pm:1682
+#: ../urpm.pm:1685
#, c-format
msgid "found probed hdlist (or synthesis) as %s"
msgstr "afgezochte hdlist (of synthesis) gevonden als %s"
-#: ../urpm.pm:1718
+#: ../urpm.pm:1721
#, c-format
msgid "computing md5sum of retrieved source hdlist (or synthesis)"
msgstr "berekenen md5sum van ontvangen bron hdlist (of synthesis)"
-#: ../urpm.pm:1720
+#: ../urpm.pm:1723
#, c-format
msgid "md5sum mismatch"
msgstr "md5sum verschillend"
-#: ../urpm.pm:1801
+#: ../urpm.pm:1804
#, c-format
msgid "retrieval of source hdlist (or synthesis) failed"
msgstr "ontvangen van bron hdlist (of synthesis) is mislukt"
-#: ../urpm.pm:1808
+#: ../urpm.pm:1811
#, c-format
msgid "no hdlist file found for medium \"%s\""
msgstr "geen hdlist-bestand gevonden voor medium \"%s\""
-#: ../urpm.pm:1819 ../urpm.pm:1871
+#: ../urpm.pm:1822 ../urpm.pm:1874
#, c-format
msgid "file [%s] already used in the same medium \"%s\""
msgstr "bestand [%s] reeds gebruik in hetzelfde medium \"%s\""
-#: ../urpm.pm:1857
+#: ../urpm.pm:1860
#, c-format
msgid "unable to parse hdlist file of \"%s\""
msgstr "kan het hdlist-bestand van \"%s\" niet analyseren"
-#: ../urpm.pm:1895
+#: ../urpm.pm:1898
#, c-format
msgid "unable to write list file of \"%s\""
msgstr "kon lijstbestand van \"%s\" niet schrijven"
-#: ../urpm.pm:1902
+#: ../urpm.pm:1905
#, c-format
msgid "writing list file for medium \"%s\""
msgstr "bezig met schrijven van lijstbestand voor medium \"%s\""
-#: ../urpm.pm:1904
+#: ../urpm.pm:1907
#, c-format
msgid "nothing written in list file for \"%s\""
msgstr "er is niets geschreven in het lijstbestand voor \"%s\""
-#: ../urpm.pm:1917
+#: ../urpm.pm:1920
#, c-format
msgid "examining pubkey file of \"%s\"..."
msgstr "onderzoeken van publieke sleutelbestand van \"%s\"..."
-#: ../urpm.pm:1924
+#: ../urpm.pm:1927
#, c-format
msgid "...imported key %s from pubkey file of \"%s\""
msgstr "...sleutel %s uit publiek sleutelbestand van \"%s\" geïmporteerd"
-#: ../urpm.pm:1927
+#: ../urpm.pm:1930
#, c-format
msgid "unable to import pubkey file of \"%s\""
msgstr "kon publieke sleutelbestand van \"%s\" niet importeren"
-#: ../urpm.pm:1993
+#: ../urpm.pm:1996
#, c-format
msgid "reading headers from medium \"%s\""
msgstr "bezig met lezen van headers van medium \"%s\""
-#: ../urpm.pm:1998
+#: ../urpm.pm:2001
#, c-format
msgid "building hdlist [%s]"
msgstr "bezig met bouwen hdlist [%s]"
-#: ../urpm.pm:2010 ../urpm.pm:2039 ../urpmi:413
+#: ../urpm.pm:2013 ../urpm.pm:2042 ../urpmi:417
#, c-format
msgid "built hdlist synthesis file for medium \"%s\""
msgstr "hdlist synthesis bestand opgebouwd voor medium \"%s\""
-#: ../urpm.pm:2059
+#: ../urpm.pm:2062
#, c-format
msgid "found %d headers in cache"
msgstr "%d headers in de buffer gevonden"
-#: ../urpm.pm:2063
+#: ../urpm.pm:2066
#, c-format
msgid "removing %d obsolete headers in cache"
msgstr "bezig met het verwijderen van %d verouderde titels in de cache"
-#: ../urpm.pm:2263
+#: ../urpm.pm:2266
#, c-format
msgid "mounting %s"
msgstr "%s koppelen..."
-#: ../urpm.pm:2276
+#: ../urpm.pm:2279
#, c-format
msgid "unmounting %s"
msgstr "%s afkoppelen..."
-#: ../urpm.pm:2298
+#: ../urpm.pm:2301
#, c-format
msgid "relocated %s entries in depslist"
msgstr "%s van plaats veranderde ingangen in lijst van afhankelijkheden"
-#: ../urpm.pm:2299
+#: ../urpm.pm:2302
#, c-format
msgid "no entries relocated in depslist"
msgstr "geen ingangen van plaats veranderd in depslist"
-#: ../urpm.pm:2312
+#: ../urpm.pm:2315
#, c-format
msgid "invalid rpm file name [%s]"
msgstr "ongeldige rpm-bestandsnaam [%s]"
-#: ../urpm.pm:2318
+#: ../urpm.pm:2321
#, c-format
msgid "retrieving rpm file [%s] ..."
msgstr "bezig met ontvangen van rpm bestand [%s] ..."
-#: ../urpm.pm:2325 ../urpm.pm:3169
+#: ../urpm.pm:2328 ../urpm.pm:3170
#, c-format
msgid "unable to access rpm file [%s]"
msgstr "kon rpm-bestand [%s] niet benaderen"
-#: ../urpm.pm:2330
+#: ../urpm.pm:2333
#, c-format
msgid "unable to register rpm file"
msgstr "kon rpm-bestand niet registreren"
-#: ../urpm.pm:2333
+#: ../urpm.pm:2336
#, c-format
msgid "error registering local packages"
msgstr "registreren van lokale pakketten is mislukt"
-#: ../urpm.pm:2434
+#: ../urpm.pm:2437
#, c-format
msgid "no package named %s"
msgstr "geen pakket genaamd %s"
-#: ../urpm.pm:2437 ../urpme:96
+#: ../urpm.pm:2440 ../urpme:96
#, c-format
msgid "The following packages contain %s: %s"
msgstr "De volgende pakketten bevatten %s: %s"
-#: ../urpm.pm:2629 ../urpm.pm:2673 ../urpm.pm:2699
+#: ../urpm.pm:2632 ../urpm.pm:2676 ../urpm.pm:2702
#, c-format
msgid "there are multiple packages with the same rpm filename \"%s\""
msgstr "er zijn meerdere pakketten met dezelfde rpm bestandsnaam \"%s\""
-#: ../urpm.pm:2684
+#: ../urpm.pm:2687
#, c-format
msgid "unable to correctly parse [%s] on value \"%s\""
msgstr "kon [%s] niet correct verwerken op waarde \"%s\""
-#: ../urpm.pm:2711
+#: ../urpm.pm:2714
#, c-format
msgid ""
"medium \"%s\" uses an invalid list file:\n"
@@ -695,63 +695,63 @@ msgstr ""
"medium \"%s\" gebruikt een ongeldig lijstbestand:\n"
" mirror is wellicht niet up-to-date, probeert nu een alternatieve methode"
-#: ../urpm.pm:2715
+#: ../urpm.pm:2718
#, c-format
msgid "medium \"%s\" does not define any location for rpm files"
msgstr "medium \"%s\" bevat geen locatie voor rpm bestanden"
-#: ../urpm.pm:2727
+#: ../urpm.pm:2730
#, c-format
msgid "package %s is not found."
msgstr "pakket %s is niet gevonden."
-#: ../urpm.pm:2767 ../urpm.pm:2782 ../urpm.pm:2806 ../urpm.pm:2821
+#: ../urpm.pm:2770 ../urpm.pm:2785 ../urpm.pm:2809 ../urpm.pm:2824
#, c-format
msgid "urpmi database locked"
msgstr "urpmi database geblokkeerd"
-#: ../urpm.pm:2873 ../urpm.pm:2876 ../urpm.pm:2906
+#: ../urpm.pm:2876 ../urpm.pm:2879 ../urpm.pm:2909
#, c-format
msgid "medium \"%s\" is not selected"
msgstr "medium \"%s\" is niet geselecteerd"
-#: ../urpm.pm:2902
+#: ../urpm.pm:2905
#, c-format
msgid "unable to read rpm file [%s] from medium \"%s\""
msgstr "kon rpm bestand [%s] niet lezen van medium \"%s\""
-#: ../urpm.pm:2910
+#: ../urpm.pm:2913
#, c-format
msgid "incoherent medium \"%s\" marked removable but not really"
msgstr ""
"onsamenhangend medium \"%s\" als verwisselbaar gemarkeerd, maar is dit niet"
-#: ../urpm.pm:2923
+#: ../urpm.pm:2926
#, c-format
msgid "unable to access medium \"%s\""
msgstr "kon medium \"%s\" niet benaderen"
-#: ../urpm.pm:2984
+#: ../urpm.pm:2987
#, c-format
msgid "malformed input: [%s]"
msgstr "ongeldige invoer [%s]"
-#: ../urpm.pm:2991
+#: ../urpm.pm:2994
#, c-format
msgid "retrieving rpm files from medium \"%s\"..."
msgstr "bezig met ontvangen van rpm bestanden van medium \"%s\"..."
-#: ../urpm.pm:3070 ../urpmi:742
+#: ../urpm.pm:3071 ../urpmi:746
#, c-format
msgid "Preparing..."
msgstr "Bezig met voorbereiden..."
-#: ../urpm.pm:3101
+#: ../urpm.pm:3102
#, c-format
msgid "using process %d for executing transaction"
msgstr "proces %d gebruikt voor uitvoeren van transactie"
-#: ../urpm.pm:3131
+#: ../urpm.pm:3132
#, c-format
msgid ""
"created transaction for installing on %s (remove=%d, install=%d, upgrade=%d)"
@@ -759,77 +759,77 @@ msgstr ""
"transactie aangemaakt om te installeren op %s (verwijderen=%d, installeren=%"
"d, vernieuwen=%d)"
-#: ../urpm.pm:3134
+#: ../urpm.pm:3135
#, c-format
msgid "unable to create transaction"
msgstr "Niet in staat om transactie aan te maken."
-#: ../urpm.pm:3142
+#: ../urpm.pm:3143
#, c-format
msgid "removing package %s"
msgstr "bezig met verwijderen van pakket %s"
-#: ../urpm.pm:3144
+#: ../urpm.pm:3145
#, c-format
msgid "unable to remove package %s"
msgstr "kon pakket %s niet verwijderen"
-#: ../urpm.pm:3154
+#: ../urpm.pm:3155
#, c-format
msgid "adding package %s (id=%d, eid=%d, update=%d, file=%s)"
msgstr "toevoegen van pakket %s (id=%d, eid=%d, update=%d, bestand=%s)"
-#: ../urpm.pm:3157
+#: ../urpm.pm:3158
#, c-format
msgid "unable to install package %s"
msgstr "kon volgend pakket niet installeren: %s"
-#: ../urpm.pm:3356 ../urpm.pm:3387
+#: ../urpm.pm:3357 ../urpm.pm:3388
#, c-format
msgid "due to missing %s"
msgstr "vanwege missende %s"
-#: ../urpm.pm:3357 ../urpm.pm:3385
+#: ../urpm.pm:3358 ../urpm.pm:3386
#, c-format
msgid "due to unsatisfied %s"
msgstr "vanwege onvoldane %s"
-#: ../urpm.pm:3358
+#: ../urpm.pm:3359
#, c-format
msgid "trying to promote %s"
msgstr "probeer %s op te waarderen"
-#: ../urpm.pm:3359
+#: ../urpm.pm:3360
#, c-format
msgid "in order to keep %s"
msgstr "Om %s te behouden"
-#: ../urpm.pm:3380
+#: ../urpm.pm:3381
#, c-format
msgid "in order to install %s"
msgstr "in volgorde om %s te installeren"
-#: ../urpm.pm:3392
+#: ../urpm.pm:3393
#, c-format
msgid "due to conflicts with %s"
msgstr "vanwege conflicten met %s"
-#: ../urpm.pm:3394
+#: ../urpm.pm:3395
#, c-format
msgid "unrequested"
msgstr "ongevraagd"
-#: ../urpm.pm:3410
+#: ../urpm.pm:3411
#, c-format
msgid "Invalid signature (%s)"
msgstr "Ongeldige ondertekening (%s)"
-#: ../urpm.pm:3437
+#: ../urpm.pm:3438
#, c-format
msgid "Invalid Key ID (%s)"
msgstr "Ongeldig sleutel-ID (%s)"
-#: ../urpm.pm:3439
+#: ../urpm.pm:3440
#, c-format
msgid "Missing signature (%s)"
msgstr "Geen ondertekening aanwezig (%s)"
@@ -880,7 +880,7 @@ msgstr ""
#: ../urpme:44 ../urpmi:103 ../urpmq:61
#, c-format
-msgid " --parallel - distributed urpmi accross machines of alias.\n"
+msgid " --parallel - distributed urpmi across machines of alias.\n"
msgstr " --parallel - gedistribueerde urpmi over computers van alias.\n"
#: ../urpme:45 ../urpmi:104
@@ -947,12 +947,12 @@ msgstr ""
"Om aan de afhankelijkheden te voldoen, worden de volgende pakketten "
"verwijderd (%d MB)"
-#: ../urpme:116 ../urpmi:529 ../urpmi:688
+#: ../urpme:116 ../urpmi:533 ../urpmi:692
#, c-format
msgid " (y/N) "
msgstr " (j/N) "
-#: ../urpme:119 ../urpmi:731
+#: ../urpme:119 ../urpmi:735
#, c-format
msgid "removing %s"
msgstr "bezig met verwijderen van %s"
@@ -962,7 +962,7 @@ msgstr "bezig met verwijderen van %s"
msgid "Removing failed"
msgstr "Verwijderen is mislukt"
-#: ../urpme:152 ../urpmi:926
+#: ../urpme:152 ../urpmi:930
#, c-format
msgid "Sorry, bad choice, try again\n"
msgstr "Sorry, foutieve keuze, probeer een andere\n"
@@ -1175,7 +1175,7 @@ msgstr ""
"Terugbellen is :\n"
"%s\n"
-#: ../urpmf:148 ../urpmi:310 ../urpmq:180
+#: ../urpmf:148 ../urpmi:314 ../urpmq:180
#, c-format
msgid "using specific environment on %s\n"
msgstr "maakt gebruik van aangegeven omgeving op %s\n"
@@ -1430,28 +1430,28 @@ msgid " names or rpm files given on command line will be installed.\n"
msgstr ""
" namen of rpm bestanden gegeven via opdrachtregel worden geïnstalleerd.\n"
-#: ../urpmi:152
+#: ../urpmi:156
#, c-format
msgid "Choose location to save file"
msgstr ""
-#: ../urpmi:199 ../urpmi:206 ../urpmi.addmedia:98 ../urpmi.addmedia:105
+#: ../urpmi:203 ../urpmi:210 ../urpmi.addmedia:98 ../urpmi.addmedia:105
#: ../urpmi.update:42 ../urpmi.update:49 ../urpmq:127 ../urpmq:134
#, c-format
msgid "bad proxy declaration on command line\n"
msgstr "ongeldige proxy-aanduiding op opdrachtregel\n"
-#: ../urpmi:238
+#: ../urpmi:242
#, c-format
msgid "urpmi: unknown option \"-%s\", check usage with --help\n"
msgstr "urpmi: onbekende optie \"-%s\", bekijk voor gebruik --help\n"
-#: ../urpmi:262
+#: ../urpmi:266
#, c-format
msgid "What can be done with binary rpm files when using --install-src"
msgstr "Wat er gebeurt met uitvoerbare rpm bestanden bij --install-src"
-#: ../urpmi:269
+#: ../urpmi:273
#, c-format
msgid ""
"You have selected a source package:\n"
@@ -1464,22 +1464,22 @@ msgid ""
"What would you like to do?"
msgstr ""
-#: ../urpmi:277
+#: ../urpmi:281
#, c-format
msgid "Do nothing"
msgstr ""
-#: ../urpmi:278
+#: ../urpmi:282
#, c-format
msgid "Yes, really install it"
msgstr ""
-#: ../urpmi:279 ../urpmi:296
+#: ../urpmi:283 ../urpmi:300
#, c-format
msgid "Save file"
msgstr ""
-#: ../urpmi:290
+#: ../urpmi:294
#, c-format
msgid ""
"You are about to install the following software package on your computer:\n"
@@ -1489,12 +1489,12 @@ msgid ""
"You may prefer to just save it. What is your choice?"
msgstr ""
-#: ../urpmi:295
+#: ../urpmi:299
#, fuzzy, c-format
msgid "Install it"
msgstr "Installatie mislukt"
-#: ../urpmi:302
+#: ../urpmi:306
#, c-format
msgid ""
"Directory [%s] already exists, please use another directory for bug report "
@@ -1503,42 +1503,42 @@ msgstr ""
"De map [%s] bestaat reeds, gebruik een andere map voor het foutrapport of "
"verwijder hem"
-#: ../urpmi:302
+#: ../urpmi:306
#, c-format
msgid "Unable to create directory [%s] for bug report"
msgstr "kon directory [%s] niet aanmaken voor programmafoutrapport"
-#: ../urpmi:321
+#: ../urpmi:325
#, c-format
msgid "Only superuser is allowed to install packages"
msgstr "Alleen de superuser (root) kan pakketten installeren"
-#: ../urpmi:454
+#: ../urpmi:458
#, c-format
msgid "One of the following packages is needed to install %s:"
msgstr "Eén van de volgende pakketten is benodigd om te installeren: %s:"
-#: ../urpmi:455
+#: ../urpmi:459
#, c-format
msgid "One of the following packages is needed:"
msgstr "Eén van de volgende pakketten is benodigd:"
-#: ../urpmi:462
+#: ../urpmi:466
#, c-format
msgid "What is your choice? (1-%d) "
msgstr "Wat is uw keuze? (1-%d)"
-#: ../urpmi:472 ../urpmi:589
+#: ../urpmi:476 ../urpmi:593
#, c-format
msgid "Package installation..."
msgstr "Pakket-installatie..."