Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Aug 2021 03:45:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   [Bug 257807] "pkg repo" command broken in 1.17.X
Message-ID:  <bug-257807-32340-7YRSTBVBxe@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-257807-32340@https.bugs.freebsd.org/bugzilla/>
References:  <bug-257807-32340@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257807

--- Comment #2 from pascal.guitierrez@gmail.com ---
(In reply to Shawn Webb from comment #1)

actually perhaps this is not a bug, since the default pkg extension has been
changed from .txz to .pkg?

from the commit message:

- only consider the .pkg when creating a repository
  add an option REPO_ACCEPT_LEGACY_PKG to keep index old pkg

renaming the packages to *.pkg makes it work as expected:

pkg repo /tmp/test=20
Creating repository in /tmp/test: 100%
Packing files for repository: 100%

ls /tmp/test | paste -
curl-7.77.0.pkg
meta.conf
meta.pkg
meta.txz
packagesite.pkg
packagesite.txz


and also when:
env REPO_ACCEPT_LEGACY_PKG=3Dtrue pkg repo /tmp/test
Creating repository in /tmp/test: 100%
Packing files for repository: 100%

works on previous .txz files

so i'd say this is a non-issue?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257807-32340-7YRSTBVBxe>