Solved - sudo add-apt-repository not working

If none of the more specific forums is the right place to ask

Solved - sudo add-apt-repository not working

Postby bookie » 2017-04-25 17:20

Hi guys!
I have tried a couple of times to add a ppa repository and get a similar error?

Code: Select all
sudo add-apt-repository ppa:atareao/atareao

You are about to add the following PPA to your system:
 Applications from atareao
 More info: https://launchpad.net/~atareao/+archive/ubuntu/atareao
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: /tmp/tmp5_wq_q0_/secring.gpg: nyckelring skapad
gpg: /tmp/tmp5_wq_q0_/pubring.gpg: nyckelring skapad
gpg: begär nyckeln 36FD5529 från hkp-servern keyserver.ubuntu.com
gpg: /tmp/tmp5_wq_q0_/trustdb.gpg: tillitsdatabas skapad
gpg: nyckel 36FD5529: publika nyckeln "Launchpad PPA for atareao" importerades
gpg: Totalt antal behandlade enheter: 1
gpg:                     importerade: 1  (RSA: 1)
OK


I then run:
Code: Select all
$ Sudo apt-get update (and get the following)

 Failed to fetch  http://ppa.launchpad.net/atareao/atareao/ubuntu/dists/jessie/main/binary-amd64/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.


am I missing something here?

bookie
Last edited by bookie on 2017-07-24 05:55, edited 1 time in total.
bookie
 
Posts: 284
Joined: 2007-12-07 11:49

Re: sudo add-apt-repository not working

Postby Bulkley » 2017-04-25 17:27

Don't add a ppa repository to Debian. It's a good way to break your system. Advice For New Users On Not Breaking Their Debian System
Bulkley
 
Posts: 5331
Joined: 2006-02-11 18:35

Re: sudo add-apt-repository not working

Postby arochester » 2017-04-25 17:32

What are you trying to install?
"Something to be aware of: Debian is a core or source distribution. This means there are many Debian-based distributions. THEY ARE NOT DEBIAN."
arochester
 
Posts: 1091
Joined: 2010-12-07 19:55

Re: sudo add-apt-repository not working

Postby GarryRicketson » 2017-04-25 17:32

You are lucky you have not been able to add it,...
https://wiki.debian.org/DontBreakDebian

Repositories that can create a FrankenDebian if used with Debian Stable:

Debian testing release (currently stretch)

Debian unstable release (also known as sid)

Ubuntu, Mint or other derivative repositories are not compatible with Debian!
Ubuntu PPAs


The reason that url does not work is because there is no such distribution as
"jessie", in the ubuntu distributions,
http://ppa.launchpad.net/atareao/atareao/ubuntu/dists/
Look at the list in the above link.
"What we expect you have already Done"

Before doing anything, read the Debian documentation:
Debian Documentation
How to ask the smart way
Debian Foro Español
======================
For the Birds
User avatar
GarryRicketson
 
Posts: 4371
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: sudo add-apt-repository not working

Postby bookie » 2017-04-25 17:36

Ok guys have a heart....OK what would you recommend as a good weather applet?

bookie
bookie
 
Posts: 284
Joined: 2007-12-07 11:49

Re: sudo add-apt-repository not working

Postby GarryRicketson » 2017-04-25 17:38

It depends on what version of Debian you are using .
And what Desktop Environment.
User avatar
GarryRicketson
 
Posts: 4371
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: sudo add-apt-repository not working

Postby bookie » 2017-04-25 17:41

Hi guys!
Ok I stand reprimanded....ouch.... :D :D
I have added xfce's own weather applet...
Promise no more ppa's

bookie
bookie
 
Posts: 284
Joined: 2007-12-07 11:49

Re: sudo add-apt-repository not working

Postby stevepusser » 2017-04-25 21:39

The package that contains that command is in the Debian repos, just not installed by default. But PPAs are a no-no unless you really understand what they doing...and by then, you can probably just rebuild the package on Debian, anyway.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Krita 3.3.2.1, Pale Moon 27.6.0, Audacity 2.2.0, mpv 0.27.0, Corebird 1.7.1, Firefox 57.0, SMPlayer 17.11.2
User avatar
stevepusser
 
Posts: 8905
Joined: 2009-10-06 05:53

Re: sudo add-apt-repository not working

Postby bookie » 2017-04-26 10:01

Thanks!
You live and learn.....going to eat humble pie now :D :D

bookie
bookie
 
Posts: 284
Joined: 2007-12-07 11:49

Re: sudo add-apt-repository not working

Postby sjukfan » 2017-04-26 11:58

bookie wrote:Hi guys!
Ok I stand reprimanded....ouch.... :D :D
I have added xfce's own weather applet...
Promise no more ppa's

How nice it would be if it was this easy every time :D

My advice is to install synaptic and use it to search for software, it's a bit easier than apt or aptitude when you're looking for apps.
Buster amd64, Core 2 Quad Q9550
Stretch amd64, Core 2 Quad Q9400
Sid ppc, PowerPC 7447a
Sid ppc64, PowerPC 970FX
User avatar
sjukfan
 
Posts: 369
Joined: 2010-03-01 19:39

Re: sudo add-apt-repository not working

Postby Dai_trying » 2017-04-26 14:05

To help find a Linux alternative to a Windows program you could use these sites to give you some options, they simply list some software equivalents for Linux but it is not an exhaustive list and further research would yield more results.
linuxquestions wiki
linux.co.uk page
Dai_trying
 
Posts: 332
Joined: 2016-01-07 12:25

Re: sudo add-apt-repository not working

Postby stevepusser » 2017-04-26 22:03

I suppose you were trying to get my-weather-indicator? http://www.omgubuntu.co.uk/2014/10/inst ... untu-14-10

Installing it would never have worked from the PPA, as it requires geoclue-ubuntu-geoip, which is only in the Ubuntu repos.

I did manage to port what it needs over and get it running on my xfce desktop--it looks really nice. I couldn't get the automatic location to work--it may be blocked by the library wifi I'm using right now. Manual location setting worked. And the map overlays also don't seem to work, but all the other features seem OK.

I can set up the program in a Jessie openSUSE Build Service repo, which is as close to a PPA as we currently have on the Debian side, if anyone wants it.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Krita 3.3.2.1, Pale Moon 27.6.0, Audacity 2.2.0, mpv 0.27.0, Corebird 1.7.1, Firefox 57.0, SMPlayer 17.11.2
User avatar
stevepusser
 
Posts: 8905
Joined: 2009-10-06 05:53

Re: sudo add-apt-repository not working

Postby stevepusser » 2017-04-27 00:36

Here's the directions on how to add the Jessie OBS repository: https://software.opensuse.org//download ... -indicator

I don't think you need to run the command to download the key as sysadmin, but the other two commands in that section of the instructions have to have those permissions.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Krita 3.3.2.1, Pale Moon 27.6.0, Audacity 2.2.0, mpv 0.27.0, Corebird 1.7.1, Firefox 57.0, SMPlayer 17.11.2
User avatar
stevepusser
 
Posts: 8905
Joined: 2009-10-06 05:53

Re: sudo add-apt-repository not working

Postby bookie » 2017-04-29 05:00

Hi guys!
Thanks again for all your advice and help here... :D :D

I should have known better than to dabble with ppa .... I have come back to Debian because it is the best and most stable version out there..

I will post questions on the forum if...and when I want to add something that isn't available via synaptic without changing sources...

bookie
bookie
 
Posts: 284
Joined: 2007-12-07 11:49

Re: sudo add-apt-repository not working

Postby bookie » 2017-04-29 05:01

I will be trying your link as soon as I get a mo... :D :D

stevepusser wrote:Here's the directions on how to add the Jessie OBS repository: https://software.opensuse.org//download ... -indicator

I don't think you need to run the command to download the key as sysadmin, but the other two commands in that section of the instructions have to have those permissions.



bookie
bookie
 
Posts: 284
Joined: 2007-12-07 11:49

Next

Return to General Questions

Who is online

Users browsing this forum: No registered users and 9 guests

fashionable