Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.
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: https://launchpad.net/~danielrichter2007/+archive/grub-customizer
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/SoftwareProperties.py", line 718, in add_source_from_line
    self.set_modified_sourceslist()
  File "/usr/lib/python2.7/dist-packages/softwareproperties/SoftwareProperties.py", line 471, in set_modified_sourceslist
    self.save_sourceslist()
  File "/usr/lib/python2.7/dist-packages/softwareproperties/SoftwareProperties.py", line 635, in save_sourceslist
    self.sourceslist.save()
  File "/usr/lib/python2.7/dist-packages/aptsources/sourceslist.py", 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://keyserver.ubuntu.com:80/ --recv 59DAD276B942642B1BBD0EACA8AA1FAA3F055C03
gpg: requesting key 3F055C03 from hkp server keyserver.ubuntu.com
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 –  green7 Sep 8 '12 at 18:49

1 Answer 1

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 http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu precise main #Grub Customizer PPA

Good luck!

share|improve this answer

Your Answer

 
discard

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.