How to downgrade a package?

Anything that pertains to Entropy, Equo or Sulfur

Moderator: Moderators

Mereel
Baby Hen
Posts: 6
Joined: Sun May 26, 2013 14:01

How to downgrade a package?

Post by Mereel » Sun May 26, 2013 14:07

Hi

Since last upgrading the kernel from linux-sabayon-3.8.8 to linux-sabayon-3.8.13 my system refuses to boot. While this is a problem of it's own, I wanted to downgrade back to 3.8.8 until I find out what happened.

How can I tell equo which version of a package to install?

regards
Mereel

TDKyon
Young Hen
Posts: 25
Joined: Mon Apr 29, 2013 9:52

Re: How to downgrade a package?

Post by TDKyon » Sun May 26, 2013 15:34

viewtopic.php?f=86&t=29965

Code: Select all

eselect kernel list
example what you will see:

Code: Select all

  [1]   linux-3.8.0-sabayon *
  [2]   linux-3.9.0-sabayon 
to change the kernel with the wanted, simply type;

Code: Select all

eselect kernel set 2
where 2 stands for the kernel number 2, the symbol * points which kernel will be used once you restart your computer

Alternatively you can download the latest kernel (3.9.2) and use it flawlessly, but you must "eselect kernel set" it once you finish the download process.

Code: Select all

equo search sys-kernel/sabayon-sources
equo install sys-kernel/sabayon-sources-3.9.2

Mereel
Baby Hen
Posts: 6
Joined: Sun May 26, 2013 14:01

Re: How to downgrade a package?

Post by Mereel » Sun May 26, 2013 15:53

Hi

Thanks for your answer, but booting an older kernel that's still installed is not the problem. (I'm currently using an old 3.5 kernel.) The problem ist that when I upgraded my system the 3.7.4 got upgraded to 3.7.10, the 3.8.8 got upgraded to 3.8.13 and I installed 3.9.2. And none of these three kernels is booting.
Now I want the 3.8.8 back, but I just can't find an option to tell equo which version of a package to install.

(Finding out why 3.8.13 isn't working is a problem I will have to face another time. For now I would be perfectly happy to revert the linux-sabayon package to the version before the upgrade.)

TDKyon
Young Hen
Posts: 25
Joined: Mon Apr 29, 2013 9:52

Re: How to downgrade a package?

Post by TDKyon » Sun May 26, 2013 16:00

By package you mean kernel or something else - let's say downgrading apache version ? With eselect kernel set you can point which of the kernels you want to use. Since one of my computers is running Sabayon 11 I do NOT use

Code: Select all

equo upgrade
and after 3 or 4 days will be 1 month since I started to use Sabayon with that computer - flawlessly.

Mereel
Baby Hen
Posts: 6
Joined: Sun May 26, 2013 14:01

Re: How to downgrade a package?

Post by Mereel » Sun May 26, 2013 16:08

It doesn't matter if it's kernel or something else. The problem is equo upgraded the kernel to a version that doesn't work. It was just a minor upgrade so it replaced the old version and I don't know how to get it back. Switching between different major versions is not the problem.

Code: Select all

eselect kernel list
Available kernel symlink targets:
  [1]   linux-3.2.0-sabayon
  [2]   linux-3.3.0-sabayon
  [3]   linux-3.4.0-sabayon
  [4]   linux-3.5.0-sabayon
  [5]   linux-3.7.0-sabayon
  [6]   linux-3.8.0-sabayon
  [7]   linux-3.9.0-sabayon *
But 3.8.0 is not really 3.8.0, it's the latest 3.8-version and in my case 3.8.13. And I want 3.8.8 back. Telling my system which kernel to boot is not the problem (I've handwritten my grub-conf anyways), getting equo to not install the latest version is the problem.

TDKyon
Young Hen
Posts: 25
Joined: Mon Apr 29, 2013 9:52

Re: How to downgrade a package?

Post by TDKyon » Sun May 26, 2013 16:12

It doesn't matter if it's kernel or something else.
And my help ends here

Mereel
Baby Hen
Posts: 6
Joined: Sun May 26, 2013 14:01

Re: How to downgrade a package?

Post by Mereel » Sun May 26, 2013 16:15

Thanks for trying. At least I'm not the only one who didn't find this. Anyone else?

User avatar
albfneto
Sagely Hen
Posts: 1880
Joined: Fri Nov 16, 2007 1:15
Location: Ribeirão Preto City, São Paulo State, Brazil
Contact:

Re: How to downgrade a package?

Post by albfneto » Mon May 27, 2013 23:23

the errors booting on kernel 3.8.13? may be the video board error.

i have in mind that the 3.8.8 version is no more in the Entropy Repos, you may try the 3.7.10:

Code: Select all

# equo i linux-sabayon-3.7.10
$ eselect kernel list (see the number-NUM of the 3.7 kernel)
# eselect kernel set NUM
# equo i drivers (ex. your NVIDIA or ATI, or INTEL etc... driver)
# eselect opengl set nvidia (ou ati etc...)
or try direcly the newer kernel, 3.9:

Code: Select all

# equo up
# equo u
$ equo s linux-sabayon (see the newest kernel)
# kernel-switcher switch name of the latest kernel
ALBERTO FEDERMAN NETO
albfneto
[email protected]
Favorite Distros: Sabayon, Gentoo, Mageia and OpenSUSE

Stupot
Sagely Hen
Posts: 1680
Joined: Wed Feb 14, 2007 3:44
Location: St. Louis, MO, USA

Re: How to downgrade a package?

Post by Stupot » Tue May 28, 2013 14:59

Unfortunately, that kernel just isn't kept in the repo once it's been replaced by a newer version. So you can't install it via entropy. Pretty much every binary package manager works like this. Maintaining every revision of every package just isn't practical, not to mention the dependency hell that would quickly arise.

Mereel
Baby Hen
Posts: 6
Joined: Sun May 26, 2013 14:01

Re: How to downgrade a package?

Post by Mereel » Wed May 29, 2013 6:30

The errors with the 3.8.13 are most likely related to the bios-raid I use as root disk. He only initializes my data-raid-array and later complains about not finding the root disk.

Trying other major kernel versions (especially the newer 3.9.x) in their latest revision was the next thing I tried, but 3.7.10 and 3.9.2 have the same problem. The next-newest kernel I have installed is 3.5-r7, which I'm currently using.

It's unfortunate that the 3.8.8-version is no longer available, looks like I have to actually to face the kernel problem itself. But if it were available, would there be a way to revert to it?

Post Reply