svlug-rpm_hell_redux_including_criticsm_of_up2date

This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.



From: svlug-request@svlug.org
Subject: svlug Digest, Vol 145, Issue 1
To: svlug@lists.svlug.org
Date: Fri, 26 Jul 2002 00:31:03 -0700

--===============091020075022355762==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Description: svlug Digest, Vol 145, Issue 1

Send svlug mailing list submissions to
	svlug@lists.svlug.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.svlug.org/lists/listinfo/svlug
or, via email, send a message with subject or body 'help' to
	svlug-request@lists.svlug.org

You can reach the person managing the list at
	svlug-owner@lists.svlug.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of svlug digest..."

--===============091020075022355762==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Description: Today's Topics (8 messages)

Today's Topics:

   1.  RH dependencies, not using up2date (Marc MERLIN)
   2. Re: RH dependencies, not using up2date  (Will Francis)
   3.  ssh reverse forward question
   4. Re:  ssh reverse forward question (Uriah Welcome)
   5.  Re: ssh reverse forward question (Ira Abramov)
   6. Re:  Re: ssh reverse forward question
   7. Re:  RH dependencies, not using up2date (Rafael Skodlar,,,)
   8. Re:  RH dependencies, not using up2date (Karsten M. Self)

--===============091020075022355762==
Content-Type: multipart/digest; boundary="===============67033136953687888=="
MIME-Version: 1.0

--===============67033136953687888==

Date: Thu, 25 Jul 2002 14:11:51 -0700
From: Marc MERLIN <marc_news@merlins.org>
To: svlug@lists.svlug.org
Subject: [svlug]  RH dependencies, not using up2date
Message-ID: <20020725211151.GB6297@merlins.org>
Content-Type: text/plain; charset=us-ascii
MIME-Version: 1.0
Precedence: list
Message: 1

Ok, so I have to use Red Hat, and basically, all I can say is that in the
3.5 years I haven't touched it, it's not gotten much better.
I've been working with RH 7.3 here

- rpm still doesn't have the option to auto pull dependencies in obvious cases
  (i.e rpm -i file.rpm, where all the dependencies are in the same dir)


- up2date is a joke
  [root@localhost RPMS]# up2date -i redhat-config-network
  Error Message:
    Free service limited due to high load, please try again later (server 1001059607)
  Error Class Code: 51

  I don't need rhn, besides I don't want to be pulling packages from RH,
  I have them on my disk.

  In theory, it does what it need, but I think it's been designed to be hard
  to use without talking to RH.
  If someone has a howto on how to use up2date against a local repository of
  RPMs, I'm listening.


- dependencies still suck.
  [root@localhost RPMS]# rpm -i redhat-config-network-1.0.0-1.i386.rpm gnome-core-1.4.0.4-54.i386.rpm libgnomeprint15-0.35-4.i386.rpm rep-gtk-gnome-0.15-7.i386.rpm gdk-pixbuf-gnome-0.14.0-8.i386.rpm rep-gtk-0.15-7.i386.rpm librep-0.15.1-3.i386.rpm pygnome-libglade-1.4.2-3.i386.rpm pygtk-libglade-0.6.9-3.i386.rpm libglade-0.17-5.i386.rpm sawfish-1.0.1-9.i386.rpm                                      
error: failed dependencies:
        libcapplet.so.0   is needed by gnome-core-1.4.0.4-54
        libcapplet.so.0   is needed by sawfish-1.0.1-9

   How  am  I   supposed  to  know  that  libcapplet.so.0   comes  from  the
   control-center package?


- gnorpm doesn't seem to want to compute dependencies for local installs
  gnorpm -i redhat-config-network-1.0.0-1.i386.rpm
  tells me I'm missing dependencies
  launching gnorpm and selecting a local package doesn't work any better.

  Now, if I do a web find, it will get those magic RDF files (which probably
  contain the magic dependency to package name info), but for a package with
  many recursive  missing dependencies like redhat-config-network,  it still
  fails (it doesn't realize that control-center has further dependencies


- rpmfind. I've had good luck with this in the past, besides its author,
  Daniel Veillard, is a good friend, but I must be cursed because the version
  that shipped with RH 7.3 doesn't seem to want to work on my system

  [root@localhost RPMS]# rm -rf ~/.rpmfind
  [root@localhost RPMS]# rpmfind -v redhat-config-network
  Host : deepthought.engr.intransa.com, Country: 840, Zones 0 0 0, Continent 1
  Arch : i386, Os : Linux
  Default distribution : Red Hat, Inc.(Red Hat Linux)
          owning 453 of 456 installed packages
  Get http://rpmfind.net/linux/RDF/resources/redhat-config-network.rdf
  Fetching : http://rpmfind.net/linux/RDF/resources/redhat-config-network.rdf to /tmp/fetch6649
  rdfRead /tmp/fetch6649: resource is not wellformed XML
  Cannot install or locate resource redhat-config-network 
  Do you want to search it in the catalog? [Y/n] : Y
  Loading catalog to /tmp/fullIndex.rdf.gz
  Fetching : http://rpmfind.net/linux/RDF/resources/fullIndex.rdf.gz to /tmp/fullIndex.rdf.gz
  
  Searching the RPM catalog for redhat-config-network ...
  rdfRead /tmp/fullIndex.rdf.gz: resource is not wellformed XML
  Cannot open catalog /tmp/fullIndex.rdf.gz
  [root@localhost RPMS]# 

  Besides, I don't really want rpmfind to get packages on the net, I have
  them on my disk.


- I understand there is an apt-rpm, but I don't know if it will work right
  with packages that ship with RH 7.3 (I'm not overly worried about getting
  contrib packages from the web at this point).
  If I should look into this, let me know.

My question is simple:
How can I install  RH packages (not contrib) with the  dependencies in a way
that actually works (and  I want to be able to say where  my packages are, I
don't want to pull them from some random place on the net)

Thanks
Marc
-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
                                      .... what McDonalds is to gourmet cooking 
Home page: http://marc.merlins.org/   |   Finger marc_f@merlins.org for PGP key


--===============67033136953687888==

Date: Thu, 25 Jul 2002 16:12:33 -0700
From: Will Francis <wfrancis@incyte.com>
To: Marc MERLIN <marc_news@merlins.org>
Cc: svlug@lists.svlug.org
Subject: Re: [svlug] RH dependencies, not using up2date 
Message-ID: <200207252312.g6PNCXU06861@vertigo.incyte.com>
In-Reply-To: Your message of "Thu, 25 Jul 2002 14:11:51 
 PDT."<20020725211151.GB6297@merlins.org>
Content-Type: text/plain; charset=us-ascii
MIME-Version: 1.0
Precedence: list
Message: 2


> My question is simple:
> How can I install  RH packages (not contrib) with the  dependencies in a way
> that actually works (and  I want to be able to say where  my packages are, I
> don't want to pull them from some random place on the net)

www.autorpm.org

You can configure it to auto-follow dependencies and can specify directories
full of RPMS you want to install. 

Will



--===============67033136953687888==

Date: Thu, 25 Jul 2002 16:26:50 -0700
From: matt@vazor.com
To: svlug@lists.svlug.org
Subject: [svlug]  ssh reverse forward question
Message-ID: <20020725162650.B9913@vazor.com>
Content-Type: text/plain; charset=us-ascii
MIME-Version: 1.0
Precedence: list
Message: 3

Hi,

I'm using something like:

ssh -R 5901:localhost:5901 host -N

To reverse forward port 5901 on a solaris box to port 5901 on my Linux firewall
machine.  Now, I can connect to 5901 using vnc on the Linux machine fine, but
I'd rather connect to this forwarded port from another machine, to an interface on the Linux box (192.168.1.1):

ssh -R 5901:192.168.1.1:5901 host -N

But, this doesn't seem to work...  I stumbled across the GatewayPorts option, but that works on the machine from which I initiate ssh...

Anyone know how I can reverse forward a port from host A to host B, but connect to the port on host B from yet another machine host C.  Host B just becomes effectively a passthrough.

thx

m

-- 
Matt Billenstein
matt (at) vazor (dot) com
http://www.vazor.com/


--===============67033136953687888==

Date: 25 Jul 2002 16:34:41 -0700
From: Uriah Welcome <precision@devrandom.net>
To: matt@vazor.com
Cc: svlug@lists.svlug.org
Subject: Re: [svlug]  ssh reverse forward question
Message-ID: <1027640081.25252.20.camel@blatz.hdqt.vasoftware.com>
In-Reply-To: <20020725162650.B9913@vazor.com>
References: <20020725162650.B9913@vazor.com>
Content-Type: text/plain
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Precedence: list
Message: 4

On Thu, 2002-07-25 at 16:26, matt@vazor.com wrote:
> Hi,
> 
> I'm using something like:
> 
> ssh -R 5901:localhost:5901 host -N
> 
> To reverse forward port 5901 on a solaris box to port 5901 on my Linux firewall
> machine.  Now, I can connect to 5901 using vnc on the Linux machine fine, but
> I'd rather connect to this forwarded port from another machine, to an interface on the Linux box (192.168.1.1):
> 
> ssh -R 5901:192.168.1.1:5901 host -N
> 
> But, this doesn't seem to work...  I stumbled across the GatewayPorts option, but that works on the machine from which I initiate ssh...
> 
> Anyone know how I can reverse forward a port from host A to host B, but connect to the port on host B from yet another machine host C.  Host B just becomes effectively a passthrough.
> 

I ran into this exact same thing the other day.  What I ended up doing
was the 'ssh -R 5901:localhost:5901 host -N' and then on the firewall
itself doing a 'ssh -g -L 5901:localhost:5901 localhost'.  The -g is the
important option there..

-- 
- U

"Any setuid root program that does an exec() somewhere is just a less 
user friendly version of su."   -- Olaf Kirch on bugtraq 2000-08-07
 1024D/6388D686   7928 83A9 16CD 52FD F77F  11ED FC04 B683 6388 D686



--===============67033136953687888==


--===============67033136953687888==

Date: Thu, 25 Jul 2002 23:54:14 -0700
From: "Rafael Skodlar,,," <raffi@linwin.com>
To: svlug@lists.svlug.org
Subject: Re: [svlug]  RH dependencies, not using up2date
Message-ID: <20020726065414.GE16707@linwin.com>
In-Reply-To: <20020725211151.GB6297@merlins.org>
References: <20020725211151.GB6297@merlins.org>
Content-Type: text/plain; charset=us-ascii
MIME-Version: 1.0
Precedence: list
Message: 7

Here is the answer with no answer:

Like everybody else I to go through the same RPM hell at work since our
customers use Redhat. While trying to setup decent workstation for
compiling OS stuff I run into all kinds of dependencies problems.
Wasting a lot of time I usualy give up after forth or fifth dependent
RPM fails to install. It was better in RH5.2 days.

There was an article on the web somewhere about RPM dependencies
problems recently. It's getting worse by the month and I'm not the only 
one noticing this. I tried all kinds of rpm tools but they are not ready
for prime time yet.

For that reason I decided to give Debian another try. I too want to be
a "lazy sysadmin" and use one line commands to install software. Debian
failed to work on my hardware earlier where RH and Mandrake would
install without major problems. Now that Debian 3.0 is out I started to
convert some critical systems to Debian. I have routers, NFS servers
etc. running on Debian just fine. Initial install takes less than 100MB
of disk space which speaks for itself.

In order to learn more about Debian I subscribed to 6 Debian lists. Due
to high level of spam on their mailing lists I dropped 3 right away.
Mention that on one of their lists and you'll draw flames and useless
"filter solution" suggestions from "Debian bigots". My impression was
that they are nontolerant elitist group that doesn't want around anybody
that's not religious fanatic like them. To me the OS is only a tool to
do my work more efficiently and debian seem to fit that description.

Progeny distribution based on Debian was promissing but failed in
commercial world. Worth noting is that Debian distribution has been
picked up by a major corporation recently so it's going to get more
"official support".

As a long time Redhat user and customer I'm disappointed to see them
ignore those who supported them through all these years. I bought many
boxes for work and home and never asked for help so their never used '30
day support' was clear profit for them. They could provide some kind of
transition to a better package management system, or even merge with
better Debian packaging tools, which was discussed years ago, but they
ignore the issue. They never improved their selection for type of system
installation and always introduce annoying bugs that should be noticed
before the release.

For that reason I can no longer recommend RH. My message to Redhat is
fix RPM mess and install process or else. And I won't pay for their
expensive "per system support" to get automatic bug fixes which should
be free on the first place.

Let the competition talk.

I see nobody came back with a solution to your (our?) problem so that
too talks for itself.


On Thu, Jul 25, 2002 at 02:11:51PM -0700, Marc MERLIN wrote:
> Ok, so I have to use Red Hat, and basically, all I can say is that in the
> 3.5 years I haven't touched it, it's not gotten much better.
> I've been working with RH 7.3 here
> 
> - rpm still doesn't have the option to auto pull dependencies in obvious cases
>   (i.e rpm -i file.rpm, where all the dependencies are in the same dir)
> 
> 
> - up2date is a joke
>   [root@localhost RPMS]# up2date -i redhat-config-network
>   Error Message:
>     Free service limited due to high load, please try again later (server 1001059607)
>   Error Class Code: 51
> 
>   I don't need rhn, besides I don't want to be pulling packages from RH,
>   I have them on my disk.
> 
>   In theory, it does what it need, but I think it's been designed to be hard
>   to use without talking to RH.
>   If someone has a howto on how to use up2date against a local repository of
>   RPMs, I'm listening.
> 
> 
> - dependencies still suck.
>   [root@localhost RPMS]# rpm -i redhat-config-network-1.0.0-1.i386.rpm gnome-core-1.4.0.4-54.i386.rpm libgnomeprint15-0.35-4.i386.rpm rep-gtk-gnome-0.15-7.i386.rpm gdk-pixbuf-gnome-0.14.0-8.i386.rpm rep-gtk-0.15-7.i386.rpm librep-0.15.1-3.i386.rpm pygnome-libglade-1.4.2-3.i386.rpm pygtk-libglade-0.6.9-3.i386.rpm libglade-0.17-5.i386.rpm sawfish-1.0.1-9.i386.rpm                                      
> error: failed dependencies:
>         libcapplet.so.0   is needed by gnome-core-1.4.0.4-54
>         libcapplet.so.0   is needed by sawfish-1.0.1-9
> 
>    How  am  I   supposed  to  know  that  libcapplet.so.0   comes  from  the
>    control-center package?
> 
> 
> - gnorpm doesn't seem to want to compute dependencies for local installs
>   gnorpm -i redhat-config-network-1.0.0-1.i386.rpm
>   tells me I'm missing dependencies
>   launching gnorpm and selecting a local package doesn't work any better.
> 
>   Now, if I do a web find, it will get those magic RDF files (which probably
>   contain the magic dependency to package name info), but for a package with
>   many recursive  missing dependencies like redhat-config-network,  it still
>   fails (it doesn't realize that control-center has further dependencies
> 
> 
> - rpmfind. I've had good luck with this in the past, besides its author,
>   Daniel Veillard, is a good friend, but I must be cursed because the version
>   that shipped with RH 7.3 doesn't seem to want to work on my system
> 
>   [root@localhost RPMS]# rm -rf ~/.rpmfind
>   [root@localhost RPMS]# rpmfind -v redhat-config-network
>   Host : deepthought.engr.intransa.com, Country: 840, Zones 0 0 0, Continent 1
>   Arch : i386, Os : Linux
>   Default distribution : Red Hat, Inc.(Red Hat Linux)
>           owning 453 of 456 installed packages
>   Get http://rpmfind.net/linux/RDF/resources/redhat-config-network.rdf
>   Fetching : http://rpmfind.net/linux/RDF/resources/redhat-config-network.rdf to /tmp/fetch6649
>   rdfRead /tmp/fetch6649: resource is not wellformed XML
>   Cannot install or locate resource redhat-config-network 
>   Do you want to search it in the catalog? [Y/n] : Y
>   Loading catalog to /tmp/fullIndex.rdf.gz
>   Fetching : http://rpmfind.net/linux/RDF/resources/fullIndex.rdf.gz to /tmp/fullIndex.rdf.gz
>   
>   Searching the RPM catalog for redhat-config-network ...
>   rdfRead /tmp/fullIndex.rdf.gz: resource is not wellformed XML
>   Cannot open catalog /tmp/fullIndex.rdf.gz
>   [root@localhost RPMS]# 
> 
>   Besides, I don't really want rpmfind to get packages on the net, I have
>   them on my disk.
> 
> 
> - I understand there is an apt-rpm, but I don't know if it will work right
>   with packages that ship with RH 7.3 (I'm not overly worried about getting
>   contrib packages from the web at this point).
>   If I should look into this, let me know.
> 
> My question is simple:
> How can I install  RH packages (not contrib) with the  dependencies in a way
> that actually works (and  I want to be able to say where  my packages are, I
> don't want to pull them from some random place on the net)
> 
> Thanks
> Marc
> -- 
> "A mouse is a device used to point at the xterm you want to type in" - A.S.R.
> Microsoft is to operating systems & security ....
>                                       .... what McDonalds is to gourmet cooking 
> Home page: http://marc.merlins.org/   |   Finger marc_f@merlins.org for PGP key

-- 
Rafael
The Gap Between the Rich and the Poor is Constant.


--===============67033136953687888==

Date: Fri, 26 Jul 2002 00:27:25 -0700
From: "Karsten M. Self" <kmself@ix.netcom.com>
To: svlug@lists.svlug.org
Subject: Re: [svlug]  RH dependencies, not using up2date
Message-ID: <20020726072725.GB20496@ix.netcom.com>
In-Reply-To: <20020726065414.GE16707@linwin.com>
References: <20020725211151.GB6297@merlins.org>
	<20020726065414.GE16707@linwin.com>
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="2B/JsCI69OhZNC5r"
MIME-Version: 1.0
Precedence: list
Message: 8


--2B/JsCI69OhZNC5r
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

on Thu, Jul 25, 2002, Rafael Skodlar,,, (raffi@linwin.com) wrote:
> On Thu, Jul 25, 2002 at 02:11:51PM -0700, Marc MERLIN wrote:
> > Ok, so I have to use Red Hat, and basically, all I can say is that in t=
he
> > 3.5 years I haven't touched it, it's not gotten much better.
> > I've been working with RH 7.3 here

<...>

> > My question is simple:
> > How can I install  RH packages (not contrib) with the  dependencies in =
a way
> > that actually works (and  I want to be able to say where  my packages a=
re, I
> > don't want to pull them from some random place on the net)

> Here is the answer with no answer:

<grin>

I watched Marc's post with some interest.  My comment here in recent
months that I was working using GNU/Linux, but unfortunately it was RH,
drew a response from someone who didn't understand the problem...but
works one seat over from the local RH onsite consultant.  My response:
not all of us have that advantage (hey, let's give the benefit of the
doubt ;-), and frankly, anyone on a Debian list can make the same claim.

> Like everybody else I to go through the same RPM hell at work since
> our customers use Redhat. While trying to setup decent workstation for
> compiling OS stuff I run into all kinds of dependencies problems.
> Wasting a lot of time I usualy give up after forth or fifth dependent
> RPM fails to install. It was better in RH5.2 days.

I too used RH 4.2 - 5.2, then switched largely to Debian.  I've been
around RH shops but have avoided heavy dealings with it until this
January.  It's hellish, and I don't really have substantial answers to
Marc's questions.  It's interesting to see experiences here.

> There was an article on the web somewhere about RPM dependencies
> problems recently. It's getting worse by the month and I'm not the only=
=20
> one noticing this. I tried all kinds of rpm tools but they are not ready
> for prime time yet.

That's my read.

> For that reason I decided to give Debian another try. I too want to be
> a "lazy sysadmin" and use one line commands to install software.
> Debian failed to work on my hardware earlier where RH and Mandrake
> would install without major problems. Now that Debian 3.0 is out I
> started to convert some critical systems to Debian. I have routers,
> NFS servers etc. running on Debian just fine. Initial install takes
> less than 100MB of disk space which speaks for itself.

100 MiB?  My initial install takes ~51 mIb -- untarring the base2_2.tgz
image *is* a working Debian system.

> In order to learn more about Debian I subscribed to 6 Debian lists.
> Due to high level of spam on their mailing lists I dropped 3 right
> away.  Mention that on one of their lists and you'll draw flames and
> useless "filter solution" suggestions from "Debian bigots".=20

Which lists?

Those filter solutions -- particularly if they refer to spamassassin,
are hardly useless.  This catches 95%+ of my daily spam, and passes
99.98% of the legitimate mail I get.  I'd reevaluate your response.

Google groups doesn't show any of your posts (matching on 'rafael'
and/or 'skodlar') in muc.lists.debian.*

> My impression was that they are nontolerant elitist group that doesn't
> want around anybody that's not religious fanatic like them. To me the
> OS is only a tool to do my work more efficiently and debian seem to
> fit that description.

Yadda, yadda.  All stripes, Raffie, all stripes.  Deal with it.  And
don't tell me you haven't heard of Snobbian.

Debian _does_ differ from most mainstream GNU/Linux distros in that
philosophy matters (Social Contract, FSD, Debian Policy), to very good
effect, I might add.  The only comperable distribution of any sort I
know is OpenBSD (goal, philosophy, and licensing guidelines), and, well,
Theo's just _so_ much warmer and fuzzier than your typical Dweebian....

Debian's a way solid distro, the list support is among the best I've
seen bar any mode for any software.

===

the rest of The Pile (a partial mailing list archive)

doom@kzsu.stanford.edu