Summary: | app-admin/python-updater-0.8: Improve error message for missing PVR | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | Bernd.Feige, boltomli, dewhite, gothiger, kripton, orzel, tetromino, zioalex |
Priority: | High | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
python-updater.patch
Patch for /sbin/python-updater listing all missing PVR variables |
Description
Juergen Rose
2010-01-31 22:27:11 UTC
Created attachment 218197 [details, diff]
python-updater.patch
Your VDB seems to contain broken entries.
You can apply this patch to check which environment.bz2 files are broken. Please reinstall appropriate packages.
(In reply to comment #1) > Created an attachment (id=218197) [details] > python-updater.patch > > Your VDB seems to contain broken entries. > You can apply this patch to check which environment.bz2 files are broken. > Please reinstall appropriate packages. Thank you! I see the same problem, here I get the response PVR missing in /var/db/pkg/app-admin/eselect-cblas-0.1/environment.bz2 (In reply to comment #2) > (In reply to comment #1) > > Created an attachment (id=218197) [details] [details] > > python-updater.patch > > > > Your VDB seems to contain broken entries. > > You can apply this patch to check which environment.bz2 files are broken. > > Please reinstall appropriate packages. > > Thank you! I see the same problem, here I get the response > PVR missing in /var/db/pkg/app-admin/eselect-cblas-0.1/environment.bz2 ... Wanted to add: Fixed after emerge -1 eselect-cblas ...! > Created attachment 220149 [details]
Patch for /sbin/python-updater listing all missing PVR variables
> > Thank you! I see the same problem, here I get the response
> > PVR missing in /var/db/pkg/app-admin/eselect-cblas-0.1/environment.bz2
Oh well, I was a bit too quick. Further packages I had to re-emerge were =dev-libs/glib-1.2.10-r5 media-fonts/font-schumacher-misc net-misc/x11-ssh-askpass virtual/blas virtual/cblas virtual/lapack x11-misc/imake
I attached another patch to python-updater that, instead of dying after the first missing PVR, continues to collect a list of environment files with missing PVRs and outputs it when all packages were processed, so that a single emerge command should suffice to fix all PVRs.
Having the same problem(s), and it sounds like I just need to apply this patch and then re-emerge any packages which are identified as "PVR Missing" after running python-updater again? I'm unsure how to use the attached .patch file though - can anyone give me a 2 sentence primer, or point to a reference on how to proceed? RACK ~ # python-updater -v * Starting Python Updater... * Main active version of Python: 2.6 * Active version of Python 2: 2.6 * Active version of Python 3: 3.1 * check "shared_linking" enabled. * check "static_linking" enabled. * check "pylibdir" enabled. * check "manual" enabled. * check "need_rebuild" enabled. * Adding to list: dev-python/pylibacl:0 * check: PYTHON_ABIS [ Previous Python ABIs: 2.6, new Python ABIs: 2.6 3.1 ] * Adding to list: dev-python/setuptools:0 * check: PYTHON_ABIS [ Previous Python ABIs: 2.6, new Python ABIs: 2.6 3.1 ] * PVR missing THANKS! (In reply to comment #6) Hi Dan, > Having the same problem(s), and it sounds like I just need to apply this patch > and then re-emerge any packages which are identified as "PVR Missing" after > running python-updater again? > > I'm unsure how to use the attached .patch file though - can anyone give me a 2 > sentence primer, or point to a reference on how to proceed? Say you saved the patch to /tmp/python-updater.patch. You'd do: cd /usr/sbin patch </tmp/python-updater.patch Best regards, Bernd (In reply to comment #7) > (In reply to comment #6) > Hi Dan, > > Having the same problem(s), and it sounds like I just need to apply this patch > > and then re-emerge any packages which are identified as "PVR Missing" after > > running python-updater again? > > > > I'm unsure how to use the attached .patch file though - can anyone give me a 2 > > sentence primer, or point to a reference on how to proceed? > Say you saved the patch to /tmp/python-updater.patch. You'd do: > cd /usr/sbin > patch </tmp/python-updater.patch > Best regards, > Bernd That worked perfectly, and python-updater was able to identify one package (livecd-kernel) which I unmerged. That allowed python-updater to complete on it's next run without issues. Thanks for taking the time to write the patch, and instruct me on it's use! Why this patch isn't applied after many month now ? I've got the same error witch stop python-updater. hit by this bug today, using app-admin/python-updater-0.8.... will this patch be applied ? +1 for this very useful patch, it bailed me out today. I would also like to see new release with this patch applied (In reply to comment #4) > Created an attachment (id=220149) [details] > Patch for /sbin/python-updater listing all missing PVR variables > +1 Thanks for the patch. I found that my problem is : * Error: PVR missing in /var/db/pkg/sys-kernel/livecd-kernel-1/environment.bz2. Please re-emerge the corresponding packages. According to the advise from internet, I unmerge livecd-kernel. Everything is OK. +1 to pvr patch I'm against overcomplicated handling of error messages. I have committed a different fix in r435. Fixed in app-admin/python-updater-0.9. |