Updating to HEAD removes /etc/rc.subr?

Matthew Seaman matthew at FreeBSD.org
Sat Sep 21 09:17:03 UTC 2019


On 21/09/2019 09:59, Matthew Seaman wrote:
> So, I have a VM running current which I maintain by building packages.
> On doing a routine update, I see the following:
> 
> ```
> codling:~:# etcupdate
> Warnings:
>   Removed file changed: /etc/rc.d/growfs
>   Removed file changed: /etc/rc.subr
> ```
> 
> Looks like there were quite a lot of changes in the packaging layout
> between the last time I updated (Git says: b31afabd4c1-c262274(master))
> and yesterday when I pulled the latest source from git.  One of those
> changes is that there seems to be a new FreeBSD-rc base package:
> 
> ```
> codling:/usr/src:# pkg install FreeBSD-rc
> Updating FreeBSD repository catalogue...
> pkg: http://pkg.FreeBSD.org/FreeBSD:13:amd64/latest/meta.txz: No address
> record
> repository FreeBSD has no meta file, using default settings
> FreeBSD repository is up to date.
> Updating base repository catalogue...
> base repository is up to date.
> All repositories are up to date.
> Checking integrity... done (0 conflicting)
> The following 1 package(s) will be affected (of 0 checked):
> 
> New packages to be INSTALLED:
> 	FreeBSD-rc: 13.0.s20190920215733 [base]
> 
> Number of packages to be installed: 1
> 
> Proceed with this action? [y/N]: y
> [1/1] Installing FreeBSD-rc-13.0.s20190920215733...
> [1/1] Extracting FreeBSD-rc-13.0.s20190920215733: 100%
> ```
> 
> Unfortunately it didn't get installed as part of the routine update.
> 
> Easily fixed (as above), but now I'm wondering what other packages I
> should have installed but don't.  Is there a meta-port or some such that
> will ensure my FreeBSD system has all the essentials needed to boot?
> 

Seems that the bootloader also goes missing in much the same way...

```
codling:/usr/home/matthew:# pkg search -x '^FreeBSD.*boot'
FreeBSD-bootloader-13.0.s20190920215733 Bootloader
codling:/usr/home/matthew:# pkg info -x '^FreeBSD.*boot'
pkg: No package(s) matching ^FreeBSD.*boot
codling:/usr/home/matthew:# pkg install FreeBSD-bootloader
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
Updating base repository catalogue...
base repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	FreeBSD-bootloader: 13.0.s20190920215733 [base]

Number of packages to be installed: 1

The process will require 4 MiB more space.

Proceed with this action? [y/N]: y
[1/1] Installing FreeBSD-bootloader-13.0.s20190920215733...
[1/1] Extracting FreeBSD-bootloader-13.0.s20190920215733: 100%
```

Ooops.

	Cheers,

	Matthew



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-pkgbase/attachments/20190921/7d809c9d/attachment.sig>


More information about the freebsd-pkgbase mailing list