[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#869741: apt: cannot update and install package



Hi,

On Wed, Jul 26, 2017 at 06:05:45AM +0700, Brianajie wrote:
> Versions of packages apt suggests:
> ii  synaptic        0.84.2

Do you happen to have run synaptic recently, perhaps adding a repository
or similar such with it? We had recently users who did and had those
symptoms (guessing, as you have "helpfully" truncated the apt output
– don't do this in bugreports, always show the complete output).


As root (or via sudo) you should run:
	ls -l /etc/apt/trusted.gpg{,.d}
	file /etc/apt/trusted.gpg{,.d/*}

My guess is that one of those files is a keybox file which apt can't deal with
– and to top it of the keybox file is probably empty. Very likely the
/etc/apt/trusted.gpg file which tends to not exist nowadays, so after those
two commands lets directly try moving the file out of the way:
	mv /etc/apt/trusted.gpg{,.bak}


Hopefully that helps already. If not the output of the earlier two might
help us.  If "apt update" still fails please add: -o Debug::Acquire::gpgv=1
and include the full output (beware, that can be a lot) in a followup.


Best regards

David Kalnischkies

Attachment: signature.asc
Description: PGP signature


Reply to: