Obsolete Releases > SME 8.x Contribs

SME8 - Webshare Contrib - [Patch]

<< < (2/3) > >>

TTown:
Hi,

I just did a 8.0beta6 install from scratch (actually upgrading from a fresh and squeeky clean install of 7.5.1) and failed already on the first step in http://wiki.contribs.org/Webshare

--- Code: ---yum install --enablerepo=smecontribs smeserver-webshare

--- End code ---

--> Error

--- Code: ---Loaded plugins: fastestmirror, protect-packages, smeserver
Loading mirror speeds from cached hostfile
 * base: mirror.nucleus.be
 * smeaddons: aubrac-medical.fr
 * smecontribs: aubrac-medical.fr
 * smeextras: aubrac-medical.fr
 * smeos: aubrac-medical.fr
 * smeupdates: aubrac-medical.fr
 * updates: mirror.nucleus.be
smecontribs                                                                                            | 2.3 kB     00:00
smecontribs/primary_db                                                                                 | 211 kB     00:00
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
Setting up Install Process
No package smeserver-webshare available.
Nothing to do

--- End code ---

Downloading the rpm

--- Code: ---wget http://aubrac-medical.fr/releases/7.5.1/smecontribs/i386/RPMS/smeserver-webshare-1.0.0-9.el4.sme.noarch.rpm

--- End code ---

went ok, but the localinstall failed due to missing dependencies -->

--- Code: ---[root@sme3 ~]# yum localinstall smeserver-webshare-1.0.0-9.el4.sme.noarch.rpm
Loaded plugins: fastestmirror, protect-packages, smeserver
Setting up Local Package Process
Examining smeserver-webshare-1.0.0-9.el4.sme.noarch.rpm: smeserver-webshare-1.0.0-9.el4.sme.noarch
Marking smeserver-webshare-1.0.0-9.el4.sme.noarch.rpm to be installed
Loading mirror speeds from cached hostfile
 * base: mirror.netcologne.de
 * smeaddons: aubrac-medical.fr
 * smeextras: aubrac-medical.fr
 * smeos: aubrac-medical.fr
 * smeupdates: aubrac-medical.fr
 * updates: mirror.netcologne.de
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
Resolving Dependencies
--> Running transaction check
---> Package smeserver-webshare.noarch 0:1.0.0-9.el4.sme set to be updated
--> Processing Dependency: perl-Apache-Htpasswd for package: smeserver-webshare
--> Finished Dependency Resolution
smeserver-webshare-1.0.0-9.el4.sme.noarch from /smeserver-webshare-1.0.0-9.el4.sme.noarch has depsolving problems
  --> Missing Dependency: perl-Apache-Htpasswd is needed by package smeserver-webshare-1.0.0-9.el4.sme.noarch (/smeserver-webshare-1.0.0-9.el4.sme.noarch)
Error: Missing Dependency: perl-Apache-Htpasswd is needed by package smeserver-webshare-1.0.0-9.el4.sme.noarch (/smeserver-webshare-1.0.0-9.el4.sme.noarch)

--- End code ---

Fix: Look for the missing dependency here: http://rpmfind.net/linux/rpm2html/search.php?query=perl-Apache-Htpasswd and hope that this will not cause more missing dependencies. Pick an aprpriate version of the file (perl-Apache-Htpasswd-1.8-2.el5.noarch.rpm looked OK to me) and install both rpms together -->

--- Code: ---yum localinstall *.rpm
Loaded plugins: fastestmirror, protect-packages, smeserver
Setting up Local Package Process
Examining perl-Apache-Htpasswd-1.8-2.el5.noarch.rpm: perl-Apache-Htpasswd-1.8-2.el5.noarch
Marking perl-Apache-Htpasswd-1.8-2.el5.noarch.rpm to be installed
Loading mirror speeds from cached hostfile
 * base: mirror.netcologne.de
 * smeaddons: aubrac-medical.fr
 * smeextras: aubrac-medical.fr
 * smeos: aubrac-medical.fr
 * smeupdates: aubrac-medical.fr
 * updates: mirror.netcologne.de
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
Examining smeserver-webshare-1.0.0-9.el4.sme.noarch.rpm: smeserver-webshare-1.0.0-9.el4.sme.noarch
Marking smeserver-webshare-1.0.0-9.el4.sme.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package perl-Apache-Htpasswd.noarch 0:1.8-2.el5 set to be updated
---> Package smeserver-webshare.noarch 0:1.0.0-9.el4.sme set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================================
 Package                      Arch           Version                 Repository                                          Size
==============================================================================================================================
Installing:
 perl-Apache-Htpasswd         noarch         1.8-2.el5               /perl-Apache-Htpasswd-1.8-2.el5.noarch              30 k
 smeserver-webshare           noarch         1.0.0-9.el4.sme         /smeserver-webshare-1.0.0-9.el4.sme.noarch         238 k

Transaction Summary
==============================================================================================================================
Install       2 Package(s)
Upgrade       0 Package(s)

Total size: 268 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : perl-Apache-Htpasswd                                                                                   1/2
  Installing     : smeserver-webshare                                                                                     2/2
Migrating existing database accounts
Migrating existing database yum_available
Migrating existing database mailpatterns
Migrating existing database networks
Migrating existing database hosts
Migrating existing database yum_installed
Migrating existing database backups
Migrating existing database domains
Migrating existing database yum_updates
Migrating existing database yum_repositories
Migrating existing database configuration
Migrating existing database spamassassin

Installed:
  perl-Apache-Htpasswd.noarch 0:1.8-2.el5                     smeserver-webshare.noarch 0:1.0.0-9.el4.sme

Complete!

--- End code ---

Hurray!

Now I could really start following BearTM's guide and it worked like a charm.

I got a webshare configured, a big file up- and downloaded and nothing seems broken.

janet:
TTown
Please see
http://wiki.contribs.org/SME8.0_Contribs_QA#Setup
to configure the sme7 contribs repo correctly on sme8

TTown:
Hi Mary,

you are absolutely right. I returned to a previous snapshot and did it according to this link. Worked just fine. I am sorry for having given this thread a bump (and not having read the faq first).

Greetings
Stefan

BearTM:
Wow ... I can't believe I've been using the "fix" I'd done for over 10 months now, and still haven't had the time to rewrite the contrib into the new database format.

I'll see what I can do about getting this one updated, since it appears that it's still in use by others (and not just by me!).

janet:
BearTM

I also would appreciate the webshare contrib being updated as I do use it on sme7 and would like to use it on sme8.
Thanks in advance.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version