How to downgrade a package?

Anything that pertains to Entropy, Equo or Sulfur

Moderator: Moderators

svantoviit
Old Dear Hen
Posts: 728
Joined: Sun Feb 28, 2010 17:55
Contact:

Re: How to downgrade a package?

Post by svantoviit » Wed May 29, 2013 11:22

You can always try your luck with portage.

Code: Select all

emerge -a =linux-sabayon-3.8.8
should do the job.

Before issuing any commands, check the Portage part of the Wiki!
Mereel wrote: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.
If you are not able to solve it, you should file a bug IMHO.

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

Re: How to downgrade a package?

Post by Mereel » Thu May 30, 2013 7:55

emerge can't find 3.8.8 either. Actually portage seems to only see the already installed versions of linux-sabayon. Which makes sense I guess since this package isn't distributed via portage and entropy and portage only share the data to keep track of installed packages.

Code: Select all

 >equery list -op linux-sabayon
 * Searching for linux-sabayon ...
[I--] [??] sys-kernel/linux-sabayon-3.2-r13:3.2
[I--] [??] sys-kernel/linux-sabayon-3.3-r4:3.3
[I--] [??] sys-kernel/linux-sabayon-3.4-r6:3.4
[I--] [??] sys-kernel/linux-sabayon-3.5-r7:3.5
[I--] [??] sys-kernel/linux-sabayon-3.7.10:3.7
[I--] [??] sys-kernel/linux-sabayon-3.8.10:3.8
[I--] [??] sys-kernel/linux-sabayon-3.9.2:3.9
I also tried using emerge to install gentoo-sources-3.8.9 for which I had to use genkernel to build the actual kernel. Interestingly this didn't boot either. So I believe the problem is not the kernel itself, but some update in the genkernel configuration that's used to build it (and it's initrd).

What I did find out however was how to tell equo which version of a package to install. No need to specify any operator (<=>) like in portage, it's possible to just append the version to the package name:

Code: Select all

equo install -a linux-sabayon-3.8.10
(I guess sometimes stuff is so simple no one remembers to document it. Maybe someone could add a small comment in the manpage or the wiki.)
But the oldest 3.8 kernel in entropy is 3.8.10 which is not working too. So with knowing how to install a specific version, knowing that the version which worked is no longer available and that the oldest version available does not work either, I'll have to face the actual kernel-issue. But not in this thread.

Thanks to all who tried to help me.

svantoviit
Old Dear Hen
Posts: 728
Joined: Sun Feb 28, 2010 17:55
Contact:

Re: How to downgrade a package?

Post by svantoviit » Thu May 30, 2013 8:31

Have you synced and added the sabayon and sabayon-distro overlays?

Code: Select all

$ layman -l
 * sabayon                   [Git       ] (git://github.com/Sabayon/for-gent...)
 * sabayon-distro            [Git       ] (git://github.com/Sabayon/sabayon-...)

Code: Select all

$ equery list -po linux-sabayon
 * Searching for linux-sabayon ...
[--O] [  ] sys-kernel/linux-sabayon-3.8:3.8
[--O] [  ] sys-kernel/linux-sabayon-3.8.2:3.8
[--O] [  ] sys-kernel/linux-sabayon-3.8.3:3.8
[--O] [  ] sys-kernel/linux-sabayon-3.8.4:3.8
[--O] [  ] sys-kernel/linux-sabayon-3.8.5:3.8
[--O] [  ] sys-kernel/linux-sabayon-3.8.8:3.8
[--O] [  ] sys-kernel/linux-sabayon-3.8.10:3.8
[I-O] [  ] sys-kernel/linux-sabayon-3.8.13:3.8
Downgrading works here:

Code: Select all

# emerge -a =linux-sabayon-3.8.8

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] dev-libs/klibc-2.0.2  USE="-debug {-test}" 
[ebuild  N     ] sys-apps/v86d-0.1.10  USE="(x86emu) -debug" 
[ebuild     UD ] sys-kernel/linux-sabayon-3.8.8 [3.8.13] USE="-dracut* -iscsi* -luks* -lvm* -mdadm* -plymouth* -zfs*" 

Would you like to merge these packages? [Yes/No]

ElDuderino
Growing Hen
Posts: 127
Joined: Fri Jul 20, 2012 23:15

Re: How to downgrade a package?

Post by ElDuderino » Mon Jun 03, 2013 3:05

Are you using sabayonlinux.org or sabayon-weekly? If the first, try changing to weekly, it is one week older. Then there is the community frozen repo, look for it in this forum, its a sticky. This last one of course has the kernel which was released with S11, so it's older than what you had.

Post Reply