著者: Jim Jackson 日付: To: Dng 題目: Re: [DNG] problem with apt after restore after crashed disk...
Hi all,
Thanks for the various comments on my problem ...
On Mon, 28 Jun 2021, Jim Jackson wrote:
> Hi all,
>
> My Beowulf amd64 system hard drive crashed, and after I'd restored my
> backup I've had problems with apt-get etc.
>
> apt-cache: relocation error:
> /usr/lib/x86_64-linux-gnu/libapt-private.so.0.0: symbol
> _ZN3URIcvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEB5cxx11Ev
> version APTPKG_5.0 not defined in file libapt-pkg.so.5.0 with link time
> reference
>
> I use rsync for backups, but without the -X -A options, so extended
> attributes and ACLs are lost, don't know if that's the reason. If I need to
> reinstall libapt-pkg5.0 package, does anybody know if it's ok to just to
> use the debian package file?
>
> If not, can anyone tell where I can get the devuan libapt-pkg5.0 package
> file?
I was a bit scared that the devuan packages might not be the debian buster
ones. Anyway I bit the bullet and downloaded the debian
apt_1.8.2.3_amd64.deb package and installed with dpkg -i and cross my
fingers :-)