freebsd / pkg

Package management tool for FreeBSD. Help at #pkg on Libera Chat or pkg@FreeBSD.org
Other
746 stars 279 forks source link

fix pkg create -f description in the manpages #2019

Open l2fl2f opened 2 years ago

l2fl2f commented 2 years ago

when using pkg create -f txz PACKAGE_NAME the resulting package has a pkg extension not a txz one, using pkg-1.17.5 on 12.2-p12, 12.3-p0 and 13.0-p6

bapt commented 2 years ago

it is expected the extension is always .pkg, for the compression format is tar.xz

l2fl2f commented 2 years ago

Dear, So please correct the man page and the usage or remove the -f --format argument.

Regards, Yves Guerin

Le vendredi 28 janvier 2022, 14:05:33 UTC−5, Baptiste Daroussin ***@***.***> a écrit :  

it is expected the extension is always .pkg, for the compression format is tar.xz

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.***>

bapt commented 2 years ago

you are right

l2fl2f commented 2 years ago

I misunderstood or I took the format argument as the final extension of the package_name. the format argument is correct just, may be, add on the manpage that the extension of the package will be ".pkg".

Sorry

l2fl2f commented 2 years ago

Dear Sir, I am pretty wrong, you are right, I finally understand what format is, I misunderstood or I took the format as the extension name and I was wrong on this point., sorry, before, when iI did "pkg create -f txz PACKAGE_NAME" I got a PACKAGE_NAME.txz ready to be process by "pkg add PACKAGE_NAME.txz" that was my error. So now I modified my script to rename the newly package_name.pkg to txz. Sorry for the noise ( I took you as my Rubber_Duck, next time I will find somebody else) Regards and thank you for your patience

Yves Guerin

Le vendredi 28 janvier 2022, 23:31:09 UTC−5, Baptiste Daroussin ***@***.***> a écrit :  

Reopened #2019.

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.***>