libgcc and gcc deleted
frmas at free.fr
Tue Jul 10 04:54:03 UTC 2007
On mardi 10 juillet 2007, you wrote:
> On Mon, Jul 09, 2007 at 11:33:44PM +0200, Francois wrote:
> > I guess I did a big mistake.
> > I deleted the packages libgcc and gcc from my system.
> > Now I can't reinstall them.
> > Is there a way to do it ? thanks. Francois
> We might be able to help a bit better if you told us why you can't
> reinstall, or, even better, gave us the exact error messages. What
> happens when you do this:
> rpm -V gcc libgcc
> yum install gcc libgcc
> Please copy and paste the exact results into your reply.
Thank you Charles (and Jim and others), I repaired my mistake.
the problem as I said is that I was unable to install those two rpm files
(gcc and libgcc, because "rpm", needs from what I saw, to install a rpm
file, a file named libgcc_s.so.1 that is a simlink of another one, named
libgcc_s-4.1.2-20070626.so.1 _but_, those files are contained in the
package I wanted to install (libgcc). So, without the package installed, I
was not able to install a package and here specially the one which has the
file needed by rpm.
Yum install xxx didn't work too.
So I took on another computer, the file libgcc_s-4.1.2-20070626.so.1, copied
it on my computer under /lib, recreated the appropriate symlink, and
reran "rpm -ivh xxxxx", and it worked fine.
More information about the users