On Tuesday 04 May 2004 3:54 pm, Kent Schumacher wrote:
> For completeness, apt was not happy.  Any time I queried the rpm
> db I got a complaint about an invalid signature.  I did a
> rpm --rebuilddb, and rpm dumped the record for ximians openoffice.
>
> The rpm is still installed, it's just not being tracked by rpm.
>
> I guess the next step is to bdiff the original rpm with my
> hacked rpm and hex edit the signature.
>
> This is really dumb - there should be an easy way to edit the
> dependency info of an rpm.
>

Why don't you just run this:

rpm -ivh --justdb gnome-cups-manager(whatever).rpm

Would that work?


Bret.



> Entertainingly enough, the documents for rpmlib are out of sync
> with the actual library, and the sole rpmlib example doesn't
> compile because the API has changed radically.
>
> Kent Schumacher wrote:
> > Thanks Troy - you made me start thinking out of the box...
> >
> > My solution was to replace the string
> >
> > gnome-cups-manager with
> > XFree86-base-fonts
> >
> > in the rpm using a hex editor.  rpm then whined about the md5
> > digest and the signature, but I was able to bypass those using
> > the  --nodigest --nosignature arguments.
> >
> > apt is happy, rpm is happy, I am happy.
> >
> > And yes, this was horribly ugly (which makes me happy)
> >
> > Troy.A Johnson wrote:
> >> It may be easier to create a bogus ximian cups package that provides
> >> the missing dependency and is otherwise empty, but that may mess
> >> with your rpm db in ways you may not like. *shrug*
> >>
> >>>>> kent at structural-wood.com 05/04/04 11:21AM >>>
> >>
> >> I'm trying to install ximians openoffice rpm, and it's got a gratuitous
> >> dependency on ximians cups package, which of course conflicts with
> >> another
> >> package.
> >>
> >> Is there any way to simply extract the spec file, take out the
> >> gratuitous dependency, and then reinsert the spec file in the package.
> >>
> >> To somewhat limit alternative suggestions.
> >>
> >> 1) Ximians openoffice is *very* nice looking - much nicer than the stock
> >> openoffice
> >>
> >> 2) I like rpm's
> >>
> >> 3) I like apt
> >>
> >> 4) I don't use cups because I've got a huge amount of infrastructure
> >>     built around lprng
> >>
> >> 5) Ximians openoffice runs absolutely peachy with lprng and without cups
> >>
> >> 6) I can't just do a --nodeps, because that will forever after break
> >> apt-get
> >>
> >> 7) Doing a rebuild off the source rpm is apparently not doable.  I
> >> estimate
> >>     that the universe reaches thermal equilibrium just about the time
> >> the 5e12'th
> >>     error is spewed from the rebuild process.
> >>
> >> _______________________________________________
> >> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
> >> http://www.mn-linux.org tclug-list at mn-linux.org
> >> https://mailman.real-time.com/mailman/listinfo/tclug-list
> >>
> >> _______________________________________________
> >> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
> >> http://www.mn-linux.org tclug-list at mn-linux.org
> >> https://mailman.real-time.com/mailman/listinfo/tclug-list
> >
> > _______________________________________________
> > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
> > http://www.mn-linux.org tclug-list at mn-linux.org
> > https://mailman.real-time.com/mailman/listinfo/tclug-list
>
> _______________________________________________
> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
> http://www.mn-linux.org tclug-list at mn-linux.org
> https://mailman.real-time.com/mailman/listinfo/tclug-list

-- 
Bret Baptist
Systems and Technical Support Specialist
bbaptist at iexposure.com
Internet Exposure, Inc.
http://www.iexposure.com
 
(612)676-1946 x17
Web Development-Web Marketing-ISP Services
------------------------------------------


Today is the tomorrow you worried about yesterday.

_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list