Monday, May 21, 2018

10.04 - How can I force the usage of a repository?




I have added the following to my sources.list:



deb http://ppa.launchpad.net/kubuntu-ppa/experimental/ubuntu/ lucid main


Unfortunately, whenever I do a sudo apt-get update, the repository is ignored. At least that's what I think IGN means in the following output.



Does anyone know how to force the use of a repository?




Here's the part where it says "ign":



Ign http://ppa.launchpad.net/kubuntu-ppa/experimental/ubuntu/ lucid/main Translation-en_US



Ign repo_link means that the diff did not return any package updates so it was ignored.



You can force it by doing: apt-get clean && apt-get update

You can also optionally pin the repo: vim /etc/apt/preferences.d/kubuntu-ppa-pin-900



Package: *
Pin: release o=LP-PPA-kubuntu-ppa,n=experimental

Pin-Priority: 900


900 puts it at the highest, anything less than 500 will make it less important than main repos.


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...