IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New How To Unfeck Your Red Hat Linux Box

I was messing about with apt on an Red Hat Enterprise Linux WS 2.1 whose RHN subscription had expired, and I broke Berkeley DB, to the point where RPM would segfault every time I ran it, which made fixing things somewhat hilarious.

\r\n\r\n

[I highly suspect that I managed to get the shared system libraries on the box woefully out of sync with the executables]

\r\n\r\n

I'd already run apt-get dist-upgrade and it'd downloaded a huge pile of RPM files which I was convinced would fix the problem, but which I couldn't install.

\r\n\r\n

Firstly, I knew that going from RPM 4.0.4 to RPM 4.3 would entail the following step:

\r\n
\r\n # rm -f /var/lib/rpm/__*\r\n
\r\n

Then, I did this, which is quite, quite horrible:

\r\n
\r\n#!/bin/bash\r\n\r\nfor file in *.rpm ; do\r\n  echo $file\r\n  rpm2cpio $file > $file.cpio\r\n  pushd .\r\n  cd /\r\n  cpio -iduv < /var/cache/apt/archives/$file.cpio\r\n  popd\r\ndone\r\n
\r\n

It worked. I re-ran ldconfig -v and I could then run my dist-upgrade (to square up the RPM database).

\r\n

Can't say I'm proud, though :-)

\r\n

[Note. You CAN dist-upgrade from Red Hat Enterprise Workstation 2.1 to Fedora Core 2, although it's not a route I would recommend, and definitely not for a production machine. That's what I was doing (the upgrade part, not the production part).]



Peter
[link|http://www.debian.org|Shill For Hire]
[link|http://www.kuro5hin.org|There is no K5 Cabal]
[link|http://guildenstern.dyndns.org|Blog]
New Easy, simple solution
Install Windows...

/me ducks, and hides ;-j
A good friend will come and bail you out of jail ... but, a true friend will be sitting next to you saying, "Damn...that was fun!"
New YOU serve NFS off Windows, then...
...and not cry like a baby at how much pain it is.


Peter
[link|http://www.debian.org|Shill For Hire]
[link|http://www.kuro5hin.org|There is no K5 Cabal]
[link|http://guildenstern.dyndns.org|Blog]
New SOSSNT works just fine
on winders just dont attempt to do anything with a file from there on a sun box(no dont try that in production.)
thanx,
bill
"delayed incessantly by people whose prevalent qualification was an excess of free-time" Philip Atkinson
questions, help? [link|mailto:pappas@catholic.org|email pappas at catholic.org]
New And in English?


Peter
[link|http://www.debian.org|Shill For Hire]
[link|http://www.kuro5hin.org|There is no K5 Cabal]
[link|http://guildenstern.dyndns.org|Blog]
New Son of Sam Sever for NT SOSSNT works fine
as an NFS server, the sun part is self explanatory if you attempt to manipulate a file such as "vi foo" where foo is an existing file on the nt box, you will see a prompt on the Sun box that is usually only seen during eeprom investigations prior to boot.
thanx,
bill
"delayed incessantly by people whose prevalent qualification was an excess of free-time" Philip Atkinson
questions, help? [link|mailto:pappas@catholic.org|email pappas at catholic.org]
New Re: Son of Sam Sever for NT SOSSNT works fine
So an NFS server that can slay a client back to the SRM prompt is your idea of "works fine"?

Yikes.


Peter
[link|http://www.debian.org|Shill For Hire]
[link|http://www.kuro5hin.org|There is no K5 Cabal]
[link|http://guildenstern.dyndns.org|Blog]
New only if the client is a Sun
on windows it works fine :-)
thanx,
bill
"delayed incessantly by people whose prevalent qualification was an excess of free-time" Philip Atkinson
questions, help? [link|mailto:pappas@catholic.org|email pappas at catholic.org]
New Did you miss the

;-j



It was [image|/forums/images/warning.png|0|This is sarcasm...]

:-)
A good friend will come and bail you out of jail ... but, a true friend will be sitting next to you saying, "Damn...that was fun!"
New Temporary SOH failure, normal service will resume.


Peter
[link|http://www.debian.org|Shill For Hire]
[link|http://www.kuro5hin.org|There is no K5 Cabal]
[link|http://guildenstern.dyndns.org|Blog]
     How To Unfeck Your Red Hat Linux Box - (pwhysall) - (9)
         Easy, simple solution - (jbrabeck) - (8)
             YOU serve NFS off Windows, then... - (pwhysall) - (7)
                 SOSSNT works just fine - (boxley) - (4)
                     And in English? -NT - (pwhysall) - (3)
                         Son of Sam Sever for NT SOSSNT works fine - (boxley) - (2)
                             Re: Son of Sam Sever for NT SOSSNT works fine - (pwhysall) - (1)
                                 only if the client is a Sun - (boxley)
                 Did you miss the - (jbrabeck) - (1)
                     Temporary SOH failure, normal service will resume. -NT - (pwhysall)

I just know what I read in the magazines.
65 ms