Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 201082 - sys-apps/portage-2.1.4_rc5 - CATEGORY not set in pkg_postinst (corrupts moduledb)
Summary: sys-apps/portage-2.1.4_rc5 - CATEGORY not set in pkg_postinst (corrupts modul...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS, REGRESSION
Depends on:
Blocks: 200044
  Show dependency tree
 
Reported: 2007-12-03 10:55 UTC by Vlastimil Babka (Caster) (RETIRED)
Modified: 2007-12-04 01:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
fix missing CATEGORY variable for postinst phase (postinst.patch,432 bytes, patch)
2007-12-03 19:24 UTC, Zac Medico
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2007-12-03 10:55:31 UTC
Works fine in 2.1.3.x.

As a results of this bug, moduledb gets corrupted like this (missing category):
a:1:/vmware-modules-1.0.0.15-r1
a:1:/fuse-2.7.1
a:1:/ati-drivers-8.433

Didn't check where else it's not set or what else is not set :)
Comment 1 Zac Medico gentoo-dev 2007-12-03 19:24:43 UTC
Created attachment 137643 [details, diff]
fix missing CATEGORY variable for postinst phase

If this patch is saved as /tmp/postinst.patch, then it can be applied as follows:

patch /usr/lib/portage/pym/portage.py < tmp/postinst.patch
Comment 2 Zac Medico gentoo-dev 2007-12-04 01:29:42 UTC
This has been released in 2.1.4_rc7.