How to remove erroneous ppa?

4 Antworten [Letzter Beitrag]
m.a.siddiqui
Offline
Beigetreten: 03/23/2017

Following is the output after running apt-get update:

Ign http://archive.trisquel.info belenos-security/main Translation-en_US
Ign http://archive.trisquel.info belenos-security/main Translation-en
Ign http://us.archive.trisquel.info belenos/main Translation-en_US
Ign http://us.archive.trisquel.info belenos-updates/main Translation-en_US
Ign http://us.archive.trisquel.info belenos-updates/main Translation-en

My question is where can i find them and how can i replace those ppa

Soon.to.be.Free
Offline
Beigetreten: 07/03/2016

I've referred to what you call 'ppas' as 'repositories' below.

Firstly, a word of warning: if you replace the core repositories, such as those listed in your apt-get output, with more up-to-date ones, you'll create havoc in trying to install or update anything, because of the difficulty in sorting out differences between older system libraries/core components and newer ones. Unless you're certain you know what you're doing, it's better just to do a fresh install with an OS built to use the relevant repositories. Furthermore, unless you've checked that they are free software only repositories, many distros throw together free and non-free programs in their repositories. Adding such mixed ones defeats the point of using a libre OS, and puts you at risk of many forms of unethical mistreatment.

With that caveat, it's fairly simple: the repositories apt uses are listed in /etc/apt/sources.list. Open that file with root permissions (enter "sudo gedit" without the quotes in the terminal), remove whatever entries you don't want, put any new ones you do one to a line, and save it. Then run an apt-get update to update the package database.

Magic Banana

I am a member!

I am a translator!

Offline
Beigetreten: 07/24/2010

According to the "Languages" subsection of 'man apt.conf', I would try this command:
$ sudo echo 'Acquire::Languages=none;' >> /etc/apt/apt.conf.d/00aptitude
Notice that the character ">" is repeated twice. With one single character, you would overwrite what currently is in /etc/apt/apt.conf.d/00aptitude!

m.a.siddiqui
Offline
Beigetreten: 03/23/2017

mas@T410:~/Desktop$ sudo echo 'Acquire::Languages=none;' >> /etc/apt/apt.conf.d/00aptitude
bash: /etc/apt/apt.conf.d/00aptitude: Permission denied
mas@T410:~/Desktop$

Magic Banana

I am a member!

I am a translator!

Offline
Beigetreten: 07/24/2010

Argh. Sorry, redirections do not work with 'sudo'. Here is the command (do not forget the "-a"!):
$ echo 'Acquire::Languages=none;' | sudo tee -a /etc/apt/apt.conf.d/00aptitude