Re: fmtree: line 0: unknown keyword sha256digest
- To: debian-user@lists.debian.org
- Subject: Re: fmtree: line 0: unknown keyword sha256digest
- From: David Christensen <dpchrist@holgerdanske.com>
- Date: Sun, 2 Feb 2020 14:19:30 -0800
- Message-id: <[🔎] d64b1b8c-a2ea-bf32-666f-5aa80f567043@holgerdanske.com>
- In-reply-to: <8af1315a-17ec-d050-d9f6-0202bf8ad678@holgerdanske.com>
- References: <1299c479-9975-145c-58ce-ecf53e8c83b6@holgerdanske.com> <3085771685611431874@scdbackup.webframe.org> <d7a2f5ea-70bc-e08f-50ce-4b268cc5c2c8@holgerdanske.com> <8af1315a-17ec-d050-d9f6-0202bf8ad678@holgerdanske.com>
On 2020-01-15 20:55, 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 tutorial says "Add sid to your sources.list". So, I added the
following lines to /etc/apt/sources.list:
deb http://ftp.us.debian.org/debian/ sid main
deb-src http://ftp.us.debian.org/debian/ sid main
Today, having completely forgotten about the backport, I ran 'apt-get
update' and 'apt-get upgrade'.
'apt-get update' produced more output that usual.
'apt-get upgrade' wanted to download and install 800+ packages. When I
approved, it failed:
<snip>
Errors were encountered while processing:
/tmp/apt-dpkg-install-ke7tUq/128-cryptsetup_2%3a2.2.2-2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
So, I ran 'apt-get upgrade' again -- fewer packages, but same result:
<snip>
Reading changelogs... Done
Preconfiguring packages ...
Setting up systemd-sysv (244.1-2) ...
(Reading database ... 119008 files and directories currently
installed.)
Preparing to unpack .../cryptsetup_2%3a2.2.2-2_amd64.deb ...
Unpacking cryptsetup (2:2.2.2-2) over (2:1.7.3-4) ...
dpkg: error processing archive
/var/cache/apt/archives/cryptsetup_2%3a2.2.2-2_amd64.deb (--unpack):
trying to overwrite '/usr/sbin/luksformat', which is also in
package cryptsetup-bin 2:1.7.3-4
dpkg-deb: error: subprocess paste was killed by signal (Broken
pipe)
Errors were encountered while processing:
/var/cache/apt/archives/cryptsetup_2%3a2.2.2-2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Then I remember the backport.
Rather than troubleshoot this mess, I re-imaged the drive to an image
taken prior to build the backport. 'apt-get update' and 'apt-get
upgrade' then worked as expected.
So, beware of adding things to your /etc/apt/sources.list -- you may be
in for unwelcome surprises the next time you update/ upgrade.
And, take images of your system drives regularly.
David
Reply to: