Skip to content

Instantly share code, notes, and snippets.

@jamesray1
Created November 10, 2017 08:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamesray1/ef06da0bd58c88959f8136a47ad0f61b to your computer and use it in GitHub Desktop.
Save jamesray1/ef06da0bd58c88959f8136a47ad0f61b to your computer and use it in GitHub Desktop.
Green-recorder-download-and-install-failed
james@james-Streacom:~$ sudo add-apt-repository ppa:mhsabbagh/greenproject
[sudo] password for james:
A repository which contains the latest programs and packages produced by the Green Project.
More info: https://launchpad.net/~mhsabbagh/+archive/ubuntu/greenproject
Press [ENTER] to continue or Ctrl-c to cancel adding it.
Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 172, in <module>
if not sp.add_source_from_shortcut(shortcut, options.enable_source):
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 768, in add_source_from_shortcut
self.set_modified_sourceslist()
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 492, in set_modified_sourceslist
self.save_sourceslist()
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 658, in save_sourceslist
self.sourceslist.save()
File "/usr/lib/python3/dist-packages/aptsources/sourceslist.py", line 413, in save
files[source.file] = open(source.file, "w")
FileNotFoundError: [Errno 2] No such file or directory: '/etc/apt/sources.list.d/mhsabbagh-ubuntu-greenproject-artful.list'
gpg: keybox '/tmp/tmpf54ifknb/pubring.gpg' created
gpg: /tmp/tmpf54ifknb/trustdb.gpg: trustdb created
gpg: key 9BCCF54652C2F659: public key "Launchpad PPA for M.Hanny Sabbagh" imported
gpg: Total number processed: 1
gpg: imported: 1
OK
james@james-Streacom:~$ sudo apt update && sudo apt install green-recorder
Get:1 http://security.ubuntu.com/ubuntu artful-security InRelease [76.7 kB]
Hit:2 http://archive.ubuntu.com/ubuntu artful InRelease
Get:3 http://archive.ubuntu.com/ubuntu artful-updates InRelease [78.6 kB]
Hit:4 http://au.archive.ubuntu.com/ubuntu artful InRelease
Get:5 http://au.archive.ubuntu.com/ubuntu artful-updates InRelease [78.6 kB]
Hit:6 http://au.archive.ubuntu.com/ubuntu artful-backports InRelease
Get:7 http://au.archive.ubuntu.com/ubuntu artful-updates/main Sources [18.4 kB]
Get:8 http://security.ubuntu.com/ubuntu artful-security/main Sources [8,108 B]
Get:9 http://au.archive.ubuntu.com/ubuntu artful-updates/main amd64 Packages [28.5 kB]
Get:10 http://au.archive.ubuntu.com/ubuntu artful-updates/main i386 Packages [28.5 kB]
Get:11 http://au.archive.ubuntu.com/ubuntu artful-updates/main Translation-en [14.0 kB]
Get:12 http://au.archive.ubuntu.com/ubuntu artful-updates/main amd64 DEP-11 Metadata [8,268 B]
Get:13 http://au.archive.ubuntu.com/ubuntu artful-updates/restricted i386 Packages [2,184 B]
Get:14 http://au.archive.ubuntu.com/ubuntu artful-updates/restricted amd64 Packages [2,204 B]
Get:15 http://au.archive.ubuntu.com/ubuntu artful-updates/universe i386 Packages [12.7 kB]
Get:16 http://au.archive.ubuntu.com/ubuntu artful-updates/universe amd64 Packages [12.6 kB]
Get:17 http://au.archive.ubuntu.com/ubuntu artful-updates/universe Translation-en [8,036 B]
Get:18 http://au.archive.ubuntu.com/ubuntu artful-updates/universe amd64 DEP-11 Metadata [5,088 B]
Get:19 http://au.archive.ubuntu.com/ubuntu artful-updates/universe DEP-11 64x64 Icons [7,399 B]
Get:20 http://au.archive.ubuntu.com/ubuntu artful-updates/multiverse amd64 Packages [1,844 B]
Get:21 http://au.archive.ubuntu.com/ubuntu artful-updates/multiverse i386 Packages [2,000 B]
Get:22 http://archive.ubuntu.com/ubuntu artful-proposed InRelease [235 kB]
Get:23 http://security.ubuntu.com/ubuntu artful-security/main i386 Packages [15.6 kB]
Get:24 http://security.ubuntu.com/ubuntu artful-security/main amd64 Packages [15.6 kB]
Get:25 http://security.ubuntu.com/ubuntu artful-security/main Translation-en [7,760 B]
Get:26 http://security.ubuntu.com/ubuntu artful-security/main amd64 DEP-11 Metadata [204 B]
Get:27 http://security.ubuntu.com/ubuntu artful-security/universe amd64 DEP-11 Metadata [2,184 B]
Get:28 http://archive.ubuntu.com/ubuntu artful-updates/main Sources [18.4 kB]
Get:29 http://archive.ubuntu.com/ubuntu artful-updates/main amd64 Packages [28.5 kB]
Get:30 http://archive.ubuntu.com/ubuntu artful-updates/main i386 Packages [28.5 kB]
Get:31 http://archive.ubuntu.com/ubuntu artful-updates/main Translation-en [14.0 kB]
Get:32 http://archive.ubuntu.com/ubuntu artful-updates/main amd64 DEP-11 Metadata [8,268 B]
Get:33 http://archive.ubuntu.com/ubuntu artful-updates/restricted i386 Packages [2,184 B]
Get:34 http://archive.ubuntu.com/ubuntu artful-updates/restricted amd64 Packages [2,204 B]
Get:35 http://archive.ubuntu.com/ubuntu artful-proposed/main Sources [13.4 kB]
Get:36 http://archive.ubuntu.com/ubuntu artful-proposed/main i386 Packages [27.1 kB]
Get:37 http://archive.ubuntu.com/ubuntu artful-proposed/main amd64 Packages [27.9 kB]
Get:38 http://archive.ubuntu.com/ubuntu artful-proposed/main Translation-en [13.2 kB]
Get:39 http://archive.ubuntu.com/ubuntu artful-proposed/main amd64 DEP-11 Metadata [16.9 kB]
Get:40 http://archive.ubuntu.com/ubuntu artful-proposed/universe i386 Packages [13.1 kB]
Get:41 http://archive.ubuntu.com/ubuntu artful-proposed/universe amd64 Packages [13.5 kB]
Get:42 http://archive.ubuntu.com/ubuntu artful-proposed/universe Translation-en [9,112 B]
Get:43 http://archive.ubuntu.com/ubuntu artful-proposed/universe amd64 DEP-11 Metadata [36.3 kB]
Get:44 http://archive.ubuntu.com/ubuntu artful-proposed/universe DEP-11 64x64 Icons [42.8 kB]
Fetched 985 kB in 12s (77.3 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:4
W: Target Sources (restricted/source/Sources) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:4
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list:54
W: Target Sources (restricted/source/Sources) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list:54
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:53
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:53
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:53
W: Target Translations (main/i18n/Translation-en_AU) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:53
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:53
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:53
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:53
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:53
W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:53
W: Target Packages (restricted/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:53
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:53
W: Target Translations (restricted/i18n/Translation-en_AU) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:53
W: Target Translations (restricted/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:53
W: Target DEP-11 (restricted/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:53
W: Target DEP-11 (restricted/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:53
W: Target DEP-11-icons (restricted/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:53
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:4
W: Target Sources (restricted/source/Sources) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:4
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list:54
W: Target Sources (restricted/source/Sources) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list:54
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:53
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:53
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:53
W: Target Translations (main/i18n/Translation-en_AU) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:53
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:53
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:53
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:53
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:53
W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:53
W: Target Packages (restricted/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:53
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:53
W: Target Translations (restricted/i18n/Translation-en_AU) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:53
W: Target Translations (restricted/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:53
W: Target DEP-11 (restricted/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:53
W: Target DEP-11 (restricted/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:53
W: Target DEP-11-icons (restricted/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:53
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package green-recorder
james@james-Streacom:~$ green-recorder
green-recorder: command not found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment