Re: fmtree: line 0: unknown keyword sha256digest
On 2020-01-16 02:31, Brian wrote:
On Wed 15 Jan 2020 at 20:55:28 -0800, David Christensen wrote:
On 2020-01-15 12:28, David Christensen wrote:
Do I build from source? If so, is there a good tutorial?
https://wiki.debian.org/SimpleBackportCreation
The only change is the installation step -- apt(8) did not work:
2020-01-15 13:31:02 root@po /home/dpchrist/build
# apt install freebsd-buildutils_10.3~svn296373-7_amd64.deb
Shouldn't that be
apt install ./freebsd-buildutils_10.3~svn296373-7_amd64.deb ?
Repeating my command:
2020-01-16 06:16:33 root@tinkywinky /home/dpchrist/build
# apt install freebsd-buildutils_10.3~svn296373-7_amd64.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package freebsd-buildutils_10.3~svn296373-7_amd64.deb
E: Couldn't find any package by glob
'freebsd-buildutils_10.3~svn296373-7_amd64.deb'
E: Couldn't find any package by regex
'freebsd-buildutils_10.3~svn296373-7_amd64.deb'
Using your command:
2020-01-16 06:16:22 root@tinkywinky /home/dpchrist/build
# apt install ./freebsd-buildutils_10.3~svn296373-7_amd64.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'freebsd-buildutils' instead of
'./freebsd-buildutils_10.3~svn296373-7_amd64.deb'
freebsd-buildutils is already the newest version (10.3~svn296373-7).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
That was unexpected.
RTFM apt(8) says:
SYNOPSIS
apt [-h] [-o=config_string] [-c=config_file] [-t=target_release]
[-a=architecture] {list | search | show | update |
install pkg [{=pkg_version_number | /target_release}]... |
remove pkg... | upgrade | full-upgrade | edit-sources |
{-v | --version} | {-h | --help}}
As I understand Unix paths, 'foo' and './foo' should be the same file.
But, apparently apt treats the first as a package name while treating
the second as a path to a *.deb package file. Subtle; and a good trap
for the unwary.
Thanks for the pointer. :-)
David
Reply to: