0

When I type in the terminal:

sudo apt-get install "NAME OF THE PROGRAM"

there isn't any problem, but when I do:

sudo add-apt-repository ppa:"SMTHG HERE"
sudo apt-get update
sudo apt-get install "NAME OF THE PROGRAM"

I get the output:

E:Unable to locate package "NAME OF THE PROGRAM"

This has happened every time I try to install an application from a ppa.

Output of uname -a: Linux dcalderon-MS-7693 3.19.0-73-generic #81-Ubuntu SMP Tue Oct 18 16:03:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Specific example:

sudo add-apt-repository ppa:tualatrix/ppa
sudo apt-get update
sudo apt-get install ubuntu-tweak

How should I proceed?

Diego
  • 211
  • Perhaps giving a specific example of a PPA software package that isn't installing would help us help you. Please include the exact terminal commands you've tried, in order. – Nick Weinberg Nov 01 '16 at 19:09
  • 1
    THis is a case where we need specifics. If everything's a variable, how are we supposed to know if you didn't simply add the wrong PPA? – TheWanderer Nov 01 '16 at 19:15
  • Probably the package is not compiled for your Ubuntu release... but without example of PPA and information about your ubuntu version we can only guess.. . – Rostislav Kandilarov Nov 01 '16 at 19:28
  • Also add the output of uname -a to your question. – Fabby Nov 01 '16 at 20:11
  • What's your Ubuntu release? You can find out with the output of lsb_release -a. I suspect that you're running an outdated Ubuntu release. – David Foerster Nov 02 '16 at 09:34

1 Answers1

2

The packages that are in the ppa:tualatrix/ppa are compiled for many Ubuntu versions up to 14.04. Trusty. Probably you are running 16.04 or 16.10 and that is the reason you cannot install the ubuntu-tweak. It is not an error and probably you fail installing other packages based on outdated Ubuntu tutorials that are misleading you (and many other users as well)...

There is a good explanation about manual install or alternative tweaks at How can I install Ubuntu tweak on Ubuntu 16.04