First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 226419
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Quality Assistance Team <qa@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Santiago M. Mola <coldwind@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 226419 depends on: Show dependency tree
Bug 226419 blocks: 226505
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-06-13 20:26 0000
"Sample pkg_postinst" and "Common pkg_postinst Tasks" suggest using has_version
in pkg_postinst in order to detect upgraded. This does not work anymore with
>=portage-2.1.5 since it runs pkg_postinst after the old version have been
removed.

------- Comment #1 From Juan Aguado 2008-12-19 20:40:58 0000 -------
This doesn't seem that hard to fix, and is a blocker for portage-2.1.6.1. Do
somebody need any help with this?

------- Comment #2 From Mark Loeser 2008-12-22 22:48:58 0000 -------
Juan,

A patch will make this happen a lot quicker. 
http://devmanual.gentoo.org/appendices/contributing/

------- Comment #3 From Mark Loeser 2009-01-01 20:59:48 0000 -------
Sending        trunk/ebuild-writing/functions/pkg_postinst/text.xml
Transmitting file data .
Committed revision 136.


Let me know if I misrepresented anything in the new version.

First Last Prev Next    No search results available      Search page      Enter new bug