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
116
117
118
119
120
121
122
123 | $ bileto device-upgrade 1943 xxxx
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 342 100 342 0 0 584 0 --:--:-- --:--:-- --:--:-- 583
adb shell egrep ^deb /etc/apt/sources.list.d/*.list
/etc/apt/sources.list.d/extra-ppas.list:deb http://ppa.launchpad.net/ci-train-ppa-service/stable-phone-overlay/ubuntu vivid main
/etc/apt/sources.list.d/extra-ppas.list:deb-src http://ppa.launchpad.net/ci-train-ppa-service/stable-phone-overlay/ubuntu vivid main
adb shell echo -e '#\x21/bin/sh
echo xxxx' >/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/tmp7u6ev_56/secring.gpg' created
gpg: keyring `/tmp/tmp7u6ev_56/pubring.gpg' created
gpg: requesting key ECF1204C from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp7u6ev_56/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/
Cannot add PPA: 'ppa:~ci-train-ppa-service/ubuntu/'.
The team named '~ci-train-ppa-service' has no PPA named 'ubuntu/'
Please choose from the following available PPAs:
* '1550': 1550
* '1640': 1640
* '1647': 1647
* '1658': 1658
* '1802': 1802
* '1866': 1866
* '1873': 1873
* '1886': 1886
* '1895': 1895
* '1897': 1897
* '1948': 1948
* '1949': 1949
* '1951': 1951
* '1952': 1952
* '1955': 1955
* '1956': 1956
* '1960': 1960
* '1961': 1961
* '1962': 1962
* '1964': 1964
* '1966': 1966
* '1967': 1967
* '1968': 1968
* '1969': 1969
* '1971': 1971
* '1972': 1972
* '1974': 1974
* '1975': 1975
* '1977': 1977
* '1978': 1978
* '1979': 1979
* '1982': 1982
* '1983': 1983
* '1984': 1984
* '1985': 1985
* '1988': 1988
* '1989': 1989
* '1990': 1990 - 2016-09-23
* '1991': 1991 - 2016-09-23
* '1992': 1992 - 2016-09-23
* '1993': 1993 - 2016-09-23
* 'emergency-snapshot': Emergency Snapshot PPA
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=**
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=**
Pin-Priority: 1100
Package: *
Pin: release a=vivid*
Pin-Priority: 50
adb shell SUDO_ASKPASS=/tmp/askpass.sh sudo -A apt-get update
Hit http://ppa.launchpad.net vivid InRelease
Hit http://ports.ubuntu.com vivid InRelease
Hit http://ports.ubuntu.com vivid-updates InRelease
Hit http://ports.ubuntu.com vivid-security InRelease
Hit http://ppa.launchpad.net vivid/main Sources
Hit http://ppa.launchpad.net vivid/main armhf Packages
Hit http://ports.ubuntu.com vivid/main Sources
Hit http://ppa.launchpad.net vivid/main Translation-en
Hit http://ports.ubuntu.com vivid/restricted Sources
Hit http://ports.ubuntu.com vivid/universe Sources
Hit http://ports.ubuntu.com vivid/main armhf Packages
Hit http://ports.ubuntu.com vivid/restricted armhf Packages
Hit http://ports.ubuntu.com vivid/universe armhf Packages
Hit http://ports.ubuntu.com vivid/main Translation-en
Hit http://ports.ubuntu.com vivid/restricted Translation-en
Hit http://ports.ubuntu.com vivid/universe Translation-en
Hit http://ports.ubuntu.com vivid-updates/main Sources
Hit http://ports.ubuntu.com vivid-updates/restricted Sources
Hit http://ports.ubuntu.com vivid-updates/universe Sources
Hit http://ports.ubuntu.com vivid-updates/main armhf Packages
Hit http://ports.ubuntu.com vivid-updates/restricted armhf Packages
Hit http://ports.ubuntu.com vivid-updates/universe armhf Packages
Hit http://ports.ubuntu.com vivid-updates/main Translation-en
Hit http://ports.ubuntu.com vivid-updates/restricted Translation-en
Hit http://ports.ubuntu.com vivid-updates/universe Translation-en
Hit http://ports.ubuntu.com vivid-security/main Sources
Hit http://ports.ubuntu.com vivid-security/restricted Sources
Hit http://ports.ubuntu.com vivid-security/universe Sources
Hit http://ports.ubuntu.com vivid-security/main armhf Packages
Hit http://ports.ubuntu.com vivid-security/restricted armhf Packages
Hit http://ports.ubuntu.com vivid-security/universe armhf Packages
Hit http://ports.ubuntu.com vivid-security/main Translation-en
Hit http://ports.ubuntu.com vivid-security/restricted Translation-en
Hit http://ports.ubuntu.com vivid-security/universe Translation-en
Reading package lists... Done
adb shell SUDO_ASKPASS=/tmp/askpass.sh sudo -A apt-mark hold lxc-android-config
lxc-android-config was already set on hold.
|