Hi Bryan,

note: I am not RHEL user, but Fedora user :)

On Mon, Oct 29, 2012 at 12:22 PM, bryan rasmussen <rasmussen.bryan@gmail.com> wrote:
Ok well I got the repo added

but when I run sudo yum install basex
I get
Error: Package: basex-7.3-3.2.noarch (home_basex_opensuse)
           Requires: xml-commons-resolver = 1.2
           Installed: xml-commons-resolver-1.1-4.18.el6.x86_64
(@rhel-x86_64-server-6-test)
               xml-commons-resolver = 1.1-4.18.el6
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles –nodigest

in order to install basex, it is required to have xml-commons-resolver-1.2, while in your system the installer found xml-commons-resolver-1.1.4.18.

I am sorry to inform you that RHEL-6 has not included xml-commons-resolver-1.2 in its repositories yet. The same for CentOS-6. Probably because of RHEL and CentOS strict package policy.

I can think three installation alternatives:
1. If you insist to install basex with yum, probably you need to install xml-commons-resolver-1.2 directly from its rpm package (available for Fedora), however it will be in conflict with already install xml-commons-resolver-1.1.4 which might also be required by other installed packages. If you only use your machine for exploration only, you can uninstall xml-commons-resolver-1.1.4 and install xml-commons-resolver-1.2, and after that you can install basex with yum :)
2. you can download *.rpm by following baseurl which is stated in basex.repo (http://download.opensuse.org/repositories/home:/basex:/opensuse/RedHat_RHEL-6/noarch/)
after that you can install with rpm command with additional --nodeps to ignore required dependencies (xml-commons-resolver-1.2)
# rpm -ivh --nodeps basex-7.3.3-2.noarch.rpm
3. you can always use basex zip release :)

sorry for not much helping.
-andria


I tried running yum downgrade got
Only Upgrade available on package: xml-commons-resolver-1.1-4.18.el6.x86_64

I tried to yum --showduplicates list xml-commons-resolver
And got
Installed Packages
xml-commons-resolver.x86_64       1.1-4.18.el6        @rhel-x86_64-server-6-test
Available Packages
xml-commons-resolver.x86_64       1.1-4.18.el6        rhel-x86_64-server-6-test

while running sudo yum list available xml-*
gives

Loaded plugins: product-id, rhnplugin, subscription-manager
Updating certificate-based repositories.
Available Packages
xml-common.noarch                   0.6.3-32.el6   rhel-x86_64-server-6-test
xml-commons-apis-javadoc.x86_64     1.3.04-3.6.el6
rhel-x86_64-server-optional-6-test
xml-commons-apis-manual.x86_64      1.3.04-3.6.el6
rhel-x86_64-server-optional-6-test
xml-commons-resolver-javadoc.x86_64 1.1-4.18.el6
rhel-x86_64-server-optional-6-test

Obviously I'm not especially familiar with redhat so I'm not sure what
I'm doing wrong here, I guess I need to add another repo in or
something?

I tried running yum install yum-allowdowngrade also, but it says it
doesn't have a yum-allowdowngrade anywhere

Thanks,
Bryan Rasmussen




On Fri, Oct 26, 2012 at 6:39 PM, Andria Arisal <andria.arisal@gmail.com> wrote:
> Hi Bryan,
>
> I think it is because you have not add basex repository in your yum
> repositories under /etc/yum.repos.d/*.repo
> in order to add basex repository, you can check [1] and choose the closest
> Linux distribution, in your case it might be Rad Hat Enterprise Linux 6.
> Create a new .repo file (for example: basex-rhel6.repo) and write [2]
>
> [home_basex_opensuse]
> name=BaseX openSUSE Build (RedHat_RHEL-6)
> type=rpm-md
> baseurl=http://download.opensuse.org/repositories/home:/basex:/opensuse/RedHat_RHEL-6/
> gpgcheck=1
> gpgkey=http://download.opensuse.org/repositories/home:/basex:/opensuse/RedHat_RHEL-6/repodata/repomd.xml.key
> enabled=1
>
> [1] http://basex.org/products/download/all-downloads/
> [2]
> http://download.opensuse.org/repositories/home:/basex:/opensuse/RedHat_RHEL-6/home:basex:opensuse.repo
>
> Hope it can help,
> -andria
>
> On Fri, Oct 26, 2012 at 3:31 PM, bryan rasmussen <rasmussen.bryan@gmail.com>
> wrote:
>>
>> Hi,
>>
>> I'm not very good at redhat(and thus not very good at their repository
>> system and tools) and am trying to install basex on it, I tried
>> sudo yum install basex --enablerepo=*
>> but it says it can't find any repo named basex.
>>
>> What should I do?
>>
>> Mvh,
>> Bryan Rasmussen
>> _______________________________________________
>> BaseX-Talk mailing list
>> BaseX-Talk@mailman.uni-konstanz.de
>> https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
>
>