I want to upgrade my server so I ran
apt-get dist upgrade but I keep having this error:
Unpacking replacement aptitude ... dpkg-deb: file `/var/cache/apt/archives/aptitude_0.6.8.2-1_armel.deb' contains ununderstood data member data.tar.xz , giving up dpkg: error processing /var/cache/apt/archives/aptitude_0.6.8.2-1_armel.deb (--unpack): subprocess dpkg-deb --fsys-tarfile returned error exit status 2 dpkg: considering deconfiguration of aptitude, which would be broken by installation of aptitude-common ... dpkg: yes, will deconfigure aptitude (broken by aptitude-common). Unpacking aptitude-common (from .../aptitude-common_0.6.8.2-1_all.deb) ... De-configuring aptitude ... dpkg-deb: file `/var/cache/apt/archives/aptitude-common_0.6.8.2-1_all.deb' contains ununderstood data member data.tar.xz , giving up dpkg: error processing /var/cache/apt/archives/aptitude-common_0.6.8.2-1_all.deb (--unpack): subprocess dpkg-deb --fsys-tarfile returned error exit status 2 Errors were encountered while processing: /var/cache/apt/archives/aptitude_0.6.8.2-1_armel.deb /var/cache/apt/archives/aptitude-common_0.6.8.2-1_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
Here's some of what I've tryied:
sudo apt-get dist-upgrade sudo dpkg --configure -a sudo ldconfig sudo apt-get check sudo apt-get -f install sudo apt-get -f upgrade --fix-missing
Always ending with the same errors so I can't do anything else.
What should I do?