Results 1 to 4 of 4

Thread: Ubuntu 20.04.2 openssh installation issues

  1. #1
    Join Date
    Apr 2020
    Beans
    5

    Unhappy Ubuntu 20.04.2 openssh installation issues

    Hi guys,


    I am experiencing weird issues with the installation of openssh on an out of the box Ubuntu 20.04.2 LTS. I will give you the outputs I am getting;


    Version Information:
    Code:
    madelaet@Pod1-SFTP:~$ lsb_release -a
    No LSB modules are available.
    Distributor ID:    Ubuntu
    Description:    Ubuntu 20.04.2 LTS
    Release:    20.04
    Codename:    focal

    update check:
    Code:
    adelaet@Pod1-SFTP:~$ sudo apt update
    Hit:1 http://be.archive.ubuntu.com/ubuntu focal InRelease
    Get:2 http://be.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
    Get:3 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]    
    Get:4 http://be.archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB] 
    Reading package lists... Done      
    E: Release file for http://be.archive.ubuntu.com/ubuntu/dists/focal-updates/InRelease is not valid yet (invalid for another 6h 38min 3s). Updates for this repository will not be applied.
    E: Release file for http://security.ubuntu.com/ubuntu/dists/focal-security/InRelease is not valid yet (invalid for another 7h 7min 42s). Updates for this repository will not be applied.
    E: Release file for http://be.archive.ubuntu.com/ubuntu/dists/focal-backports/InRelease is not valid yet (invalid for another 6h 38min 38s). Updates for this repository will not be applied.

    ssh:
    Code:
    madelaet@Pod1-SFTP:~$ sudo apt install ssh
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:
    
    
    The following packages have unmet dependencies:
     ssh : Depends: openssh-server (>= 1:8.2p1-4)
    E: Unable to correct problems, you have held broken packages.

    Check for broken packages (none seem to be broken):
    Code:
    madelaet@Pod1-SFTP:~$ sudo apt-get --fix-broken install
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

    openssh-server:
    Code:
    madelaet@Pod1-SFTP:~$ sudo apt install openssh-server
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:
    
    
    The following packages have unmet dependencies:
     openssh-server : Depends: openssh-client (= 1:8.2p1-4)
                      Depends: openssh-sftp-server
                      Recommends: ssh-import-id but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.

    ssh-import-id (installed this few hours ago):
    Code:
    madelaet@Pod1-SFTP:~$ sudo apt install ssh-import-id
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    ssh-import-id is already the newest version (5.10-0ubuntu1).
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

    openssh-sftp-server (where we start to loop):
    Code:
    madelaet@Pod1-SFTP:~$ sudo apt install openssh-sftp-server
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:
    
    
    The following packages have unmet dependencies:
     openssh-sftp-server : Depends: openssh-client (= 1:8.2p1-4)
                           Recommends: openssh-server or
                                       ssh-server
    E: Unable to correct problems, you have held broken packages.

    As you can see I am very much stuck in this dependency loop, it's really weird behavior, especially considering this is a fresh install of an Ubuntu LTS release. Any guidance would be appreciated.

  2. #2
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    13,616
    Distro
    Ubuntu

    Re: Ubuntu 20.04.2 openssh installation issues

    Your update check failed.
    Everything after that was bound to fail as well.

    The issue seems to be your clock is set to the wrong time.
    See:https://itsfoss.com/fix-repository-n...-error-ubuntu/
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  3. #3
    Join Date
    Apr 2020
    Beans
    5

    Re: Ubuntu 20.04.2 openssh installation issues

    Hi Deadflowr,

    I forgot to reply. Seems like you spotted the issue, thanks a lot!

  4. #4
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    13,616
    Distro
    Ubuntu

    Re: Ubuntu 20.04.2 openssh installation issues

    It's okay.
    The forums recently under went some maintenance,
    which has/had left some lingering posting issues.
    Most are resolved now.
    So it's probably a good thing you replied a little later.

    That said,
    if your issues have been solved please mark this thread as solved:
    https://wiki.ubuntu.com/UnansweredPo.../SolvedThreads
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •