a) compression tests - artful - PASS
starting with the original artful packages:
ubuntu@artful-zstd:~$ dpkg -l|grep zstd
ii libzstd1 1.3.1+dfsg-1 amd64 fast lossless compression algorithm
ii zstd 1.3.1+dfsg-1 amd64 fast lossless compression algorithm -- CLI tool
gives:
-rwxr-xr-x 1 ubuntu ubuntu 3.4M Nov 30 16:42 snap.1.3.1.zst
Now upgrading to the package in proposed:
The following additional packages will be installed:
libzstd1
The following packages will be upgraded:
libzstd1 zstd
...
Get:1 http://br.archive.ubuntu.com/ubuntu artful-proposed/universe amd64 zstd amd64 1.3.1+dfsg-1ubuntu0.1 [238 kB]
Get:2 http://br.archive.ubuntu.com/ubuntu artful-proposed/universe amd64 libzstd1 amd64 1.3.1+dfsg-1ubuntu0.1 [152 kB]
...
Compressing with the new package:
ubuntu@artful-zstd:~$ zstd /usr/bin/snap -o snap.1.3.1-updated.zst
/usr/bin/snap : 31.03% (11318760 => 3512707 bytes, snap.1.3.1-updated.zst)
Downgrading back to the original artful version:
ubuntu@artful-zstd:~$ sudo apt install zstd=1.3.1+dfsg-1 libzstd1=1.3.1+dfsg-1
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be DOWNGRADED:
libzstd1 zstd
a) compression tests - artful - PASS artful- zstd:~$ dpkg -l|grep zstd
starting with the original artful packages:
ubuntu@
ii libzstd1 1.3.1+dfsg-1 amd64 fast lossless compression algorithm
ii zstd 1.3.1+dfsg-1 amd64 fast lossless compression algorithm -- CLI tool
ubuntu@ artful- zstd:~$ zstd /usr/bin/snap -o snap.1.3.1.zst
/usr/bin/snap : 31.03% (11318760 => 3512707 bytes, snap.1.3.1.zst)
gives:
-rwxr-xr-x 1 ubuntu ubuntu 3.4M Nov 30 16:42 snap.1.3.1.zst
Now upgrading to the package in proposed: br.archive. ubuntu. com/ubuntu artful- proposed/ universe amd64 zstd amd64 1.3.1+dfsg- 1ubuntu0. 1 [238 kB] br.archive. ubuntu. com/ubuntu artful- proposed/ universe amd64 libzstd1 amd64 1.3.1+dfsg- 1ubuntu0. 1 [152 kB]
The following additional packages will be installed:
libzstd1
The following packages will be upgraded:
libzstd1 zstd
...
Get:1 http://
Get:2 http://
...
Compressing with the new package: artful- zstd:~$ zstd /usr/bin/snap -o snap.1. 3.1-updated. zst 3.1-updated. zst)
ubuntu@
/usr/bin/snap : 31.03% (11318760 => 3512707 bytes, snap.1.
Decompressing the previous one: artful- zstd:~$ zstd -d snap.1.3.1.zst -o snap.1.3.1
ubuntu@
snap.1.3.1.zst : 11318760 bytes
Decompressing the updated one: artful- zstd:~$ zstd -d snap.1. 3.1-updated. zst -o snap.1.3.1-updated 3.1-updated. zst: 11318760 bytes
ubuntu@
snap.1.
MD5 of everything: artful- zstd:~$ md5sum /usr/bin/snap snap.1.3.1 snap.1.3.1-updated 4b2ee7d00cd1863 4a /usr/bin/snap 4b2ee7d00cd1863 4a snap.1.3.1 4b2ee7d00cd1863 4a snap.1.3.1-updated
ubuntu@
0b65998bc775d44
0b65998bc775d44
0b65998bc775d44
Downgrading back to the original artful version: artful- zstd:~$ sudo apt install zstd=1.3.1+dfsg-1 libzstd1= 1.3.1+dfsg- 1
ubuntu@
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be DOWNGRADED:
libzstd1 zstd
Decompressing and another md5 snapshot: artful- zstd:~$ zstd -d snap.1.3.1.zst -o snap.1.3.1-new artful- zstd:~$ md5sum snap.1.3.1-new /usr/bin/snap 4b2ee7d00cd1863 4a snap.1.3.1-new 4b2ee7d00cd1863 4a /usr/bin/snap
ubuntu@
snap.1.3.1.zst : 11318760 bytes
ubuntu@
0b65998bc775d44
0b65998bc775d44