Re: Stupid RPM, or just me???

2003-10-10 Thread James McDonald
Collins Richey wrote:

On Tue, 07 Oct 2003 18:25:36 -0500 Michael Hipp [EMAIL PROTECTED] wrote:

 

Could somebody tell me what I'm doing wrong, or is RPM a Microsoft 
conspiracy to make Linux look bad:

   

I love it!  Will file this away.  RPM, like any other software product, has
syntax that must be learned.  That being said, any package manager that does not
do dependancy resolution is borken, from my perspective.
 

So that raises a question. What application can replace rpm and provide 
dependency resolution?

Suggestions anyone.

--
James McDonald
Singleton Australia
61+ (0)2 65712401
61+ 0428 320 219
Evil does seek to maintain power by suppressing the truth.
Or by misleading the innocent.
-- Spock and McCoy, And The Children Shall Lead,
   stardate 5029.5.
Linux 2.4.22 #1 Mon Sep 1 20:03:11 EST 2003 athlon i386 GNU/Linux
23:25:00 up 6 days, 21:26, 1 user, load average: 0.07, 0.06, 0.01
___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://smtp.linux-sxs.org/mailman/listinfo/linux-users


Re: Stupid RPM, or just me???

2003-10-10 Thread Roger Oberholtzer
On Fri, 10 Oct 2003 23:27:17 +1000
James McDonald [EMAIL PROTECTED] wrote:

 Collins Richey wrote:
 
 On Tue, 07 Oct 2003 18:25:36 -0500 Michael Hipp [EMAIL PROTECTED] wrote:
 
   
 
 Could somebody tell me what I'm doing wrong, or is RPM a Microsoft 
 conspiracy to make Linux look bad:
 
 
 
 
 I love it!  Will file this away.  RPM, like any other software product,
 has syntax that must be learned.  That being said, any package manager
 that does not do dependancy resolution is borken, from my perspective.
 
   
 
 So that raises a question. What application can replace rpm and provide 
 dependency resolution?
 
 Suggestions anyone.

Look at:

http://www.gentoo.org

Keeps my home machine up-to-date. I never go looking for things to fulfill
dependencies. Gentoo does that for me. But it is a distribution, not just a
package manager. In some sense, for Gentoo these are two aspects of the same
thing. I installed Gentoo a year ago and the package system keeps my system
up to date. I do not need to reinstall Gentoo to have the latest release.

It is worth the effort to set up.



-- 
++···+
· Roger Oberholtzer  ·   E-mail: [EMAIL PROTECTED]·
· OPQ Systems AB ·  WWW: http://www.opq.se/  ·
· Erik Dahlbergsgatan 41-43  ·Phone: Int + 46 8   314223 ·
· 115 34 Stockholm   ·   Mobile: Int + 46 733 621657 ·
· Sweden ·  Fax: Int + 46 8   302602 ·
++···+

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


Re: Stupid RPM, or just me???

2003-10-10 Thread Collins Richey
On Fri, 10 Oct 2003 23:27:17 +1000 James McDonald [EMAIL PROTECTED]
wrote:

 Collins Richey wrote:
 
 On Tue, 07 Oct 2003 18:25:36 -0500 Michael Hipp [EMAIL PROTECTED] wrote:
 
   
 
 Could somebody tell me what I'm doing wrong, or is RPM a Microsoft 
 conspiracy to make Linux look bad:
 
 
 
 
 I love it!  Will file this away.  RPM, like any other software product, has
 syntax that must be learned.  That being said, any package manager that does
 not do dependancy resolution is borken, from my perspective.
 
   
 
 So that raises a question. What application can replace rpm and provide 
 dependency resolution?
 
 Suggestions anyone.
 

As far as I know, there is no hope for RPM based distros.  gentoo (portage),
debian (apt-get), slackware (suaret), or the xxxBSD (ports) are the only
possibilities that I'm aware of.

I failed to mention the other borken problem with RPM.  RPM insists on looking
at system libraries only from the perspective of a spec file instead of
detecting the existing libraries, so RPMs have to be designed for a specific
distro.  With this particular flaw, I find it amazing the the LSB has accepted
RPM as the package manager to support!

-- 
Collins Richey - Denver Area
if you fill your heart with regrets of yesterday and the 
worries of tomorrow, you have no today to be thankful for.


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


Re: Stupid RPM, or just me???

2003-10-10 Thread Tim Wunder
On 10/10/2003 9:27 AM, I believe that James McDonald wrote:

Collins Richey wrote:

On Tue, 07 Oct 2003 18:25:36 -0500 Michael Hipp [EMAIL PROTECTED] wrote:

 

Could somebody tell me what I'm doing wrong, or is RPM a Microsoft 
conspiracy to make Linux look bad:

  


I love it!  Will file this away.  RPM, like any other software 
product, has
syntax that must be learned.  That being said, any package manager 
that does not
do dependancy resolution is borken, from my perspective.

 

So that raises a question. What application can replace rpm and provide 
dependency resolution?

Suggestions anyone.


apt4rpm

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


Re: Stupid RPM, or just me???

2003-10-10 Thread Alma J Wetzker
James McDonald [EMAIL PROTECTED] Fri, 10 Oct 2003 23:27:17 +1000
Collins Richey wrote:
On Tue, 07 Oct 2003 18:25:36 -0500 Michael Hipp [EMAIL PROTECTED] wrote:
Could somebody tell me what I'm doing wrong, or is RPM a Microsoft 
conspiracy to make Linux look bad:
I love it!  Will file this away.  RPM, like any other software 
product, has
syntax that must be learned.  That being said, any package manager 
that does not
do dependancy resolution is borken, from my perspective.

So that raises a question. What application can replace rpm and provide 
dependency resolution?

Suggestions anyone.
I am probably confused, but isn't this an issue that apt-get is supposed 
to fix?

-- Alma

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


Re: Stupid RPM, or just me???

2003-10-10 Thread Collins Richey
On Fri, 10 Oct 2003 09:51:56 -0400 Tim Wunder [EMAIL PROTECTED] wrote:

 On 10/10/2003 9:27 AM, I believe that James McDonald wrote:
 
  Collins Richey wrote:
  
  On Tue, 07 Oct 2003 18:25:36 -0500 Michael Hipp [EMAIL PROTECTED] wrote:
 
   
 
  Could somebody tell me what I'm doing wrong, or is RPM a Microsoft 
  conspiracy to make Linux look bad:
 

 
 
  I love it!  Will file this away.  RPM, like any other software 
  product, has
  syntax that must be learned.  That being said, any package manager 
  that does not
  do dependancy resolution is borken, from my perspective.
 
   
 
  So that raises a question. What application can replace rpm and provide 
  dependency resolution?
  
  Suggestions anyone.
  
  
 
 apt4rpm
 

Tell us more!  Does apt4rpm really run the dependancy chains and download
prerequisites?  That would make RPM almost tolerable.

-- 
Collins Richey - Denver Area
if you fill your heart with regrets of yesterday and the 
worries of tomorrow, you have no today to be thankful for.


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


Re: Stupid RPM, or just me???

2003-10-10 Thread Tim Wunder
On 10/10/2003 12:42 PM, I believe that Collins Richey wrote:

On Fri, 10 Oct 2003 09:51:56 -0400 Tim Wunder [EMAIL PROTECTED] wrote:


On 10/10/2003 9:27 AM, I believe that James McDonald wrote:


Collins Richey wrote:


On Tue, 07 Oct 2003 18:25:36 -0500 Michael Hipp [EMAIL PROTECTED] wrote:




Could somebody tell me what I'm doing wrong, or is RPM a Microsoft 
conspiracy to make Linux look bad:

 


I love it!  Will file this away.  RPM, like any other software 
product, has
syntax that must be learned.  That being said, any package manager 
that does not
do dependancy resolution is borken, from my perspective.



So that raises a question. What application can replace rpm and provide 
dependency resolution?

Suggestions anyone.


apt4rpm



Tell us more!  Does apt4rpm really run the dependancy chains and download
prerequisites?  That would make RPM almost tolerable.
Yes. I was using it to keep kde updated, mostly. I got into a little 
trouble executing 'apt-get dist-upgrade', which broke gdm for me, but 
other than that, it's been quite a good experience.

For GUI lovers, there's synaptic, which uses apt.

Info redargding apt4rpm for redhat can be found at http://freshrpms.net 
and/or on the kde-redhat site, http://kde-redhat.sf.net

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


Re: Stupid RPM, or just me???

2003-10-10 Thread James McDonald

Info redargding apt4rpm for redhat can be found at 
http://freshrpms.net and/or on the kde-redhat site, 
http://kde-redhat.sf.net

Regards,
Tim
I just installed apt4rpm and it rocks the synaptic gui is ok too. But it's probably best if you have broadband.

Linux Magazine had an article on it recently

once you install it's a simple matter to update your system

apt-get check  apt-get update  apt-get ugrade 

and your done.

--
James McDonald
Singleton Australia
61+ (0)2 65712401
61+ 0428 320 219
People who make no mistakes do not usually make anything.

Linux 2.4.22 #1 Mon Sep 1 20:03:11 EST 2003 athlon i386 GNU/Linux
15:30:00 up 7 days, 13:31, 1 user, load average: 0.00, 0.08, 0.20
___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://smtp.linux-sxs.org/mailman/listinfo/linux-users


Re: Stupid RPM, or just me???

2003-10-08 Thread Collins Richey
On Tue, 07 Oct 2003 18:25:36 -0500 Michael Hipp [EMAIL PROTECTED] wrote:

 Could somebody tell me what I'm doing wrong, or is RPM a Microsoft 
 conspiracy to make Linux look bad:
 

I love it!  Will file this away.  RPM, like any other software product, has
syntax that must be learned.  That being said, any package manager that does not
do dependancy resolution is borken, from my perspective.

-- 
Collins Richey - Denver Area
if you fill your heart with regrets of yesterday and the 
worries of tomorrow, you have no today to be thankful for.


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


Stupid RPM, or just me???

2003-10-07 Thread Michael Hipp
Could somebody tell me what I'm doing wrong, or is RPM a Microsoft 
conspiracy to make Linux look bad:

# rpm --rebuilddb
error: db4 error(16) from dbenv-remove: Device or resource busy
# ls
wxGTK-2.4.1-1.i386.rpm  wxGTK-2.4.2-1.i386.rpm 
wxGTK-devel-2.4.1-1.i386.rpm  wxGTK-devel-2.4.2-1.i386.rpm
# rpm -i wxGTK-2.4.2-1.i386.rpm
package wxGTK-2.4.2-1 is already installed
# rpm -e wxGTK-2.4.2-1.i386.rpm
error: package wxGTK-2.4.2-1.i386.rpm is not installed
# rpm -i wxGTK-2.4.1-1.i386.rpm (note the version change)
package wxGTK-2.4.2-1 (which is newer than wxGTK-2.4.1-1) is 
 already installed

Hoping I'm doing something really dumb ...

Michael

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


Re: Stupid RPM, or just me???

2003-10-07 Thread Brett I. Holcomb
Leave off the .i386.rpm on the commands and see what happens.   I haven't 
used RPM for a while but you don't want the .i386.rpm on there.

Michael Hipp wrote:

 Could somebody tell me what I'm doing wrong, or is RPM a Microsoft
 conspiracy to make Linux look bad:
 
 # rpm --rebuilddb
 error: db4 error(16) from dbenv-remove: Device or resource busy
 # ls
 wxGTK-2.4.1-1.i386.rpm  wxGTK-2.4.2-1.i386.rpm
 wxGTK-devel-2.4.1-1.i386.rpm  wxGTK-devel-2.4.2-1.i386.rpm
 # rpm -i wxGTK-2.4.2-1.i386.rpm
  package wxGTK-2.4.2-1 is already installed
 # rpm -e wxGTK-2.4.2-1.i386.rpm
 error: package wxGTK-2.4.2-1.i386.rpm is not installed
 # rpm -i wxGTK-2.4.1-1.i386.rpm (note the version change)
  package wxGTK-2.4.2-1 (which is newer than wxGTK-2.4.1-1) is
   already installed
 
 Hoping I'm doing something really dumb ...
 
 Michael

-- 
Brett I. Holcomb
[EMAIL PROTECTED]
AKA Grunt 
Registered Linux User #188143
Remove R777 to email
___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://smtp.linux-sxs.org/mailman/listinfo/linux-users


Re: Stupid RPM, or just me???

2003-10-07 Thread Tim Wunder
On Tuesday 07 October 2003 7:25 pm, someone claiming to be Michael Hipp wrote:
 Could somebody tell me what I'm doing wrong, or is RPM a Microsoft
 conspiracy to make Linux look bad:

 # rpm --rebuilddb
 error: db4 error(16) from dbenv-remove: Device or resource busy
 # ls
 wxGTK-2.4.1-1.i386.rpm  wxGTK-2.4.2-1.i386.rpm
 wxGTK-devel-2.4.1-1.i386.rpm  wxGTK-devel-2.4.2-1.i386.rpm
 # rpm -i wxGTK-2.4.2-1.i386.rpm
  package wxGTK-2.4.2-1 is already installed
 # rpm -e wxGTK-2.4.2-1.i386.rpm
 error: package wxGTK-2.4.2-1.i386.rpm is not installed
 # rpm -i wxGTK-2.4.1-1.i386.rpm (note the version change)
  package wxGTK-2.4.2-1 (which is newer than wxGTK-2.4.1-1) is
   already installed

 Hoping I'm doing something really dumb ...

rpm --rebuildb shouldn't error out like that.
What's 'ps -ax|grep rpm' tell you?

And, yes, Brett's right, lose the .i386.rpm, 
'rpm -e wxGTK-2.4.2-1' is all you need.
rpm wants to remove by package name, and it told you what that was when it 
said package wxGTK-2.4.2-1 is already installed

Regards, 
Tim

-- 
RedHat 8.0 Kernel 2.4.20-20.8,  KDE 3.1.3, Xfree86 4.2.1
  7:40pm  up 2 days, 21:32,  1 user,  load average: 0.34, 0.35, 0.23
It's what you learn after you know it all that counts

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


Re: Stupid RPM, or just me???

2003-10-07 Thread Michael Hipp
That works. Thanks. And I feel dumb for not figuring it out.

But why would anyone in their right mind design it so that one of these 
works, but the other doesn't?

rpm -i wxGTK-2.4.2-1.i386.rpm
rpm -e wxGTK-2.4.2-1.i386.rpm
Back to my sandbox ...

Michael

Brett I. Holcomb wrote:

Leave off the .i386.rpm on the commands and see what happens.   I haven't 
used RPM for a while but you don't want the .i386.rpm on there.


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


Re: Stupid RPM, or just me???

2003-10-07 Thread Michael Hipp
Michael Hipp wrote:
# rpm --rebuilddb
error: db4 error(16) from dbenv-remove: Device or resource busy
ps ax | grep rpm is clean. And the above command was even issued from 
a fresh reboot. Looked for a lock file, couldn't find one. Anyone know 
what the error might mean?

(Original posters email disappeared, sorry.)

Michael

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


Re: Stupid RPM, or just me???

2003-10-07 Thread Andrew Mathews
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Michael Hipp wrote:
| That works. Thanks. And I feel dumb for not figuring it out.
|
| But why would anyone in their right mind design it so that one of these
| works, but the other doesn't?
|
| rpm -i wxGTK-2.4.2-1.i386.rpm
| rpm -e wxGTK-2.4.2-1.i386.rpm
|
Because -i installs a package set and -e uninstalls a package name, e.g.
one is a bundle of files and one is already extracted which is
recorded in the rpm database. Same as you can't tar -zxvf a .tar file
but you can a .tar.gz file, since the .gz hasn't been gunzipped yet..
- --
Andrew Mathews
- -
~  6:15pm  up 6 days, 23:40,  9 users,  load average: 1.05, 1.15, 1.40
- -
Have you noticed the way people's intelligence capabilities decline
sharply the minute they start waving guns around?
-- Dr. Who
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org
iD8DBQE/g1h/idHQ0m/kEssRAuAfAJ9uUmZD0PjKqaeRNxFt7Gkf/sWxPwCfQVIM
8982CqfRlkM9xDiKyIcYeWw=
=KFv7
-END PGP SIGNATURE-
___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://smtp.linux-sxs.org/mailman/listinfo/linux-users


Re: Stupid RPM, or just me???

2003-10-07 Thread Michael Hipp
Andrew Mathews wrote:

Because -i installs a package set and -e uninstalls a package name, e.g.
one is a bundle of files and one is already extracted which is
recorded in the rpm database. Same as you can't tar -zxvf a .tar file
but you can a .tar.gz file, since the .gz hasn't been gunzipped yet..
Yes. One is a file name and the other is a package name. But given that 
there is a 1:1 relationship between the two, would it have been such a 
burden to have it figure out such things on its own?

Michael

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


Re: Stupid RPM, or just me???

2003-10-07 Thread Net Llama!
On Tue, 7 Oct 2003, Michael Hipp wrote:

 Michael Hipp wrote:
  # rpm --rebuilddb
  error: db4 error(16) from dbenv-remove: Device or resource busy

 ps ax | grep rpm is clean. And the above command was even issued from
 a fresh reboot. Looked for a lock file, couldn't find one. Anyone know
 what the error might mean?

Google is your friend:
http://groups.google.com/groups?as_epq=from%20dbenv-%3Eremove%3A%20Device%20or%20resource%20busysafe=offie=UTF-8oe=UTF-8lr=num=50hl=en

-- 
~~
Lonni J Friedman[EMAIL PROTECTED]
Linux Step-by-step  TyGeMo  http://netllama.ipfox.com
___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://smtp.linux-sxs.org/mailman/listinfo/linux-users


Re: Stupid RPM, or just me???

2003-10-07 Thread Michael Hipp
Net Llama! wrote:

On Tue, 7 Oct 2003, Michael Hipp wrote:


Michael Hipp wrote:

# rpm --rebuilddb
error: db4 error(16) from dbenv-remove: Device or resource busy
ps ax | grep rpm is clean. And the above command was even issued from
a fresh reboot. Looked for a lock file, couldn't find one. Anyone know
what the error might mean?


Google is your friend:
http://groups.google.com/groups?as_epq=from%20dbenv-%3Eremove%3A%20Device%20or%20resource%20busysafe=offie=UTF-8oe=UTF-8lr=num=50hl=en
Thank you. Evidently it is some quirk with the rpm version in RH9, but 
appears it can be safely ignored.

Michael

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


Re: Stupid RPM, or just me???

2003-10-07 Thread Andrew Mathews
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Michael Hipp wrote:
| Andrew Mathews wrote:
|
| Because -i installs a package set and -e uninstalls a package name, e.g.
| one is a bundle of files and one is already extracted which is
| recorded in the rpm database. Same as you can't tar -zxvf a .tar file
| but you can a .tar.gz file, since the .gz hasn't been gunzipped yet..
|
|
| Yes. One is a file name and the other is a package name. But given that
| there is a 1:1 relationship between the two, would it have been such a
| burden to have it figure out such things on its own?
|
| Michael
|
Actually it wouldn't be as easy as you make it sound. Consider that
several distributions are RPM based, all having different placement of
the specific files. A Mandrake package (.mdk) will be at least 50%
different from RedHat, as will one built using rpmbuild for a different
distro. Including *every* possible permutation of where these
possibilities could be is not logical to include with an rpm package,
thus it leaves it up to the system to track where it scatters the
associated files in the rpm database. Thus a package that's say 100k in
size would at least double in size just to add all the extra database
info that is taken care of automatically at install time. Keeps the
packages smaller, more easily distributed, and efficient. A very good
tradeoff for a small naming convention inconvenience.
- --
Andrew Mathews
- -
~  8:20pm  up 7 days,  1:45,  9 users,  load average: 1.05, 1.22, 1.27
- -
MATH AND ALCOHOL DON'T MIX!
Please, don't drink and derive.
Mathematicians
Against
Drunk
Deriving
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org
iD8DBQE/g3d9idHQ0m/kEssRAgUvAJ0XtPqWpWIdMgJM1OfhcEk6QSEHtwCfcIOR
z1YJnVolDDh/FCsjNdja4iE=
=TzGf
-END PGP SIGNATURE-
___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://smtp.linux-sxs.org/mailman/listinfo/linux-users