You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your script is still listed in gentoo documentation for quickpkg.
For older portage (those with default PKGDIR is /var/portage/package) it is working well.
But in newer portage (where default PKGDIR is /var/cache/binpkgs) it seems that file /var/cache/binpkgs/Packages need to be created (or our temporary PKGDIR/Packages), so I had to add two lines in the end before last line:
rm *.xpak *.tbz2
PKGDIR=${WORKDIR} emaint --fix binhost
PKGDIR=${WORKDIR} emerge -K "=${CATEGORY}/${PF}" # last line as it was before, stays the same
rm line avoid errors shown in emerge command like '...xpak is not valid package'.
emaint --fix binhost' generates needed Packages text file.
Both lines are correct and harmless for older portage too. So can you update your script with this or better solution?
The text was updated successfully, but these errors were encountered:
Your script is still listed in gentoo documentation for quickpkg.
For older portage (those with default PKGDIR is /var/portage/package) it is working well.
But in newer portage (where default PKGDIR is /var/cache/binpkgs) it seems that file /var/cache/binpkgs/Packages need to be created (or our temporary PKGDIR/Packages), so I had to add two lines in the end before last line:
rm
line avoid errors shown in emerge command like '...xpak is not valid package'.emaint --fix binhost'
generates needed Packages text file.Both lines are correct and harmless for older portage too. So can you update your script with this or better solution?
The text was updated successfully, but these errors were encountered: