zypper dup broke my system

I first went from 11.1 > 11.2 this had errors with pkgkit. When I tried to reset my repos I made an error and included factory, so I went to 11.4.

Shortly after I lost power and now the system refuses to boot.
I am now seg faulting with init.

I’ve tried mounting the system with the rescue disk but it segfaults when I try to chroot to the old system

the last lines of the strace is

stat("/usr/lib/locale/locale-archive", {st_mode=S_IFDIR|0755, st_size=4096, …}) = 0
— SIGSEGV (Segmentation fault) @ 0 (0) —
+++ killed by SIGSEGV +++
Segmentation fault

I tried the repair on the 11.2 DVD and it didn’t do the trick either.

Any suggestions?

So going from 11.1 to 11.2 and then to 11.4 and then having a power failure on top of that. I say it is time for you to turn off the computer, walk slowly to your bed, lay down and go to sleep. Perhaps Thursday will be a better day for you.

Now, you are not going to find anyone that thinks such an upgrade path is going to work AND the last time I lost power on a computer running openSUSE, I had to reload the OS to get it working again. You could create a GParted boot disk, boot from the disk and then use it to check, as in fix, each partition on your computer. I have had this work several times, but it is very likely you have too many issues to be just a bad partition, but it is worth a try. Here is an editorial on how to reinstall grub using GParted, but the link to GParted can also be used to fix your disk partitions and is worth a try:

Re-Install Grub Quickly with Parted Magic

However, I can almost guaranty you need to reload openSUSE AND I would wait a week, download the openSUSE 11.4 Final Gold Master due next week and use it to reinstall openSUSE on your computer.

Thank You,

On 2011-03-03 03:36, jdmcdaniel3 wrote:
>
> So going from 11.1 to 11.2 and then to 11.4 and then having a power
> failure on top of that. I say it is time for you to turn off the
> computer, walk slowly to your bed, lay down and go to sleep. Perhaps
> Thursday will be a better day for you.

Indeed!

> Now, you are not going to find anyone that thinks such an upgrade path
> is going to work

Not even me, who is always preaching to people that upgrades are a good,
nice thing. That scenario is a nightmare. I might try rescuing the thing,
if sufficiently comforted with a free lunch or two, or some other
“present”. Manually, patiently… me, that is, with the machine in my
hands. Remotely, over mail? No way.

Realistically, backup all data and configs that can be salvaged, and
install fresh.

Or restore from a previous backup… I always recommend to create a full
backup as the first step in any type of upgrade. You see why now… bad
things do happen.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)

Hi Carlos, you had responded to my earlier post on the mailing list before my email was lost when the problem was just getting pkgkit back. I thought I had a fighting chance to get back up until the power when out while I was dealing with the glcibc 2_11 problem. I have been able to mount my old /home under a fresh 11.3 install . My files are still there but kmail starts akondi and it hangs.

I didn’t notice an upgrade current system on the install menu, but I think putting a fresh 11.2 on the spare drive is my best option to get things up and save as much of my configs as possible.

I do not see the /usr/lib/locale/locale-archive that I’m seg faulting on in the 11.3 install could that be a left over from 11.1.

Since the problem is of partial packages upgradation, which has led the system to be broken.
You can do the following,
1.take any livecd and connect to the internet.
2. chroot into your broken installation.
3. and complete the update through zypper.

you can follow these guides.

T.rolled - SUSE Broken? Don’t fear the chroot !

Cool Solutions: Using the “Rescue System” on the installation CD to repair a broken system

On 03/03/2011 04:36 AM, kenziem wrote:
>
>
> I think putting a fresh 11.2 on the spare drive is my best option

but, 11.2 has only 71 days of life left!
<http://en.opensuse.org/Lifetime>

11.3 has 319 days of support left

11.4 is released in seven days and is to be supported past mid-2012
<http://en.wikipedia.org/wiki/Template:Timeline_openSUSE>


DenverD
CAVEAT: http://is.gd/bpoMD
[NNTP posted w/openSUSE 11.3, KDE4.5.5, Thunderbird3.0.11, nVidia
173.14.28 3D, Athlon 64 3000+]
“It is far easier to read, understand and follow the instructions than
to undo the problems caused by not.” DD 23 Jan 11

On 2011-03-03 04:36, kenziem wrote:
>
> Hi Carlos, you had responded to my earlier post on the mailing list
> before my email was lost when the problem was just getting pkgkit back.
> I thought I had a fighting chance to get back up until the power when
> out while I was dealing with the glcibc 2_11 problem. I have been
> able to mount my old /home under a fresh 11.3 install . My files are
> still there but kmail starts akondi and it hangs.

Well, you are learning in the process…

> I didn’t notice an upgrade current system on the install menu, but I
> think putting a fresh 11.2 on the spare drive is my best option to get
> things up and save as much of my configs as possible.

Yes, you could install fresh on the system partition and reuse /home. You
lose system configuration and data, not your personal configs/data.

> I do not see the /usr/lib/locale/locale-archive that I’m seg faulting
> on in the 11.3 install could that be a left over from 11.1.

You could try a DVD upgrade.

This runs from the booted DVD, so if your problem is packages mixed from
two versions, it might work.

Other people have occasionally done a install of the same system without
formatting the system partition. They solved their problems this way - I
can’t vouch it, but it is an alternative. Might work.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)

I was thinking 11.2 since that was the initail upgrade that started this problem. I’m thinking that there are fewer changes to the config files to deal with. Once I have the 11.2 stable I can go through the steps to 11.4 which should have had a few months more testing.

When I tried to chroot to the old system from the rescue CD I’m getting seg faults.

I will try the DVD update next.

The 2 bits I’m most worried about now making sure kwallet and the kmail settings are moved over

The testing for 11.4 is nearly over. This has been going on for nearly a year, and the finished product will be released next week.

On 2011-03-03 20:06, chief sealth wrote:

> The testing for 11.4 is nearly over. This has been going on for nearly
> a year, and the finished product will be released next week.

IMNSHO, the real testing will begin after release.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)

The release is final. There will be no changes made to the installation media. Anything beyond that is maintenance.

On 2011-03-03 22:36, chief sealth wrote:
>
> robin_listas;2297878 Wrote:

>> IMNSHO, the real testing will begin after release.
>
> The release is final. There will be no changes made to the installation
> media. Anything beyond that is maintenance.

Obviously.

But the real testing begins when everybody starts using it: ie, after
release. A lot of problems are discovered in first weeks, and solved in one
month, some later. Then the distro becomes polished and useful.

Factory testing is comparatively small.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)

OK the DVD update sort of worked. There were several errors removing old package, but it now boots so there is progress.

I managed to loose X.

sax doesn’t seem to be recognized anymore

I had to run yast updates manually, zypper also had updates after running yast

Well sax has been obsoleted, found notes notes online, renamed Xorg.config.install and after another reboot most things seem to be working. Now to get used to the new interface and fonts.

vmware is complaining about version.h missing kmail, kwallet and openoffice are OK, bookmarks survived

On 2011-03-05 03:36, kenziem wrote:
>
> Well sax has been obsoleted,

Ah, then you upgraded to 11.3, not 11.2.

> found the nores and renamed

nores? What’s that?

> Xorg.config.install and after a nother reboot things seem to be working.
> Now to get used to the new interface and fonts. Thanks fo the help

Welcome!

(but eat first, don’t eat the letters here :-p )


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)