Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Matthias Schwarzott <zzam@g.o>
Subject: Re: Packages broken by phase ordering change
Date: Sun, 15 Jun 2008 12:32:44 +0200
On Freitag, 13. Juni 2008, Santiago M. Mola wrote:
> Hi all,
>
> As discussed in bug #222721, portage has changed the execution order
> of phases. It seems the change was introduced in portage-2.1.5 and it
> makes that, when upgrading a package, pkg_postinst is run after the
> old version has been removed. This breaks packages which use
> has_version in pkg_postinst to detect upgrades/downgrades. It can also
> break packages in more subtle ways.
>

So someone that has access permissions here: Please do fix the devmanual 
http://devmanual.gentoo.org/ebuild-writing/functions/pkg_postinst/index.html


It now states:

Common pkg_postinst Tasks
 The most common use for pkg_postinst is to display post-install informational 
messages or warnings. Note that has_version will operate on the version that 
was installed, which can be useful for selective upgrade messages.

Regards
Matthias
-- 
gentoo-dev@g.o mailing list


Replies:
Re: Packages broken by phase ordering change
-- Santiago M. Mola
References:
Packages broken by phase ordering change
-- Santiago M. Mola
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Packages broken by phase ordering change
Next by thread:
Re: Packages broken by phase ordering change
Previous by date:
Re: Re: A few questions to our nominees
Next by date:
Re: Packages broken by phase ordering change


Updated Jun 17, 2009

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.