Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 Nov 2019 05:08:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 241816] ports-mgmt/pkg: cannot bootstrap itself from an ssh:// repository (says "Invalid URL scheme")
Message-ID:  <bug-241816-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 241816
           Summary: ports-mgmt/pkg: cannot bootstrap itself from an ssh://
                    repository (says "Invalid URL scheme")
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: pkg@FreeBSD.org
          Reporter: vas@sibptus.ru
          Assignee: pkg@FreeBSD.org
             Flags: maintainer-feedback?(pkg@FreeBSD.org)

# 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.tx=
z:
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.t=
xz .
pkg.txz=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
                  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.

--=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-241816-7788>