Some devs are very quick to drop packages. Sometimes they even drop the only stable package.sys-kernel/gentoo-sources: Remove old, unsupported versions.
Mike Pagano, Sat, 20 Aug 2016 13:02, commit 6a950de9
gentoo-sources-4.4.6.ebuild, gentoo-sources-4.6.3.ebuild, gentoo-sources-4.6.4.ebuild, gentoo-sources-4.6.5.ebuild, gentoo-sources-4.6.6-r1.ebuild, gentoo-sources-4.6.6.ebuild, gentoo-sources-4.6.7.ebuild
++ Thanks also, I'll put off syncing for a couple of days. It's a PITA when this happens.Tony0945 wrote:According to this page: https://packages.gentoo.org/packages/sy ... oo-sources
Some devs are very quick to drop packages. Sometimes they even drop the only stable package.sys-kernel/gentoo-sources: Remove old, unsupported versions.
Mike Pagano, Sat, 20 Aug 2016 13:02, commit 6a950de9
gentoo-sources-4.4.6.ebuild, gentoo-sources-4.6.3.ebuild, gentoo-sources-4.6.4.ebuild, gentoo-sources-4.6.5.ebuild, gentoo-sources-4.6.6-r1.ebuild, gentoo-sources-4.6.6.ebuild, gentoo-sources-4.6.7.ebuild
Thanks for the heads-up. I'll move 4.4.6 to local overlay before syncing.
That's not how it works.genstorm wrote:I don't quite see why it matters. Add the version you want to keep to the world file so depclean won't remove it, work done. You don't need your kernel in tree to use it.
--depclean does not remove kernel binaries you compiled, only the sources. And other packages that need kernel sources around for build do just need these sources pointed at by your linux symlink and can use them as long as you do not --depclean them.dantrell wrote:If the related packages were already installed, they don't need to be in the tree to be used, however, at that point you will not be able to reinstall those packages and depclean (on the default settings) will delete any related binaries.
What's /boot got to do with it? Nothing.ian.au wrote:And because some old installs with 32mb /boot sectors can only hold 2 kernels?
I meant the binary packages in PKGDIR if you have FEATURES="buildpkg" enabled.genstorm wrote:--depclean does not remove kernel binaries you compiled, only the sources. And other packages that need kernel sources around for build do just need these sources pointed at by your linux symlink and can use them as long as you do not --depclean them.
Availability of ebuild has nothing to do with it:dantrell wrote:I meant the binary packages in PKGDIR if you have FEATURES="buildpkg" enabled.
By default, depclean will only protect distfiles and binary packages that have a corresponding ebuild available.
Code: Select all
# equery l -iop gentoo-sources
* Searching for gentoo-sources ...
[I--] [??] sys-kernel/gentoo-sources-4.6.7:4.6.7
[IP-] [ ~] sys-kernel/gentoo-sources-4.7.2:4.7.2Code: Select all
# emerge --noreplace =gentoo-sources-4.6.7
Calculating dependencies... done!
>>> Recording sys-kernel/gentoo-sources:4.6.7 in "world" favorites file...
>>> Auto-cleaning packages...
>>> No outdated packages were found on your system.Code: Select all
# emerge -cp gentoo-sources
Calculating dependencies... done!
>>> Calculating removal order...
>>> These are the packages that would be unmerged:
sys-kernel/gentoo-sources
selected: 4.7.2
protected: none
omitted: 4.6.7
All selected packages: =sys-kernel/gentoo-sources-4.7.2
>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.I was thinking of eclean the whole time. I'd strikethrough the text but apparently that bbcode isn't available.genstorm wrote:Distfiles/Binary packages are cleaned by eclean, not --depclean? And last time I checked, they are kept for installed packages even if they are unavailable.
Because for me, managing those systems it determines my procedure for adding / removing sources from world - which I usually do remotely --depcleaning the old after a successful build of the new.genstorm wrote:What's /boot got to do with it? Nothing.ian.au wrote:And because some old installs with 32mb /boot sectors can only hold 2 kernels?
Not for nitpicking, but just for completeness if others are following the discussion:dantrell wrote:I was thinking of eclean the whole time. I'd strikethrough the text but apparently that bbcode isn't available.genstorm wrote:Distfiles/Binary packages are cleaned by eclean, not --depclean? And last time I checked, they are kept for installed packages even if they are unavailable.
Code: Select all
# eclean -d distfiles
* Building file list for distfiles cleaning...
The following unavailable installed packages were found
sys-kernel/gentoo-sources-4.6.7Code: Select all
# ls -1 /var/lib/portage/distfiles/gen*-4.6*
/var/lib/portage/distfiles/genpatches-4.6-9.base.tar.xz
/var/lib/portage/distfiles/genpatches-4.6-9.extras.tar.xz
/var/lib/portage/distfiles/gentoo-headers-4.6-1.tar.xz
/var/lib/portage/distfiles/gentoo-headers-base-4.6.tar.xzApparently it is hard to stabilise anything at this point. But what does a stable kernel mean, anyway, for your Gentoo system? It is not like any other package in tree, it is impossible for arch teams to test even a tiny part of all hardware that is supported, so whatever gets stabilised just didn't have too many bugs reported in bugzilla. And when that happens, it is actually already obsolete by at least several upstream releases that are much more recommended for use. Two years of stable kernels didn't work for my particular corner case, I wouldn't have dared trying to argue to block stabilisation because of that.ian.au wrote:Is it really so hard to stabilize a newer kernel before retiring the current one?
According to https://packages.gentoo.org/packages/sy ... oo-sources, the latest gentoo stable is now 4.1.15-r1, not 4.6.7 which is not available. You are perhaps talking about vanilla-sources. (EDIT: I see there was a link, my screen has poor contrast. However, the ebuild is not the problem, the distfile and patches are the problem.)dantrell wrote:P.S. For the record, the latest stable 4.6 release is 4.6.7 so if you require this line, use that version. You can find that ebuild here.
Edit: s/depclean/eclean/
You are completely in control of that, if you read my posts.Tony0945 wrote:It does matter to keep the sources around if you need to change a configuration option or emerge a later version of an out of kernel driver like r8168.
Well I wasn't suggesting blocking stabilisation, quite the contrary, but I take your point.genstorm wrote:Apparently it is hard to stabilise anything at this point. But what does a stable kernel mean, anyway, for your Gentoo system? It is not like any other package in tree, it is impossible for arch teams to test even a tiny part of all hardware that is supported, so whatever gets stabilised just didn't have too many bugs reported in bugzilla. And when that happens, it is actually already obsolete by at least several upstream releases that are much more recommended for use. Two years of stable kernels didn't work for my particular corner case, I wouldn't have dared trying to argue to block stabilisation because of that.ian.au wrote:Is it really so hard to stabilize a newer kernel before retiring the current one?
You are nitpicking but that's fine.genstorm wrote:Not for nitpicking, but just for completeness if others are following the discussion:
Code: Select all
# eclean -d distfiles * Building file list for distfiles cleaning... The following unavailable installed packages were found sys-kernel/gentoo-sources-4.6.7So there's no reason to be afraid of losing distfiles either. I'm on the same side, btw, because it turns out 4.7.2 is just one of those kernels that introduce a surprise kernel panic on my aging system. So i can't use it right now.Code: Select all
# ls -1 /var/lib/portage/distfiles/gen*-4.6* /var/lib/portage/distfiles/genpatches-4.6-9.base.tar.xz /var/lib/portage/distfiles/genpatches-4.6-9.extras.tar.xz /var/lib/portage/distfiles/gentoo-headers-4.6-1.tar.xz /var/lib/portage/distfiles/gentoo-headers-base-4.6.tar.xz
Others have been mentioning stabilization and they have a point. However, that's a more widespread issue with deeper roots and less of a priority than actually having the ebuilds available in the first place.genstorm wrote:Apparently it is hard to stabilise anything at this point. But what does a stable kernel mean, anyway, for your Gentoo system? It is not like any other package in tree, it is impossible for arch teams to test even a tiny part of all hardware that is supported, so whatever gets stabilised just didn't have too many bugs reported in bugzilla. And when that happens, it is actually already obsolete by at least several upstream releases that are much more recommended for use. Two years of stable kernels didn't work for my particular corner case, I wouldn't have dared trying to argue to block stabilisation because of that.ian.au wrote:Is it really so hard to stabilize a newer kernel before retiring the current one?
For me, the removal of the ebuild is the issue.Tony0945 wrote:According to https://packages.gentoo.org/packages/sy ... oo-sources, the latest gentoo stable is now 4.1.15-r1, not 4.6.7 which is not available. You are perhaps talking about vanilla-sources. (EDIT: I see there was a link, my screen has poor contrast. However, the ebuild is not the problem, the distfile and patches are the problem.)dantrell wrote:P.S. For the record, the latest stable 4.6 release is 4.6.7 so if you require this line, use that version. You can find that ebuild here.
Edit: s/depclean/eclean/
I'm sure this had more to do with the activity on Gentoo bug #591758 than patience.Bigun wrote:Or be patient... that's another option.Caleb9 wrote:4.4.6 is back as stable
...but why would you make binary packages out of kernel *sources*?dantrell wrote:I wasn't talking about eclean distfiles because the results are not always immediately obvious since there is often multiple corresponding ebuilds for a particular distfile. In this case, it's:So naturally, the related distfiles wouldn't be removed just yet. However, with eclean packages the binary packages (i.e. PKGDIR) would immediately be removed because it corresponds directly to the removed ebuild.
- aufs-sources-4.6.x
- hardened-sources-4.6.x
Consistency. Ease of deployment. Other reasons which don't apply to me but might to someone else.genstorm wrote:...but why would you make binary packages out of kernel *sources*?dantrell wrote:I wasn't talking about eclean distfiles because the results are not always immediately obvious since there is often multiple corresponding ebuilds for a particular distfile. In this case, it's:So naturally, the related distfiles wouldn't be removed just yet. However, with eclean packages the binary packages (i.e. PKGDIR) would immediately be removed because it corresponds directly to the removed ebuild.
- aufs-sources-4.6.x
- hardened-sources-4.6.x