LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 03-03-2004, 04:07 PM   #1
jfi
Member
 
Registered: Sep 2003
Location: France
Distribution: Mandriva2007, Debian, OpenSuse, Slack10, FC6, PC-BSD, Solaris10
Posts: 65

Rep: Reputation: 15
urpmi looks for fancy dependency (bash)


For almost all rpm I install, urpmi tells me that it must install bash (always bash). I click OK for installation, then it spits some warnings and installs correctly the rpm.

(On account of this problem the Mandrake graphic interface for program installation doesn't work).

Below, two examples of rpm installations (from the file /var/log/urpmi.log)

Any idea ?

==================================================

Example 1: kernel installation:

Wed Feb 18 13:13:57 2004 urpmi called with bootloader-utils-1.6-4mdk.i586.rpm kernel-2.6.2.3mdk-1-1mdk.i586.rpm kernel-source-2.6.2-3mdk.i586.rpm libsysfs0-0.4.0-1mdk.i586.rpm mkinitrd-3.5.18-4mdk.i586.rpm module-init-tools-3.0-0.pre9.2mdk.i586.rpm modutils-2.4.26-3mdk.i586.rpm sysfsutils-0.4.0-1mdk.i586.rpm udev-013-4mdk.i586.rpm
Wed Feb 18 13:14:18 2004 udev-013-4mdk.i586.rpm sysfsutils-0.4.0-1mdk.i586.rpm kernel-2.6.2.3mdk-1-1mdk.i586.rpm /var/cache/urpmi/rpms/bash-2.05b-14mdk.i586.rpm libsysfs0-0.4.0-1mdk.i586.rpm
Préparation... ##################################################
1:bash #################################warning: /etc/profile.d/alias.sh created as /etc/profile.d/alias.sh.rpmnew
warning: /etc/skel/.bash_logout created as /etc/skel/.bash_logout.rpmnew
warning: /etc/skel/.bash_profile created as /etc/skel/.bash_profile.rpmnew
warning: /etc/skel/.bashrc created as /etc/skel/.bashrc.rpmnew
#################

2:libsysfs0 ##################################################
3:sysfsutils ##################################################
4:kernel-2.6.2.3mdk ##################################################
5:udev ##################################################

Example 2: Aumix

Sat Feb 28 21:07:12 2004 urpmi called with aumix-2.8-6mdk.i586.rpm
Sat Feb 28 21:07:19 2004 /var/cache/urpmi/rpms/bash-2.05b-14mdk.i586.rpm aumix-2.8-6mdk.i586.rpm /var/cache/urpmi/rpms/libatk1.0_0-1.4.0-1mdk.i586.rpm
Préparation... ##################################################
1:libatk1.0_0 ##################################################
2:bash #################################warning: /etc/profile.d/alias.sh created as /etc/profile.d/alias.sh.rpmnew
#########warning: /etc/skel/.bash_logout created as /etc/skel/.bash_logout.rpmnew
warning: /etc/skel/.bash_profile created as /etc/skel/.bash_profile.rpmnew
warning: /etc/skel/.bashrc created as /etc/skel/.bashrc.rpmnew
########

3:aumix ##################################################
 
Old 03-03-2004, 06:50 PM   #2
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
those are telling you that certain settings files have been created with non-standard names so they won't be used unless you manually change their names. If everything's working, then you don't have much to worry about. The reason why it doesn't overwrite the settings is probably to avoid overwriting custom settings.
 
Old 03-04-2004, 02:05 AM   #3
jfi
Member
 
Registered: Sep 2003
Location: France
Distribution: Mandriva2007, Debian, OpenSuse, Slack10, FC6, PC-BSD, Solaris10
Posts: 65

Original Poster
Rep: Reputation: 15
Quote:
If everything's working, then you don't have much to worry about. The reason why it doesn't overwrite the settings is probably to avoid overwriting custom settings.
Okay, I can live with this problem, but the graphic interface doesn't work (I assume that both problems are related), so, I am obliged to browse manually CD-ROMS for using urpmi. There is probably a bug behind because I have always had this problem since I installed Mandrake 9.2 (I mean, no custom settings).
 
Old 03-04-2004, 09:34 AM   #4
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
hm, it really shouldn't happen. Now that I look at the output more closely, it's always installing /var/cache/urpmi/rpms/bash-2.05b-14mdk.i586.rpm. What happens if you remove the file in /var/chache/urpmi/rpms?

Also, when you do
rpmdrake
from a terminal window, what kind of error mesasge do you get? This should start the graphical frontend for urpmi. Maye the error messages can give someone a clue.

For urpmi, you don't need to know the exact name of the rpm. For example, if you do
urpmi aumix
it will either install aumix with all its dependencies or give you a list of packages that contaiin 'aumix' in the name. Makes life a bit easier.
 
Old 03-05-2004, 02:27 AM   #5
jfi
Member
 
Registered: Sep 2003
Location: France
Distribution: Mandriva2007, Debian, OpenSuse, Slack10, FC6, PC-BSD, Solaris10
Posts: 65

Original Poster
Rep: Reputation: 15
Quote:
What happens if you remove the file in /var/chache/urpmi/rpms?
Using urpmi: same problem: the bash rpm is copied again in this folder. Installation is okay with the same warnings as in my first post.

Quote:
Also, when you do rpmdrake from a terminal window, what kind of error mesasge do you get?
Usimg rpmdrake from console: installatrion fails but no error message in the console.
 
Old 03-05-2004, 09:56 AM   #6
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
hm. what does it say when you do
rpm -q bash

does it say bask is not installed? maybe it helps to rebuild the rpm database
rpm --rebuilddb
 
Old 03-05-2004, 03:35 PM   #7
jfi
Member
 
Registered: Sep 2003
Location: France
Distribution: Mandriva2007, Debian, OpenSuse, Slack10, FC6, PC-BSD, Solaris10
Posts: 65

Original Poster
Rep: Reputation: 15
The results are interesting even if I can't interpret them myself (I am surprised to see bash 21 times, it was probably really installed each times I had the warnings - see my first post) but now rpmdrake works !!!!


Thanks for help.

==================================================

here are the results of rpm -q bash before rmp --rebuilddb and again rpm -q bash

[root@portable_linux jfm]# rpm -q bash
[root@portable_linux jfm]# rpm -q aumix
aumix-2.8-6mdk
[root@portable_linux jfm]# rmp --rebuilddb
[root@portable_linux jfm]# rpm -q bash
bash-2.05b-14mdk
bash-2.05b-14mdk
bash-2.05b-14mdk
bash-2.05b-14mdk
bash-2.05b-14mdk
bash-2.05b-14mdk
bash-2.05b-14mdk
bash-2.05b-14mdk
bash-2.05b-14mdk
bash-2.05b-14mdk
bash-2.05b-14mdk
bash-2.05b-14mdk
bash-2.05b-14mdk
bash-2.05b-14mdk
bash-2.05b-14mdk
bash-2.05b-14mdk
bash-2.05b-14mdk
bash-2.05b-14mdk
bash-2.05b-14mdk
bash-2.05b-14mdk
bash-2.05b-14mdk
[root@portable_linux jfm]# rpm -q foo
package foo is not installed
 
  


Reply



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
syntax problem with noclean option for rpmdrake urpmi /var/cache/urpmi/rpms Emmanuel_uk Mandriva 12 05-06-2007 07:29 PM
no dependency hell with urpmi? r0jaws Mandriva 16 03-19-2005 10:02 PM
No 'Fancy' prompt in console? BroX Debian 11 11-09-2004 07:26 AM
fancy cursors eel Red Hat 1 11-10-2003 06:10 AM
urpmi and dependency installers Lostman Mandriva 4 11-05-2003 03:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 07:15 AM.

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
Open Source Consulting | Domain Registration