FS#69609 - [ghc-libs] post_upgrade message refers to directory that no longer exists.

Attached to Project: Community Packages
Opened by Lyle (f3ac9ab3503115de7ca9cdcca5267917) - Wednesday, 10 February 2021, 13:36 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 10 February 2021, 13:50 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When upgrading to ghc-libs 8.10.4-1, this message appears:

==> See /usr/lib/ghc-8.10.3/package.conf.d/ for a tentative list of affected packages.

This directory no longer exists, because it is part of the prior package version.

This diff should fix it:
~ $ diff ghc.install ghc.install.new
10c10
< echo "==> See /usr/lib/ghc-${2%-*}/package.conf.d/ for a tentative list of affected packages."
---
> echo "==> See /usr/lib/ghc-${1%-*}/package.conf.d/ for a tentative list of affected packages."
This task depends upon

Closed by  Doug Newgard (Scimmia)
Wednesday, 10 February 2021, 13:50 GMT
Reason for closing:  Not a bug
Comment by Doug Newgard (Scimmia) - Wednesday, 10 February 2021, 13:49 GMT
That's the point, if you have custom packages, they'll be in the old dir.

Loading...