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 ################################################## |
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.
|
Quote:
|
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. |
Quote:
Quote:
|
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 |
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 |
All times are GMT -5. The time now is 10:06 PM. |