Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Why aptitude don’t found sshfs? And how can I install sshfs via aptitude? Pleas, without 3rd-Partys.

https://packages.debian.org/en/wheezy/sshfs

I typed this:

root@s18:~# aptitude update
Hit http://security.debian.org wheezy/updates Release.gpg
Hit http://security.debian.org wheezy/updates Release
Hit http://ftp.de.debian.org wheezy Release.gpg
Hit http://security.debian.org wheezy/updates/main Sources
Hit http://ftp.de.debian.org wheezy Release
Hit http://security.debian.org wheezy/updates/contrib Sources
Hit http://security.debian.org wheezy/updates/non-free Sources
Hit http://security.debian.org wheezy/updates/main amd64 Packages
Hit http://ftp.de.debian.org wheezy/main Sources
Hit http://security.debian.org wheezy/updates/contrib amd64 Packages
Hit http://security.debian.org wheezy/updates/non-free amd64 Packages
Hit http://ftp.de.debian.org wheezy/contrib Sources
Hit http://security.debian.org wheezy/updates/contrib Translation-en
Hit http://security.debian.org wheezy/updates/main Translation-en
Hit http://ftp.de.debian.org wheezy/non-free Sources
Hit http://security.debian.org wheezy/updates/non-free Translation-en
Hit http://ftp.de.debian.org wheezy/contrib amd64 Packages
Hit http://ftp.de.debian.org wheezy/non-free amd64 Packages
Hit http://ftp.de.debian.org wheezy/contrib Translation-en
Hit http://ftp.de.debian.org wheezy/non-free Translation-en

root@s18:~# aptitude dist-upgrade
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.

root@s18:~# aptitude install sshfs
Couldn't find any package whose name or description matched "sshfs"
Couldn't find any package whose name or description matched "sshfs"
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.

root@s18:~# cat /etc/debian_version 
7.5
root@s18:~# 

My sources:

root@s18:~# cat /etc/apt/sources.list
deb http://ftp.de.debian.org/debian/ wheezy contrib non-free
deb-src http://ftp.de.debian.org/debian/ wheezy main contrib non-free
deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free
root@s18:~# ls /etc/apt/sources.list.d/
root@s18:~#

And

root@s18:~# aptitude search sshfs
root@s18:~# apt-cache search sshfs       
root@s18:~# apt-get -s install sshfs
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package sshfs
root@s18:~# 
share|improve this question

closed as off-topic by Ramesh, slm, jasonwryan, Shawn J. Goff, Gilles May 24 at 23:35

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions describing a problem that can't be reproduced and seemingly went away on its own (or went away when a typo was fixed) are off-topic as they are unlikely to help future readers." – Ramesh, slm, jasonwryan, Shawn J. Goff, Gilles
If this question can be reworded to fit the rules in the help center, please edit the question.

    
aptitude search sshfs ? –  schaiba May 24 at 13:11
    
Please edit your post to include the output of apt-cache search sshfs and apt-get -s install sshfs. –  Michael Kjörling May 24 at 13:12
    
I add the output of that. –  user68463 May 24 at 13:23
1  
deb http://ftp.de.debian.org/debian/ wheezy contrib non-free try ading main here. –  yeti May 24 at 13:29
    
I forget the main. After adding it and update, aptitude install sshfs works fine. –  user68463 May 24 at 13:30

1 Answer 1

up vote 1 down vote accepted

Your problem is your primary deb source line:

deb http://ftp.de.debian.org/debian/ wheezy contrib non-free

This pulls in the contrib and non-free respositories of the wheezy version, but not the main repository which is where most of Debian lives. You are however pulling in security updates for main as well; I suppose sshfs just hasn't had anything that warrants a release there since Wheezy was released.

As was found out in comments to the question, adding the main repository solves the problem:

deb http://ftp.de.debian.org/debian/ wheezy main contrib non-free

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.