I looked at this a bit more and the following change broke the installer:
https://git.launchpad.net/livecd-rootfs/commit/?id=f4fa240ed7a43ed927634d5829812e37955d4b4c
this was uploaded to livecd-rootfs at apr-12 so it ended up on the medium on 20190413.
The following commit fixed it:
https://git.launchpad.net/livecd-rootfs/commit/?id=39f2558b96a35a77988f762f941d1e5bf581f8a4
And indeed: ``` $ cat > /tmp/test-seed.yaml <<EOF - name: core channel: foo file: bar - name: snapd channel: stable/ubuntu-19.04 file: snapd_941.snap - name: gnome-foo channel: foo name: xxx EOF # broken sed command will produce exactly what we saw: $ sed -e'/name: snapd/,+2d' /tmp/test-seed.yaml - name: core channel: foo file: bar - - name: gnome-foo channel: foo name: xxx # and the fixed sed command actually fixes things: $ sed -e'N;/name: snapd/,+2d' /tmp/test-seed.yaml - name: core channel: foo file: bar - name: gnome-foo channel: foo name: xxx ```
I looked at this a bit more and the following change broke the installer:
https:/ /git.launchpad. net/livecd- rootfs/ commit/ ?id=f4fa240ed7a 43ed927634d5829 812e37955d4b4c
this was uploaded to livecd-rootfs at apr-12 so it ended up on the medium on 20190413.
The following commit fixed it:
https:/ /git.launchpad. net/livecd- rootfs/ commit/ ?id=39f2558b96a 35a77988f762f94 1d1e5bf581f8a4
And indeed:
```
$ cat > /tmp/test-seed.yaml <<EOF
-
name: core
channel: foo
file: bar
-
name: snapd
channel: stable/ubuntu-19.04
file: snapd_941.snap
-
name: gnome-foo
channel: foo
name: xxx
EOF
# broken sed command will produce exactly what we saw:
$ sed -e'/name: snapd/,+2d' /tmp/test-seed.yaml -
name: core
channel: foo
file: bar
-
-
name: gnome-foo
channel: foo
name: xxx
# and the fixed sed command actually fixes things:
$ sed -e'N;/name: snapd/,+2d' /tmp/test-seed.yaml
-
name: core
channel: foo
file: bar
-
name: gnome-foo
channel: foo
name: xxx
```