On 2018-05-31 15:55 +0100, Eric S Fraga wrote: > I am trying to install cmake on a buster system. When I try "apt > install cmake" (or equivalently with apt-get), I am told the package > doesn't exist. I have updated, checked and cleaned using apt-get > several times. The database is somehow corrupt as I know that cmake > exists: searching on Debian's website clearly shows it there for > buster and looking at the actual deb site shows cmake there.
Probably apt's cache is corrupt, I had seen something like this myself some time ago. > My apt/sources.list file is: > > deb http://ftp.uk.debian.org/debian/ buster main non-free contrib > deb-src http://ftp.uk.debian.org/debian/ buster main non-free contrib > > deb http://security.debian.org/debian-security buster/updates main > non-free contrib > deb-src http://security.debian.org/debian-security buster/updates main > non-free contrib > deb [arch=amd64] http://emacs.secretsauce.net unstable main > deb-src [arch=amd64] http://emacs.secretsauce.net unstable main > > Any suggestions on how to fix this? Delete /var/cache/apt/*.bin . Next time you run one of the apt tools as root, they will recreate those files. Cheers, Sven