LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how can i install sshfs and fuse rpm in centos (https://www.linuxquestions.org/questions/linux-newbie-8/how-can-i-install-sshfs-and-fuse-rpm-in-centos-905740/)

jsaravana87 09-30-2011 01:58 AM

how can i install sshfs and fuse rpm in centos
 
Hi
while installing fuse-sshfs using rpm it gives up error ....can someone help me out how cani install fuse-sshfs rpm

rpm -ivh fuse-sshfs-2.2-1.fc4.rf.i386.rpm
warning: fuse-sshfs-2.2-1.fc4.rf.i386.rpm: Header V3 DSA signature: NOKEY, key ID 1aa78495
error: Failed dependencies:
fuse >= 2.2 is needed by fuse-sshfs-2.2-1.fc4.rf.i386
Regards
arun

goossen 09-30-2011 07:31 AM

It is telling you it needs the fuse package.

Install fuse and try again.
Code:

yum install fuse

jsaravana87 09-30-2011 07:35 AM

i tried to install sshfs and fuse through repo such epel.rpmforge,centos repo but i could int. can u say which repo i can get sshfs and fuse package[root@localhost ~]# yum install fuse
Loaded plugins: downloadonly, fastestmirror
Loading mirror speeds from cached hostfile
rhel-server | 951 B 00:00
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package fuse.i386 0:2.7.4-8.el5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
fuse i386 2.7.4-8.el5 rhel-server 83 k

Transaction Summary
================================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total download size: 83 k
Is this ok [y/N]: y
Downloading Packages:
fuse-2.7.4-8.el5.i386.rpm | 83 kB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : fuse 1/1
Error unpacking rpm package fuse-2.7.4-8.el5.i386
error: unpacking of archive failed on file /bin/fusermount;4e850ffd: cpio: open

Failed:
fuse.i386 0:2.7.4-8.el5

i installed fuse by tar .gz file ,while make install it deliver these error how can resolve the problem

libtool: install: /usr/bin/install -c fusermount /usr/local/bin/fusermount
libtool: install: /usr/bin/install -c ulockmgr_server /usr/local/bin/ulockmgr_server
/bin/mkdir -p /sbin
/usr/bin/install -c ./mount.fuse /sbin/mount.fuse
/usr/bin/install: cannot create regular file `/sbin/mount.fuse': Permission denied
make[2]: *** [install-exec-local] Error 1
make[2]: Leaving directory `/fuses/fuse-2.8.6/util'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/fuses/fuse-2.8.6/util'
make: *** [install-recursive] Error 1

unSpawn 10-22-2011 07:32 AM

Quote:

Originally Posted by arun5002 (Post 4486371)
Code:


  Installing    : fuse                                                    1/1
Error unpacking rpm package fuse-2.7.4-8.el5.i386
error: unpacking of archive failed on file /bin/fusermount;4e850ffd: cpio: open

Failed:
  fuse.i386 0:2.7.4-8.el5


Either you have no rights (running Yum as unprivileged user?) to write to /bin or it's mounted read-only or has the immutable bit set.


Quote:

Originally Posted by arun5002 (Post 4486371)
i installed fuse by tar .gz file ,while make install it deliver these error how can resolve the problem
Code:

libtool: install: /usr/bin/install -c fusermount /usr/local/bin/fusermount
libtool: install: /usr/bin/install -c ulockmgr_server /usr/local/bin/ulockmgr_server
/bin/mkdir -p /sbin
/usr/bin/install -c ./mount.fuse /sbin/mount.fuse
/usr/bin/install: cannot create regular file `/sbin/mount.fuse': Permission denied


In your case installing packages from source on error is not a "workaround" or a "fix". On systems managed by a package management you resolve problems before installing packages.

* I also strongly suggest your take a basic Linux course or do some serious self-studying because you seem to be doing a lot of right things the wrong way as I read your threads.


All times are GMT -5. The time now is 02:56 AM.