Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #173222 > unrolled thread

Cannot apt-add repository

Started by"Rasku, Stephen (GE Digital)" <srasku@wurldtech.com>
First post2016-10-06 01:40 +0200
Last post2016-10-06 05:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.debian.user


Contents

  Cannot apt-add repository "Rasku, Stephen (GE Digital)" <srasku@wurldtech.com> - 2016-10-06 01:40 +0200
    Re: Cannot apt-add repository Sven Hartge <sven@svenhartge.de> - 2016-10-06 05:40 +0200

#173222 — Cannot apt-add repository

From"Rasku, Stephen (GE Digital)" <srasku@wurldtech.com>
Date2016-10-06 01:40 +0200
SubjectCannot apt-add repository
Message-ID<sp3X4-op-11@gated-at.bofh.it>
When I try and add-apt-repository, I get the following:

$ sudo add-apt-repository ppa:git-core/ppa
[sudo] password for srasku: 
Sorry, try again.
[sudo] password for srasku: 
Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 11, in <module>
    from softwareproperties.SoftwareProperties import SoftwareProperties, shortcut_handler
ImportError: cannot import name 'shortcut_handler'

I am behind a proxy with the following environment variables configured:

NO_PROXY=localhost,127.0.0.0/8,::1
http_proxy=http://3.39.54.43:8080/
ftp_proxy=http://3.39.54.43:8080/
FTP_PROXY=http://3.39.54.43:8080/
ALL_PROXY=socks://3.39.54.43:8080/
all_proxy=socks://3.39.54.43:8080/
https_proxy=http://3.39.54.43:8080/
HTTPS_PROXY=http://3.39.54.43:8080/
no_proxy=localhost,127.0.0.0/8,::1
HTTP_PROXY=http://3.39.54.43:8080/

I suspect this is a proxy issue but I'm not certain.  Assuming it is:
- Can you run add-apt-respository behind a proxy?
- Is there a command line option to configure the proxy?  There's nothing in `man add-apt-repository`.

I am running Jessie.

Stephen Rasku
Linux Engineer
Wurldtech Security Technologies

Unsubscribe from our commercial electronic messages.
https://supportcentral.ge.com/esurvey/GE_survey/takeSurvey.html?form_id=18446744073709666319
Désabonner de nos messages électroniques commerciaux.
https://supportcentral.ge.com/esurvey/GE_survey/takeSurvey.html?form_id=18446744073709666263

[toc] | [next] | [standalone]


#173226

FromSven Hartge <sven@svenhartge.de>
Date2016-10-06 05:40 +0200
Message-ID<sp7Hj-2Sw-1@gated-at.bofh.it>
In reply to#173222
"Rasku, Stephen (GE Digital)" <srasku@wurldtech.com> wrote:
> When I try and add-apt-repository, I get the following:

> $ sudo add-apt-repository ppa:git-core/ppa

Don't add Ubuntu-PPAs to a Debian system. It will not work and it may
destroy your installation.

S°

-- 
Sigmentation fault. Core dumped.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web