{"id":1067,"date":"2010-11-14T19:47:12","date_gmt":"2010-11-15T01:47:12","guid":{"rendered":"http:\/\/icesquare.com\/wordpress\/?p=1067"},"modified":"2011-12-28T15:32:57","modified_gmt":"2011-12-28T21:32:57","slug":"package-ssh-is-not-available-but-is-referred-to-by-another-package-this-may-mean-that-the-package-is-missing-has-been-obsoleted-or-is-only-available-from-another-source","status":"publish","type":"post","link":"https:\/\/icesquare.com\/wordpress\/package-ssh-is-not-available-but-is-referred-to-by-another-package-this-may-mean-that-the-package-is-missing-has-been-obsoleted-or-is-only-available-from-another-source\/","title":{"rendered":"Package ssh is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source"},"content":{"rendered":"<p>Today, I helped my friend to install Debian. It was done via two GUI remote desktop connections (i.e., slow), and therefore I would like to access the server via SSH. So I tried to install the SSH package:<\/p>\n<pre>\r\nsudo apt-get install -y ssh\r\n<\/pre>\n<p>and I received the following message:<\/p>\n<pre>\r\nReading package lists... Done\r\nBuilding dependency tree... Done\r\nPackage ssh is not available, but is referred to by another package.\r\nThis may mean that the package is missing, has been obsoleted, or\r\nis only available from another source\r\n<\/pre>\n<p>Actually this is a very easy problem. Debian tries to download SSH from the package source (defined in \/etc\/apt\/source.list) but the package (SSH) is not available. To solve this problem, we can simply edit the source list:<\/p>\n<pre>\r\nsudo nano \/etc\/apt\/source.list\r\n<\/pre>\n<p>and insert (if not exists) or update (if exists) the following links into your file:<\/p>\n<pre>\r\ndeb http:\/\/ftp.us.debian.org\/debian\/ lenny main contrib non-free\r\ndeb http:\/\/security.debian.org\/ lenny\/updates main contrib non-free\r\n<\/pre>\n<p>Since we&#8217;ve update the package source list, we need to update the package database of the system:<\/p>\n<pre>\r\nsudo apt-get -y update\r\n<\/pre>\n<p>Now we can install the package again:<\/p>\n<pre>\r\nsudo apt-get install -y ssh\r\n<\/pre>\n<p>and upgrade the entire system (optional):<\/p>\n<pre>\r\nsudo apt-get -y dist-upgrade\r\n<\/pre>\n<p>Have fun with Debian.<\/p>\n<p>&#8211;Derrick<\/p>\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today, I helped my friend to install Debian. It was done via two GUI remote desktop connections (i.e., slow), and therefore I would like to access the server via SSH. <a class=\"more-link\" href=\"https:\/\/icesquare.com\/wordpress\/package-ssh-is-not-available-but-is-referred-to-by-another-package-this-may-mean-that-the-package-is-missing-has-been-obsoleted-or-is-only-available-from-another-source\/\">Continue Reading &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[94,144,6,69],"tags":[86,48],"class_list":["post-1067","post","type-post","status-publish","format-standard","hentry","category-computer-problems-computer-help-pc-support","category-sever-problem","category-technology","category-troubleshooting-technology","tag-debian","tag-linux"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/p1sqzr-hd","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":3125,"url":"https:\/\/icesquare.com\/wordpress\/freebsdthe-netsamba35-port-has-been-deleted-obsoleted-by-netsamba36\/","url_meta":{"origin":1067,"position":0},"title":"[FreeBSD]The net\/samba35 port has been deleted: Obsoleted by net\/samba36","author":"Derrick","date":"February 11, 2013","format":false,"excerpt":"FreeBSD is designed for users who got lots of spare time. Every once a while, it will give you some troubles (or \"snacks\" in programmer language), which help you to burn some of your spare time. If you cannot handle these troubles, then FreeBSD is not for you. Although FreeBSD\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1469,"url":"https:\/\/icesquare.com\/wordpress\/upgrade-fedora-linux-using-command-line\/","url_meta":{"origin":1067,"position":1},"title":"Upgrade Fedora Linux Using Command Line","author":"Derrick","date":"June 28, 2011","format":false,"excerpt":"Recently, I decide to upgrade all of the Fedora Linux servers. As of today, the latest version is Fedora 15. As for my servers, they are in between Fedora 11 and 14. In the other words, I will need to upgrade some machine from 11 all the way to 15.\u2026","rel":"","context":"In &quot;Server Problems&quot;","block_context":{"text":"Server Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/sever-problem\/"},"img":{"alt_text":"","src":"\/wordpress\/wp-content\/uploads\/2011\/08\/fedora-logo-150x150.png","width":350,"height":200},"classes":[]},{"id":5012,"url":"https:\/\/icesquare.com\/wordpress\/google-one-vpn-how-to-by-pass-vpn-in-windows\/","url_meta":{"origin":1067,"position":2},"title":"Google One VPN: How to by pass VPN in Windows","author":"Derrick","date":"February 14, 2024","format":false,"excerpt":"Recently I started using the Google One VPN service. I love it because of its simplicity. However, I quickly ran into problem because some services require my real IP addresses. Since the Google One VPN is designed for average Joe, it doesn't have any advanced features. It is either all\u2026","rel":"","context":"In &quot;Technology&quot;","block_context":{"text":"Technology","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/"},"img":{"alt_text":"","src":"\/wordpress\/wp-content\/uploads\/2024\/02\/Putty-01.fw_.png","width":350,"height":200},"classes":[]},{"id":3309,"url":"https:\/\/icesquare.com\/wordpress\/sftp-without-ssh-shell-access-2\/","url_meta":{"origin":1067,"position":3},"title":"SFTP Without SSH Shell Access","author":"Derrick","date":"October 7, 2013","format":false,"excerpt":"I got an interesting question today. Our client needs to access to the server via SFTP, but they want to disable to the access to the SSH shell. Assuming that you are fully aware of the potential issues of doing it, such ask security risk etc, here is how to\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1658,"url":"https:\/\/icesquare.com\/wordpress\/upgrading-ubuntu-to-11-10-via-command-line\/","url_meta":{"origin":1067,"position":4},"title":"Upgrading Ubuntu to 11.10 via Command Line","author":"Derrick","date":"October 13, 2011","format":false,"excerpt":"Ubuntu was out today, and I could not wait to try out the new features. However I am in the office now and I have no physical access to my Ubuntu box in my kitchen, so using the graphic interface is not an option to me. I searched online and\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1173,"url":"https:\/\/icesquare.com\/wordpress\/how-to-sudo-over-scp\/","url_meta":{"origin":1067,"position":5},"title":"How to sudo over scp","author":"Derrick","date":"December 8, 2010","format":false,"excerpt":"Today, I like to copy a file from a server to a different server using command line in Unix. Since I like to put the file at a location that require root permission, if I do it using scp, I have to split it into two commands, i.e., 1.) scp\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/posts\/1067","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/comments?post=1067"}],"version-history":[{"count":6,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/posts\/1067\/revisions"}],"predecessor-version":[{"id":2382,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/posts\/1067\/revisions\/2382"}],"wp:attachment":[{"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/media?parent=1067"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/categories?post=1067"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/tags?post=1067"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}