Project

General

Profile

Bug #5948

Jail template needs updated pkgng

Added by Thomas Finstad Larsen about 7 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
No priority
Assignee:
John Hixson
Category:
Middleware
Target version:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

After createing a new Standard jail pkgng must be updated from ports to connect to repo.

Fresh jail

# pkg update
Updating repository catalogue
pkg: pkg+http://pkg.FreeBSD.org/freebsd:9:x86:64/latest/digests.txz: Invalid URL scheme
pkg: No digest falling back on legacy catalog format
pkg: pkg+http://pkg.FreeBSD.org/freebsd:9:x86:64/latest/repo.txz: Invalid URL scheme

Changed url scheme:

# pkg update
Updating repository catalogue
digests.txz                                                                                                                                                                                                                                   100% 1997KB   2.0MB/s   2.0MB/s   00:01    
packagesite.txz                                                                                                                                                                                                                               100% 5200KB   1.3MB/s   2.8MB/s   00:04    
pkg: package audio/pacpl is built for freebsd:9:* arch, and local arch is freebsd:9:x86:64
Incremental update completed, 0 packages processed:
0 packages updated, 0 removed and 23519 added.
pkg: No digest falling back on legacy catalog format
pkg: http://pkg.FreeBSD.org/freebsd:9:x86:64/latest/repo.txz: Not Found

Updated from ports with url scheme changed back:

# pkg update
Updating FreeBSD repository catalogue...
pkg: Repository FreeBSD contains no repodata table, need to re-create database
[www] Fetching meta.txz: 100%   964 B   1.0k/s    00:01    
[www] Fetching digests.txz: 100%    2 MB   1.0M/s    00:02    
[www] Fetching packagesite.txz: 100%    5 MB   1.8M/s    00:03    
Processing new repository entries: 100%
FreeBSD repository update completed. 23519 packages processed:
  0 updated, 0 removed and 23519 added.

Associated revisions

Revision eadff4f8 (diff)
Added by John Hixson about 7 years ago

Limit jails to a single type, but still allow templates - While here, fix the devfs security issue - Added new 9.3 templates, updated pkgn with them Ticket: #5058 Ticket: #5948 Ticket: #5419

History

#1 Updated by Jordan Hubbard about 7 years ago

  • Target version set to 9.3-M3

#2 Updated by Jordan Hubbard about 7 years ago

  • Target version changed from 9.3-M3 to 49

#3 Updated by John Hixson about 7 years ago

  • Status changed from Unscreened to Screened

#4 Updated by John Hixson about 7 years ago

  • Status changed from Screened to Resolved

New templates for 9.3 have been uploaded. They have been added to freenas as of eadff4f865ec643ea94d5fec227dc87b51e74b3f. They contain the updated pkgng. You'll have to wait for 9.3 or update pkgng in the jails yourself.

#5 Updated by Dru Lavigne about 7 years ago

  • Status changed from Resolved to Closed

Confirmed in M3.

#6 Avatar?id=14398&size=24x24 Updated by Kris Moore over 4 years ago

  • Target version changed from 49 to N/A

Also available in: Atom PDF