More RPM madness - I'm sure it's just me ...

2003-10-08 Thread Michael Hipp
If you can follow this conversation, could someone tell me why the file 
'wx-config' immediately becomes an orphan as soon as it is installed? 
What am I missing THIS time?

# ls /usr/bin/wx-config
/usr/bin/wx-config
# rpm -e wxGTK-devel-2.4.2-1 wxGTK-2.4.2-1
# ls /usr/bin/wx-config
ls: /usr/bin/wx-config: No such file or directory
# rpm -q -f /usr/bin/wx-config
error: file /usr/bin/wx-config: No such file or directory
# rpm -i wxGTK-2.4.2-1.i386.rpm wxGTK-devel-2.4.2-1.i386.rpm
# ls /usr/bin/wx-config
/usr/bin/wx-config
# rpm -q -f /usr/bin/wx-config
file /usr/bin/wx-config is not owned by any package
# rpm -q -f /usr/bin/aspell
aspell-0.33.7.1-21
(That last one just to be sure I'm typing the command right.)

It's a conspiracy, I tell you, a conspiracy! They're out to make me feel 
stupid. Well, stupider.

Michael

___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://smtp.linux-sxs.org/mailman/listinfo/linux-users


Re: More RPM madness - I'm sure it's just me ...

2003-10-08 Thread Andrew Mathews
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Michael Hipp wrote:
| If you can follow this conversation, could someone tell me why the file
| 'wx-config' immediately becomes an orphan as soon as it is installed?
| What am I missing THIS time?
|
| # ls /usr/bin/wx-config
| /usr/bin/wx-config
| # rpm -e wxGTK-devel-2.4.2-1 wxGTK-2.4.2-1
| # ls /usr/bin/wx-config
| ls: /usr/bin/wx-config: No such file or directory
| # rpm -q -f /usr/bin/wx-config
| error: file /usr/bin/wx-config: No such file or directory
| # rpm -i wxGTK-2.4.2-1.i386.rpm wxGTK-devel-2.4.2-1.i386.rpm
| # ls /usr/bin/wx-config
| /usr/bin/wx-config
| # rpm -q -f /usr/bin/wx-config
| file /usr/bin/wx-config is not owned by any package
| # rpm -q -f /usr/bin/aspell
| aspell-0.33.7.1-21
|
| (That last one just to be sure I'm typing the command right.)
|
| It's a conspiracy, I tell you, a conspiracy! They're out to make me feel
| stupid. Well, stupider.
|
| Michael
|
Sounds like your rpm isn't built for the distro you're trying to install
it on, but something altogether different. Can you properly query the
package with rpm -qpl packagename.rpm and list the fileset?
- --
Andrew Mathews
- -
~  5:15pm  up 7 days, 22:35,  9 users,  load average: 1.09, 1.09, 1.10
- -
Many people are secretly interested in life.
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org
iD8DBQE/hJtbidHQ0m/kEssRAu9sAJ93Un+1/c5Q3k5XsV2z5EKEuRLzygCfR8/5
9SlA86WiXc1cb8+ACyhcVKY=
=S+u6
-END PGP SIGNATURE-
___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://smtp.linux-sxs.org/mailman/listinfo/linux-users


Re: More RPM madness - I'm sure it's just me ...

2003-10-08 Thread Michael Hipp
Andrew Mathews wrote:
Sounds like your rpm isn't built for the distro you're trying to install
it on, but something altogether different. Can you properly query the
package with rpm -qpl packagename.rpm and list the fileset?
It's the RPM that came in RH9 as far as I know. I don't recall upgrading 
it unless it came via up2date. I have installed 'checkinstall', but I 
don't think that upgrades RPM.

Yes, rpm -qpl will list the files, but oddly enough when I 'grep config' 
the output 'wx-config' does not appear in the list from either of the 
two packages. But I know the 'devel' package is installing it.

Michael

___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://smtp.linux-sxs.org/mailman/listinfo/linux-users


Re: More RPM madness - I'm sure it's just me ...

2003-10-08 Thread Matthew Carpenter
First off, what Linux distro are you using, and secondly, do you need 2.4.2 or would 
2.4.0 work?

If you are running SuSE, check out:
http://packman.links2linux.de/?action=312

On Wed, 08 Oct 2003 17:46:23 -0500
Michael Hipp [EMAIL PROTECTED] wrote:

 If you can follow this conversation, could someone tell me why the file 
 'wx-config' immediately becomes an orphan as soon as it is installed? 
 What am I missing THIS time?
 
 # ls /usr/bin/wx-config
 /usr/bin/wx-config
 # rpm -e wxGTK-devel-2.4.2-1 wxGTK-2.4.2-1
 # ls /usr/bin/wx-config
 ls: /usr/bin/wx-config: No such file or directory
 # rpm -q -f /usr/bin/wx-config
 error: file /usr/bin/wx-config: No such file or directory
 # rpm -i wxGTK-2.4.2-1.i386.rpm wxGTK-devel-2.4.2-1.i386.rpm
 # ls /usr/bin/wx-config
 /usr/bin/wx-config
 # rpm -q -f /usr/bin/wx-config
 file /usr/bin/wx-config is not owned by any package
 # rpm -q -f /usr/bin/aspell
 aspell-0.33.7.1-21
 
 (That last one just to be sure I'm typing the command right.)
 
 It's a conspiracy, I tell you, a conspiracy! They're out to make me feel 
 stupid. Well, stupider.
 
 Michael
 
 ___
 Linux-users mailing list
 [EMAIL PROTECTED]
 Unsubscribe/Suspend/Etc - http://smtp.linux-sxs.org/mailman/listinfo/linux-users
 
 


-- 
Matthew Carpenter 
[EMAIL PROTECTED]  http://www.eisgr.com/

Enterprise Information Systems
* Network Server Appliances
* Network Consulting, Integration  Support
* Web Integration and E-Business

___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://smtp.linux-sxs.org/mailman/listinfo/linux-users


Re: More RPM madness - I'm sure it's just me ...

2003-10-08 Thread Andrew Mathews
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Michael Hipp wrote:
| Andrew Mathews wrote:
|
| Sounds like your rpm isn't built for the distro you're trying to install
| it on, but something altogether different. Can you properly query the
| package with rpm -qpl packagename.rpm and list the fileset?
|
|
| It's the RPM that came in RH9 as far as I know. I don't recall upgrading
| it unless it came via up2date. I have installed 'checkinstall', but I
| don't think that upgrades RPM.
Sorry, I wasn't clear, I meant the package you're trying to install, not
rpm itself.
| Yes, rpm -qpl will list the files, but oddly enough when I 'grep config'
| the output 'wx-config' does not appear in the list from either of the
| two packages. But I know the 'devel' package is installing it.
|
| Michael
|
- --
Andrew Mathews
- -
~  6:32pm  up 7 days, 23:52,  9 users,  load average: 1.10, 1.15, 1.14
- -
Knock, knock!
Who's there?
Sam and Janet.
Sam and Janet who?
Sam and Janet Evening...
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org
iD8DBQE/hK0IidHQ0m/kEssRAic0AKCDCekn/eiklo5k+BpE8strDXfaFwCfQrAO
BikQRoe6ivX9lFhRuz+FqN4=
=uK1a
-END PGP SIGNATURE-
___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://smtp.linux-sxs.org/mailman/listinfo/linux-users


Re: More RPM madness - I'm sure it's just me ...

2003-10-08 Thread Kurt Wall
Quoth Michael Hipp:
 If you can follow this conversation, could someone tell me why the file 
 'wx-config' immediately becomes an orphan as soon as it is installed? 
 What am I missing THIS time?

Is wx-config a symlink to another file that *is* installed by
the RPM?

Kurt
-- 
It is easier to change the specification to fit the program than vice
versa.
___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://smtp.linux-sxs.org/mailman/listinfo/linux-users


Re: More RPM madness - I'm sure it's just me ...

2003-10-08 Thread Kurt Wall
Quoth Michael Hipp:
 Andrew Mathews wrote:
 Sounds like your rpm isn't built for the distro you're trying to install
 it on, but something altogether different. Can you properly query the
 package with rpm -qpl packagename.rpm and list the fileset?
 
 It's the RPM that came in RH9 as far as I know. I don't recall upgrading 
 it unless it came via up2date. I have installed 'checkinstall', but I 
 don't think that upgrades RPM.
 
 Yes, rpm -qpl will list the files, but oddly enough when I 'grep config' 
 the output 'wx-config' does not appear in the list from either of the 
 two packages. But I know the 'devel' package is installing it.

I'm betting that a %post-install script creates a symlink. Perhaps
a command like rpm -q --scripts pkg.name.rpm (if memory serves)
will tell you what you want to know? You're looking for a command
that creates a symlink. It's been awhile since I was intimate with
RPM, but symlinks created by a post-install script aren't considered
(or weren't at one time) as part of the RPM, although a properly-crafted
remove script (executed when you rpm -e pkg.name.rpm) will remove
symlinks created when the RPM was installed.

Kurt
-- 
Limericks are art forms complex,
Their topics run chiefly to sex.
They usually have virgins,
And masculine urgin's,
And other erotic effects.
___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://smtp.linux-sxs.org/mailman/listinfo/linux-users


Re: More RPM madness - I'm sure it's just me ...

2003-10-08 Thread Michael Hipp
Kurt Wall wrote:
I'm betting that a %post-install script creates a symlink. Perhaps
a command like rpm -q --scripts pkg.name.rpm (if memory serves)
will tell you what you want to know? You're looking for a command
that creates a symlink. It's been awhile since I was intimate with
RPM, but symlinks created by a post-install script aren't considered
(or weren't at one time) as part of the RPM, although a properly-crafted
remove script (executed when you rpm -e pkg.name.rpm) will remove
symlinks created when the RPM was installed.
That's it. It is a symlink (no doubt created by a script as you said). 
Still seems like an erroneous result to say it belongs to no package 
when in fact it certainly does. Being able to figure out who/what 
installed a particular file is a basic package management feature, IMHO.

Michael

___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://smtp.linux-sxs.org/mailman/listinfo/linux-users


Re: More RPM madness - I'm sure it's just me ...

2003-10-08 Thread Michael Hipp
Andrew Mathews wrote:
Sorry, I wasn't clear, I meant the package you're trying to install, not
rpm itself.
It's not Red Hat specific in any way, but I've been using the slightly 
earlier version with no problems. And, in fact, this one is working fine 
now. Whereas yesterday bash kept telling me it couldn't find that 
particular file (wx-config). An uninstall, re-install seems to have 
fixed it.

Thanks,
Michael
___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://smtp.linux-sxs.org/mailman/listinfo/linux-users


Re: More RPM madness - I'm sure it's just me ...

2003-10-08 Thread Michael Hipp
Matthew Carpenter wrote:

First off, what Linux distro are you using, and secondly, do you need 2.4.2 or would 2.4.0 work?

If you are running SuSE, check out:
http://packman.links2linux.de/?action=312
It's Red Hat 9. I've been running 2.4.1 with no problems but thought to 
upgrade to 2.4.2 as it is a the latest stable and fixes some bugs. I'm 
developing a couple of apps using wxWindows. Not real deep into it yet, 
but so far I'm very impressed with wxWindows.

Michael

___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://smtp.linux-sxs.org/mailman/listinfo/linux-users


Re: More RPM madness - I'm sure it's just me ...

2003-10-08 Thread Kurt Wall
Quoth Michael Hipp:
 Kurt Wall wrote:
 I'm betting that a %post-install script creates a symlink. Perhaps
 a command like rpm -q --scripts pkg.name.rpm (if memory serves)
 will tell you what you want to know? You're looking for a command
 that creates a symlink. It's been awhile since I was intimate with
 RPM, but symlinks created by a post-install script aren't considered
 (or weren't at one time) as part of the RPM, although a properly-crafted
 remove script (executed when you rpm -e pkg.name.rpm) will remove
 symlinks created when the RPM was installed.
 
 That's it. It is a symlink (no doubt created by a script as you said). 
 Still seems like an erroneous result to say it belongs to no package 
 when in fact it certainly does. Being able to figure out who/what 
 installed a particular file is a basic package management feature, IMHO.

Perhaps. RPM's notion of a file list does not include symlinks created
outside that list. This constitutes a design flaw, perhaps, but there
might be reasons for this decision to which I'm not privy. In any
event, I'm glad we worked out the problem.

Kurt
-- 
Today is the first day of the rest of your lossage.
___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://smtp.linux-sxs.org/mailman/listinfo/linux-users


Re: More RPM madness - I'm sure it's just me ...

2003-10-08 Thread Matthew Carpenter
No, it's most likely because the link is created during a post-install script, not 
listed in the official file list which RPM uses to populate its database.


On Wed, 8 Oct 2003 23:02:52 -0400
Kurt Wall [EMAIL PROTECTED] wrote:

 Quoth Michael Hipp:
  Kurt Wall wrote:
  I'm betting that a %post-install script creates a symlink. Perhaps
  a command like rpm -q --scripts pkg.name.rpm (if memory serves)
  will tell you what you want to know? You're looking for a command
  that creates a symlink. It's been awhile since I was intimate with
  RPM, but symlinks created by a post-install script aren't considered
  (or weren't at one time) as part of the RPM, although a properly-crafted
  remove script (executed when you rpm -e pkg.name.rpm) will remove
  symlinks created when the RPM was installed.
  
  That's it. It is a symlink (no doubt created by a script as you said). 
  Still seems like an erroneous result to say it belongs to no package 
  when in fact it certainly does. Being able to figure out who/what 
  installed a particular file is a basic package management feature, IMHO.
 
 Perhaps. RPM's notion of a file list does not include symlinks created
 outside that list. This constitutes a design flaw, perhaps, but there
 might be reasons for this decision to which I'm not privy. In any
 event, I'm glad we worked out the problem.
 
 Kurt
 -- 
 Today is the first day of the rest of your lossage.
 ___
 Linux-users mailing list
 [EMAIL PROTECTED]
 Unsubscribe/Suspend/Etc - http://smtp.linux-sxs.org/mailman/listinfo/linux-users
 
 


-- 
Matthew Carpenter 
[EMAIL PROTECTED]  http://www.eisgr.com/

Enterprise Information Systems
* Network Server Appliances
* Network Consulting, Integration  Support
* Web Integration and E-Business

___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://smtp.linux-sxs.org/mailman/listinfo/linux-users