wwp
2012-Feb-08 10:32 UTC
[CentOS] Eeek, my centos6 box won't boot after broken update, need help w/ yum
Hello there, I think I've shutdown my box right in the middle of a yum update.. The latest kernel installed won't simple boot, and the old one can, but only in init 3 mode (tty). From a console, I wanted to complete the yum update and it suggested me to do a `yum-complete-transaction`. yum-complete-transaction tells me that 447 elements are left to run in 1 transaction, runs and show lots of "Removing <packagename> - ud from the transaction" then processes lots of stuff, and ends with listing lots of duplicate packages (mostly Xorg stuff) and.. and that's all. Same stuff if I start that command again. A `yum cleanup` doesn't change it. Any hint how I could get of that deadly loop? Regards, -- wwp -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20120208/54f5e67a/attachment-0005.sig>
Ljubomir Ljubojevic
2012-Feb-08 11:06 UTC
[CentOS] Eeek, my centos6 box won't boot after broken update, need help w/ yum
On 02/08/2012 11:32 AM, wwp wrote:> Hello there, > > > I think I've shutdown my box right in the middle of a yum update.. The > latest kernel installed won't simple boot, and the old one can, but > only in init 3 mode (tty). > > From a console, I wanted to complete the yum update and it suggested me > to do a `yum-complete-transaction`. > > yum-complete-transaction tells me that 447 elements are left to run in 1 > transaction, runs and show lots of "Removing<packagename> - ud from > the transaction" then processes lots of stuff, and ends with listing > lots of duplicate packages (mostly Xorg stuff) and.. and that's all. > Same stuff if I start that command again. > > A `yum cleanup` doesn't change it. > > Any hint how I could get of that deadly loop? >"yum history list" will give you of last yum transaction (highest number). Use that number in: "yum history undo <number>", "yum history redo <number>" or "yum history rollback <number>" Read "man yum" for differences between commands if necessary. -- Ljubomir Ljubojevic (Love is in the Air) PL Computers Serbia, Europe Google is the Mother, Google is the Father, and traceroute is your trusty Spiderman... StarOS, Mikrotik and CentOS/RHEL/Linux consultant
Les Mikesell
2012-Feb-08 17:51 UTC
[CentOS] Eeek, my centos6 box won't boot after broken update, need help w/ yum
On Wed, Feb 8, 2012 at 4:32 AM, wwp <subscript at free.fr> wrote:> I think I've shutdown my box right in the middle of a yum update.. The > latest kernel installed won't simple boot, and the old one can, but > only in init 3 mode (tty). > > From a console, I wanted to complete the yum update and it suggested me > to do a `yum-complete-transaction`. > > yum-complete-transaction tells me that 447 elements are left to run in 1 > transaction, runs and show lots of "Removing <packagename> - ud from > the transaction" then processes lots of stuff, and ends with listing > lots of duplicate packages (mostly Xorg stuff) and.. and that's all. > Same stuff if I start that command again. > > A `yum cleanup` doesn't change it. > > Any hint how I could get of that deadly loop? > >Are you actually answering yes and letting it continue or stopping when you see the list of things it needs to do? -- Les Mikesell lesmikesell at gmail.com