Koozali.org: home of the SME Server

DAR2 - missing dependency

Offline eastend99

  • ***
  • 48
  • +0/-0
DAR2 - missing dependency
« on: October 20, 2008, 09:16:43 PM »
Hi,

I try to install DAR2 to a brand new and up-to-date server. When running the command
Quote
yum install smeserver-dar2 --enablerepo=smecontribs
The system returns this:
Code: [Select]
[root@xxxxxxx ~]# yum install smeserver-dar2 --enablerepo=smecontribs
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "smeserver" plugin
Loading "fastestmirror" plugin
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
smeaddons                 100% |=========================|  951 B    00:00
updates                   100% |=========================|  951 B    00:00
base                      100% |=========================| 1.1 kB    00:00
smeos                     100% |=========================| 1.9 kB    00:00
smeupdates                100% |=========================| 1.9 kB    00:00
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
primary.xml.gz            100% |=========================| 130 kB    00:00
sqlite cache needs updating, reading in metadata
smeupdates: ################################################## 219/219
Excluding Packages from CentOS - updates
Finished
Excluding Packages from CentOS - os
Finished
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package smeserver-dar2.noarch 0:0.0.1-10.el4.sme set to be updated
--> Running transaction check
--> Processing Dependency: dar >= 2.3.1 for package: smeserver-dar2
--> Finished Dependency Resolution
Error: Missing Dependency: dar >= 2.3.1 is needed by package smeserver-dar2
================================================================
No new rpms were installed. No additional commands are required.
================================================================

On another server (installed September 2008) with DAR2 running, I can execute dar on the command line.
A test for the package shows:
 
Code: [Select]
[root@xxxxxxx ~]# yum info installed dar
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "fastestmirror" plugin
Loading "installonlyn" plugin
Loading "smeserver" plugin
Installed Packages
Name   : dar
Arch   : i386
Version: 2.3.6
Release: 1.el4.sme
Size   : 1.8 M
Repo   : installed
Summary: Software for making/restoring incremental CD/DVD backups

Shouldn't the DAR package be installed by default since it is used by the SME default backup solution as well?
In that case I am possibly looking at an incorrectly installed server?

Can anybody point me the right location where to find the DAR package?

Thanks in advance,

Marcel
« Last Edit: October 21, 2008, 08:14:55 AM by eastend99 »

Offline Paul Howard

  • *
  • 17
  • +0/-0
    • The Devil Wears A Mechanical Heart
Re: DAR2 - missing dependancy
« Reply #1 on: October 20, 2008, 10:45:33 PM »
Bug report needed I think

I have the same situation on a freshly installed server, while on another server which was built sometime ago Dar2 is installed and running fine.

On the new server the base was installed then updated before I tried to install Dar2.


Offline janet

  • *****
  • 4,812
  • +0/-0
Re: DAR2 - missing dependancy
« Reply #2 on: October 21, 2008, 05:57:40 AM »
eastend99

Try this command instead, to pick up the dependencies.
The wiki has been updated

yum install smeserver-dar2 --enablerepo=smecontribs --enablerepo=smeupdates-testing
« Last Edit: October 21, 2008, 06:00:01 AM by mary »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline David Harper

  • *
  • 653
  • +0/-0
  • Watch this space
    • Workgroup Technology Solutions
Re: DAR2 - missing dependency
« Reply #3 on: October 21, 2008, 11:01:16 AM »
Alternatively there is the beta version of the e-smith-backup package, which includes a dar option, available, as per the instructions at http://wiki.contribs.org/Backup_with_dar

This is where the dar option is going to be available moving forward, I think (correct me if I am wrong anyone).

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: DAR2 - missing dependency
« Reply #4 on: October 21, 2008, 01:30:58 PM »
davidiwharper

Quote
This is where the dar option is going to be available moving forward....

They are quite different applications.
The e-smith-backup program appears as if it will become part of the base, whereas the dar2 contrib will remain as a contrib.

e-smith-backup is really a full system backup and restore tool, that supports an initial full backup (say once per week) and then daily incremental backups.

dar2 allows configurable backups sets, it can do full system backups and restores, but can also do partial backups of specific data. From memory it does not support incremental backups.

The good thing is they can both reside on the same server, but probably not a good idea to schedule backups that ran at the same time.

The two backup systems have different patterns of usage, and will therefore suit different users requirements.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline eastend99

  • ***
  • 48
  • +0/-0
Re: DAR2 - missing dependency - solved
« Reply #5 on: October 21, 2008, 05:47:01 PM »
Thanks for the replies, it works..

Quote
yum install smeserver-dar2 --enablerepo=smecontribs --enablerepo=smeupdates-testing

The dar2 package installed correctly with this command.
I still don't understand why I need the smeupdates-testing repository to complete the install.
On september 5, 2008 it worked like a charm from smecontribs only.

Marcel

Offline mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Re: DAR2 - missing dependency
« Reply #6 on: October 21, 2008, 05:59:32 PM »
Quote
I still don't understand why I need the smeupdates-testing repository to complete the install.

I can't say for sure, but I would guess that packages are being moved to smeupdates-testing for inclusion in SME8.0