Project

General

Profile

Bug #635

Problem Updating Using pkgng

Added by Daniel Curtis about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Package Management
Target version:
Start date:
07/19/2015
Due date:
% Done:

100%

Estimated time:
0.50 h
Spent time:

Description

I encounter a problem with a newly created jail and pkg not being able to update. When I ran the following command:
pkg update -f
  • I received the following message:
    No active remote repositories configured.
    

The problem was that there wasn't a FreeBSD.conf pkg repo configuration. After creating a new repo config file, I was able to update again.

  • Create the pkg repo config file:
    vi /usr/local/etc/pkg/repos/FreeBSD.conf
    
    • And add the following:
      FreeBSD: {
        url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest",
        mirror_type: "srv",
        signature_type: "fingerprints",
        fingerprints: "/usr/share/keys/pkg",
        enabled: yes
      }
      

Resources

History

#1 Updated by Daniel Curtis about 5 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

#2 Updated by Daniel Curtis about 5 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF