Overriding SuSe Defaults.

Kevin O'Gorman kevin
Mon May 17 11:33:39 PDT 2004


If you don't mind a horrible hack, there's a fairly easy way to do this.
Just go ahead and let Yast install whatever it wants.  Then use rpm
to find all the files it installed (rpm -ql whatever), and delete all
those files.  Do the deletion manually; do not do it through Yast or rpm.
It's probably easiest to build a script from the output of 'rpm -ql'.
Now install your tarball.  Yast thinks it has the stuff it wants,
because it believes its database rather than checking reality,
and the reality is the way you want it.

Just be mindful that the database and the reality no longer coincide.
Forever.  Being a hack, this approach can bite you later if you forget
about it.

++ kevin



On Fri, Jun 21, 2002 at 08:17:10AM -0500, Ben Duncan wrote:
> Is there anyway to override the Yast2 defaults on software dependencies?
> 
> I have installed LPRng from pristine source and removed the standard RPM 
> of LPR that Suse 8.0 ships. I did this because of some specific settings I 
> need vs the way SuSe wants to control the printer. However, evertime I 
> add/remove a package from the CD's, Yast wants to complain and install 
> IT's PRINTING solutions (choice of install cups/lprng). IF you are not 
> careful and go back un "unmark" it's selection it winds up putting it's 
> version of lpr back out there.
> 
> I need this PITA to go away and the SuSe 8.0 log (whatever/wherever) that 
> may be, to think LPR has been installed.
> 
> 
> Thanks ...
> 
> -- 
-- 
Kevin O'Gorman  (805) 650-6274  mailto:kevin at kosmanor.com
Permanent e-mail forwarder:  mailto:Kevin.O'Gorman.64 at Alum.Dartmouth.org
At school: mailto:kogorman at cs.ucsb.edu
Web: http://www.cs.ucsb.edu/~kogorman/index.html
Web: http://kosmanor.com/~kevin/index.html

"Life is short; eat dessert first!"



More information about the Linux-users mailing list