LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices



Reply
 
Search this Thread
Old 08-26-2006, 11:43 AM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,428

Rep: Reputation: 53
Missing lib


Hi folks,

FC5_64

On running "yum update" following errors popup:
Code:
Error: Missing Dependency: libecal-1.2.so.3()(64bit) is needed by package gnome-panel
Error: Missing Dependency: libecal-1.2.so.3()(64bit) is needed by package evolution-sharp
Error: cups conflicts with hplip < 0.9.9-5.1
Error: cups conflicts with foomatic < 3.0.2-33.3
Error: cups conflicts with system-config-printer < 0.6.151.3
Error: cups conflicts with hplip < 0.9.9-5.1
Error: cups conflicts with foomatic < 3.0.2-33.3
Error: cups conflicts with system-config-printer
have been existing for sometimes. I just left them there because I don't want to downgrade them to their previous version.

Googling search "libecal-1.2.so.3()(64bit)" found it one;
http://rpmfind.net/linux/rpm2html/se....so.3()(64bit)
Code:
Package	Summary	Distribution	Download
lib64ecal3-1.7.90.1-2mdv2007.0.x86_64.html	Shared libraries for using Evolution Data Server	Mandriva devel cooker for x86_64	lib64ecal3-1.7.90.1-2mdv2007.0.x86_64.rpm
lib64ecal3-1.7.90.1-2mdv2007.0.x86_64.html	Shared libraries for using Evolution Data Server	Mandriva devel cooker for amd64	lib64ecal3-1.7.90.1-2mdv2007.0.x86_64.rpm
lib64ecal3-1.7.90.1-2mdv2007.0.x86_64.html	Shared libraries for using Evolution Data Server	Mandriva devel 2007.0 for x86_64	lib64ecal3-1.7.90.1-2mdv2007.0.x86_64.rpm

....
.....
But I could not locate the above package on "yum install lib64ecal3". Please advise which additional repo should be up. TIA

B.R.
satimis

Last edited by satimis; 08-26-2006 at 11:44 AM.
 
Old 08-26-2006, 12:08 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
The package your looking for since this is Fedora Core and not Mandrake/Mandriva (the clue - mdv2007) is evolution-data-server And why not fix the errors with cups????

From: http://download.fedora.redhat.com/pu...ates/5/x86_64/

evolution-data-server-1.6.3-1.fc5.2.x86_64.rpm
foomatic-3.0.2-33.3.x86_64.rpm
hplip-1.6.6a-1.1.x86_64.rpm
system-config-printer-0.6.151.8-1.x86_64.rpm

Last edited by Lenard; 08-26-2006 at 12:13 PM.
 
Old 08-26-2006, 12:41 PM   #3
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,428

Original Poster
Rep: Reputation: 53
Hi Lenard,

Tks for your advice.

Whether I have to run

# yum remove hplip foomatic system-config-printer

first before installing the new packages? TIA

B.R.
satimi
 
Old 08-26-2006, 02:14 PM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Nope simply do; yum -y update hplip foomatic system-config-printer
 
Old 08-26-2006, 07:56 PM   #5
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,428

Original Poster
Rep: Reputation: 53
Hi Lenard,

Tks for your advice.

# yum -y update hplip foomatic system-config-printer
Code:
......
Added 11 new packages, deleted 4 old in 4.88 seconds
Could not find update match for system-config-printer
Could not find update match for hplip
Could not find update match for foomatic
No Packages marked for Update/Obsoletion
# yum list installed hplip foomatic system-config-printer
Code:
Loading "installonlyn" plugin
Installed Packages
foomatic.x86_64                          3.0.2-33.2             installed
foomatic.x86_64                          3.0.2-33.3             installed
hplip.x86_64                             0.9.8-6                installed
hplip.x86_64                             1.6.6a-1.1             installed
system-config-printer.x86_64             0.6.151-1              installed
system-config-printer.x86_64             0.6.151.8-1            installed
system-config-printer.x86_64             0.6.151.7-1            installed
They were still there

# rpm -Uvh --test Desktop/foomatic-3.0.2-33.3.x86_64.rpm
Code:
....................
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30977) from db->close: DB_RUNRECOVERY: Fatal error, run database recovery
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30977) from db->close: DB_RUNRECOVERY: Fatal error, run database recovery
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30977) from db->close: DB_RUNRECOVERY: Fatal error, run database recovery
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30977) from db->close: DB_RUNRECOVERY: Fatal error, run database recovery
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30977) from db->close: DB_RUNRECOVERY: Fatal error, run database recovery
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30977) from db->close: DB_RUNRECOVERY: Fatal error, run database recovery
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30977) from db->close: DB_RUNRECOVERY: Fatal error, run database recovery
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30977) from dbenv->close: DB_RUNRECOVERY: Fatal error, run database recovery
# rpm -Uvh --test Desktop/hpijs-1.6.6a-1.1.x86_64.rpm
Code:
 
.........
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30977) from dbenv->open: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages database in /var/lib/rpm
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30977) from dbenv->open: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages database in /var/lib/rpm
[root@localhost satimis]# rpm -Uvh --test Desktop/hpijs-1.6.6a-1.1.x86_64.rpm
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30977) from dbenv->open: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db3 -  (-30977)
error: cannot open Packages database in /var/lib/rpm
warning: Desktop/hpijs-1.6.6a-1.1.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30977) from dbenv->open: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages database in /var/lib/rpm
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30977) from dbenv->open: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages database in /var/lib/rpm
# rpm -Uvh --test Desktop/system-config-printer-0.6.151.8-1.x86_64.rpm
Code:
......................
.......................
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30977) from dbenv->open: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages database in /var/lib/rpm
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30977) from dbenv->open: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages database in /var/lib/rpm
[root@localhost satimis]# rpm -Uvh --test Desktop/system-config-printer-0.6.151.8-1.x86_64.rpm
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30977) from dbenv->open: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db3 -  (-30977)
error: cannot open Packages database in /var/lib/rpm
warning: Desktop/system-config-printer-0.6.151.8-1.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30977) from dbenv->open: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages database in /var/lib/rpm
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30977) from dbenv->open: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages database in /var/lib/rpm
Unable to proceed further.

B.R.
satimis
 
Old 08-27-2006, 06:15 AM   #6
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
This is strange.......... yum should have replaced (upgraded) the older packages with the newer. It looks like your database is corrupted also which can be fixed, follow the advice found here after rebooting the system;

http://www.rpm.org/hintskinks/repairdb-2003-06/

Hopefully you may not have to remove the older versions of anything if the reporting of multiple versions is just part of the database corruption. Removing the multiple versions is fairly easy, as root from the console or xterm session remove the older extra versions;

Get the list; rpm -qa 'system-config-printer*'

Remove the older (or unwanted versions);

rpm -e system-config-printer-0.6.151-1 system-config-printer-0.6.151.7-1
 
Old 08-27-2006, 06:35 AM   #7
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,428

Original Poster
Rep: Reputation: 53
Hi Lenard,

It is equally strange to me. I haven't removed any package yet.

I already fixed the database problem running;
# rm -f /var/lib/rpm/__db*
# db_verify /var/lib/rpm/Packages
Code:
bash: db_verify: command not found
# rpm --rebuilddb

# yum whatprovides libecal-1.2.so.3()(64bit)
Code:
......
evolution-data-server.x86_64             1.5.92-1               core
Matched from:
/usr/lib64/libecal-1.2.so.3
/usr/lib64/libecal-1.2.so.3.2.7
libecal-1.2.so.3()(64bit)

evolution-data-server.x86_64             1.5.92-1               installed
Matched from:
/usr/lib64/libecal-1.2.so.3
/usr/lib64/libecal-1.2.so.3.2.7
libecal-1.2.so.3()(64bit)
They were there already.

# yum update
Code:
......
Error: Missing Dependency: libecal-1.2.so.3()(64bit) is needed by package gnome-panel
Error: Missing Dependency: libecal-1.2.so.3()(64bit) is needed by package evolution-sharp
Error: cups conflicts with hplip < 0.9.9-5.1
Error: cups conflicts with foomatic < 3.0.2-33.3
Error: cups conflicts with system-config-printer < 0.6.151.3
Problem still existed.


$ ls /usr/lib64/ | grep libecal
Code:
libecal-1.2.so
libecal-1.2.so.3
libecal-1.2.so.3.2.7
libecal-1.2.so.6
libecal-1.2.so.6.0.0
64 bit version was not there.

# pirut
Started the "Package Manager"

[check] cups=1:1.1.23-30.2.x86_64 - Common Unitx Printing System
[check] cups=1:1.2.1-1.7.x86_64 - Common Unitx Printing System
[check] gnome-panel-2.14.0-1.x86_64 - GNOME panel
[check] gnome-panel-2.14.2-1.fc5.1.x86_64 - GNOME panel
[check] gnome-panel-2.14.3-1.fc5.x86_64 - GNOME panel
[check] evolution-sharp - 0.10.2-9.5.x86_64 - Evolution Data Server Mono Bindings
[check] evolution-sharp - 0.10.2-9.x86_64 - Evolution Data Server Mono Bindings
[check] foomatic - 3.0.2.x86_64 - Foomatic printer database
[check] foomatic - 3.0.3.x86_64 - Foomatic printer database
[check] hplip - 0.9.8-6.x86_64 - HP Linux Imaging and Printing Project
[check] hplip - 1.6.6a-1.1.x86_64 - HP Linux Imaging and Printing Project
[check] system-config-printer - 0.6.151.7-1.x86_64 A printer configuration backend/frontend combination
[check] system-config-printer - 0.6.151.8-1.x86_64 A printer configuration backend/frontend combination

All of them were already there. But I'm surprised why similar packages of different version were installed not with the old version removed.


# rpm -Uvh --test Desktop/foomatic-3.0.2-33.3.x86_64.rpm
Code:
Preparing...                ########################################### [100%]
        package foomatic-3.0.2-33.3 is already installed
[root@localhost satimis]# rpm -Uvh --test Desktop/hpijs-1.6.6a-1.1.x86_64.rpm
Preparing...                ########################################### [100%]
        package hpijs-1.6.6a-1.1 is already installed
# rpm -Uvh --test Desktop/system-config-printer-0.6.151.8-1.x86_64.rpm
Code:
error: Failed dependencies:
        system-config-printer = 0.6.151-1 is needed by (installed) system-config-printer-gui-0.6.151-1.x86_64
        system-config-printer = 0.6.151.7-1 is needed by (installed) system-config-printer-gui-0.6.151.7-1.x86_64
# rpm -Uvh --test Desktop/system-config-printer-gui-0.6.151.7-1.x86_64.rpm
Code:
Preparing...                ########################################### [100%]
        package system-config-printer-gui-0.6.151.8-1 (which is newer than system-config-printer-gui-0.6.151.7-1) is already installed
        package system-config-printer-gui-0.6.151.7-1 is already installed
# rpm -Uvh --test Desktop/system-config-printer-gui-0.6.151.7-1.x86_64.rpm
Code:
Preparing...                ########################################### [100%]
        package system-config-printer-gui-0.6.151.8-1 (which is newer than system-config-printer-gui-0.6.151.7-1) is already installed
        package system-config-printer-gui-0.6.151.7-1 is already installed

# rpm -Uvh --test Desktop/evolution-data-server-1.6.3-1.fc5.2.x86_64.rpm
Code:
error: Failed dependencies:
        libegroupwise-1.2.so.9()(64bit) is needed by (installed) evolution-2.6.2-1.fc5.5.x86_64
        libegroupwise-1.2.so.9()(64bit) is needed by (installed) evolution-2.6.0-1.x86_64
        evolution-data-server = 1.6.2-1.fc5.1 is needed by (installed) evolution-data-server-devel-1.6.2-1.fc5.1.x86_64
        libecal-1.2.so.3()(64bit) is needed by (installed) gnome-panel-2.14.0-1.x86_64
        libecal-1.2.so.3()(64bit) is needed by (installed) evolution-sharp-0.10.2-9.x86_64
        libecal-1.2.so.3()(64bit) is needed by (installed) evolution-2.6.0-1.x86_64
I don't know how to proceed further.

$ rpm -qa system-config-printer*
Code:
system-config-printer-0.6.151-1
system-config-printer-0.6.151.8-1
system-config-printer-0.6.151.7-1
system-config-printer-gui-0.6.151.7-1
system-config-printer-gui-0.6.151-1
system-config-printer-gui-0.6.151.8-1

B.R.
satimis
 
Old 08-27-2006, 08:02 AM   #8
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
FYI, this looks normal;

$ ls /usr/lib64/ | grep libecal
Code:

libecal-1.2.so libecal-1.2.so.3 libecal-1.2.so.3.2.7 libecal-1.2.so.6 libecal-1.2.so.6.0.0


64 bit version was not there.

You looking at the 64-bit lib directory and found the files, the 64-bit version are there and no you would not see the "()(64bit)" portion in the listed file name.


OK........ lets try the following first make sure that only the latest versions are in the location where they exist then from this location as root in the console or xterm session (this installs both at the same time and yes this is the way to install both);

rpm -Uvh system-config-display*.rpm system-config-display-gui*.rpm --force

Hopefully you should only see the one (latest version) installed now. If this is true then repeat the process for the rest.
 
Old 08-27-2006, 08:19 AM   #9
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Quick question: What version of yum are you using???

I was checking bugzilla ( https://bugzilla.redhat.com/bugzilla/index.cgi ) and found;

https://bugzilla.redhat.com/bugzilla....cgi?id=199548

Looks similar to your problem..........
 
Old 08-27-2006, 10:37 AM   #10
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,428

Original Poster
Rep: Reputation: 53
Hi Lenard,

Quote:
Quick question: What version of yum are you using???
I found its version on

pirut --> List
Code:
yum - 2.6.0.1.noarch - RPM installer/updater
yum - 2.6.1-0.fc5.noarch - RPM installer/update
Also 2 packages installed.

What will be the command for listing yum version?

Anything shall I do on it before running the command listed on your previous posting.

Tks

B.R.
satimis
 
Old 08-27-2006, 12:59 PM   #11
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Let's find out if you have one or two versions of yum installed first (also it would be nice to know if you may have a problem dealing with multilibs);

rpm -qa --qf="%{n}-%{v}-%{r}.%{arch}.rpm\n" 'yum*'

If your talking about post # 8 then if you have two versions of yum installed you should run the rpm command with the force switch for yum first. If not tow versions of yum then yes lets see if the database can be cleaned up a bit.
 
Old 08-27-2006, 07:14 PM   #12
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,428

Original Poster
Rep: Reputation: 53
Hi Lenard,

FC5_64

Quote:
Let's find out if you have one or two versions of yum installed first (also it would be nice to know if you may have a problem dealing with multilibs);
$ rpm -qa --qf="%{n}-%{v}-%{r}.%{arch}.rpm\n" 'yum*'
Code:
yum-2.6.1-0.fc5.noarch.rpm
yum-2.6.0-1.noarch.rpm
I think 2 versions of yum running on this OS

How to check "problem dealing with multilibs"? Tks.

Quote:
If your talking about post # 8 then if you have two versions of yum installed you should run the rpm command with the force switch for yum first. If not tow versions of yum then yes lets see if the database can be cleaned up a bit.
OK, deal with Yum first.


B.R.
satimis
 
Old 08-27-2006, 08:13 PM   #13
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
The basic command I have already shown you (rpm -qa --qf="%{n}-%{v}-%{r}.%{arch}.rpm\n") can be used for checking multilib supoort and possible problems. A brief example;

$ rpm -qa --qf="%{n}-%{v}-%{r}.%{arch}.rpm\n" 'libgnat*'
libgnat-4.1.1-6.x86_64.rpm
libgnat-4.1.1-6.i386.rpm


Have you been maybe using something like 'yum install foo' to install updates??? Not a good idea if yes.
 
Old 08-28-2006, 02:19 AM   #14
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,428

Original Poster
Rep: Reputation: 53
Hi Lenard,

$ rpm -qa --qf="%{n}-%{v}-%{r}.%{arch}.rpm\n" 'multilibs*'
$ rpm -qa --qf="%{n}-%{v}-%{r}.%{arch}.rpm\n" multilibs
Both have no printout.

Now there are 2 versions of Yum running
Code:
yum - 2.6.0.1.noarch - RPM installer/updater
yum - 2.6.1-0.fc5.noarch - RPM installer/update
Shall I erase "yum - 2.6.0.1.noarch", the older version, first before running

$ rpm -Uvh system-config-display*.rpm system-config-display-gui*.rpm --force

Quote:
Have you been maybe using something like 'yum install foo' to install updates???
No, never tried before.

B.R.
satimis
 
Old 08-28-2006, 06:53 AM   #15
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Yes, remove the older version of yum.

If your running in a mixed mode environment with both 32-bit and 64-bit applications and libs then you need to watch out for multilib problems. This happens when one does not keep the x86 and x86_64 libs at the same revision level.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
splashutils missing lib flying-tuxman Linux - General 2 01-08-2006 03:20 PM
missing lib files in samba? mcgoon Linux - Newbie 1 11-11-2005 10:23 AM
GrassGIS lib files MISSING!!!! munkus.agb Linux - Software 3 12-15-2004 11:28 AM
Missing lib files! stonehurstX11 Mandriva 9 12-15-2003 05:09 PM
Missing lib mikedh Linux - General 2 04-25-2001 11:06 AM


All times are GMT -5. The time now is 10:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration