Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top
karan@karan-HP-630-Notebook-PC:~$ sudo add-apt-repository ppa:danielrichter2007/grub-customizer
You are about to add the following PPA to your system:
 This PPA contains the latest release of Grub Customizer.

 More info:
Press [ENTER] to continue or ctrl-c to cancel adding it

Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 177, in <module>
    if not sp.add_source_from_line(line):
  File "/usr/lib/python2.7/dist-packages/softwareproperties/", line 718, in add_source_from_line
  File "/usr/lib/python2.7/dist-packages/softwareproperties/", line 471, in set_modified_sourceslist
  File "/usr/lib/python2.7/dist-packages/softwareproperties/", line 635, in save_sourceslist
  File "/usr/lib/python2.7/dist-packages/aptsources/", line 396, in save
    files[source.file] = open(source.file, "w")
IOError: [Errno 2] No such file or directory: u'/etc/apt/sources.list.d//danielrichter2007-grub-customizer-precise.list'
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.aGS8vrSgrk --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp:// --recv 59DAD276B942642B1BBD0EACA8AA1FAA3F055C03
gpg: requesting key 3F055C03 from hkp server
gpg: key 3F055C03: "Launchpad PPA for Daniel Richter" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
share|improve this question
Post the contents of /etc/apt/sources.list – green Sep 8 '12 at 18:49

Reading the last line: "Launchpad PPA for Daniel Richter" not changed gpg: Total number processed: 1 GPG: unchanged: 1

It looks like the ppa is already enabled. Try this:

cat /etc/apt/sources.list.d/danielrichter2007-grub-customizer-precise.list

I have this same ppa enabled and the output should be this:

darent@helena:~$ cat /etc/apt/sources.list.d/danielrichter2007-grub-customizer-precise.list
deb precise main #Grub Customizer PPA

Good luck!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.