Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: How can I downgrade my kernel to 4.1 (Leap's) and lock it?

  1. #1
    Join Date
    May 2010
    Location
    Thessaloniki
    Posts
    454

    Post How can I downgrade my kernel to 4.1 (Leap's) and lock it?

    I use Tumbleweed GNOME.
    After kernel update to 4.5.x, my system cannot open. After a little search online, I found out that my VGA has the problem. My card is:

    Code:
    00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Wrestler [Radeon HD 7340] [1002:9808]
    For temporary solution, at GRUB, I opened with the kernel

    Code:
    4.4.3-1-default #1 SMP PREEMPT Fri Feb 26 09:54:10 UTC 2016 (171b8f1) x86_64 x86_64 x86_64 GNU/Linux
    I set my boot options on yast to boot with that kernel and it works. I also did what the wiki says (not sure if I did it correctly).
    https://en.opensuse.org/SDB:Keep_mul...ernel_versions

    My idea was to install Leap's kernel (I guess it's 4.1) and make it upgrade only that kernel.
    Is that possible? How can I do that?

  2. #2
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,580

    Default Re: How can I downgrade my kernel to 4.1 (Leap's) and lock it?

    Bad idea mixing OS version.

    So first were you using a proprietary driver? if so you have to reinstall it.

  3. #3
    Join Date
    May 2010
    Location
    Thessaloniki
    Posts
    454

    Default Απ: How can I downgrade my kernel to 4.1 (Leap's) and lock it?

    I used open driver. Did't install anything extra.

    Mixing kernels you mean. I don't mean save kernel from leap and install it on tumbleweed somehow. I want to install previous kernel from tumbleweed repositories.

  4. #4
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,173
    Blog Entries
    3

    Default Re: Απ: How can I downgrade my kernel to 4.1 (Leap's) and lock it?

    Quote Originally Posted by diamond_gr View Post
    I want to install previous kernel from tumbleweed repositories.
    It has probably gone, long ago. That's the way that a rolling distribution works.
    openSUSE Leap 15.1; KDE Plasma 5;

  5. #5

    Default Re: How can I downgrade my kernel to 4.1 (Leap's) and lock it?

    You can use this repo to get Leap's kernel though:
    http://download.opensuse.org/reposit...42.1/standard/

    Give it a higher priority (i.e. lower priority number) than the standard repos, and zypper should only install the kernel from there I think.

    If not, you could lock (i.e. prevent installation of) kernel-default from repo-oss like this:
    Code:
    zypper al -r repo-oss kernel-default
    (you need to adapt the repo name accordingly of course)

    Note that I haven't tried this...

    Another "solution" to your actual problem might be to install fglrx. But that might have other problems, especially with the constant kernel and Xorg upgrades in Tumbleweed...
    Last edited by wolfi323; 30-Apr-2016 at 07:21.

  6. #6
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,173
    Blog Entries
    3

    Default Re: How can I downgrade my kernel to 4.1 (Leap's) and lock it?

    Quote Originally Posted by wolfi323 View Post
    Give it a higher priority (i.e. lower priority number) than the standard repos, and zypper should only install the kernel from there I think.
    I'm not so sure about that. I have the update-test repo configured (for 42.1), with priority 101. So nothing should ever be installed from there if the priorities worked. But "zypper up" wants to install the latest kernel from there anyway. It's looking as if kernels are special, probably related to the multi-version setup.

    So I disable that repo before actually doing a "zypper up". Then I re-enable it when I want to again peek at what is being tested.
    openSUSE Leap 15.1; KDE Plasma 5;

  7. #7

    Default Re: How can I downgrade my kernel to 4.1 (Leap's) and lock it?

    Quote Originally Posted by nrickert View Post
    I'm not so sure about that. I have the update-test repo configured (for 42.1), with priority 101. So nothing should ever be installed from there if the priorities worked. But "zypper up" wants to install the latest kernel from there anyway. It's looking as if kernels are special, probably related to the multi-version setup.
    Yes.
    But the Kernel:xxx repos have a different vendor, unlike the update-test repo.

    So if you uninstall the kernel packages from the standard repos, "zypper up" should not want to update the installed package with the one from the standard repo with a different vendor. (I think, but I'm not sure because of the kernel multi-version thing, that's why I mentioned the lock as well)

    Also, another difference here is that the update-test repo contains explicit "patches", while in the main Tumbleweed repo the packages are just updated in place. This might also cause different behaviour.

  8. #8
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,173
    Blog Entries
    3

    Default Re: How can I downgrade my kernel to 4.1 (Leap's) and lock it?

    Quote Originally Posted by wolfi323 View Post
    Also, another difference here is that the update-test repo contains explicit "patches", while in the main Tumbleweed repo the packages are just updated in place. This might also cause different behaviour.
    Everything in the update-test repo has patches. But only kernels ignore the repo priority (when using "zypper up"). However, it does look as if "zypper patch" will install all patches regardless of repo priorities.

    In any case, changing the "enable" flag is a sure way of preventing unwanted updates from a repo.
    openSUSE Leap 15.1; KDE Plasma 5;

  9. #9

    Default Re: How can I downgrade my kernel to 4.1 (Leap's) and lock it?

    Quote Originally Posted by nrickert View Post
    Everything in the update-test repo has patches. But only kernels ignore the repo priority (when using "zypper up").

    Right. Probably related to multi-versions.

    But the situation might be different if the higher version is from a different vendor (again, the update-test repo has the same vendor as the standard repos, but Kernel:xxx has a different vendor).
    I'm not sure though.

    However, it does look as if "zypper patch" will install all patches regardless of repo priorities.
    Yes, that's what I expected.

    In any case, changing the "enable" flag is a sure way of preventing unwanted updates from a repo.
    Ok, but the OP wants to prevent the kernel from the main repo getting installed. Not really a good idea to disable that repo...

  10. #10
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,173
    Blog Entries
    3

    Default Re: How can I downgrade my kernel to 4.1 (Leap's) and lock it?

    Quote Originally Posted by wolfi323 View Post
    Ok, but the OP wants to prevent the kernel from the main repo getting installed. Not really a good idea to disable that repo...
    In the multi-version settings, set it to keep the oldest kernel. That way the desired one won't be accidentally deleted.

    When the desired kernel is updated, then manually delete that, so that it's update becomes the preserved oldest one.

    I followed that practice with the old Tumbleweed (based on 12.3 and 13.1). It allowed me to be sure that I always kept a kernel from the base system (the 12.3 or 13.1).
    openSUSE Leap 15.1; KDE Plasma 5;

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •