Koozali.org: home of the SME Server

Missing Dependency

Offline cactus02

  • **
  • 24
  • +0/-0
Missing Dependency
« on: January 14, 2010, 02:20:03 PM »
I got this error message when applied the last updates :

Error: Missing Dependency: perl(IO::Compress::Bzip2) >= 2.015 is needed by package perl-Archive-Tar

Is there something I should do ?
Or wait for the next update.

Thank you !

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Missing Dependency
« Reply #1 on: January 14, 2010, 02:56:28 PM »
did you install any contrib?

Offline cactus02

  • **
  • 24
  • +0/-0
Re: Missing Dependency
« Reply #2 on: January 14, 2010, 03:05:12 PM »
Yes !
- Web Statistics
- Disk Archives
- Hardware Configuration
- Accès à distance de l'utilisateur (User Access to FTP ?)

And the bad guy is ?

Thank You

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Missing Dependency
« Reply #3 on: January 14, 2010, 06:30:03 PM »
And the bad guy is ?
Try:
Code: [Select]
rpm -q --whatrequires perl(IO::Compress::Bzip2)
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline cactus02

  • **
  • 24
  • +0/-0
Re: Missing Dependency
« Reply #4 on: January 15, 2010, 02:30:23 PM »
I am using Putty to access my server.
Typing what you told me I am getting this error message :

- bash: syntax error near unexpected token `('

If i don't type « (IO::Compress::Bzip2) », I get a long list  of file referring to Perl (I guest) !
Would it be useful to see the list ?

Is there something missing in the command ?

Thank You !

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Missing Dependency
« Reply #5 on: January 15, 2010, 02:32:53 PM »
I am using Putty to access my server.
Typing what you told me I am getting this error message :

- bash: syntax error near unexpected token `('

If i don't type « (IO::Compress::Bzip2) », I get a long list  of file referring to Perl (I guest) !
Would it be useful to see the list ?

Is there something missing in the command ?
Oops, I forgot the quotes, please try:
Code: [Select]
rpm -q --whatrequires 'perl(IO::Compress::Bzip2)'
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline cactus02

  • **
  • 24
  • +0/-0
Re: Missing Dependency
« Reply #6 on: January 15, 2010, 02:38:51 PM »
The response at your command :

no package requires perl(IO::Compress::Bzip2)

Helping ?

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Missing Dependency
« Reply #7 on: January 15, 2010, 02:44:07 PM »
The response at your command :

no package requires perl(IO::Compress::Bzip2)

Helping ?
Then the dependency is in one of the packages you are trying to install (or one of it's dependencies, in this case perl-Archive-Tar). The package should be in the dag repository which you might already have installed. If not first follow the instructions in the wiki to do install the dag repository.

Then rerun your installation with this added to your command:
Code: [Select]
--enablerepo=dag
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline cactus02

  • **
  • 24
  • +0/-0
Re: Missing Dependency
« Reply #8 on: January 15, 2010, 03:44:24 PM »
I did the installation of the Dag repository as explained in http:/wiki.contribs.org/Dag.
Everthing seems to work fine.

Now, I don't understand what you want me to do :

Then « rerun your installation with this added to your command : --enablerepo=dag »

How do I « rerun my installation » ?

I tried to update and I still got an error :

Loading "smeserver" plugin
Loading "protect-packages" plugin
Loading "fastestmirror" plugin
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package perl-Archive-Tar.noarch 0:1.54-1.el4.rf set to be updated
--> Running transaction check
warning: only V3 signatures can be verified, skipping V4 signature
--> Processing Dependency: perl(IO::Compress::Bzip2) >= 2.015 for package: perl-Archive-Tar
--> Finished Dependency Resolution
Error: Missing Dependency: perl(IO::Compress::Bzip2) >= 2.015 is needed by package perl-Archive-Tar
yum update perl-Archive-Tar.noarch failed: 256


Thank you for your help and patience !

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Missing Dependency
« Reply #9 on: January 15, 2010, 04:03:27 PM »
are you on SME 7.4 or SME 8?

Offline cactus02

  • **
  • 24
  • +0/-0
Re: Missing Dependency
« Reply #10 on: January 15, 2010, 04:21:14 PM »
SME Server 7.5beta1
Copyright 1999-2006 Mitel Corporation
Tous droits réservés.
Copyright 2006 SME Server, Inc.

Is V8 available ?

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Missing Dependency
« Reply #11 on: January 15, 2010, 04:28:55 PM »
no, SME8 is in beta, and your 7.5 too..

can I ask you why are you using 7.5 beta?

as long as you are using a beta version, you should report your issue in bugzilla, thank you

Offline cactus02

  • **
  • 24
  • +0/-0
Re: Missing Dependency
« Reply #12 on: January 15, 2010, 04:51:48 PM »
I feel stupid to answer... « I don't know »  :shock:
I applied the updates when they were available.
I did take notice of the addition of the word « beta » and ask myself why... How and when did I make the switch.
It's the first problem I get with an update. Was I lucky ?
Should I stop updating until the next stable version is available ?

Thank you !

I will report my problem in the bug tracker space !

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Missing Dependency
« Reply #13 on: January 15, 2010, 06:27:37 PM »
I feel stupid to answer... « I don't know »  :shock:
I applied the updates when they were available.
I did take notice of the addition of the word « beta » and ask myself why... How and when did I make the switch.
It's the first problem I get with an update. Was I lucky ?
Should I stop updating until the next stable version is available ?

Thank you !

I will report my problem in the bug tracker space !
I think you have repositories enabled by default which you should not have. Check your activated repositories:
Code: [Select]
/sbin/e-smith/audittools/repositories
Only the following should be enabled by default:
base: enabled
smeaddons: enabled
smeextras: enabled
smeos: enabled
smeupdates: enabled
updates: enabled

To restore the default follow the instructions here: http://wiki.contribs.org/Adding_Software#Restoring_Default_Yum_Repositories
« Last Edit: January 15, 2010, 06:30:10 PM by cactus »
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)