FC6 bashrc file needed

Ken Burtch kburtch-Zd07PnzKK1IAvxtiuMwx3w at public.gmane.org
Wed Nov 1 02:03:32 UTC 2006


Err, assuming it's not a generated file, how do you extract a file out
of an RPM?  I don't see any options for that.

It seems like a lot of work...
KB

On Tue, 2006-10-31 at 20:53 -0500, Simon wrote:
> err, can't you just manually extract the file out of the rpm?
> 
> Simon
> 
> On 10/31/06, Ken Burtch <kburtch-Zd07PnzKK1IAvxtiuMwx3w at public.gmane.org> wrote:
> > On Tue, 2006-10-31 at 17:38 -0500, CLIFFORD ILKAY wrote:
> > > On Tuesday 31 October 2006 17:17, Ken Burtch wrote:
> > > > I accidentally deleted /etc/bashrc while installing Fedora Core 6.
> > > > If someone can send me a copy of this file, I would appreciate it.
> > >
> > > You already have the file, albeit in a package. Try this:
> > >
> > > rpm -qf /etc/bashrc
> > >
> > > That will tell you which package contains the file you deleted. You
> > > can then force install the package to restore the file.
> >
> > Unfortunately, it's in the "setup" package is non-relocatable and rpm
> > will not do a force install on it.  Surely some one one this list will
> > email me a 20 line text file.
> >
> > Ken B.
> >
> > --
> > -----------------------------------------------------------------------------
> > Ken O. Burtch                                    Phone/Fax: 905-562-0848
> >   "Linux Shell Scripting with Bash"               Email: ken-8VyUGRzHQ8IsA/PxXw9srA at public.gmane.org
> >   "Perl Phrasebook"                         Blog: http://www.pegasoft.ca
> > -----------------------------------------------------------------------------
> >
> >
> > --
> > The Toronto Linux Users Group.      Meetings: http://gtalug.org/
> > TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> > How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
> >
> --
> The Toronto Linux Users Group.      Meetings: http://gtalug.org/
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
-- 
-----------------------------------------------------------------------------
Ken O. Burtch                                    Phone/Fax: 905-562-0848
  "Linux Shell Scripting with Bash"               Email: ken-8VyUGRzHQ8IsA/PxXw9srA at public.gmane.org
  "Perl Phrasebook"                         Blog: http://www.pegasoft.ca
-----------------------------------------------------------------------------


--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list