MintUpdate - very strange [Solved]

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Kaye

MintUpdate - very strange [Solved]

Post by Kaye »

Hey everyone,

Today, after installing a package, I used apt autoremove to free up some space. Now, however, I have 699 recommended updates from MintInstall, but when I try to install them, it tells me "Could not apply changes! Fix broken packages first." Also, whenever I start MintUpdate, my notification area goes blank. Anyone know of how I can clear this up? I'm not even sure if I need any of the recommended packages, they're all level 3.

Thanks,
Kaye
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Husse

Re: MintUpdate - very strange

Post by Husse »

This is a similar problem
http://forums.linuxmint.com/viewtopic.php?f=33&t=22669
Is that the exact error message? I don't quite recognise it
There are two standard things to do to fix broken packages

Code: Select all

sudo dpkg --configure -a
and delete the *.bin files in /var/cache/apt/
and

Code: Select all

apt install -f
I have to discuss this with Clem as there might be a bug hidden somewhere
Kaye

Re: MintUpdate - very strange

Post by Kaye »

I tried the fixes you suggested, unfortunately my problem remains. The message I posted earlier is the exact error message. Also, the problem with the icons in the notification area resolved itself last night.. I guess it was just coincidental that the two happened at the same time. Any other way I can get this to work? Is it likely that I even need these packages?
Husse

Re: MintUpdate - very strange

Post by Husse »

699 packages that sounds very much like an error you probably have them
We will come back to you - there's perhaps something going on with mintUpdate
distoaddict

Re: MintUpdate - very strange

Post by distoaddict »

Try Synaptic Package manager and see if there is very much difference.
Kaye

Re: MintUpdate - very strange

Post by Kaye »

I was looking at the Package Manager this morning, but I really don't know what I should be looking for.. What would let me know that something is wrong?

Will this mean that I can't install any updates until it's resolved?

Also, this may be of use. I just ran apt update to see if anything would happen and I got this output at the end:

Code: Select all

Reading package lists... Done
W: GPG error: http://http.us.debian.org sid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A70DAF536070D3A1
W: GPG error: http://ppa.launchpad.net intrepid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 60D11217247D1CFF
W: GPG error: http://ppa.launchpad.net intrepid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7D2C7A23BF810CD5
W: You may want to run apt-get update to correct these problems
Running apt-get update doesn't do anything. Are those the broken packages or something along that line?
Kaye

Re: MintUpdate - very strange

Post by Kaye »

Solved!

It turns out that, by editing my /etc/apt/sources.list to install a different version of AWN, I somehow corrupted a package. I suspect that the apt autoremove somehow removed the pubkey that was mentioned in the error I just posted. By removing those lines from the sources.list, I'm now down to 4 updates, which I'm hoping are the normal ones that I'm supposed to have.. They've installed correctly so I think everything is ok!

Thanks for the help :)
Fred

Re: MintUpdate - very strange [Solved]

Post by Fred »

Kaye,

Apt looks for a pgp key for every repo in the list. This is a securiety thing. That is the way it verifies that the repo is actually what it says it is and came from the source it claims to have come from.

When you do an apt-get update, which is what synaptic is actually doing, you will get an error on any repo that won't verify or doesn't have a key on your keyring. Apparently you somehow removed some/all the keys so that is most likely why the errors popped up.

You can ignore the errors and still use those repos but you now can't verify their authenticity without reloading the pgp keys for them.

I hope this helps you understand what is happening here. :-)

Fred
Locked

Return to “Beginner Questions”