Koozali.org: home of the SME Server

Shared Folder Won't install locally

Offline Linuxer01

  • *
  • 13
  • +0/-0
Shared Folder Won't install locally
« on: August 09, 2010, 08:31:05 AM »
Hi,
i have a server that does not have any internet connection, the whole network does not have connection to the internet. so i downloaded the installation file of the shared folder module from http://hosting.platiniumtv.ro/smeserver/releases/7/smecontribs/i386/repoview/smeserver-shared-folders.html
i copied the file to a folder on the server and run : yum localinstall filename.rpm
but it didn't install, it tried the same thing with another module and it worked. the thing that happens is while running the yum it tries to check something on the internet what should i do in order to install it locally.

thanks

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Shared Folder Won't install locally
« Reply #1 on: August 09, 2010, 08:34:10 AM »
you need to download also the rpm needed for dependency satisfaction

Offline Linuxer01

  • *
  • 13
  • +0/-0
Re: Shared Folder Won't install locally
« Reply #2 on: August 09, 2010, 08:42:22 AM »
Thanks for the quick reply. but where can i find that dependency satisfaction? i searched but no result

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Shared Folder Won't install locally
« Reply #3 on: August 09, 2010, 09:42:06 AM »
please post here the message you get doing
Code: [Select]
yum localinstall smeserver-shared-folders...

thank you

Offline Linuxer01

  • *
  • 13
  • +0/-0
Re: Shared Folder Won't install locally
« Reply #4 on: August 09, 2010, 11:00:58 AM »
when i run yum localinstall smeserver-shared-folder .....

it gives this message.


======================================================
WARNING: Additional commands may be required after running yum
======================================================
Loading "smeserver" plugin
Loading "fastestmirror" plugin
Setting up Local Package Process
Examinig shared.rpm: sme-shared-folders-0.1-23.el4.sme.noarch
marking shared.rpm to be installed
Resolving Dependencies
populating transaction set with selected packages please wait
package sme-shared-folders-0.1-23.el4.sme.noarch set to be updated
Running transaction check

setting up repositories

then it checks for some repositories online but all of them fail because i don't have an internet connection.





===================================================
no new rpms were installed. no additional commands are required
===================================================


i have  tried to install usbdisksmanager.rpm in the same way and was successfull.




Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Shared Folder Won't install locally
« Reply #5 on: August 09, 2010, 11:14:28 AM »
then it checks for some repositories online but all of them fail because i don't have an internet connection.

ok..

try to install it with
Code: [Select]
rpm -ivh smeserver-shared-folder...

and let us know

Offline Linuxer01

  • *
  • 13
  • +0/-0
Re: Shared Folder Won't install locally
« Reply #6 on: August 09, 2010, 11:20:34 AM »
it gives this error:

error: Failed dependencies:
         acl is needed by smeserver-shared-folders-0.1-23.el4.sme.noarch
         e-smith-formmagick>=1.4.0-12 is needed by smeserver-shared-folders-0.1-23.el4.sme.noarch
   suggested resolutions:
         /home/buildcentos/CENTOS/en/4.0/i386/CentOS/RPMS/acl-2.2.23-5.3.el4.i386.rpm

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Shared Folder Won't install locally
« Reply #7 on: August 09, 2010, 11:40:02 AM »
it gives this error:

error: Failed dependencies:
         acl is needed by smeserver-shared-folders-0.1-23.el4.sme.noarch

download it from here, then copy it in the same folder where you have smeserver-shared-folder rpm

Quote
         e-smith-formmagick>=1.4.0-12 is needed by smeserver-shared-folders-0.1-23.el4.sme.noarch

what version of SME are we talking about?
what's the result of
Code: [Select]
rpm -qa | grep formmagick
?

it seems to me you are using a very old SME.. on a 7.5.1 I have:
Code: [Select]
[root@server ~]# rpm -qa | grep formmagick
e-smith-formmagick-2.0.0-2.el4.sme

Offline Linuxer01

  • *
  • 13
  • +0/-0
Re: Shared Folder Won't install locally
« Reply #8 on: August 09, 2010, 11:53:00 AM »
the result of rpm -qa |grep formmagick is
e-smith-formmagick-1.4.0-6.el4.sme



Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Shared Folder Won't install locally
« Reply #9 on: August 09, 2010, 11:55:10 AM »
what version of SME are you running?

please answer to all the question, otherwise it's difficult to help you, thank you

Offline Linuxer01

  • *
  • 13
  • +0/-0
Re: Shared Folder Won't install locally
« Reply #10 on: August 09, 2010, 12:00:38 PM »
im using SME Server 7.3

Thanks

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Shared Folder Won't install locally
« Reply #11 on: August 09, 2010, 12:05:50 PM »
im using SME Server 7.3

you can't install smeserver-shared-folder without upgrading your server..
you could update it via cd setup, choosing "upgrade" option when requested.

is there any reason to no connect the server to internet?

Offline Linuxer01

  • *
  • 13
  • +0/-0
Re: Shared Folder Won't install locally
« Reply #12 on: August 09, 2010, 12:16:42 PM »
Stefano Thanks for your help but when i copied that acl  file it gives that error again:


error: Failed dependencies:
         acl is needed by smeserver-shared-folders-0.1-23.el4.sme.noarch
         e-smith-formmagick>=1.4.0-12 is needed by smeserver-shared-folders-0.1-23.el4.sme.noarch
   suggested resolutions:
         /home/buildcentos/CENTOS/en/4.0/i386/CentOS/RPMS/acl-2.2.23-5.3.el4.i386.rpm

yes there is a reason for not connecting the server to internet. because it's in a very remote area and the users are not allowed to connect to internet.

do you think if i get a higher version of SME forexample 7.5 and upgrade my server would it solve the problem?

Thanks

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Shared Folder Won't install locally
« Reply #13 on: August 09, 2010, 12:31:03 PM »
Stefano Thanks for your help but when i copied that acl  file it gives that error again:
error: Failed dependencies:
         acl is needed by smeserver-shared-folders-0.1-23.el4.sme.noarch
       

assuming your rpms are in the same dir and thery are the only rpm files, do:
Code: [Select]
rpm -ivh *.rpm

anyway this will not solve your problem, because you have another unsatisfied dependency

Quote
yes there is a reason for not connecting the server to internet. because it's in a very remote area and the users are not allowed to connect to internet.

ok

Quote
do you think if i get a higher version of SME forexample 7.5 and upgrade my server would it solve the problem?

yes.. before upgrading, be sure to make a full backup..

Offline Linuxer01

  • *
  • 13
  • +0/-0
Re: Shared Folder Won't install locally
« Reply #14 on: August 09, 2010, 01:01:11 PM »
thanks
i'm downloading 7.5.1 and try to upgrade

Offline byte

  • *
  • 2,183
  • +2/-0
Re: Shared Folder Won't install locally
« Reply #15 on: August 09, 2010, 01:11:07 PM »
Moving this topic to the SME Contribs forum, it is more appropriate there. Thanks
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline Linuxer01

  • *
  • 13
  • +0/-0
Re: Shared Folder Won't install locally
« Reply #16 on: August 09, 2010, 02:34:17 PM »
I upgraded to 7.5.1 but when i run the command yum localinstall smeserver-shared-folders .... it says
cannot find a valid baseurl for repo: smeaddons
Error: cannot find a valid baseurl for repoLsmeaddons


also when i run rpm -ivh smeserver-shared-folders......
it gives the same error about acl

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Shared Folder Won't install locally
« Reply #17 on: August 09, 2010, 02:39:02 PM »
linuxer01: put smeserver-shared-folder AND acl rpm in the same dir and do:
Code: [Select]
rpm -ivh *.rpm

should work

Offline Linuxer01

  • *
  • 13
  • +0/-0
Re: Shared Folder Won't install locally
« Reply #18 on: August 09, 2010, 02:53:56 PM »
yes it did something, i think it matched both files together

which one should i use then yumlocalinstall or arp -ivh in order to install the package ?

i so much worried if i do the wrong one and bust the server.

thanks

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Shared Folder Won't install locally
« Reply #19 on: August 09, 2010, 03:16:06 PM »
which one should i use then yumlocalinstall or arp -ivh in order to install the package ?

if you are not connected and have all the needed rpms, rpm is the right one

Offline Linuxer01

  • *
  • 13
  • +0/-0
Re: Shared Folder Won't install locally
« Reply #20 on: August 09, 2010, 03:26:30 PM »
Thanks!!
It's installed
Here is what I did:
1. upgraded from 7.3 to 7.5.1
2. downloaded the needed acl file from http://ftp.ntut.edu.tw/share/linux/CentOS/4.5/apt/i386/RPMS.os/acl-2.2.23-5.3.el4.i386.rpm
3. put both files in the same folder and run rpm -ivh *.rpm
4. rpm -ivh smeserver-shared-folder .....
5. signal-event post-upgrade
6. signal-event reboot


i tell you, if you dont have internet connection to you server do this.


thanks to Stefano,



Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Shared Folder Won't install locally
« Reply #21 on: August 09, 2010, 03:39:12 PM »
3. put both files in the same folder and run rpm -ivh *.rpm

ok

Quote
4. rpm -ivh smeserver-shared-folder .....

this is not necessary.. you've already installed all the rpms with the previous command ;-)