Can I install ppa-purge?

I have messed around with different repositories in some failed attempts on installing some software.

However I now want to revert back to official sources get rid of the random sources erroring and get the correct package versions again.
I see that ppa-purge is recommended but I only find it for Ubuntu.
Do we have an equivalent on OSMC or can I use Ubuntu version?

Hi,

I think you will be alright just to make sure, /etc/apt/sources.list contains:

deb http://ftp.debian.org/debian stretch main contrib non-free

deb http://ftp.debian.org/debian/ stretch-updates main contrib non-free

deb http://security.debian.org/ stretch/updates main contrib non-free

deb http://apt.osmc.tv stretch main

and make sure the directory /etc/apt/sources.list.d is empty.

Then issue:

sudo apt-get update

Thanks Tom.

Excuse my ignorance.

Are you saying I will be fine using Ubuntu ppa-purge?
Does it matter what Ubuntu dist I pick the .deb file from in that cae?

Or are you saying editing those files and performing sudo ap-get update will do the same thing as ppa-purge?

Hi,

Pretty much, what I advised above will revert back to official sources. Just to add, I suggest making a backup of sources.list:

sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak

Thanks Tom.

Thanks for the clarification.

That would solve the sources issues I still think I have lingering updated packages with wrong versions due to my testing.
I’d like to get the proper versions back without reinstalling the Vero, revert the changes I have done.

[EDIT]
Sources removed so no errors anymore.

Can I force apt-get to install packages that has the wrong verion compared to the repository?
This without knowing the individual package names?

Hi,

Does the current setup have any issues? If not may be easier to continue to use as its.

You can use:

sudo apt-get --reinstall install <package>

But you will need to does for all the dependencies for each package as well. It would probably be quicker to backup your settings and do a fresh install.

Thanks Tom.

OK. I see.

I don’t think I have issues at the moment.

With a fresh install, do I just backup my kodi folder+autofs config first and paste it back afterwards ?

Hi,

Yes that would work.

Thanks Tom.

I think everything went well.

Can I however force poster/art download for the missing titles in the library?
There is lots missing and it does not seem to populate on its own.

I shoud add I used the OSMC backup function, but I have a raw copy of the kodi folder as well so in worst case I guess I could copy them in manually.

As a start I would search either this or the Kodi forum as that is not an uncommon issue. If you can’t figure it out then start a new thread with logs and more specific information as it would be completely unrelated to the topic of this thread.

But if you just want to go manual the artwork can be selected from the information screen which on the OSMC remote can be accessed with the “i” key when a library item is highlighted.

1 Like

OK, sorry getting off topic.

For future reference in case anyone lands on this thread from a search:
I stopped mediacenter, copied over the backed up Thumbnail folder, started mediacenter = problem solved.

1 Like