The problem is not openssh-server, the problem is your system is somehow corrupt. Which can happen from a bad install. It ended prematurely for a number of reasons. *OR* you started screwing around with a good install, and messed it up.
Start over again, and if the image you have does the same thing again, get a different image. On Tue, Jun 7, 2016 at 12:19 AM, malkowki <[email protected]> wrote: > I have tried > > sudo apt-get update && sudo apt-get -f install > > > and I goy issue like below: > Saisissez le code ici...Hit http://repos.rcn-ee.com jessie InRelease > Ign http://ftp.us.debian.org jessie InRelease > Hit http://security.debian.org jessie/updates InRelease > Hit http://ftp.us.debian.org jessie-updates InRelease > Get:1 http://repos.rcn-ee.com jessie/main armhf Packages [477 kB] > > Get:2 http://security.debian.org jessie/updates/main armhf Packages [299 > kB] > Hit http://ftp.us.debian.org jessie Release.gpg > > Get:3 http://ftp.us.debian.org jessie-updates/main armhf Packages [17.4 > kB] > Get:4 http://ftp.us.debian.org jessie-updates/contrib armhf Packages [20 > B] > Get:5 http://ftp.us.debian.org jessie-updates/non-free armhf Packages > [450 B] > Get:6 http://security.debian.org jessie/updates/contrib armhf Packages > [994 B] > Hit http://ftp.us.debian.org jessie Release > > Get:7 http://security.debian.org jessie/updates/non-free armhf Packages > [20 B] > Get:8 http://ftp.us.debian.org jessie/main armhf Packages [8,832 kB] > Get:9 http://ftp.us.debian.org jessie/contrib armhf Packages [44.7 kB] > > Get:10 http://ftp.us.debian.org jessie/non-free armhf Packages [74.6 kB] > > Fetched 9,747 kB in 31s (307 kB/s) > > Reading package lists... Done > Reading package lists... Done > Building dependency tree > Reading state information... Done > Correcting dependencies... Done > The following extra packages will be installed: > perl perl-base perl-modules > Suggested packages: > perl-doc libterm-readline-gnu-perl libterm-readline-perl-perl libb-lint- > perl > libcpanplus-dist-build-perl libcpanplus-perl libfile-checktree-perl > liblog-message-simple-perl liblog-message-perl libobject-accessor-perl > Recommended packages: > rename libarchive-extract-perl libmodule-pluggable-perl libpod-latex- > perl > libterm-ui-perl libtext-soundex-perl libcgi-pm-perl libmodule-build-perl > The following packages will be REMOVED: > openssh-server > The following NEW packages will be installed: > perl-base > The following packages will be upgraded: > perl perl-modules > 2 upgraded, 1 newly installed, 1 to remove and 42 not upgraded. > 1 not fully installed or removed. > Need to get 5,724 kB of archives. > After this operation, 3,255 kB of additional disk space will be used. > Do you want to continue? [Y/n] y > Get:1 http://ftp.us.debian.org/debian/ jessie/main perl-modules all > 5.20.2-3+deb8u5 [2,546 kB] > Get:2 http://ftp.us.debian.org/debian/ jessie/main perl armhf > 5.20.2-3+deb8u5 [2,052 kB] > Get:3 http://ftp.us.debian.org/debian/ jessie/main perl-base armhf > 5.20.2-3+deb8u5 [1,127 kB] > Fetched 5,724 kB in 7s (756 kB/s) > > /usr/sbin/dpkg-preconfigure: 6: /usr/sbin/dpkg-preconfigure: BEGIN: not > found > /usr/sbin/dpkg-preconfigure: 1: eval: qq{: not found > /usr/sbin/dpkg-preconfigure: 8: /usr/sbin/dpkg-preconfigure: use: not > found > /usr/sbin/dpkg-preconfigure: 9: /usr/sbin/dpkg-preconfigure: use: not > found > /usr/sbin/dpkg-preconfigure: 10: /usr/sbin/dpkg-preconfigure: Syntax error > : "(" unexpected > (Reading database ... 249884 files and directories currently installed.) > Removing openssh-server (1:6.7p1-5+deb8u2) ... > /usr/bin/perl: 1: /usr/bin/perl: ELF : not found > /usr/bin/perl: 3: /usr/bin/perl: Syntax error: "(" unexpected > dpkg: error processing package openssh-server (--remove): > subprocess installed post-removal script returned error exit status 2 > Errors were encountered while processing: > openssh-server > > > > > Le mardi 7 juin 2016 09:06:27 UTC+2, malkowki a écrit : >> >> Hi Robert, >> >> I have tried the command line as you advise but this time I got the >> followng error: >> >> /usr/sbin/dpkg-reconfigure: line 6: syntax error near unexpected token >> `{' >> /usr/sbin/dpkg-reconfigure: line 6: `if (exists $ENV{DEBCONF_USE_CDEBCONF >> } and $ENV{DEBCONF_USE_CDEBCONF} ne '') {' >> >> I have searched a solution on the internet but I couldn't find it any >> idea how to solve it? >> >> Le lundi 6 juin 2016 16:35:41 UTC+2, RobertCNelson a écrit : >>> >>> On Mon, Jun 6, 2016 at 9:33 AM, malkowki <[email protected]> wrote: >>> > Hello Robert, >>> > >>> > It looks like some steps failed since I can see that under /etc/ssh >>> there >>> > are only 4 files moduli ssh_config sshd_config and ssh.regenerate. >>> > Is there a way to regenerate the missing files or repeat the >>> > bbb-eMMC-flasher-eewiki? >>> >>> >>> sudo dpkg-reconfigure openssh-server >>> sync >>> sudo rm -f /etc/ssh/ssh.regenerate >>> >>> Regards, >>> >>> -- >>> Robert Nelson >>> https://rcn-ee.com/ >>> >> -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beagleboard/6d800a98-6914-49bf-8434-8242ca151941%40googlegroups.com > <https://groups.google.com/d/msgid/beagleboard/6d800a98-6914-49bf-8434-8242ca151941%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CALHSORqqO2N5eKrYd0yrap0BoT2chPnozPysCuUN21K65vkEaA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
