[Bug 207966] ports-mgmt/pkg: pkg(8) is not checking/returning +PRE_INSTALL/+POST_INSTALL error

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Apr 8 06:35:59 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207966

Baptiste Daroussin <bapt at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |In Progress

--- Comment #2 from Baptiste Daroussin <bapt at FreeBSD.org> ---
Oups sorry I missed that one.

Yes it is known, it is a choice since day one because too many scripts where
failing. The level of failures here has reduced a lot so it maybe time to
revisit it.

Second pkg installation is not supporting a "rollback" if package fails in post
installation then you are left the new binaries but the package is not
registered as such.

The plan is the following:
- improve the transactional nature of pkg installation process (working on it
right now)
- apply a patch like yours to make sure things fails.

For the first point I just need 2 days of free time, so that should now happen
soon!

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-pkg mailing list