[ilugd] Bug in RPM or ??

2007-07-31 Thread आशीष शुक्ल Ashish Shukla
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

I'm running Fedora 7 on AMD64 architecture CPU and installed a package
freeciv via yum. freeciv requires libSDL_mixer-1.2.so.0()(64bit)
which no package currently provides it on my system. So my question is,
why 'rpm' installed a package without installing all its dependencies ?
Or it is a bug in 'yum' ?

[EMAIL PROTECTED] ~]$ rpm -q --requires freeciv |fgrep -i SDL
libSDL-1.2.so.0()(64bit)  
libSDL_mixer-1.2.so.0()(64bit)  
[EMAIL PROTECTED] ~]$ rpm -q --whatprovides 'libSDL-1.2.so.0()(64bit)'
SDL-1.2.11-2
[EMAIL PROTECTED] ~]$ rpm -q --whatprovides 'libSDL_mixer-1.2.so.0()(64bit)'
no package provides libSDL_mixer-1.2.so.0()(64bit)

Thanks in advance
Ashish Shukla
- -- 
Ashish Shukla Wah Java !!
आशीष शुक्ल

weblog: http://wahjava.wordpress.com/

  ,= ,-_-. =.  | A: Yes.|
 ((_/)o o(\_)) | Q: Are you sure?  |
  `-'(. .)`-'  | A: Because it reverses the logical flow of conversation. |
  \_/  | Q: Why is top posting frowned upon? |

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFGru66Hy+EEHYuXnQRAvWgAJ9gm3GHO9OfAzuu8E0BCVoheKYWlwCfcsFj
8FXzGnVXsphbO5qiNZC0UKQ=
=A+Ey
-END PGP SIGNATURE-

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - September 28-29, 2007
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] Bug in RPM or ??

2007-07-31 Thread Sankarshan Mukhopadhyay
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

आशीष शुक्ल Ashish Shukla wrote:

 I'm running Fedora 7 on AMD64 architecture CPU and installed a package
 freeciv via yum. freeciv requires libSDL_mixer-1.2.so.0()(64bit)
 which no package currently provides it on my system. So my question is,
 why 'rpm' installed a package without installing all its dependencies ?
 Or it is a bug in 'yum' ?
 
 [EMAIL PROTECTED] ~]$ rpm -q --requires freeciv |fgrep -i SDL
 libSDL-1.2.so.0()(64bit)  
 libSDL_mixer-1.2.so.0()(64bit)  
 [EMAIL PROTECTED] ~]$ rpm -q --whatprovides 'libSDL-1.2.so.0()(64bit)'
 SDL-1.2.11-2
 [EMAIL PROTECTED] ~]$ rpm -q --whatprovides 'libSDL_mixer-1.2.so.0()(64bit)'
 no package provides libSDL_mixer-1.2.so.0()(64bit)

Can you check a yum deplist for freeciv along with yum provides
libSDL_mixer-1.2.so.0 ? Is this related to some particular repository
you have added ?



- --

You see things; and you say 'Why?';
But I dream things that never were;
and I say 'Why not?' - George Bernard Shaw

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFGrwJkXQZpNTcrCzMRAq5dAKC4SnyV8YU+zbZxaoQAajaBgT+09ACgwDYD
0Tk0ZyaAUGKLWO6O05oVAC4=
=Cpf9
-END PGP SIGNATURE-

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - September 28-29, 2007
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] Bug in RPM or ??

2007-07-31 Thread Debarshi 'Rishi' Ray
 I'm running Fedora 7 on AMD64 architecture CPU and installed a package
 freeciv via yum. freeciv requires libSDL_mixer-1.2.so.0()(64bit)
 which no package currently provides it on my system. So my question is,
 why 'rpm' installed a package without installing all its dependencies ?
 Or it is a bug in 'yum' ?

Which version of RPM and Yum are you using?

$ rpm -q yum
$ rpm -q rpm

Cheers,
Debarshi
-- 
GPG key ID: 63D4A5A7
Key server: pgp.mit.edu

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - September 28-29, 2007
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] Bug in RPM or ??

2007-07-31 Thread आशीष शुक्ल Ashish Shukla
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

,--[ On Tue, Jul 31, 2007 at 03:05:32PM +0530, Sankarshan Mukhopadhyay wrote:
|

[...]
 
| Can you check a yum deplist for freeciv along with yum provides
| libSDL_mixer-1.2.so.0 ? Is this related to some particular repository
| you have added ?

I've already installed SDL_mixer.x86_64 package. Following is the
stuff you requested.

- -- begin output --
[EMAIL PROTECTED] ~]$ yum deplist freeciv
Loading installonlyn plugin
Loading presto plugin
Loading refresh-updatesd plugin
Loading merge-conf plugin
Loading kernel-module plugin
Loading security plugin
Loading allowdowngrade plugin
Loading skip-broken plugin
Loading downloadonly plugin
Loading tsflags plugin
Loading fedorakmod plugin
Loading fastestmirror plugin
Loading priorities plugin
Loading changelog plugin
Loading protectbase plugin
Finding dependencies: 
Setting up Presto
Reading Presto metadata in from local files
Loading mirror speeds from cached hostfile
0 packages excluded due to repository priority protections
0 packages excluded due to repository protections
package: freeciv.x86_64 2.0.9-1.fc7
  dependency: libc.so.6(GLIBC_2.3.4)(64bit)
   provider: glibc.x86_64 2.6-3
   provider: glibc.x86_64 2.6-4
  dependency: libasound.so.2(ALSA_0.9.0rc4)(64bit)
   provider: alsa-lib.x86_64 1.0.14-0.4.rc3.fc7
  dependency: libgdk-x11-2.0.so.0()(64bit)
   provider: gtk2.x86_64 2.10.11-7.fc7
   provider: gtk2.x86_64 2.10.13-1.fc7
  dependency: libc.so.6(GLIBC_2.4)(64bit)
   provider: glibc.x86_64 2.6-3
   provider: glibc.x86_64 2.6-4
  dependency: libc.so.6()(64bit)
   provider: glibc.x86_64 2.6-3
   provider: glibc.x86_64 2.6-4
  dependency: libpng12.so.0()(64bit)
   provider: libpng.x86_64 2:1.2.16-1.fc7
  dependency: rtld(GNU_HASH)
   provider: glibc.x86_64 2.6-3
   provider: glibc.i386 2.6-3
   provider: glibc.i686 2.6-3
   provider: glibc.i386 2.6-4
   provider: glibc.x86_64 2.6-4
   provider: glibc.i686 2.6-4
  dependency: libesd.so.0()(64bit)
   provider: esound-libs.x86_64 1:0.2.38-1.fc7
   provider: esound-libs.x86_64 1:0.2.38-2.fc7
  dependency: libaudiofile.so.0()(64bit)
   provider: audiofile.x86_64 1:0.2.6-6.fc7
  dependency: libgobject-2.0.so.0()(64bit)
   provider: glib2.x86_64 2.12.11-1.fc7
  dependency: libpthread.so.0()(64bit)
   provider: glibc.x86_64 2.6-3
   provider: glibc.x86_64 2.6-4
  dependency: libc.so.6(GLIBC_2.2.5)(64bit)
   provider: glibc.x86_64 2.6-3
   provider: glibc.x86_64 2.6-4
  dependency: libm.so.6(GLIBC_2.2.5)(64bit)
   provider: glibc.x86_64 2.6-3
   provider: glibc.x86_64 2.6-4
  dependency: libpthread.so.0(GLIBC_2.2.5)(64bit)
   provider: glibc.x86_64 2.6-3
   provider: glibc.x86_64 2.6-4
  dependency: libasound.so.2(ALSA_0.9)(64bit)
   provider: alsa-lib.x86_64 1.0.14-0.4.rc3.fc7
  dependency: libc.so.6(GLIBC_2.3)(64bit)
   provider: glibc.x86_64 2.6-3
   provider: glibc.x86_64 2.6-4
  dependency: libgmodule-2.0.so.0()(64bit)
   provider: glib2.x86_64 2.12.11-1.fc7
  dependency: libgdk_pixbuf-2.0.so.0()(64bit)
   provider: gtk2.x86_64 2.10.11-7.fc7
   provider: gtk2.x86_64 2.10.13-1.fc7
  dependency: libm.so.6()(64bit)
   provider: glibc.x86_64 2.6-3
   provider: glibc.x86_64 2.6-4
  dependency: libgtk-x11-2.0.so.0()(64bit)
   provider: gtk2.x86_64 2.10.11-7.fc7
   provider: gtk2.x86_64 2.10.13-1.fc7
  dependency: libpango-1.0.so.0()(64bit)
   provider: pango.x86_64 1.16.4-1.fc7
  dependency: libcairo.so.2()(64bit)
   provider: cairo.x86_64 1.4.4-1.fc7
   provider: cairo.x86_64 1.4.10-1.fc7
  dependency: libbind.so.4()(64bit)
   provider: bind-libs.x86_64 31:9.4.0-6.fc7
   provider: bind-libs.x86_64 31:9.4.1-8.P1.fc7
  dependency: libglib-2.0.so.0()(64bit)
   provider: glib2.x86_64 2.12.11-1.fc7
  dependency: libdl.so.2()(64bit)
   provider: glibc.x86_64 2.6-3
   provider: glibc.x86_64 2.6-4
  dependency: libSDL_mixer-1.2.so.0()(64bit)
   provider: SDL_mixer.x86_64 1.2.7-2.fc6
   provider: SDL_mixer.x86_64 1.2.7-3.fc7
  dependency: libncurses.so.5()(64bit)
   provider: ncurses.x86_64 5.6-6.20070303.fc7
  dependency: libz.so.1()(64bit)
   provider: zlib.x86_64 1.2.3-10.fc7
  dependency: libreadline.so.5()(64bit)
   provider: readline.x86_64 5.2-4.fc7
  dependency: libatk-1.0.so.0()(64bit)
   provider: atk.x86_64 1.18.0-1.fc7
  dependency: libpangocairo-1.0.so.0()(64bit)
   provider: pango.x86_64 1.16.4-1.fc7
  dependency: libSDL-1.2.so.0()(64bit)
   provider: SDL.x86_64 1.2.11-2
  dependency: libasound.so.2()(64bit)
   provider: alsa-lib.x86_64 1.0.14-0.4.rc3.fc7


[EMAIL PROTECTED] ~]$ yum provides 'libSDL_mixer-1.2.so.0()(64bit)'
Loading installonlyn plugin
Loading presto plugin
Loading refresh-updatesd plugin
Loading merge-conf plugin
Loading kernel-module plugin
Loading security plugin
Loading allowdowngrade plugin
Loading skip-broken plugin
Loading downloadonly plugin
Loading tsflags plugin
Loading fedorakmod plugin
Loading fastestmirror plugin
Loading priorities plugin
Loading changelog plugin
Loading protectbase plugin
Setting up Presto
Reading Presto metadata 

Re: [ilugd] Bug in RPM or ??

2007-07-31 Thread आशीष शुक्ल Ashish Shukla
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

,--[ On Tue, Jul 31, 2007 at 03:11:38PM +0530, Debarshi 'Rishi' Ray wrote:
|  I'm running Fedora 7 on AMD64 architecture CPU and installed a package
|  freeciv via yum. freeciv requires libSDL_mixer-1.2.so.0()(64bit)
|  which no package currently provides it on my system. So my question is,
|  why 'rpm' installed a package without installing all its dependencies ?
|  Or it is a bug in 'yum' ?
| 
| Which version of RPM and Yum are you using?
| 
| $ rpm -q yum

yum-3.2.1-1.fc7

| $ rpm -q rpm

rpm-4.4.2-46.fc7

| 
| Cheers,
| Debarshi
| -- 
| GPG key ID: 63D4A5A7
| Key server: pgp.mit.edu
| 
| ___
| ilugd mailinglist -- ilugd@lists.linux-delhi.org
| http://frodo.hserus.net/mailman/listinfo/ilugd
| Next Event: http://freed.in - September 28-29, 2007
| Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/

Thanks
Ashish Shukla
- -- 
Ashish Shukla Wah Java !!
आशीष शुक्ल

  ,= ,-_-. =.  | A: Yes.|
 ((_/)o o(\_)) | Q: Are you sure?  |
  `-'(. .)`-'  | A: Because it reverses the logical flow of conversation. |
  \_/  | Q: Why is top posting frowned upon? |

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFGrwbKHy+EEHYuXnQRAhnkAKDzlPG5yHlRwgXMPglYI6jX6KukbwCfaXc+
uG8FD+JxRT5a43370ejQnLs=
=Pw81
-END PGP SIGNATURE-

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - September 28-29, 2007
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] Bug in RPM or ??

2007-07-31 Thread Sankarshan Mukhopadhyay
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

आशीष शुक्ल Ashish Shukla wrote:

 I'm running Fedora 7 on AMD64 architecture CPU and installed a package
 freeciv via yum. freeciv requires libSDL_mixer-1.2.so.0()(64bit)
 which no package currently provides it on my system. So my question is,
 why 'rpm' installed a package without installing all its dependencies ?
 Or it is a bug in 'yum' ?

Further to your reply with the output, given proper packaging, yum
should have been able to resolve the dependencies and pull them down for
install. To really nail down the issue, I'd say that you might need to
take out livna and presto repo bits after a yum remove freeciv and then
try the install again (I am faintly hoping that it is not yum since for
me it does pull down SDL_mixer and timidity++ properly on x86, x86_64 boxes)


- --

You see things; and you say 'Why?';
But I dream things that never were;
and I say 'Why not?' - George Bernard Shaw
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFGrwm1XQZpNTcrCzMRAqIDAJ4qPkkMShAP4fLQp3+vWBGbWHHsXQCbB7XJ
+U6zw3zJGy0h/UvA0sh0SS4=
=6OUD
-END PGP SIGNATURE-

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - September 28-29, 2007
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] Bug in RPM or ??

2007-07-31 Thread आशीष शुक्ल Ashish Shukla
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

,--[ On Tue, Jul 31, 2007 at 03:36:45PM +0530, Sankarshan Mukhopadhyay wrote:
| -BEGIN PGP SIGNED MESSAGE-
| Hash: SHA1
| 
| आशीष शुक्ल Ashish Shukla wrote:
| 
|  I'm running Fedora 7 on AMD64 architecture CPU and installed a package
|  freeciv via yum. freeciv requires libSDL_mixer-1.2.so.0()(64bit)
|  which no package currently provides it on my system. So my question is,
|  why 'rpm' installed a package without installing all its dependencies ?
|  Or it is a bug in 'yum' ?
| 
| Further to your reply with the output, given proper packaging, yum
| should have been able to resolve the dependencies and pull them down for
| install. To really nail down the issue, I'd say that you might need to
| take out livna and presto repo bits after a yum remove freeciv and then
| try the install again (I am faintly hoping that it is not yum since for
| me it does pull down SDL_mixer and timidity++ properly on x86, x86_64 boxes)

This time everything worked properly, with and without 'livna'
repository and 'presto' yum plugin enabled. Strange...

- -- begin output --
[EMAIL PROTECTED] ~]$ sudo yum remove -y freeciv timidity++
Loading installonlyn plugin
Loading presto plugin
Loading refresh-updatesd plugin
Loading merge-conf plugin
Loading kernel-module plugin
Loading security plugin
Loading allowdowngrade plugin
Loading skip-broken plugin
Loading downloadonly plugin
Loading tsflags plugin
Loading fedorakmod plugin
Loading fastestmirror plugin
Loading priorities plugin
Loading changelog plugin
Loading protectbase plugin
Setting up Remove Process
Resolving Dependencies
Setting up Presto
Reading Presto metadata in from local files
Loading mirror speeds from cached hostfile
0 packages excluded due to repository priority protections
0 packages excluded due to repository protections
- -- Running transaction check
- --- Package freeciv.x86_64 0:2.0.9-1.fc7 set to be erased
- --- Package timidity++.x86_64 0:2.13.2-1.2.2 set to be erased
- -- Processing Dependency: timidity++ for package: SDL_mixer
- -- Restarting Dependency Resolution with new changes.
- -- Running transaction check
- --- Package SDL_mixer.x86_64 0:1.2.7-3.fc7 set to be erased
- --- Package timidity++.x86_64 0:2.13.2-1.2.2 set to be erased
- -- Processing Dependency: libSDL_mixer-1.2.so.0()(64bit) for package: prboom
- -- Restarting Dependency Resolution with new changes.
- -- Running transaction check
- --- Package SDL_mixer.x86_64 0:1.2.7-3.fc7 set to be erased
- --- Package prboom.x86_64 0:2.4.7-1.fc7 set to be erased
- -- Processing Dependency: prboom for package: doom-shareware
- -- Processing Dependency: prboom for package: freedoom
- -- Restarting Dependency Resolution with new changes.
- -- Running transaction check
- --- Package doom-shareware.noarch 0:1.9-4.s.lvn7 set to be erased
- --- Package prboom.x86_64 0:2.4.7-1.fc7 set to be erased
- --- Package freedoom.noarch 0:0.5-2.fc7 set to be erased

Dependencies Resolved

=
 Package Arch   Version  RepositorySize 
=
Removing:
 freeciv x86_64 2.0.9-1.fc7  installed  12 M
 timidity++  x86_64 2.13.2-1.2.2 installed  11 M
Removing for dependencies:
 SDL_mixer   x86_64 1.2.7-3.fc7  installed 334 k
 doom-shareware  noarch 1.9-4.s.lvn7 installed 4.0 M
 freedoomnoarch 0.5-2.fc7installed  18 M
 prboom  x86_64 2.4.7-1.fc7  installed 1.1 M

Transaction Summary
=
Install  0 Package(s) 
Update   0 Package(s) 
Remove   6 Package(s) 

Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Removing  : SDL_mixer# [1/6]
  Removing  : doom-shareware   # [2/6]
  Removing  : timidity++   # [3/6]
  Removing  : prboom   # [4/6]
  Removing  : freedoom # [5/6]
  Removing  : freeciv  # [6/6]

Removed: freeciv.x86_64 0:2.0.9-1.fc7 timidity++.x86_64 0:2.13.2-1.2.2
Dependency Removed: SDL_mixer.x86_64 0:1.2.7-3.fc7 doom-shareware.noarch 
0:1.9-4.s.lvn7 freedoom.noarch 0:0.5-2.fc7 prboom.x86_64 0:2.4.7-1.fc7
Complete!
[EMAIL PROTECTED] ~]$ sudo yum --disablepresto --disablerepo=livna install -y 
freeciv
Loading installonlyn plugin
Loading presto plugin
Loading refresh-updatesd plugin
Loading merge-conf plugin
Loading kernel-module plugin
Loading security plugin
Loading allowdowngrade plugin

Re: [ilugd] Bug in RPM or ??

2007-07-31 Thread Debarshi 'Rishi' Ray
 Which version of RPM and Yum are you using?

 $ rpm -q yum

 yum-3.2.1-1.fc7

You should consider updating to yum-3.2.2-3. There were a lot of
bugfixes recently.

Cheers,
Debarshi
-- 
GPG key ID: 63D4A5A7
Key server: pgp.mit.edu

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - September 28-29, 2007
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] Bug in RPM or ??

2007-07-31 Thread आशीष शुक्ल Ashish Shukla
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

,--[ On Tue, Jul 31, 2007 at 07:47:10PM +0530, Debarshi 'Rishi' Ray wrote:
|  Which version of RPM and Yum are you using?
| 
|  $ rpm -q yum
| 
|  yum-3.2.1-1.fc7
| 
| You should consider updating to yum-3.2.2-3. There were a lot of
| bugfixes recently.

I'll definitely upgrade to yum-3.2.2-3, when it is available from Fedora
updates channel.

Thanks
Ashish Shukla
- -- 
Ashish Shukla Wah Java !!
आशीष शुक्ल

  ,= ,-_-. =.  | A: Yes.|
 ((_/)o o(\_)) | Q: Are you sure?  |
  `-'(. .)`-'  | A: Because it reverses the logical flow of conversation. |
  \_/  | Q: Why is top posting frowned upon? |

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFGr159Hy+EEHYuXnQRAqAmAKC7e8f267vWNbvuEU0X+tyJshV2VQCg5nSa
EUtNbW2LZIU89nmgt0/gvhA=
=oQdU
-END PGP SIGNATURE-

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - September 28-29, 2007
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/