3

I installed 13.10 on a partition that had Mint on it. When trying to add any ppa

sudo add-apt-repository ppa:snwh/moka-gtk-theme-daily

I get the following error:

sh: 1: /usr/lib/linuxmint/mintSources/mintSources.py: not found

How can I point it to the right file?

Thanks in advance.

EDIT: I just found out that adding new PPAs via the software and updates tool works. Not a perfect solution, but it works.

5
  • Are you running linux mint? Mar 30, 2014 at 9:59
  • If you are not running Mint you need to re-install and not upgrade to Ubuntu if you want to switch to Ubuntu.
    – Rinzwind
    Mar 30, 2014 at 10:01
  • I installed Ubuntu with the option to delete the existing Mint installation.
    – ringgord
    Mar 30, 2014 at 11:07
  • 2
    There doesn't appear to be anything wrong with the ppa. As @Rinzwind says, you appear to have problems from not reformatting the partition when switching.
    – chaskes
    Mar 30, 2014 at 14:36
  • You should really do a clean install.
    – Seth
    Mar 30, 2014 at 18:13

1 Answer 1

0

It can be that this PPA is tailored towards Mint and can't be installed to Ubuntu. Try other PPAs.

If they all fail, bad luck. You messed up Ubuntu installation. You have leftover Mint files in your Ubuntu partition. It can't be repaired because nobody know what exactly was left. Reinstall your Ubuntu, don't forget to either format root partitions or remove all folders that are not cleanly your own from it.

1
  • 2
    I solved this by deleting /usr/local/bin/add-apt-repository and /usr/local/bin/apt-add-repository, (script/symlink left over by mint), then sudo apt-get --purge remove python-software-properties software-properties-common, then re-installing them. I really didn't feel like doing a clean install, and haven't had any issues except a few with apt, all which were resolvable without much hassle.
    – nckturner
    Jan 12, 2015 at 3:52

Not the answer you're looking for? Browse other questions tagged .