Ubuntu Pastebin

Paste from robru at Thu, 15 Oct 2015 20:14:13 +0000

Download as text
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
$ ./citrain device-upgrade 24 1234
adb shell egrep ^deb /etc/apt/sources.list.d/*.list
deb http://ppa.launchpad.net/ci-train-ppa-service/stable-snapshot/ubuntu vivid main
adb shell echo -e '#\x21/bin/sh
echo 1234' >/tmp/askpass.sh
adb shell chmod +x /tmp/askpass.sh
adb shell SUDO_ASKPASS=/tmp/askpass.sh sudo -A touch /userdata/.adb_onlock
adb shell SUDO_ASKPASS=/tmp/askpass.sh sudo -A mount -o remount,rw /
adb shell SUDO_ASKPASS=/tmp/askpass.sh sudo -A add-apt-repository -y ppa:ci-train-ppa-service/ubuntu/stable-phone-overlay
gpg: keyring `/tmp/tmp7_fqcc85/secring.gpg' created
gpg: keyring `/tmp/tmp7_fqcc85/pubring.gpg' created
gpg: requesting key ECF1204C from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp7_fqcc85/trustdb.gpg: trustdb created
gpg: key ECF1204C: public key "Launchpad PPA for CI Train PPA Service Team" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
OK
adb shell SUDO_ASKPASS=/tmp/askpass.sh sudo -A add-apt-repository -y ppa:ci-train-ppa-service/ubuntu/landing-024
gpg: keyring `/tmp/tmpxk8r0uca/secring.gpg' created
gpg: keyring `/tmp/tmpxk8r0uca/pubring.gpg' created
gpg: requesting key ECF1204C from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpxk8r0uca/trustdb.gpg: trustdb created
gpg: key ECF1204C: public key "Launchpad PPA for CI Train PPA Service Team" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
OK
adb shell test -e /usr/sbin/policy-rc.d && cp /usr/sbin/policy-rc.d /tmp/policy-rc.d
adb shell echo 'exit 101' | SUDO_ASKPASS=/tmp/askpass.sh sudo -A tee /usr/sbin/policy-rc.d
exit 101
adb shell SUDO_ASKPASS=/tmp/askpass.sh sudo -A chmod +x /usr/sbin/policy-rc.d
adb shell echo -e 'Package: *
Pin: release o=*landing-024*
Pin-Priority: 1100

Package: *
Pin: release a=vivid*
Pin-Priority: 50' | SUDO_ASKPASS=/tmp/askpass.sh sudo -A tee /etc/apt/preferences.d/extra-ppas.pref
Package: *
Pin: release o=*landing-024*
Pin-Priority: 1100

Package: *
Pin: release a=vivid*
Pin-Priority: 50
adb shell SUDO_ASKPASS=/tmp/askpass.sh sudo -A apt-get update
Get:1 http://ports.ubuntu.com vivid InRelease [218 kB]
Get:2 http://ppa.launchpad.net vivid InRelease [20.9 kB]
Get:3 http://ppa.launchpad.net vivid InRelease [20.9 kB]                       
Get:4 http://ppa.launchpad.net vivid InRelease [20.9 kB]                       
Get:5 http://ppa.launchpad.net vivid/main armhf Packages [668 B]               
Get:6 http://ppa.launchpad.net vivid/main Translation-en [282 B]               
Get:7 http://ppa.launchpad.net vivid/main armhf Packages [132 kB]              
Get:8 http://ports.ubuntu.com vivid-updates InRelease [64.4 kB]               
Get:9 http://ports.ubuntu.com vivid-security InRelease [64.4 kB]     
Get:10 http://ports.ubuntu.com vivid/main Sources [1,077 kB]           
Get:11 http://ppa.launchpad.net vivid/main Translation-en [64.1 kB]          
Get:12 http://ppa.launchpad.net vivid/main armhf Packages [130 kB]             
Get:13 http://ppa.launchpad.net vivid/main Translation-en [63.2 kB]            
Get:14 http://ports.ubuntu.com vivid/restricted Sources [7,162 B]              
Get:15 http://ports.ubuntu.com vivid/universe Sources [7,017 kB]
Get:16 http://ports.ubuntu.com vivid/main armhf Packages [1,327 kB]            
Get:17 http://ports.ubuntu.com vivid/restricted armhf Packages [7,128 B]       
Get:18 http://ports.ubuntu.com vivid/universe armhf Packages [6,312 kB]        
Get:19 http://ports.ubuntu.com vivid/main Translation-en [793 kB]              
Get:20 http://ports.ubuntu.com vivid/restricted Translation-en [4,228 B]       
Get:21 http://ports.ubuntu.com vivid/universe Translation-en [4,456 kB]        
Get:22 http://ports.ubuntu.com vivid-updates/main Sources [93.5 kB]            
Get:23 http://ports.ubuntu.com vivid-updates/restricted Sources [3,687 B]      
Get:24 http://ports.ubuntu.com vivid-updates/universe Sources [40.8 kB]        
Get:25 http://ports.ubuntu.com vivid-updates/main armhf Packages [198 kB]      
Get:26 http://ports.ubuntu.com vivid-updates/restricted armhf Packages [7,147 B]
Get:27 http://ports.ubuntu.com vivid-updates/universe armhf Packages [109 kB]  
Get:28 http://ports.ubuntu.com vivid-updates/main Translation-en [103 kB]      
Get:29 http://ports.ubuntu.com vivid-updates/restricted Translation-en [2,969 B]
Get:30 http://ports.ubuntu.com vivid-updates/universe Translation-en [66.1 kB] 
Get:31 http://ports.ubuntu.com vivid-security/main Sources [45.6 kB]           
Get:32 http://ports.ubuntu.com vivid-security/restricted Sources [2,792 B]     
Get:33 http://ports.ubuntu.com vivid-security/universe Sources [18.0 kB]       
Get:34 http://ports.ubuntu.com vivid-security/main armhf Packages [114 kB]     
Get:35 http://ports.ubuntu.com vivid-security/restricted armhf Packages [7,147 B]
Get:36 http://ports.ubuntu.com vivid-security/universe armhf Packages [55.9 kB]
Get:37 http://ports.ubuntu.com vivid-security/main Translation-en [63.9 kB]    
Get:38 http://ports.ubuntu.com vivid-security/restricted Translation-en [2,607 B]
Get:39 http://ports.ubuntu.com vivid-security/universe Translation-en [35.5 kB]
Fetched 22.8 MB in 59s (381 kB/s)                                              
Reading package lists... Done
adb shell SUDO_ASKPASS=/tmp/askpass.sh sudo -A apt-mark hold lxc-android-config
lxc-android-config set on hold.
adb shell SUDO_ASKPASS=/tmp/askpass.sh sudo -A apt-get dist-upgrade --yes --force-yes
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  account-polld
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,672 kB of archives.
After this operation, 77.8 kB disk space will be freed.
Get:1 http://ppa.launchpad.net/ci-train-ppa-service/landing-024/ubuntu/ vivid/main account-polld armhf 0.1+15.04.20151001-0ubuntu1 [1,672 kB]
Fetched 1,672 kB in 3s (463 kB/s)          
(Reading database ... 41760 files and directories currently installed.)
Preparing to unpack .../account-polld_0.1+15.04.20151001-0ubuntu1_armhf.deb ...
Unpacking account-polld (0.1+15.04.20151001-0ubuntu1) over (0.1+15.04.20150410-0ubuntu1) ...
Processing triggers for mime-support (3.58ubuntu1) ...
Setting up account-polld (0.1+15.04.20151001-0ubuntu1) ...
adb shell SUDO_ASKPASS=/tmp/askpass.sh sudo -A apt-get autoremove --yes --force-yes
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
adb shell test ! -e /tmp/policy-rc.d && SUDO_ASKPASS=/tmp/askpass.sh sudo -A rm /usr/sbin/policy-rc.d
adb shell test -e /tmp/policy-rc.d && SUDO_ASKPASS=/tmp/askpass.sh sudo -A mv /tmp/policy-rc.d /usr/sbin/policy-rc.d
adb shell SUDO_ASKPASS=/tmp/askpass.sh sudo -A apt-mark unhold lxc-android-config
Canceled hold on lxc-android-config.
adb shell SUDO_ASKPASS=/tmp/askpass.sh sudo -A reboot
Download as text