Filter on mirror

26 views
Skip to first unread message

David Leader

unread,
Aug 17, 2023, 10:53:58 AM8/17/23
to aptly-discuss
I am trying to create a mirror for 1 package that Ubuntu has in it's universe repo ,but is not showing up Inrelease file.  If I brows the repo I can see the files in pool but as the package is not in the Inrelease file I can't filter it.

I just get the following error

ERROR: unable to fetch mirror: component -filter=libplist-utils not available in repo [libp]: http://archive.ubuntu.com/ubuntu/ jammy, use -force-components to override

Frederic Van Espen

unread,
Aug 17, 2023, 10:56:16 AM8/17/23
to David Leader, aptly-discuss
Hello David,

It would be helpful if you could provide the commands you used to create the mirror.

--
You received this message because you are subscribed to the Google Groups "aptly-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aptly-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/aptly-discuss/c32f443e-2ae1-4e39-8374-1415d92a3f21n%40googlegroups.com.

David Leader

unread,
Aug 17, 2023, 11:18:32 AM8/17/23
to aptly-discuss
aptly -architectures="amd64" mirror create libp http://archive.ubuntu.com/ubuntu jammy universe -filter="libplist-utils"

also tried with -force-components

Frederic Van Espen

unread,
Aug 18, 2023, 3:39:13 AM8/18/23
to David Leader, aptly-discuss
You need to specify the filter option earlier in the command:

aptly mirror create -architectures="amd64" -filter="libplist-utils" libp http://archive.ubuntu.com/ubuntu jammy universe

With the command you're using it's considering "-filter="libplist-utils"" as a component.

Reply all
Reply to author
Forward
0 new messages