LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
Search this Thread
Old 12-02-2012, 08:13 AM   #1
k84834
Member
 
Registered: Aug 2012
Posts: 142

Rep: Reputation: Disabled
blfs : I Install successfully rpm on my lfs7.2 but there are problems :(


Hi all body
I can successfully install RPM on my LFS7.2 and all of its dependencies.
but when I want to install package with rpm below and same errors occure!
Code:
root [ /sources ]# rpm -i -vv util-macros-1.17-5.ram1.i686.rpm 
D: ============== util-macros-1.17-5.ram1.i686.rpm
D: loading keyring from pubkeys in /${prefix}/var/lib/rpm/pubkeys/*.key
D: couldn't find any keys in /${prefix}/var/lib/rpm/pubkeys/*.key
D: loading keyring from rpmdb
D: opening  db environment /${prefix}/var/lib/rpm cdb:0x401
D: opening  db index       /${prefix}/var/lib/rpm/Packages 0x400 mode=0x0
D: locked   db index       /${prefix}/var/lib/rpm/Packages
D: opening  db index       /${prefix}/var/lib/rpm/Name 0x400 mode=0x0
D: Expected size:        22919 = lead(96)+sigs(180)+pad(4)+data(22639)
D:   Actual size:        22919
D: util-macros-1.17-5.ram1.i686.rpm: Header SHA1 digest: OK (1fcefb3c4bdf136a5195ed0a466d9349c7a61fde)
D: ========== relocations
D: 	added binary package [0]
D: found 0 source and 1 binary packages
D: ========== +++ util-macros-1.17-5.ram1 i686/linux 0x0
D: opening  db index       /${prefix}/var/lib/rpm/Basenames 0x400 mode=0x0
D: opening  db index       /${prefix}/var/lib/rpm/Providename 0x400 mode=0x0
D:  Requires: /usr/bin/pkg-config                           NO  
D:  Requires: rpmlib(CompressedFileNames) <= 3.0.4-1        YES (rpmlib provides)
D:  Requires: rpmlib(PayloadFilesHavePrefix) <= 4.0-1       YES (rpmlib provides)
D: opening  db index       /${prefix}/var/lib/rpm/Conflictname 0x400 mode=0x0
D: opening  db index       /${prefix}/var/lib/rpm/Obsoletename 0x400 mode=0x0
error: Failed dependencies:
	/usr/bin/pkg-config is needed by util-macros-1.17-5.ram1.i686
D: closed   db index       /${prefix}/var/lib/rpm/Obsoletename
D: closed   db index       /${prefix}/var/lib/rpm/Conflictname
D: closed   db index       /${prefix}/var/lib/rpm/Providename
D: closed   db index       /${prefix}/var/lib/rpm/Basenames
D: closed   db index       /${prefix}/var/lib/rpm/Name
D: closed   db index       /${prefix}/var/lib/rpm/Packages
D: closed   db environment /${prefix}/var/lib/rpm
root [ /sources ]# rpm -i -vv util-macros-1.17-5.ram1.i686.rpm 
D: ============== util-macros-1.17-5.ram1.i686.rpm
D: loading keyring from pubkeys in /${prefix}/var/lib/rpm/pubkeys/*.key
D: couldn't find any keys in /${prefix}/var/lib/rpm/pubkeys/*.key
D: loading keyring from rpmdb
D: opening  db environment /${prefix}/var/lib/rpm cdb:0x401
D: opening  db index       /${prefix}/var/lib/rpm/Packages 0x400 mode=0x0
D: locked   db index       /${prefix}/var/lib/rpm/Packages
D: opening  db index       /${prefix}/var/lib/rpm/Name 0x400 mode=0x0
D: Expected size:        22919 = lead(96)+sigs(180)+pad(4)+data(22639)
D:   Actual size:        22919
D: util-macros-1.17-5.ram1.i686.rpm: Header SHA1 digest: OK (1fcefb3c4bdf136a5195ed0a466d9349c7a61fde)
D: ========== relocations
D: 	added binary package [0]
D: found 0 source and 1 binary packages
D: ========== +++ util-macros-1.17-5.ram1 i686/linux 0x0
D: opening  db index       /${prefix}/var/lib/rpm/Basenames 0x400 mode=0x0
D: opening  db index       /${prefix}/var/lib/rpm/Providename 0x400 mode=0x0
D:  Requires: /usr/bin/pkg-config                           NO  
D:  Requires: rpmlib(CompressedFileNames) <= 3.0.4-1        YES (rpmlib provides)
D:  Requires: rpmlib(PayloadFilesHavePrefix) <= 4.0-1       YES (rpmlib provides)
D: opening  db index       /${prefix}/var/lib/rpm/Conflictname 0x400 mode=0x0
D: opening  db index       /${prefix}/var/lib/rpm/Obsoletename 0x400 mode=0x0
error: Failed dependencies:
	/usr/bin/pkg-config is needed by util-macros-1.17-5.ram1.i686
D: closed   db index       /${prefix}/var/lib/rpm/Obsoletename
D: closed   db index       /${prefix}/var/lib/rpm/Conflictname
D: closed   db index       /${prefix}/var/lib/rpm/Providename
D: closed   db index       /${prefix}/var/lib/rpm/Basenames
D: closed   db index       /${prefix}/var/lib/rpm/Name
D: closed   db index       /${prefix}/var/lib/rpm/Packages
D: closed   db environment /${prefix}/var/lib/rpm
root [ /sources ]#
what is the matter?!!! :-?

Code:
root [ /sources ]# find / | grep pkg-config
/usr/share/doc/pkg-config-0.27
/usr/share/doc/pkg-config-0.27/pkg-config-guide.html
/usr/share/man/man1/pkg-config.1
/usr/bin/pkg-config
/sources/pkg-config-0.27.tar.gz
root [ /sources ]# py //I press tab
pydoc             python2           python2.7-config  python-config
python            python2.7         python2-config    
root [ /sources ]# py

Last edited by k84834; 12-02-2012 at 08:28 AM.
 
Old 12-02-2012, 12:27 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,536

Rep: Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506
Quote:
error: Failed dependencies:
/usr/bin/pkg-config is needed by util-macros-1.17-5.ram1.i686
'rpm' looks for installed dependencies in the rpm data base only.
Solution : 1) Install 'pkg-config' as an rpm package.
Or 2) use the '--nodeps' option :
# rpm -Uvh --nodeps util-macros-1.17-5.ram1.i686.rpm


.

Last edited by knudfl; 12-02-2012 at 12:30 PM.
 
Old 12-03-2012, 03:36 AM   #3
k84834
Member
 
Registered: Aug 2012
Posts: 142

Original Poster
Rep: Reputation: Disabled
Hi
thank you for reply
I install pkg-config as an rpm package , but when I want to install other packages there Are other dependencies that I have installed them in LFS!
like below
Code:
root [ /sources/rpm-packages ]# rpm -Uvh libXau-1.0.7-1mgc25.i686.rpm 
error: Failed dependencies:
	/sbin/ldconfig is needed by libXau-1.0.7-1mgc25.i686
	libc.so.6 is needed by libXau-1.0.7-1mgc25.i686
	libc.so.6(GLIBC_2.0) is needed by libXau-1.0.7-1mgc25.i686
	libc.so.6(GLIBC_2.1) is needed by libXau-1.0.7-1mgc25.i686
	libc.so.6(GLIBC_2.1.3) is needed by libXau-1.0.7-1mgc25.i686
root [ /sources/rpm-packages ]#
is it right I install all packages with --nodeps ?!
can I install them at once like "rpm -Uvh --nodeps *.rpm " ?
if not , what I do with these failed dependencies???

Last edited by k84834; 12-03-2012 at 03:54 AM.
 
Old 12-03-2012, 04:26 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,536

Rep: Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506
Quote:
Is it right I install all packages with --nodeps ?
That's what we do in OS's with no dependency tracking, like Slackware.
Quote:
/sbin/ldconfig is needed ....
libc.so.6 is needed by ....
Both are provided by glibc, which you already have :
'glibc' is your OS, together with the kernel.
 
  


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
are these warnings harmful for building LFS7.1 ? k84834 Linux From Scratch 2 08-18-2012 06:43 AM
[SOLVED] seeking information regarding glibc for lfs7.1 install ankit0301 Linux From Scratch 3 04-08-2012 04:37 AM
Successfully installing mplayer from RPM's tlawlessrr Linux - Software 5 03-24-2004 03:50 AM
rpm install problems JMK Linux - Newbie 3 01-20-2004 12:46 PM
problems with rpm install Jasutinsama Linux - Software 4 12-28-2002 02:45 PM


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

Main Menu
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