How To Fix Broken PPAs On Linux

View previous topic View next topic Go down

How To Fix Broken PPAs On Linux

Post by jamied_uk on 5th May 2017, 15:20

Vid


1st clear out any damaged apps in update cache it removes broken packegs.

Code:
dpkg --configure -a




then check repo lists

Code:
sudo gedit /etc/apt/sources.list



here is how to remove a ppa



Code:
sudo ls /etc/apt/sources.list.d



now you can delete this from the folder if you dont need it or want it.

Code:
cd /etc/apt/sources.list.d



Code:
sudo rm *.*

Code:
or a specific entry by its name instead of all *.*


now type


Code:
ls




and its gone now do an update


Code:
apt update && apt upgrade


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Other methods: (example don't use this line)

Code:
sudo apt-add-repository --remove ppa:kernel-ppa/ppa
avatar
jamied_uk
Admin

Posts : 2278
Join date : 2010-05-09
Age : 34
Location : UK

http://address-shortner.co.uk

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum