NetBSD / pkgsrc

Automatic conversion of the NetBSD pkgsrc CVS module, use with care
https://www.pkgsrc.org
308 stars 164 forks source link

(pkg_add) Uninstall package files on error during POST-INSTALL #95

Closed MichalMaruska closed 3 years ago

MichalMaruska commented 3 years ago

Currently a failure at that stage will leave the files on filesystem, yet remove the record in the pkgdb, making it impossible to (re)install package with same files.

bartoszkosiorek commented 3 years ago

@alarixnia Could you please take a look at this fix?

alarixnia commented 3 years ago

Please post the diff to tech-pkg@NetBSD.org for review instead. The right set of people won't see it here.

MichalMaruska commented 3 years ago

done: http://mail-index.netbsd.org/tech-pkg/2021/10/20/msg025705.html