only deal with X11R7 now.diff -r1.17 -r1.18 src/distrib/utils/sysinst/aout2elf.c
(christos)
--- src/distrib/utils/sysinst/Attic/aout2elf.c 2011/09/16 15:42:28 1.17
+++ src/distrib/utils/sysinst/Attic/aout2elf.c 2012/01/07 18:54:30 1.18
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | /* $NetBSD: aout2elf.c,v 1.17 2011/09/16 15:42:28 joerg Exp $ | 1 | /* $NetBSD: aout2elf.c,v 1.18 2012/01/07 18:54:30 christos Exp $ | |
2 | * | 2 | * | |
3 | * Copyright 1997 Piermont Information Systems Inc. | 3 | * Copyright 1997 Piermont Information Systems Inc. | |
4 | * All rights reserved. | 4 | * All rights reserved. | |
5 | * | 5 | * | |
6 | * Written by Philip A. Nelson for Piermont Information Systems Inc. | 6 | * Written by Philip A. Nelson for Piermont Information Systems Inc. | |
7 | * | 7 | * | |
8 | * Redistribution and use in source and binary forms, with or without | 8 | * Redistribution and use in source and binary forms, with or without | |
9 | * modification, are permitted provided that the following conditions | 9 | * modification, are permitted provided that the following conditions | |
10 | * are met: | 10 | * are met: | |
11 | * 1. Redistributions of source code must retain the above copyright | 11 | * 1. Redistributions of source code must retain the above copyright | |
12 | * notice, this list of conditions and the following disclaimer. | 12 | * notice, this list of conditions and the following disclaimer. | |
13 | * 2. Redistributions in binary form must reproduce the above copyright | 13 | * 2. Redistributions in binary form must reproduce the above copyright | |
14 | * notice, this list of conditions and the following disclaimer in the | 14 | * notice, this list of conditions and the following disclaimer in the | |
@@ -277,31 +277,31 @@ domove: | @@ -277,31 +277,31 @@ domove: | |||
277 | abort_libupdate(); | 277 | abort_libupdate(); | |
278 | if (run_program(0, "mkdir -p %s ", concat_paths(prefix, "etc"))) | 278 | if (run_program(0, "mkdir -p %s ", concat_paths(prefix, "etc"))) | |
279 | abort_libupdate(); | 279 | abort_libupdate(); | |
280 | 280 | |||
281 | strlcpy(src, target_expand("/etc/ld.so.conf"), sizeof(src)); | 281 | strlcpy(src, target_expand("/etc/ld.so.conf"), sizeof(src)); | |
282 | if (run_program(0, "mv -f %s %s", | 282 | if (run_program(0, "mv -f %s %s", | |
283 | src, concat_paths(prefix, "etc/ld.so.conf"))) | 283 | src, concat_paths(prefix, "etc/ld.so.conf"))) | |
284 | abort_libupdate(); | 284 | abort_libupdate(); | |
285 | 285 | |||
286 | strlcpy(src, target_expand("/usr/lib"), sizeof(src)); | 286 | strlcpy(src, target_expand("/usr/lib"), sizeof(src)); | |
287 | n = handle_aout_libs(src, LIB_MOVE, concat_paths(prefix, "usr/lib")); | 287 | n = handle_aout_libs(src, LIB_MOVE, concat_paths(prefix, "usr/lib")); | |
288 | 288 | |||
289 | if (run_program(0, "mkdir -p %s ", | 289 | if (run_program(0, "mkdir -p %s ", | |
290 | concat_paths(prefix, "usr/X11R6/lib"))) | 290 | concat_paths(prefix, "usr/X11R7/lib"))) | |
291 | abort_libupdate(); | 291 | abort_libupdate(); | |
292 | 292 | |||
293 | strlcpy(src, target_expand("/usr/X11R6/lib"), sizeof(src)); | 293 | strlcpy(src, target_expand("/usr/X11R7/lib"), sizeof(src)); | |
294 | handle_aout_x_libs(src, concat_paths(prefix, "usr/X11R6/lib")); | 294 | handle_aout_x_libs(src, concat_paths(prefix, "usr/X11R7/lib")); | |
295 | 295 | |||
296 | if (backedup) { | 296 | if (backedup) { | |
297 | msg_display(MSG_emulbackup); | 297 | msg_display(MSG_emulbackup); | |
298 | process_menu(MENU_ok, NULL); | 298 | process_menu(MENU_ok, NULL); | |
299 | } | 299 | } | |
300 | 300 | |||
301 | return n; | 301 | return n; | |
302 | } | 302 | } | |
303 | 303 | |||
304 | /* | 304 | /* | |
305 | * XXXX had to include this to deal with symlinks in some places. | 305 | * XXXX had to include this to deal with symlinks in some places. | |
306 | * When the target * disk is mounted under /targetroot, absolute symlinks | 306 | * When the target * disk is mounted under /targetroot, absolute symlinks | |
307 | * on it don't work right. | 307 | * on it don't work right. |
--- src/distrib/utils/sysinst/Attic/msg.mi.de 2011/04/17 12:33:42 1.57
+++ src/distrib/utils/sysinst/Attic/msg.mi.de 2012/01/07 18:54:30 1.58
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | /* $NetBSD: msg.mi.de,v 1.57 2011/04/17 12:33:42 martin Exp $ */ | 1 | /* $NetBSD: msg.mi.de,v 1.58 2012/01/07 18:54:30 christos Exp $ */ | |
2 | 2 | |||
3 | /* | 3 | /* | |
4 | * Copyright 1997 Piermont Information Systems Inc. | 4 | * Copyright 1997 Piermont Information Systems Inc. | |
5 | * All rights reserved. | 5 | * All rights reserved. | |
6 | * | 6 | * | |
7 | * Written by Philip A. Nelson for Piermont Information Systems Inc. | 7 | * Written by Philip A. Nelson for Piermont Information Systems Inc. | |
8 | * | 8 | * | |
9 | * Redistribution and use in source and binary forms, with or without | 9 | * Redistribution and use in source and binary forms, with or without | |
10 | * modification, are permitted provided that the following conditions | 10 | * modification, are permitted provided that the following conditions | |
11 | * are met: | 11 | * are met: | |
12 | * 1. Redistributions of source code must retain the above copyright | 12 | * 1. Redistributions of source code must retain the above copyright | |
13 | * notice, this list of conditions and the following disclaimer. | 13 | * notice, this list of conditions and the following disclaimer. | |
14 | * 2. Redistributions in binary form must reproduce the above copyright | 14 | * 2. Redistributions in binary form must reproduce the above copyright | |
@@ -667,37 +667,37 @@ werden. Der Vorgang wird abgebrochen. | @@ -667,37 +667,37 @@ werden. Der Vorgang wird abgebrochen. | |||
667 | 667 | |||
668 | 668 | |||
669 | message noetcfstab | 669 | message noetcfstab | |
670 | {Hilfe! Die Datei /etc/fstab konnte im Ziellaufwerk %s nicht gefunden | 670 | {Hilfe! Die Datei /etc/fstab konnte im Ziellaufwerk %s nicht gefunden | |
671 | werden. Die Aktualisierung wird abgebrochen. | 671 | werden. Die Aktualisierung wird abgebrochen. | |
672 | } | 672 | } | |
673 | 673 | |||
674 | message badetcfstab | 674 | message badetcfstab | |
675 | {Hilfe! Es besteht eine fehlerhafte /etc/fstab im Ziellaufwerk %s. Die | 675 | {Hilfe! Es besteht eine fehlerhafte /etc/fstab im Ziellaufwerk %s. Die | |
676 | Aktualisierung wird abgebrochen. | 676 | Aktualisierung wird abgebrochen. | |
677 | } | 677 | } | |
678 | 678 | |||
679 | message X_oldexists | 679 | message X_oldexists | |
680 | {Der alte X Server /usr/X11R6/bin/X kann nicht als /usr/X11R6/bin/X.old | 680 | {Der alte X Server /usr/X11R7/bin/X kann nicht als /usr/X11R7/bin/X.old | |
681 | gesichert werden, da eine Datei mit diesem Namen bereits existiert. | 681 | gesichert werden, da eine Datei mit diesem Namen bereits existiert. | |
682 | Bitte korrigieren Sie dies, bevor Sie fortfahren. | 682 | Bitte korrigieren Sie dies, bevor Sie fortfahren. | |
683 | 683 | |||
684 | Eine Möglichkeit ist es, im Extras-Menü eine Shell zu starten, | 684 | Eine Möglichkeit ist es, im Extras-Menü eine Shell zu starten, | |
685 | wodurch Sie /usr/X11R6/bin/X.old überprüfen können. Gehört diese Datei zu | 685 | wodurch Sie /usr/X11R7/bin/X.old überprüfen können. Gehört diese Datei zu | |
686 | einer früheren Aktualisierung, so können Sie diese mit rm -f | 686 | einer früheren Aktualisierung, so können Sie diese mit rm -f | |
687 | /usr/X11R6/bin/x.old löschen und danach die Aktualisierung neu starten. | 687 | /usr/X11R7/bin/x.old löschen und danach die Aktualisierung neu starten. | |
688 | Gehört die Datei /usr/X11R6/bin/X.old aber zu einer aktuellen, | 688 | Gehört die Datei /usr/X11R7/bin/X.old aber zu einer aktuellen, | |
689 | abgebrochenen Aktualisierung, so können Sie die Datei /usr/X11R6/bin/X mit | 689 | abgebrochenen Aktualisierung, so können Sie die Datei /usr/X11R7/bin/X mit | |
690 | mv /usr/X11R6/bin/X.old /usr/X11R6/bin/X wieder herstellen und die | 690 | mv /usr/X11R7/bin/X.old /usr/X11R7/bin/X wieder herstellen und die | |
691 | unvollständige Aktualisierung fortsetzen. | 691 | unvollständige Aktualisierung fortsetzen. | |
692 | 692 | |||
693 | Aktualisierung wird abgebrochen.} | 693 | Aktualisierung wird abgebrochen.} | |
694 | 694 | |||
695 | message netnotup | 695 | message netnotup | |
696 | {Beim Testen des Netzwerks ist ein Problem aufgetreten. Entweder Ihr | 696 | {Beim Testen des Netzwerks ist ein Problem aufgetreten. Entweder Ihr | |
697 | Gateway oder Ihr Nameserver hat nicht auf "ping" reagiert. Wollen Sie Ihre | 697 | Gateway oder Ihr Nameserver hat nicht auf "ping" reagiert. Wollen Sie Ihre | |
698 | Netzwerkkonfiguration überarbeiten? | 698 | Netzwerkkonfiguration überarbeiten? | |
699 | 699 | |||
700 | ("Nein" ermöglicht Ihnen die Fortsetzung oder den Abbruch der Installation.) | 700 | ("Nein" ermöglicht Ihnen die Fortsetzung oder den Abbruch der Installation.) | |
701 | } | 701 | } | |
702 | 702 | |||
703 | message netnotup_continueanyway | 703 | message netnotup_continueanyway |
--- src/distrib/utils/sysinst/Attic/msg.mi.en 2011/04/17 12:33:42 1.165
+++ src/distrib/utils/sysinst/Attic/msg.mi.en 2012/01/07 18:54:30 1.166
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | /* $NetBSD: msg.mi.en,v 1.165 2011/04/17 12:33:42 martin Exp $ */ | 1 | /* $NetBSD: msg.mi.en,v 1.166 2012/01/07 18:54:30 christos Exp $ */ | |
2 | 2 | |||
3 | /* | 3 | /* | |
4 | * Copyright 1997 Piermont Information Systems Inc. | 4 | * Copyright 1997 Piermont Information Systems Inc. | |
5 | * All rights reserved. | 5 | * All rights reserved. | |
6 | * | 6 | * | |
7 | * Written by Philip A. Nelson for Piermont Information Systems Inc. | 7 | * Written by Philip A. Nelson for Piermont Information Systems Inc. | |
8 | * | 8 | * | |
9 | * Redistribution and use in source and binary forms, with or without | 9 | * Redistribution and use in source and binary forms, with or without | |
10 | * modification, are permitted provided that the following conditions | 10 | * modification, are permitted provided that the following conditions | |
11 | * are met: | 11 | * are met: | |
12 | * 1. Redistributions of source code must retain the above copyright | 12 | * 1. Redistributions of source code must retain the above copyright | |
13 | * notice, this list of conditions and the following disclaimer. | 13 | * notice, this list of conditions and the following disclaimer. | |
14 | * 2. Redistributions in binary form must reproduce the above copyright | 14 | * 2. Redistributions in binary form must reproduce the above copyright | |
@@ -639,36 +639,36 @@ message createfstab | @@ -639,36 +639,36 @@ message createfstab | |||
639 | {There is a big problem! Can not create /mnt/etc/fstab. Bailing out! | 639 | {There is a big problem! Can not create /mnt/etc/fstab. Bailing out! | |
640 | } | 640 | } | |
641 | 641 | |||
642 | 642 | |||
643 | message noetcfstab | 643 | message noetcfstab | |
644 | {Help! No /etc/fstab in target disk %s. Aborting upgrade. | 644 | {Help! No /etc/fstab in target disk %s. Aborting upgrade. | |
645 | } | 645 | } | |
646 | 646 | |||
647 | message badetcfstab | 647 | message badetcfstab | |
648 | {Help! Can't parse /etc/fstab in target disk %s. Aborting upgrade. | 648 | {Help! Can't parse /etc/fstab in target disk %s. Aborting upgrade. | |
649 | } | 649 | } | |
650 | 650 | |||
651 | message X_oldexists | 651 | message X_oldexists | |
652 | {I cannot save /usr/X11R6/bin/X as /usr/X11R6/bin/X.old, because the | 652 | {I cannot save /usr/X11R7/bin/X as /usr/X11R7/bin/X.old, because the | |
653 | target disk already has an /usr/X11R6/bin/X.old. Please fix this before | 653 | target disk already has an /usr/X11R7/bin/X.old. Please fix this before | |
654 | continuing. | 654 | continuing. | |
655 | 655 | |||
656 | One way is to start a shell from the Utilities menu, examine the | 656 | One way is to start a shell from the Utilities menu, examine the | |
657 | target /usr/X11R6/bin/X and /usr/X11R6/bin/X.old. If | 657 | target /usr/X11R7/bin/X and /usr/X11R7/bin/X.old. If | |
658 | /usr/X11R6/bin/X.old is from a completed upgrade, you can rm -f | 658 | /usr/X11R7/bin/X.old is from a completed upgrade, you can rm -f | |
659 | /usr/X11R6/bin/X.old and restart. Or if /usr/X11R6/bin/X.old is from | 659 | /usr/X11R7/bin/X.old and restart. Or if /usr/X11R7/bin/X.old is from | |
660 | a recent, incomplete upgrade, you can rm -f /usr/X11R6/bin/X and mv | 660 | a recent, incomplete upgrade, you can rm -f /usr/X11R7/bin/X and mv | |
661 | /usr/X11R6/bin/X.old to /usr/X11R6/bin/X. | 661 | /usr/X11R7/bin/X.old to /usr/X11R7/bin/X. | |
662 | 662 | |||
663 | Aborting upgrade.} | 663 | Aborting upgrade.} | |
664 | 664 | |||
665 | message netnotup | 665 | message netnotup | |
666 | {There was a problem in setting up the network. Either your gateway | 666 | {There was a problem in setting up the network. Either your gateway | |
667 | or your nameserver was not reachable by a ping. Do you want to | 667 | or your nameserver was not reachable by a ping. Do you want to | |
668 | configure your network again? (No allows you to continue anyway | 668 | configure your network again? (No allows you to continue anyway | |
669 | or abort the install process.) | 669 | or abort the install process.) | |
670 | } | 670 | } | |
671 | 671 | |||
672 | message netnotup_continueanyway | 672 | message netnotup_continueanyway | |
673 | {Would you like to continue the install process anyway, and assume | 673 | {Would you like to continue the install process anyway, and assume | |
674 | that the network is working? (No aborts the install process.) | 674 | that the network is working? (No aborts the install process.) |
--- src/distrib/utils/sysinst/Attic/msg.mi.es 2011/04/17 12:33:42 1.35
+++ src/distrib/utils/sysinst/Attic/msg.mi.es 2012/01/07 18:54:30 1.36
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | /* $NetBSD: msg.mi.es,v 1.35 2011/04/17 12:33:42 martin Exp $ */ | 1 | /* $NetBSD: msg.mi.es,v 1.36 2012/01/07 18:54:30 christos Exp $ */ | |
2 | 2 | |||
3 | /* | 3 | /* | |
4 | * Copyright 1997 Piermont Information Systems Inc. | 4 | * Copyright 1997 Piermont Information Systems Inc. | |
5 | * All rights reserved. | 5 | * All rights reserved. | |
6 | * | 6 | * | |
7 | * Written by Philip A. Nelson for Piermont Information Systems Inc. | 7 | * Written by Philip A. Nelson for Piermont Information Systems Inc. | |
8 | * | 8 | * | |
9 | * Redistribution and use in source and binary forms, with or without | 9 | * Redistribution and use in source and binary forms, with or without | |
10 | * modification, are permitted provided that the following conditions | 10 | * modification, are permitted provided that the following conditions | |
11 | * are met: | 11 | * are met: | |
12 | * 1. Redistributions of source code must retain the above copyright | 12 | * 1. Redistributions of source code must retain the above copyright | |
13 | * notice, this list of conditions and the following disclaimer. | 13 | * notice, this list of conditions and the following disclaimer. | |
14 | * 2. Redistributions in binary form must reproduce the above copyright | 14 | * 2. Redistributions in binary form must reproduce the above copyright | |
@@ -659,36 +659,36 @@ message createfstab | @@ -659,36 +659,36 @@ message createfstab | |||
659 | 659 | |||
660 | 660 | |||
661 | message noetcfstab | 661 | message noetcfstab | |
662 | {¡Ayuda! No hay /etc/fstab del disco objetivo %s. | 662 | {¡Ayuda! No hay /etc/fstab del disco objetivo %s. | |
663 | Interrumpiendo la actualización. | 663 | Interrumpiendo la actualización. | |
664 | } | 664 | } | |
665 | 665 | |||
666 | message badetcfstab | 666 | message badetcfstab | |
667 | {¡Ayuda! No se puede analizar /etc/fstab en el disco objetivo %s. | 667 | {¡Ayuda! No se puede analizar /etc/fstab en el disco objetivo %s. | |
668 | Interrumpiendo la actualización. | 668 | Interrumpiendo la actualización. | |
669 | } | 669 | } | |
670 | 670 | |||
671 | message X_oldexists | 671 | message X_oldexists | |
672 | {No se puede guardar /usr/X11R6/bin/X como /usr/X11R6/bin/X.old, porque el | 672 | {No se puede guardar /usr/X11R7/bin/X como /usr/X11R7/bin/X.old, porque el | |
673 | disco objetivo ya tiene un /usr/X11R6/bin/X.old. Por favor, arregle esto | 673 | disco objetivo ya tiene un /usr/X11R7/bin/X.old. Por favor, arregle esto | |
674 | antes de continuar. | 674 | antes de continuar. | |
675 | 675 | |||
676 | Una manera es iniciando una shell desde el menú Utilidades, y examinar | 676 | Una manera es iniciando una shell desde el menú Utilidades, y examinar | |
677 | el objetivo /usr/X11R6/bin/X y /usr/X11R6/bin/X.old. Si | 677 | el objetivo /usr/X11R7/bin/X y /usr/X11R7/bin/X.old. Si | |
678 | /usr/X11R6/bin/X.old es de una actualización completada, puede rm -f | 678 | /usr/X11R7/bin/X.old es de una actualización completada, puede rm -f | |
679 | /usr/X11R6/bin/X.old y reiniciar. O si /usr/X11R6/bin/X.old es de | 679 | /usr/X11R7/bin/X.old y reiniciar. O si /usr/X11R7/bin/X.old es de | |
680 | una actualizacion reciente e incompleta, puede rm -f /usr/X11R6/bin/X | 680 | una actualizacion reciente e incompleta, puede rm -f /usr/X11R7/bin/X | |
681 | y mv /usr/X11R6/bin/X.old a /usr/X11R6/bin/X. | 681 | y mv /usr/X11R7/bin/X.old a /usr/X11R7/bin/X. | |
682 | 682 | |||
683 | Interrumpiendo la actualización.} | 683 | Interrumpiendo la actualización.} | |
684 | 684 | |||
685 | message netnotup | 685 | message netnotup | |
686 | {Ha habido un problema configurando la red. O su pasarela o su servidor | 686 | {Ha habido un problema configurando la red. O su pasarela o su servidor | |
687 | de nombres no son alcanzables por un ping. ¿Quiere configurar la red | 687 | de nombres no son alcanzables por un ping. ¿Quiere configurar la red | |
688 | de nuevo? («No» le permite continuar de todos modos o interrumpir el | 688 | de nuevo? («No» le permite continuar de todos modos o interrumpir el | |
689 | proceso de instalación.) | 689 | proceso de instalación.) | |
690 | } | 690 | } | |
691 | 691 | |||
692 | message netnotup_continueanyway | 692 | message netnotup_continueanyway | |
693 | {¿Le gustaría continuar el proceso de instalación de todos modos, y | 693 | {¿Le gustaría continuar el proceso de instalación de todos modos, y | |
694 | suponer que la red está funcionando? («No» interrumpe el proceso de | 694 | suponer que la red está funcionando? («No» interrumpe el proceso de |
--- src/distrib/utils/sysinst/Attic/msg.mi.fr 2011/04/17 12:33:42 1.115
+++ src/distrib/utils/sysinst/Attic/msg.mi.fr 2012/01/07 18:54:31 1.116
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | /* $NetBSD: msg.mi.fr,v 1.115 2011/04/17 12:33:42 martin Exp $ */ | 1 | /* $NetBSD: msg.mi.fr,v 1.116 2012/01/07 18:54:31 christos Exp $ */ | |
2 | 2 | |||
3 | /* | 3 | /* | |
4 | * Copyright 1997 Piermont Information Systems Inc. | 4 | * Copyright 1997 Piermont Information Systems Inc. | |
5 | * All rights reserved. | 5 | * All rights reserved. | |
6 | * | 6 | * | |
7 | * Written by Philip A. Nelson for Piermont Information Systems Inc. | 7 | * Written by Philip A. Nelson for Piermont Information Systems Inc. | |
8 | * | 8 | * | |
9 | * Redistribution and use in source and binary forms, with or without | 9 | * Redistribution and use in source and binary forms, with or without | |
10 | * modification, are permitted provided that the following conditions | 10 | * modification, are permitted provided that the following conditions | |
11 | * are met: | 11 | * are met: | |
12 | * 1. Redistributions of source code must retain the above copyright | 12 | * 1. Redistributions of source code must retain the above copyright | |
13 | * notice, this list of conditions and the following disclaimer. | 13 | * notice, this list of conditions and the following disclaimer. | |
14 | * 2. Redistributions in binary form must reproduce the above copyright | 14 | * 2. Redistributions in binary form must reproduce the above copyright | |
@@ -693,36 +693,36 @@ Ceci est une erreur majeure : nous ne po | @@ -693,36 +693,36 @@ Ceci est une erreur majeure : nous ne po | |||
693 | Échec de l'installation. | 693 | Échec de l'installation. | |
694 | } | 694 | } | |
695 | 695 | |||
696 | message badetcfstab | 696 | message badetcfstab | |
697 | { | 697 | { | |
698 | Impossible de lire le contenu du fichier /etc/fstab présent sur | 698 | Impossible de lire le contenu du fichier /etc/fstab présent sur | |
699 | le disque cible %s | 699 | le disque cible %s | |
700 | Ceci est une erreur majeure : nous ne pouvons continuer. | 700 | Ceci est une erreur majeure : nous ne pouvons continuer. | |
701 | Échec de l'installation. | 701 | Échec de l'installation. | |
702 | } | 702 | } | |
703 | 703 | |||
704 | message X_oldexists | 704 | message X_oldexists | |
705 | { | 705 | { | |
706 | Impossible de sauvegarder /usr/X11R6/bin/X : le disque contient déjà | 706 | Impossible de sauvegarder /usr/X11R7/bin/X : le disque contient déjà | |
707 | un fichier /usr/X11R6/bin/X.old et nous devons renommer l'actuel fichier | 707 | un fichier /usr/X11R7/bin/X.old et nous devons renommer l'actuel fichier | |
708 | avec ce nom. Veuillez supprimer ou renommer le fichier X.old avant de | 708 | avec ce nom. Veuillez supprimer ou renommer le fichier X.old avant de | |
709 | recommencer. | 709 | recommencer. | |
710 | Vous pouvez démarrer un shell depuis le menu "Utilitaires" afin | 710 | Vous pouvez démarrer un shell depuis le menu "Utilitaires" afin | |
711 | de faire cette modification. | 711 | de faire cette modification. | |
712 | Ce fichier provient probablement d'une ancienne mise à jour et | 712 | Ce fichier provient probablement d'une ancienne mise à jour et | |
713 | il est possible de le supprimer. S'il provient d'une mise à jour | 713 | il est possible de le supprimer. S'il provient d'une mise à jour | |
714 | incomplète, vous pouvez effacer /usr/X11R6/bin/X et renommer | 714 | incomplète, vous pouvez effacer /usr/X11R7/bin/X et renommer | |
715 | /usr/X11R6/bin/X.old en /usr/X11R6/bin/X. | 715 | /usr/X11R7/bin/X.old en /usr/X11R7/bin/X. | |
716 | 716 | |||
717 | Arrêt de la mise à jour. | 717 | Arrêt de la mise à jour. | |
718 | } | 718 | } | |
719 | 719 | |||
720 | 720 | |||
721 | message netnotup | 721 | message netnotup | |
722 | { | 722 | { | |
723 | Un problème est survenu lors de la configuration de votre interface | 723 | Un problème est survenu lors de la configuration de votre interface | |
724 | réseau. Votre serveur de noms ou bien votre passerelle ne semblent pas | 724 | réseau. Votre serveur de noms ou bien votre passerelle ne semblent pas | |
725 | répondre aux pings. | 725 | répondre aux pings. | |
726 | Souhaitez-vous configurer à nouveau les paramètres de votre | 726 | Souhaitez-vous configurer à nouveau les paramètres de votre | |
727 | connexion réseau ? | 727 | connexion réseau ? | |
728 | (un refus provoquera l'arrêt de la procédure d'installation) | 728 | (un refus provoquera l'arrêt de la procédure d'installation) |
--- src/distrib/utils/sysinst/Attic/msg.mi.pl 2011/04/17 12:33:42 1.74
+++ src/distrib/utils/sysinst/Attic/msg.mi.pl 2012/01/07 18:54:31 1.75
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | /* $NetBSD: msg.mi.pl,v 1.74 2011/04/17 12:33:42 martin Exp $ */ | 1 | /* $NetBSD: msg.mi.pl,v 1.75 2012/01/07 18:54:31 christos Exp $ */ | |
2 | /* Based on english version: */ | 2 | /* Based on english version: */ | |
3 | /* NetBSD: msg.mi.pl,v 1.36 2004/04/17 18:55:35 atatat Exp */ | 3 | /* NetBSD: msg.mi.pl,v 1.36 2004/04/17 18:55:35 atatat Exp */ | |
4 | 4 | |||
5 | /* | 5 | /* | |
6 | * Copyright 1997 Piermont Information Systems Inc. | 6 | * Copyright 1997 Piermont Information Systems Inc. | |
7 | * All rights reserved. | 7 | * All rights reserved. | |
8 | * | 8 | * | |
9 | * Written by Philip A. Nelson for Piermont Information Systems Inc. | 9 | * Written by Philip A. Nelson for Piermont Information Systems Inc. | |
10 | * | 10 | * | |
11 | * Redistribution and use in source and binary forms, with or without | 11 | * Redistribution and use in source and binary forms, with or without | |
12 | * modification, are permitted provided that the following conditions | 12 | * modification, are permitted provided that the following conditions | |
13 | * are met: | 13 | * are met: | |
14 | * 1. Redistributions of source code must retain the above copyright | 14 | * 1. Redistributions of source code must retain the above copyright | |
@@ -638,35 +638,35 @@ message createfstab | @@ -638,35 +638,35 @@ message createfstab | |||
638 | {Pojawil sie powazny problem! Nie mozna utworzyc /mnt/etc/fstab. Spadamy! | 638 | {Pojawil sie powazny problem! Nie mozna utworzyc /mnt/etc/fstab. Spadamy! | |
639 | } | 639 | } | |
640 | 640 | |||
641 | 641 | |||
642 | message noetcfstab | 642 | message noetcfstab | |
643 | {Pomocy! Na dysku docelowym %s nie ma /etc/fstab. Przerywamy aktualizacje. | 643 | {Pomocy! Na dysku docelowym %s nie ma /etc/fstab. Przerywamy aktualizacje. | |
644 | } | 644 | } | |
645 | 645 | |||
646 | message badetcfstab | 646 | message badetcfstab | |
647 | {Pomocy! Nie moge przeczytac /etc/fstab na dysku %s. Przerywamy aktualizacje. | 647 | {Pomocy! Nie moge przeczytac /etc/fstab na dysku %s. Przerywamy aktualizacje. | |
648 | } | 648 | } | |
649 | 649 | |||
650 | message X_oldexists | 650 | message X_oldexists | |
651 | {Nie moge zapisac /usr/X11R6/bin/X jako /usr/X11R6/bin/X.old, poniewaz | 651 | {Nie moge zapisac /usr/X11R7/bin/X jako /usr/X11R7/bin/X.old, poniewaz | |
652 | na docelowym dysku jest juz /usr/X11R6/bin/X.old. Napraw to przed kontynuacja. | 652 | na docelowym dysku jest juz /usr/X11R7/bin/X.old. Napraw to przed kontynuacja. | |
653 | 653 | |||
654 | Jedyny sposob to uruchomic powloke z menu Narzedziowego i sprawdzic | 654 | Jedyny sposob to uruchomic powloke z menu Narzedziowego i sprawdzic | |
655 | docelowe /usr/X11R6/bin/X oraz /usr/X11R6/bin/X.old. Jesli | 655 | docelowe /usr/X11R7/bin/X oraz /usr/X11R7/bin/X.old. Jesli | |
656 | /usr/X11R6/bin/X.old pochodzi z zakonczonej aktualizacji, mozesz usunac | 656 | /usr/X11R7/bin/X.old pochodzi z zakonczonej aktualizacji, mozesz usunac | |
657 | /usr/X11R6/bin/X.old i zrobic restart. Albo jesli /usr/X11R6/bin/X.old | 657 | /usr/X11R7/bin/X.old i zrobic restart. Albo jesli /usr/X11R7/bin/X.old | |
658 | pochodzi z aktualnej niekompletnej aktualizacji, mozesz usunac | 658 | pochodzi z aktualnej niekompletnej aktualizacji, mozesz usunac | |
659 | /usr/X11R6/bin/X i przeniesc /usr/X11R6/bin/X.old na /usr/X11R6/bin/X. | 659 | /usr/X11R7/bin/X i przeniesc /usr/X11R7/bin/X.old na /usr/X11R7/bin/X. | |
660 | 660 | |||
661 | Przerywamy aktualizacje.} | 661 | Przerywamy aktualizacje.} | |
662 | 662 | |||
663 | message netnotup | 663 | message netnotup | |
664 | {Pojawil sie problem z konfiguracja twojej sieci. Albo twoja bramka | 664 | {Pojawil sie problem z konfiguracja twojej sieci. Albo twoja bramka | |
665 | albo serwer nazw nie byl osiagalny przez ping. Czy chcesz skonfigurowac | 665 | albo serwer nazw nie byl osiagalny przez ping. Czy chcesz skonfigurowac | |
666 | siec jeszcze raz? (Nie pozwala ci kontynuowac lub przerwac instalacje.) | 666 | siec jeszcze raz? (Nie pozwala ci kontynuowac lub przerwac instalacje.) | |
667 | } | 667 | } | |
668 | 668 | |||
669 | message netnotup_continueanyway | 669 | message netnotup_continueanyway | |
670 | {Czy chcesz kontynuowac proces instalacji i zalozyc, ze twoja siec dziala? | 670 | {Czy chcesz kontynuowac proces instalacji i zalozyc, ze twoja siec dziala? | |
671 | (Nie przerywa procesu instalacji.) | 671 | (Nie przerywa procesu instalacji.) | |
672 | } | 672 | } |
--- src/distrib/utils/sysinst/Attic/upgrade.c 2011/04/04 08:30:14 1.51
+++ src/distrib/utils/sysinst/Attic/upgrade.c 2012/01/07 18:54:31 1.52
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | /* $NetBSD: upgrade.c,v 1.51 2011/04/04 08:30:14 mbalmer Exp $ */ | 1 | /* $NetBSD: upgrade.c,v 1.52 2012/01/07 18:54:31 christos Exp $ */ | |
2 | 2 | |||
3 | /* | 3 | /* | |
4 | * Copyright 1997 Piermont Information Systems Inc. | 4 | * Copyright 1997 Piermont Information Systems Inc. | |
5 | * All rights reserved. | 5 | * All rights reserved. | |
6 | * | 6 | * | |
7 | * Written by Philip A. Nelson for Piermont Information Systems Inc. | 7 | * Written by Philip A. Nelson for Piermont Information Systems Inc. | |
8 | * | 8 | * | |
9 | * Redistribution and use in source and binary forms, with or without | 9 | * Redistribution and use in source and binary forms, with or without | |
10 | * modification, are permitted provided that the following conditions | 10 | * modification, are permitted provided that the following conditions | |
11 | * are met: | 11 | * are met: | |
12 | * 1. Redistributions of source code must retain the above copyright | 12 | * 1. Redistributions of source code must retain the above copyright | |
13 | * notice, this list of conditions and the following disclaimer. | 13 | * notice, this list of conditions and the following disclaimer. | |
14 | * 2. Redistributions in binary form must reproduce the above copyright | 14 | * 2. Redistributions in binary form must reproduce the above copyright | |
@@ -102,57 +102,57 @@ do_upgrade(void) | @@ -102,57 +102,57 @@ do_upgrade(void) | |||
102 | 102 | |||
103 | merge_X(); | 103 | merge_X(); | |
104 | 104 | |||
105 | sanity_check(); | 105 | sanity_check(); | |
106 | } | 106 | } | |
107 | 107 | |||
108 | /* | 108 | /* | |
109 | * Save X symlink to X.old so it can be recovered later | 109 | * Save X symlink to X.old so it can be recovered later | |
110 | */ | 110 | */ | |
111 | static int | 111 | static int | |
112 | save_X(void) | 112 | save_X(void) | |
113 | { | 113 | { | |
114 | /* Only care for X if it's a symlink */ | 114 | /* Only care for X if it's a symlink */ | |
115 | if (target_symlink_exists_p("/usr/X11R6/bin/X")) { | 115 | if (target_symlink_exists_p("/usr/X11R7/bin/X")) { | |
116 | if (target_symlink_exists_p("/usr/X11R6/bin/X.old")) { | 116 | if (target_symlink_exists_p("/usr/X11R7/bin/X.old")) { | |
117 | msg_display(MSG_X_oldexists); | 117 | msg_display(MSG_X_oldexists); | |
118 | process_menu(MENU_ok, NULL); | 118 | process_menu(MENU_ok, NULL); | |
119 | return EEXIST; | 119 | return EEXIST; | |
120 | } | 120 | } | |
121 | 121 | |||
122 | #ifdef DEBUG | 122 | #ifdef DEBUG | |
123 | printf("saving /usr/X11R6/bin/X as .../X.old ..."); | 123 | printf("saving /usr/X11R7/bin/X as .../X.old ..."); | |
124 | #endif | 124 | #endif | |
125 | 125 | |||
126 | /* Move target .../X to .../X.old. Abort on error. */ | 126 | /* Move target .../X to .../X.old. Abort on error. */ | |
127 | mv_within_target_or_die("/usr/X11R6/bin/X", | 127 | mv_within_target_or_die("/usr/X11R7/bin/X", | |
128 | "/usr/X11R6/bin/X.old"); | 128 | "/usr/X11R7/bin/X.old"); | |
129 | } | 129 | } | |
130 | 130 | |||
131 | return 0; | 131 | return 0; | |
132 | } | 132 | } | |
133 | 133 | |||
134 | /* | 134 | /* | |
135 | * Merge back saved target X files after unpacking the new | 135 | * Merge back saved target X files after unpacking the new | |
136 | * sets has completed. | 136 | * sets has completed. | |
137 | */ | 137 | */ | |
138 | static int | 138 | static int | |
139 | merge_X(void) | 139 | merge_X(void) | |
140 | { | 140 | { | |
141 | if (target_symlink_exists_p("/usr/X11R6/bin/X.old")) { | 141 | if (target_symlink_exists_p("/usr/X11R7/bin/X.old")) { | |
142 | /* Only move back X if it's a symlink - we don't want | 142 | /* Only move back X if it's a symlink - we don't want | |
143 | * to restore old binaries */ | 143 | * to restore old binaries */ | |
144 | mv_within_target_or_die("/usr/X11R6/bin/X.old", | 144 | mv_within_target_or_die("/usr/X11R7/bin/X.old", | |
145 | "/usr/X11R6/bin/X"); | 145 | "/usr/X11R7/bin/X"); | |
146 | } | 146 | } | |
147 | 147 | |||
148 | return 0; | 148 | return 0; | |
149 | } | 149 | } | |
150 | 150 | |||
151 | /* | 151 | /* | |
152 | * Unpacks sets, clobbering existing contents. | 152 | * Unpacks sets, clobbering existing contents. | |
153 | */ | 153 | */ | |
154 | void | 154 | void | |
155 | do_reinstall_sets(void) | 155 | do_reinstall_sets(void) | |
156 | { | 156 | { | |
157 | 157 | |||
158 | unwind_mounts(); | 158 | unwind_mounts(); |