Bug 241816 - ports-mgmt/pkg: cannot bootstrap itself from an ssh:// repository (says "Invalid URL scheme")
Summary: ports-mgmt/pkg: cannot bootstrap itself from an ssh:// repository (says "Inva...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Package Infrastructure (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-pkg mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-09 05:08 UTC by Victor Sudakov
Modified: 2019-11-09 05:09 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (pkg)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Sudakov 2019-11-09 05:08:47 UTC
# pkg update
The package management tool is not yet installed on your system.
Do you want to fetch and install it now? [y/N]: y
Bootstrapping pkg from ssh://svn.XXX.XXX.ru/poudriere/data/packages/FreeBSD:12:amd64, please wait...
pkg: Error fetching ssh://svn.XXX.XXX.ru/poudriere/data/packages/FreeBSD:12:amd64/Latest/pkg.txz: Invalid URL scheme
A pre-built version of pkg could not be found for your system.
Consider changing PACKAGESITE or installing it from ports: 'ports-mgmt/pkg'.
#

The package is of course there:

# scp svn.XXX.XXX.ru:/poudriere/data/packages/FreeBSD:12:amd64/Latest/pkg.txz .
pkg.txz                                                                                           100% 6653KB   8.3MB/s   00:00
#

Workaround: enable the default FreeBSD repo (or any other repo available via http://), let it fetch and install pkg, then reenable the ssh:// repo.