zypper dup from 11.4 to factory (12.1-rc1) eats all memory

Hi,

I’ve 11.4 with tumbleweed and packman tumbleweed running.

I tried a zypper dup to 12.1-rc1. I disabled all repositories except tumbleweed and added factory oss and factory non-oss.

Machine has 6 GB ram - after some hundred packages installed it started swapping and finally simply stalled due to out of memory.

I did run this in runlevel 3 again to save memory - same thing.

Fortunately I tried this on an lvm snapshot of my root partition, so I was easily able to recover/retry.

Any hints how to successfully dup an running 11.4 to factory?

Best Regards,

Michael

On 21.10.2011 23:46, mleun wrote:
>
> Hi,
>
> I’ve 11.4 with tumbleweed and packman tumbleweed running.
>
> I tried a zypper dup to 12.1-rc1. I disabled all repositories except
> tumbleweed and added factory oss and factory non-oss.

Why would you have Tumbleweed and Factory active simultaneously?
Makes no sense.

Try without Tumbleweed, it’s not meant for Factory and not for 12.1 yet.

And - in addition, since yesterday or day before - Factory has been
copied to 12.1,

So if you want 12.1 (rc1 for now) use 12.1.

If you keep your repos pointing to Factory, you’ll end up getting
packages for 12.2 soon.

The new Tumbleweed will usable after 12.1 release once you pint your
repos to it.

Vahis

http://waxborg.servepics.com
openSUSE 11.4 (x86_64) 2.6.37.6-0.7-default main host
openSUSE 12.1 RC 1 (x86_64) 3.1.0-rc9-1-desktop in VirtualBox
openSUSE 11.4 (i586) 3.0.6-44-desktop “Tumbleweed” in EeePC 900

First, my problem has nothing to do with having tumbleweed enabled or not, happens also without.

There seems to be a memory leak somewhere in lvm/dm/dm-snapshot. When using an copy of my root lv instead of an snapshot it works.

But, how is tumbleweed meant to be dealed with in case a new distribution is released?

The repository is http://download.opensuse.org/repositories/openSUSE:/Tumbleweed/standard/ - there is no distribution version reference in there, so I thought it ought to fit 11.4 as well as 12.1.

Will there then be a http://download.opensuse.org/repositories/openSUSE:/Tumbleweed/openSUSE_11.4/ and 11.4 users not going to update to 12.1 are supposed to switch to that or will there be a http://download.opensuse.org/repositories/openSUSE:/Tumbleweed/openSUSE_12.1/?

I think there is much confusion about that out there and I think http://en.opensuse.org/Upgrade should be updated to contain advise on that.

Where is that? I would have used it if I had found it.

In http://download.opensuse.org/distribution/ there is a 12.1-RC1 (not a 12.1 as you say) but that contains only isos, no repo.

If I were going to keep that system (I’m not, thats only a test run, therefore the try to do it with an lvm snapshot) I of course would have to switch repos once 12.1 ones are there. But that does not seem to be the case yet (cannot find them, see above).

But, how is tumbleweed meant to be dealed with in case a new distribution is released?

Tumbleweed is meant as an addition to the current stable release 11.4. So when the next release 12.1 comes out, you have to change your main repositories (OSS, Non-OSS, etc.) to point to 12.1. Tumbleweed is not meant as a independent release.

mleun wrote:

> Where is that? I would have used it if I had found it.
>
This are my repos in my playground 12.1. RC1


1 | Aktualisierungen-für-openSUSE-12.1-12.1-0 | Aktualisierungen für openSUSE 12.1 12.1-0 | Ja        | Ja            |   99      | rpm-md |
http://download.opensuse.org/update/12.1/                                            |
2 | devel:languages:pascal                    | devel:languages:pascal                    | Ja        | Ja            |   99      | rpm-md |
http://download.opensuse.org/repositories/devel:/languages:/pascal/openSUSE_Factory/ |
3 | openSUSE-12.1-12.1-0                      | openSUSE-12.1-12.1-0                      | Ja        | Ja            |   99      | yast2  |
http://download.opensuse.org/distribution/12.1/repo/oss/                             |
4 | packman.inode.at-openSUSE_Factory         | Packman Repository                        | Ja        | Ja            |   99      | rpm-md |
http://packman.inode.at/suse/openSUSE_Factory/                                       |
5 | repo-debug                                | openSUSE-12.1-Debug                       | Nein      | Ja            |   99      | NONE   |
http://download.opensuse.org/debug/distribution/12.1/repo/oss/                       |
6 | repo-debug-update                         | openSUSE-12.1-Update-Debug                | Nein      | Ja            |   99      | NONE   |
http://download.opensuse.org/debug/update/12.1/                                      |
7 | repo-non-oss                              | openSUSE-12.1-Non-Oss                     | Ja        | Ja            |   99      | yast2  |
http://download.opensuse.org/distribution/12.1/repo/non-oss/                         |
8 | repo-source                               | openSUSE-12.1-Source                      | Nein      | Ja            |   99      | NONE   |
http://download.opensuse.org/source/distribution/12.1/repo/oss/                      |


Hope that helps (ignore the non standard extra repos, as I said it is a playground)


PC: oS 11.4 64 bit | Intel Core i7-2600@3.40GHz | KDE 4.6.0 | GeForce GT 420 | 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.2 | nVidia ION | 3GB Ram

On 2011-10-22 16:56, mleun wrote:
>
> Vahis;2396084 Wrote:

>> Try without Tumbleweed, it’s not meant for Factory and not for 12.1
>> yet.
>
> First, my problem has nothing to do with having tumbleweed enabled or
> not, happens also without.

It may. Factory is not compatible with tumbleweed. Who knows what mixture
you have installed.

As to the rest of your questions, ask in the tumbleweed forum.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

OK - that helps: There is indeed no distribution/12.1 in the directory of the webserver, there is even no distribution/12.1/repo, but when you try to access distribution/12.1/repo/oss (and so on) you get an redirect to factory-snapshot.

So, the point is you have no chance finding it searching the webserver, you need to know that it is there.

OK, can understand that: No 12.1 on the webserver until it is released, but makes a little harder for people to find the right repos to manually add for zypper dup.

OK, understood that: Do not mix tumbleweed and factory.

But how will that work when 12.1 is released:

Will http://download.opensuse.org/repositories/openSUSE:/Tumbleweed/standard/ be the 12.1 tumbleweed and users staying on 11.4 will have to switch their tumbleweed repository to http://download.opensuse.org/repositories/openSUSE:/Tumbleweed/11.4/

or

will there be a http://download.opensuse.org/repositories/openSUSE:/Tumbleweed/12.1/ or something like that?

mleun wrote:

> Will http://tinyurl.com/276rww5 be the 12.1 tumbleweed and users
> staying on 11.4 will have to switch their tumbleweed repository to
> http://download.opensuse.org/repositories/openSUSE:/Tumbleweed/11.4/
>
> or
>
> will there be a
> http://download.opensuse.org/repositories/openSUSE:/Tumbleweed/12.1/ or
> something like that?
>
I would open a new thread about that in the tumbleweed forum
http://forums.opensuse.org/english/get-technical-help-here/tumbleweed/
as Carlos already suggested, there are the tumbleweed experts, not here.


PC: oS 11.4 64 bit | Intel Core i7-2600@3.40GHz | KDE 4.6.0 | GeForce GT 420
| 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.2 | nVidia
ION | 3GB Ram

@mleun
There is nothing stopping you doing whatever you want. And I assume your venture here is only an experiment and not being applied to a mission critical machine?
But from your comments it seems clear to me you don’t really understand what you were doing.

12.1 Tumbleweed repos will be available after 12.1 is released

Just FYI: Regarding the original reason of my posting (that memory vanishing): Indeed found an memory leak in dm-snapshot, see Gmane Loom