[asterisk-bugs] [JIRA] (ASTERISK-26244) contrib/scripts/install_prereq can remove ssh daemon on ubuntu

Joshua Colp (JIRA) noreply at issues.asterisk.org
Wed Jul 27 12:12:56 CDT 2016


    [ https://issues.asterisk.org/jira/browse/ASTERISK-26244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=231592#comment-231592 ] 

Joshua Colp edited comment on ASTERISK-26244 at 7/27/16 12:11 PM:
------------------------------------------------------------------

This is not an issue in install_prereq or Asterisk itself, but a package dependency problem in Ubuntu, as described on ASTERISK-25977:

Although I verified this, the issue isn't Asterisk related other than the Asterisk install_prereq script requires libsnmp-dev. In an install from CD, this package's default conflict resolution solution is to uninstall network-manager, openssh-server, git, perl and a whole bunch of other packages instead of upgrading them. The work-around is to do a 'apt-get update' followed by an 'apt-get upgrade' BEFORE running install_prereq. Once this is done, a subsequent install of libsnmp-dev completes successfully.


was (Author: jcolp):
This is not an issue in install_prereq or Asterisk itself, but a package dependency problem in Ubuntu, as described on ASTERISK-25977:

{noformat}
Although I verified this, the issue isn't Asterisk related other than the Asterisk install_prereq script requires libsnmp-dev. In an install from CD, this package's default conflict resolution solution is to uninstall network-manager, openssh-server, git, perl and a whole bunch of other packages instead of upgrading them. The work-around is to do a 'apt-get update' followed by an 'apt-get upgrade' BEFORE running install_prereq. Once this is done, a subsequent install of libsnmp-dev completes successfully.
{noformat}

> contrib/scripts/install_prereq can remove ssh daemon on ubuntu
> --------------------------------------------------------------
>
>                 Key: ASTERISK-26244
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26244
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>    Affects Versions: 13.10.0
>         Environment: Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-48-generic x86_64) in AWS
>            Reporter: Jeff Sternberg
>
> After running the install_prereq script on ubuntu, I was unable to ssh into the machine in question. I reverted to a backup of that machine and noticed that in the output of the installation that openssh was removed and not reinstalled. 
> emoving libtext-soundex-perl (3.4-1build1) ...
> Removing libtimedate-perl (2.3000-1) ...
> ######Removing openssh-server (1:6.6p1-2ubuntu2) ...
> ######ssh stop/waiting
> Removing perl-modules (5.18.2-2ubuntu1) ...
> Removing init-system-helpers (1.14) ...
> Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
> Processing triggers for install-info (5.2.0.dfsg.1-2) ...
> Reading package lists...
> The program ssh was not available in /usr/sbin/. This occurred every time I tried running that script on a fresh machine.
> Once I logged out of that terminal the machine was no longer accessible. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list