Package blocking the cleanup not seen in the console !!!

Duchemin, Dominique 2,006 Reputation points
2022-02-24T03:31:18.823+00:00

Hello,

When doing the cleanup of the Distribution Point I am getting the following error:

Loading distributed packages from provider...

System.InvalidOperationException: This content library cannot be cleaned up right now because package UCP001FD is not fully installed.
at Microsoft.ConfigurationManager.ContentLibraryCleanup.CLContentLibrary.LoadDistributedPackagesFromProvider()
at Microsoft.ConfigurationManager.ContentLibraryCleanup.CLContentLibrary.LoadValidContentData()
at Microsoft.ConfigurationManager.ContentLibraryCleanup.Program.Main(String[] args)

but when checking on the console for the package I see it with no deployment, no content seen in the console... How to trace this issue?

No Deployment
177403-2022-02-23-19-11-26-ucp001fd-01.png
177367-2022-02-23-19-17-04-ucp0001fd-02.png

%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\PowerShell.exe -NonInteractive -WindowStyle Hidden -noprofile -ExecutionPolicy Bypass -file .\NetworkPrinterInventory.ps1

No Content
177337-2022-02-23-19-13-17-ucp001fd-content.png

How to handle this issue?

Thanks,
Dom

Microsoft Configuration Manager
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AllenLiu-MSFT 44,821 Reputation points Microsoft Vendor
    2022-02-25T06:45:50.437+00:00

    Hi, @Duchemin, Dominique

    Thank you for posting in Microsoft Q&A forum.

    It seems you did not distribute the problematic package to distribution point or you have delete it from DP, you may need to redistribute the problematic package to distribution point.
    Then re-run the content lib cleanup tool.

    For more reference:
    https://www.prajwaldesai.com/content-library-cleanup-error-this-content-library-cannot-be-cleaned-up-right-now/

    And it seems it's a known issue:
    https://learn.microsoft.com/en-us/mem/configmgr/core/plan-design/hierarchy/content-library-cleanup-tool#known-issue


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.