Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Solved - sudo add-apt-repository not working

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
bookie
Posts: 370
Joined: 2007-12-07 11:49

Solved - sudo add-apt-repository not working

#1 Post by bookie »

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.

Bulkley
Posts: 6383
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

Re: sudo add-apt-repository not working

#2 Post by Bulkley »

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

arochester
Emeritus
Emeritus
Posts: 2435
Joined: 2010-12-07 19:55
Has thanked: 14 times
Been thanked: 54 times

Re: sudo add-apt-repository not working

#3 Post by arochester »

What are you trying to install?

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: sudo add-apt-repository not working

#4 Post by GarryRicketson »

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.

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

Re: sudo add-apt-repository not working

#5 Post by bookie »

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

bookie

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: sudo add-apt-repository not working

#6 Post by GarryRicketson »

It depends on what version of Debian you are using .
And what Desktop Environment.

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

Re: sudo add-apt-repository not working

#7 Post by bookie »

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

bookie

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: sudo add-apt-repository not working

#8 Post by stevepusser »

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.
MX Linux packager and developer

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

Re: sudo add-apt-repository not working

#9 Post by bookie »

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

bookie

User avatar
sjukfan
Posts: 386
Joined: 2010-03-01 19:39

Re: sudo add-apt-repository not working

#10 Post by sjukfan »

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.
Bullseye amd64, AMD Ryzen 5 3600
Buster amd64, Intel Xeon E3-1240 v3
Sid ppc, PowerPC 7447a
Sid ppc64, PowerPC 970FX

Dai_trying
Posts: 1100
Joined: 2016-01-07 12:25
Has thanked: 5 times
Been thanked: 16 times

Re: sudo add-apt-repository not working

#11 Post by Dai_trying »

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

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: sudo add-apt-repository not working

#12 Post by stevepusser »

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.
MX Linux packager and developer

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: sudo add-apt-repository not working

#13 Post by stevepusser »

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.
MX Linux packager and developer

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

Re: sudo add-apt-repository not working

#14 Post by bookie »

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: 370
Joined: 2007-12-07 11:49

Re: sudo add-apt-repository not working

#15 Post by bookie »

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: 370
Joined: 2007-12-07 11:49

Re: sudo add-apt-repository not working

#16 Post by bookie »

Hi stevepusser!
Should have replied here a long time ago...SORRY!
Your link to the weather indicator worked a treat.... :D

bookie

Post Reply