Error updating to version 2.252.0 Debian 10

Reported by: WapStyle
Created: 5 months 19 hours ago
Last reply: 1 month 10 days ago
Views: 783

I found an error when updating the version to Debian 10

dpkg-deb: error: archive "/var/cache/apt/archives/tinycp_2.252.0_all.deb" uses unknown compression method for "control.tar.zst", stop dpkg: error processing archive /var/cache/apt/archives/tinycp_2.252.0_all.deb (--unpack): dpkg-deb --control subprocess returned error exit status 2 Errors occurred while processing the following packages: /var/cache/apt/archives/tinycp_2.252.0_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1)

The latest version of the zstd package is installed (judging by the Debian 10 archives)

But there is a solution:

cd /var/cache/apt/archives

ar x tinycp_2.252.0_all.deb

mkdir control_dir

tar -xf control.tar -C control_dir

tar -czf control.tar.gz -C control_dir .

mkdir data_dir

tar -xf data.tar -C data_dir

tar -czf data.tar.gz -C data_dir .

ar rcs tinycp_2.252.0_all_new.deb debian-binary control.tar.gz data.tar.gz

sudo dpkg -i tinycp_2.252.0_all_new.deb

Проблема решена.

Join our Discord server
Write a reply Edit a reply