Results 1 to 7 of 7

Thread: Broken Dependencies

  1. #1
    Join Date
    Nov 2006
    Beans
    34

    Broken Dependencies

    I'm trying to setup & configure my home Ubuntu box for SSH access. I honestly don't care if it's with OpenSSH-Server(is this the only option?). As you can see, I am getting the following dependency errors. What steps can I take in order to resolve this?

    root@LINUXBOX:~# apt-get 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:5.3p1-3ubuntu3) but 1:5.3p1-3ubuntu7 is to be installed
    E: Broken packages
    root@LINUXBOX:~# cat /etc/lsb-release
    DISTRIB_ID=Ubuntu
    DISTRIB_RELEASE=10.04
    DISTRIB_CODENAME=lucid
    DISTRIB_DESCRIPTION="Ubuntu 10.04.4 LTS"

  2. #2
    Join Date
    Nov 2010
    Location
    India
    Beans
    4,840
    Distro
    Ubuntu Development Release

    Re: Broken Dependencies

    open your terminal and type this

    Code:
    sudo apt-get install -f
    Google First your issue , if no solution then ask.

    రాజ శేఖర్ రెడ్డి

  3. #3
    Join Date
    Nov 2006
    Beans
    34

    Re: Broken Dependencies

    Quote Originally Posted by raja.genupula View Post
    open your terminal and type this

    Code:
    sudo apt-get install -f
    Still getting the same error listed in my original post. Please advise.... should I just update to 12?

    Code:
    root@LINUXBOX:~# apt-get install -f
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

  4. #4
    Join Date
    Sep 2009
    Location
    Freiburg/Germany
    Beans
    1,112
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Broken Dependencies

    Run
    Code:
    apt-get update
    and try again. If it still doesn't work please post the output of
    Code:
    apt-cache policy openssh-server openssh-client
    ClassicMenu Indicator - classic GNOME menu for Unity
    Unsettings - configuration program for the Unity
    Privacy Indicator - easily switch privacy settings in Unity
    Arronax - create and modify app starters

  5. #5
    Join Date
    Nov 2006
    Beans
    34

    Re: Broken Dependencies

    Code:
    root@LINUXBOX:~# apt-cache policy openssh-server openssh-client
    openssh-server:
      Installed: (none)
      Candidate: 1:5.3p1-3ubuntu3
      Version table:
         1:5.3p1-3ubuntu3 0
            500 http://us.archive.ubuntu.com/ubuntu/ lucid/main Packages
    openssh-client:
      Installed: 1:5.3p1-3ubuntu7
      Candidate: 1:5.3p1-3ubuntu7
      Version table:
     *** 1:5.3p1-3ubuntu7 0
            100 /var/lib/dpkg/status
         1:5.3p1-3ubuntu3 0
            500 http://us.archive.ubuntu.com/ubuntu/ lucid/main Packages
    Here ya go.... any idea what the issue is?

  6. #6
    Join Date
    Sep 2009
    Location
    Freiburg/Germany
    Beans
    1,112
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Broken Dependencies

    Make sure you have enabled "Recommended updates" in the "Updates" tab of "Software sources" (or activated "lucid-updates" otherwise)
    ClassicMenu Indicator - classic GNOME menu for Unity
    Unsettings - configuration program for the Unity
    Privacy Indicator - easily switch privacy settings in Unity
    Arronax - create and modify app starters

  7. #7
    Join Date
    Oct 2011
    Beans
    1

    Re: Broken Dependencies

    I had this same issue. The cause seems to be that openssh-client is too new of a version for openssh-server.

    I did:
    Code:
    sudo apt-get remove openssh-client
    followed by

    Code:
    sudo apt-get install openssh-server
    to resolve the issue.

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
  •