Skip to content

Instantly share code, notes, and snippets.

@ark3
Created April 25, 2018 18:58
Show Gist options
  • Save ark3/76c7d02ebc2fd7bf8f5230ad9e64ce98 to your computer and use it in GitHub Desktop.
Save ark3/76c7d02ebc2fd7bf8f5230ad9e64ce98 to your computer and use it in GitHub Desktop.
$ docker run --rm -it fedora bash
[root@ff54622d2172 /]# dnf repolist
Fedora 27 - x86_64 - Updates 20 MB/s | 23 MB 00:01
Fedora 27 - x86_64 28 MB/s | 58 MB 00:02
Last metadata expiration check: 0:00:07 ago on Wed Apr 25 18:48:57 2018.
repo id repo name status
*fedora Fedora 27 - x86_64 54801
*updates Fedora 27 - x86_64 - Updates 13965
[root@ff54622d2172 /]#
[root@ff54622d2172 /]# curl -sO https://packagecloud.io/install/repositories/datawireio/telepresence/script.rpm.sh
[root@ff54622d2172 /]#
[root@ff54622d2172 /]# bash script.rpm.sh
Detected operating system as fedora/27.
Checking for curl...
Detected curl...
Downloading repository file: https://packagecloud.io/install/repositories/datawireio/telepresence/config_file.repo?os=fe
dora&dist=27&source=script
done.
Installing pygpgme to verify GPG signatures...
Importing GPG key 0x466E3D99:
Userid : "https://packagecloud.io/datawireio/telepresence (https://packagecloud.io/docs#gpg_signing) <support@packa
gecloud.io>"
Fingerprint: E10F 1EBF 9BCB A7EC 0DD7 D5BC 8A93 8FBE 466E 3D99
From : https://packagecloud.io/datawireio/telepresence/gpgkey
datawireio_telepresence-source 372 B/s | 296 B 00:00
Last metadata expiration check: 0:00:01 ago on Wed Apr 25 18:50:48 2018.
Dependencies resolved.
========================================================================================================================
Package Arch Version Repository Size
========================================================================================================================
Installing:
python2-pygpgme x86_64 0.3-25.fc27 fedora 92 k
Installing dependencies:
python2 x86_64 2.7.13-17.fc27 fedora 99 k
python2-libs x86_64 2.7.13-17.fc27 fedora 6.3 M
python2-pip noarch 9.0.3-1.fc27 updates 2.0 M
python2-setuptools noarch 37.0.0-1.fc27 updates 606 k
Transaction Summary
========================================================================================================================
Install 5 Packages
Total download size: 9.1 M
Installed size: 36 M
Downloading Packages:
(1/5): python2-pygpgme-0.3-25.fc27.x86_64.rpm 157 kB/s | 92 kB 00:00
(2/5): python2-2.7.13-17.fc27.x86_64.rpm 148 kB/s | 99 kB 00:00
(3/5): python2-pip-9.0.3-1.fc27.noarch.rpm 9.8 MB/s | 2.0 MB 00:00
(4/5): python2-setuptools-37.0.0-1.fc27.noarch.rpm 2.9 MB/s | 606 kB 00:00
(5/5): python2-libs-2.7.13-17.fc27.x86_64.rpm 1.8 MB/s | 6.3 MB 00:03
------------------------------------------------------------------------------------------------------------------------
Total 2.0 MB/s | 9.1 MB 00:04
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : python2-libs-2.7.13-17.fc27.x86_64 1/5
Running scriptlet: python2-libs-2.7.13-17.fc27.x86_64 1/5
Installing : python2-pip-9.0.3-1.fc27.noarch 2/5
Installing : python2-setuptools-37.0.0-1.fc27.noarch 3/5
Installing : python2-2.7.13-17.fc27.x86_64 4/5
Installing : python2-pygpgme-0.3-25.fc27.x86_64 5/5
Verifying : python2-pygpgme-0.3-25.fc27.x86_64 1/5
Verifying : python2-libs-2.7.13-17.fc27.x86_64 2/5
Verifying : python2-2.7.13-17.fc27.x86_64 3/5
Verifying : python2-pip-9.0.3-1.fc27.noarch 4/5
Verifying : python2-setuptools-37.0.0-1.fc27.noarch 5/5
Installed:
python2-pygpgme.x86_64 0.3-25.fc27 python2.x86_64 2.7.13-17.fc27 python2-libs.x86_64 2.7.13-17.fc27
python2-pip.noarch 9.0.3-1.fc27 python2-setuptools.noarch 37.0.0-1.fc27
Complete!
Installing yum-utils...
Last metadata expiration check: 0:00:26 ago on Wed Apr 25 18:50:48 2018.
Dependencies resolved.
========================================================================================================================
Package Arch Version Repository Size
========================================================================================================================
Installing:
yum-utils noarch 1.1.31-513.fc27 fedora 117 k
Installing dependencies:
cpio x86_64 2.12-6.fc27 fedora 262 k
pyliblzma x86_64 0.5.3-19.fc27 fedora 54 k
python-urlgrabber noarch 3.10.1-12.fc27 fedora 111 k
python2-iniparse noarch 0.4-26.fc27 fedora 46 k
python2-kitchen noarch 1.2.4-7.fc27 fedora 121 k
python2-pycurl x86_64 7.43.0-9.fc27 fedora 247 k
python2-rpm x86_64 4.14.0-2.fc27 fedora 117 k
python2-six noarch 1.11.0-1.fc27 fedora 36 k
pyxattr x86_64 0.5.3-12.fc27 fedora 34 k
yum noarch 3.4.3-513.fc27 fedora 1.2 M
yum-metadata-parser x86_64 1.1.4-20.fc27 fedora 39 k
Transaction Summary
========================================================================================================================
Install 12 Packages
Total download size: 2.4 M
Installed size: 9.4 M
Downloading Packages:
(1/12): python2-kitchen-1.2.4-7.fc27.noarch.rpm 181 kB/s | 121 kB 00:00
(2/12): yum-utils-1.1.31-513.fc27.noarch.rpm 174 kB/s | 117 kB 00:00
(3/12): pyliblzma-0.5.3-19.fc27.x86_64.rpm 264 kB/s | 54 kB 00:00
(4/12): python-urlgrabber-3.10.1-12.fc27.noarch.rpm 381 kB/s | 111 kB 00:00
(5/12): cpio-2.12-6.fc27.x86_64.rpm 439 kB/s | 262 kB 00:00
(6/12): python2-iniparse-0.4-26.fc27.noarch.rpm 384 kB/s | 46 kB 00:00
(7/12): pyxattr-0.5.3-12.fc27.x86_64.rpm 282 kB/s | 34 kB 00:00
(8/12): yum-metadata-parser-1.1.4-20.fc27.x86_64.rpm 399 kB/s | 39 kB 00:00
(9/12): python2-six-1.11.0-1.fc27.noarch.rpm 219 kB/s | 36 kB 00:00
(10/12): python2-pycurl-7.43.0-9.fc27.x86_64.rpm 634 kB/s | 247 kB 00:00
(11/12): python2-rpm-4.14.0-2.fc27.x86_64.rpm 403 kB/s | 117 kB 00:00
(12/12): yum-3.4.3-513.fc27.noarch.rpm 677 kB/s | 1.2 MB 00:01
------------------------------------------------------------------------------------------------------------------------
Total 1.0 MB/s | 2.4 MB 00:02
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : python2-rpm-4.14.0-2.fc27.x86_64 1/12
Installing : python2-six-1.11.0-1.fc27.noarch 2/12
Installing : python2-iniparse-0.4-26.fc27.noarch 3/12
Installing : python2-pycurl-7.43.0-9.fc27.x86_64 4/12
Installing : python-urlgrabber-3.10.1-12.fc27.noarch 5/12
Installing : yum-metadata-parser-1.1.4-20.fc27.x86_64 6/12
Installing : pyxattr-0.5.3-12.fc27.x86_64 7/12
Installing : pyliblzma-0.5.3-19.fc27.x86_64 8/12
Installing : cpio-2.12-6.fc27.x86_64 9/12
Running scriptlet: cpio-2.12-6.fc27.x86_64 9/12
Installing : yum-3.4.3-513.fc27.noarch 10/12
Running scriptlet: yum-3.4.3-513.fc27.noarch 10/12
Installing : python2-kitchen-1.2.4-7.fc27.noarch 11/12
Installing : yum-utils-1.1.31-513.fc27.noarch 12/12
Running scriptlet: yum-utils-1.1.31-513.fc27.noarch 12/12
Failed to connect to bus: No such file or directory
Verifying : yum-utils-1.1.31-513.fc27.noarch 1/12
Verifying : python2-kitchen-1.2.4-7.fc27.noarch 2/12
Verifying : yum-3.4.3-513.fc27.noarch 3/12
Verifying : cpio-2.12-6.fc27.x86_64 4/12
Verifying : pyliblzma-0.5.3-19.fc27.x86_64 5/12
Verifying : python-urlgrabber-3.10.1-12.fc27.noarch 6/12
Verifying : python2-iniparse-0.4-26.fc27.noarch 7/12
Verifying : pyxattr-0.5.3-12.fc27.x86_64 8/12
Verifying : yum-metadata-parser-1.1.4-20.fc27.x86_64 9/12
Verifying : python2-pycurl-7.43.0-9.fc27.x86_64 10/12
Verifying : python2-six-1.11.0-1.fc27.noarch 11/12
Verifying : python2-rpm-4.14.0-2.fc27.x86_64 12/12
Installed:
yum-utils.noarch 1.1.31-513.fc27 cpio.x86_64 2.12-6.fc27 pyliblzma.x86_64 0.5.3-19.fc27
python-urlgrabber.noarch 3.10.1-12.fc27 python2-iniparse.noarch 0.4-26.fc27 python2-kitchen.noarch 1.2.4-7.fc27
python2-pycurl.x86_64 7.43.0-9.fc27 python2-rpm.x86_64 4.14.0-2.fc27 python2-six.noarch 1.11.0-1.fc27
pyxattr.x86_64 0.5.3-12.fc27 yum.noarch 3.4.3-513.fc27 yum-metadata-parser.x86_64 1.1.4-20.fc27
Complete!
Generating yum cache for datawireio_telepresence...
The repository is setup! You can now install packages.
[root@ff54622d2172 /]#
[root@ff54622d2172 /]# dnf repolist
Last metadata expiration check: 0:02:43 ago on Wed Apr 25 18:51:47 2018.
repo id repo name status
datawireio_telepresence datawireio_telepresence 12
datawireio_telepresence-source datawireio_telepresence-source 0
*fedora Fedora 27 - x86_64 54801
*updates Fedora 27 - x86_64 - Updates 13965
[root@ff54622d2172 /]#
[root@ff54622d2172 /]# dnf install -y telepresence
Last metadata expiration check: 0:03:43 ago on Wed Apr 25 18:51:47 2018.
Dependencies resolved.
========================================================================================================================
Package Arch Version Repository Size
========================================================================================================================
Installing:
telepresence x86_64 0.85-1 datawireio_telepresence 685 k
Installing dependencies:
conntrack-tools x86_64 1.4.4-5.fc27 fedora 201 k
fipscheck x86_64 1.5.0-3.fc27 fedora 25 k
fipscheck-lib x86_64 1.5.0-3.fc27 fedora 14 k
fuse x86_64 2.9.7-9.fc27 fedora 80 k
fuse-common x86_64 3.1.1-9.fc27 fedora 19 k
fuse-libs x86_64 2.9.7-9.fc27 fedora 99 k
fuse-sshfs x86_64 2.8-4.fc27 fedora 54 k
libedit x86_64 3.1-20.20170329cvs.fc27 fedora 99 k
libmnl x86_64 1.0.4-4.fc27 fedora 28 k
libnetfilter_conntrack x86_64 1.0.6-4.fc27 fedora 62 k
libnetfilter_cthelper x86_64 1.0.0-12.fc27 fedora 22 k
libnetfilter_cttimeout x86_64 1.0.0-10.fc27 fedora 22 k
libnetfilter_queue x86_64 1.0.2-10.fc27 fedora 28 k
libnfnetlink x86_64 1.0.1-11.fc27 fedora 31 k
openssh x86_64 7.6p1-5.fc27 updates 501 k
openssh-clients x86_64 7.6p1-5.fc27 updates 671 k
socat x86_64 1.7.3.2-4.fc27 fedora 296 k
tcp_wrappers-libs x86_64 7.6-87.fc27 fedora 72 k
torsocks x86_64 2.1.0-6.fc27 fedora 65 k
which x86_64 2.21-4.fc27 fedora 46 k
Transaction Summary
========================================================================================================================
Install 21 Packages
Total download size: 3.0 M
Installed size: 9.5 M
Downloading Packages:
(1/21): fuse-sshfs-2.8-4.fc27.x86_64.rpm 356 kB/s | 54 kB 00:00
(2/21): conntrack-tools-1.4.4-5.fc27.x86_64.rpm 772 kB/s | 201 kB 00:00
(3/21): torsocks-2.1.0-6.fc27.x86_64.rpm 424 kB/s | 65 kB 00:00
(4/21): socat-1.7.3.2-4.fc27.x86_64.rpm 861 kB/s | 296 kB 00:00
(5/21): libmnl-1.0.4-4.fc27.x86_64.rpm 349 kB/s | 28 kB 00:00
(6/21): libnetfilter_cthelper-1.0.0-12.fc27.x86_64.rpm 237 kB/s | 22 kB 00:00
(7/21): libnetfilter_conntrack-1.0.6-4.fc27.x86_64.rpm 457 kB/s | 62 kB 00:00
(8/21): telepresence-0.85-1.x86_64.rpm 977 kB/s | 685 kB 00:00
(9/21): libnetfilter_queue-1.0.2-10.fc27.x86_64.rpm 298 kB/s | 28 kB 00:00
(10/21): libnetfilter_cttimeout-1.0.0-10.fc27.x86_64.rpm 163 kB/s | 22 kB 00:00
(11/21): libnfnetlink-1.0.1-11.fc27.x86_64.rpm 379 kB/s | 31 kB 00:00
(12/21): fuse-2.9.7-9.fc27.x86_64.rpm 596 kB/s | 80 kB 00:00
(13/21): fuse-libs-2.9.7-9.fc27.x86_64.rpm 626 kB/s | 99 kB 00:00
(14/21): tcp_wrappers-libs-7.6-87.fc27.x86_64.rpm 524 kB/s | 72 kB 00:00
(15/21): fuse-common-3.1.1-9.fc27.x86_64.rpm 233 kB/s | 19 kB 00:00
(16/21): which-2.21-4.fc27.x86_64.rpm 416 kB/s | 46 kB 00:00
(17/21): fipscheck-lib-1.5.0-3.fc27.x86_64.rpm 181 kB/s | 14 kB 00:00
(18/21): libedit-3.1-20.20170329cvs.fc27.x86_64.rpm 494 kB/s | 99 kB 00:00
(19/21): openssh-7.6p1-5.fc27.x86_64.rpm 1.4 MB/s | 501 kB 00:00
(20/21): openssh-clients-7.6p1-5.fc27.x86_64.rpm 1.6 MB/s | 671 kB 00:00
(21/21): fipscheck-1.5.0-3.fc27.x86_64.rpm 304 kB/s | 25 kB 00:00
------------------------------------------------------------------------------------------------------------------------
Total 1.7 MB/s | 3.0 MB 00:01
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : libmnl-1.0.4-4.fc27.x86_64 1/21
Running scriptlet: libmnl-1.0.4-4.fc27.x86_64 1/21
Installing : fipscheck-1.5.0-3.fc27.x86_64 2/21
Installing : fipscheck-lib-1.5.0-3.fc27.x86_64 3/21
Running scriptlet: fipscheck-lib-1.5.0-3.fc27.x86_64 3/21
Installing : libnfnetlink-1.0.1-11.fc27.x86_64 4/21
Running scriptlet: libnfnetlink-1.0.1-11.fc27.x86_64 4/21
Installing : libnetfilter_conntrack-1.0.6-4.fc27.x86_64 5/21
Running scriptlet: libnetfilter_conntrack-1.0.6-4.fc27.x86_64 5/21
Installing : libnetfilter_queue-1.0.2-10.fc27.x86_64 6/21
Running scriptlet: libnetfilter_queue-1.0.2-10.fc27.x86_64 6/21
Running scriptlet: openssh-7.6p1-5.fc27.x86_64 7/21
Installing : openssh-7.6p1-5.fc27.x86_64 7/21
Installing : libnetfilter_cthelper-1.0.0-12.fc27.x86_64 8/21
Running scriptlet: libnetfilter_cthelper-1.0.0-12.fc27.x86_64 8/21
Installing : libnetfilter_cttimeout-1.0.0-10.fc27.x86_64 9/21
Running scriptlet: libnetfilter_cttimeout-1.0.0-10.fc27.x86_64 9/21
Installing : conntrack-tools-1.4.4-5.fc27.x86_64 10/21
Running scriptlet: conntrack-tools-1.4.4-5.fc27.x86_64 10/21
Installing : libedit-3.1-20.20170329cvs.fc27.x86_64 11/21
Running scriptlet: libedit-3.1-20.20170329cvs.fc27.x86_64 11/21
Installing : openssh-clients-7.6p1-5.fc27.x86_64 12/21
Installing : which-2.21-4.fc27.x86_64 13/21
Running scriptlet: which-2.21-4.fc27.x86_64 13/21
install-info: No such file or directory for /usr/share/info/which.info.gz
Installing : fuse-common-3.1.1-9.fc27.x86_64 14/21
Installing : fuse-2.9.7-9.fc27.x86_64 15/21
Installing : tcp_wrappers-libs-7.6-87.fc27.x86_64 16/21
Running scriptlet: tcp_wrappers-libs-7.6-87.fc27.x86_64 16/21
Installing : socat-1.7.3.2-4.fc27.x86_64 17/21
Installing : fuse-libs-2.9.7-9.fc27.x86_64 18/21
Running scriptlet: fuse-libs-2.9.7-9.fc27.x86_64 18/21
Installing : fuse-sshfs-2.8-4.fc27.x86_64 19/21
Installing : torsocks-2.1.0-6.fc27.x86_64 20/21
Installing : telepresence-0.85-1.x86_64 21/21
Running scriptlet: telepresence-0.85-1.x86_64 21/21
Failed to connect to bus: No such file or directory
Verifying : telepresence-0.85-1.x86_64 1/21
Verifying : conntrack-tools-1.4.4-5.fc27.x86_64 2/21
Verifying : fuse-sshfs-2.8-4.fc27.x86_64 3/21
Verifying : socat-1.7.3.2-4.fc27.x86_64 4/21
Verifying : torsocks-2.1.0-6.fc27.x86_64 5/21
Verifying : libmnl-1.0.4-4.fc27.x86_64 6/21
Verifying : libnetfilter_conntrack-1.0.6-4.fc27.x86_64 7/21
Verifying : libnetfilter_cthelper-1.0.0-12.fc27.x86_64 8/21
Verifying : libnetfilter_cttimeout-1.0.0-10.fc27.x86_64 9/21
Verifying : libnetfilter_queue-1.0.2-10.fc27.x86_64 10/21
Verifying : libnfnetlink-1.0.1-11.fc27.x86_64 11/21
Verifying : fuse-2.9.7-9.fc27.x86_64 12/21
Verifying : fuse-libs-2.9.7-9.fc27.x86_64 13/21
Verifying : tcp_wrappers-libs-7.6-87.fc27.x86_64 14/21
Verifying : fuse-common-3.1.1-9.fc27.x86_64 15/21
Verifying : which-2.21-4.fc27.x86_64 16/21
Verifying : openssh-clients-7.6p1-5.fc27.x86_64 17/21
Verifying : openssh-7.6p1-5.fc27.x86_64 18/21
Verifying : fipscheck-lib-1.5.0-3.fc27.x86_64 19/21
Verifying : libedit-3.1-20.20170329cvs.fc27.x86_64 20/21
Verifying : fipscheck-1.5.0-3.fc27.x86_64 21/21
Installed:
telepresence.x86_64 0.85-1 conntrack-tools.x86_64 1.4.4-5.fc27
fipscheck.x86_64 1.5.0-3.fc27 fipscheck-lib.x86_64 1.5.0-3.fc27
fuse.x86_64 2.9.7-9.fc27 fuse-common.x86_64 3.1.1-9.fc27
fuse-libs.x86_64 2.9.7-9.fc27 fuse-sshfs.x86_64 2.8-4.fc27
libedit.x86_64 3.1-20.20170329cvs.fc27 libmnl.x86_64 1.0.4-4.fc27
libnetfilter_conntrack.x86_64 1.0.6-4.fc27 libnetfilter_cthelper.x86_64 1.0.0-12.fc27
libnetfilter_cttimeout.x86_64 1.0.0-10.fc27 libnetfilter_queue.x86_64 1.0.2-10.fc27
libnfnetlink.x86_64 1.0.1-11.fc27 openssh.x86_64 7.6p1-5.fc27
openssh-clients.x86_64 7.6p1-5.fc27 socat.x86_64 1.7.3.2-4.fc27
tcp_wrappers-libs.x86_64 7.6-87.fc27 torsocks.x86_64 2.1.0-6.fc27
which.x86_64 2.21-4.fc27
Complete!
[root@ff54622d2172 /]#
[root@ff54622d2172 /]# telepresence --version
0.85
[root@ff54622d2172 /]#
[root@ff54622d2172 /]# uname -a
Linux ff54622d2172 4.13.0-38-generic #43~16.04.1-Ubuntu SMP Wed Mar 14 17:48:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[root@ff54622d2172 /]# # Ubuntu kernel because the Docker daemon is running on an Ubuntu machine
@ark3
Copy link
Author

ark3 commented Apr 25, 2018

Also:

[root@ff54622d2172 /]# dnf --verbose search telepresence
DNF version: 2.7.3
cachedir: /var/cache/dnf
repo: using cache for: datawireio_telepresence
not found deltainfo for: datawireio_telepresence
not found updateinfo for: datawireio_telepresence
datawireio_telepresence: using metadata from Mon Apr 23 18:37:48 2018.
repo: using cache for: datawireio_telepresence-source
not found deltainfo for: datawireio_telepresence-source
not found updateinfo for: datawireio_telepresence-source
datawireio_telepresence-source: using metadata from Fri Apr 21 12:31:12 2017.
repo: using cache for: updates
updates: using metadata from Tue Apr 24 03:47:13 2018.
repo: using cache for: fedora
not found deltainfo for: Fedora 27 - x86_64
not found updateinfo for: Fedora 27 - x86_64
fedora: using metadata from Sun Nov  5 05:51:47 2017.
Last metadata expiration check: 0:11:01 ago on Wed Apr 25 18:51:47 2018.
Searching Packages: 
========================================== Name Exactly Matched: telepresence ==========================================
telepresence.x86_64 : Local development for a remote Kubernetes cluster.
Repo        : @System
Matched from:
Provide    : telepresence = 0.85-1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment