Lomiri (formely Unity 8) patches for improved display notch and rounded corners support on devices such as the Volla Phone.
25
stars
20
forks
source link
"No space left on device" error when using sudo apt update while running install script #17
Open
ijiki16 opened 2 months ago
Device: Oneplus 6T OS: Ubuntu Touch 20.04 (OTA-4) ( clean install using ubports-installer) Storage 120.3 GB
APT Update Output
```bash phablet@ubuntu-phablet:~$ sudo apt update Hit:1 http://ports.ubuntu.com/ubuntu-ports focal InRelease Hit:2 http://repo.ubports.com focal InRelease Hit:3 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease Get:4 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease [128 kB] Get:5 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease [128 kB] Err:5 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease Error writing to output file - write (28: No space left on device) [IP: 185.125.190.39 80] Get:6 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 Packages [2,592 kB] Ign:6 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 Packages Get:7 http://ports.ubuntu.com/ubuntu-ports focal-updates/main Translation-en [531 kB] Get:8 http://ports.ubuntu.com/ubuntu-ports focal-updates/restricted arm64 Packages [46.6 kB] Get:9 http://ports.ubuntu.com/ubuntu-ports focal-updates/restricted Translation-en [424 kB] Ign:7 http://ports.ubuntu.com/ubuntu-ports focal-updates/main Translation-en Ign:8 http://ports.ubuntu.com/ubuntu-ports focal-updates/restricted arm64 Packages Ign:9 http://ports.ubuntu.com/ubuntu-ports focal-updates/restricted Translation-en Get:10 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe arm64 Packages [1,116 kB] Ign:10 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe arm64 Packages Get:11 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe Translation-en [288 kB] Ign:11 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe Translation-en Get:12 http://ports.ubuntu.com/ubuntu-ports focal-updates/multiverse arm64 Packages [10.7 kB] Get:13 http://ports.ubuntu.com/ubuntu-ports focal-updates/multiverse Translation-en [7,936 B] Ign:12 http://ports.ubuntu.com/ubuntu-ports focal-updates/multiverse arm64 Packages Ign:13 http://ports.ubuntu.com/ubuntu-ports focal-updates/multiverse Translation-en Get:6 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 Packages [3,221 kB] Ign:7 http://ports.ubuntu.com/ubuntu-ports focal-updates/main Translation-en Get:6 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 Packages [3,221 kB] Ign:6 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 Packages Get:8 http://ports.ubuntu.com/ubuntu-ports focal-updates/restricted arm64 Packages [58.9 kB] Ign:8 http://ports.ubuntu.com/ubuntu-ports focal-updates/restricted arm64 Packages Get:9 http://ports.ubuntu.com/ubuntu-ports focal-updates/restricted Translation-en [536 kB] Ign:9 http://ports.ubuntu.com/ubuntu-ports focal-updates/restricted Translation-en Get:10 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe arm64 Packages [1,413 kB] Ign:10 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe arm64 Packages Get:11 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe Translation-en [401 kB] Ign:11 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe Translation-en Get:12 http://ports.ubuntu.com/ubuntu-ports focal-updates/multiverse arm64 Packages [12.0 kB] Ign:12 http://ports.ubuntu.com/ubuntu-ports focal-updates/multiverse arm64 Packages Get:13 http://ports.ubuntu.com/ubuntu-ports focal-updates/multiverse Translation-en [8,589 B] Ign:13 http://ports.ubuntu.com/ubuntu-ports focal-updates/multiverse Translation-en Ign:7 http://ports.ubuntu.com/ubuntu-ports focal-updates/main Translation-en Get:6 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 Packages [3,221 kB] Ign:6 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 Packages Get:8 http://ports.ubuntu.com/ubuntu-ports focal-updates/restricted arm64 Packages [58.9 kB] Ign:8 http://ports.ubuntu.com/ubuntu-ports focal-updates/restricted arm64 Packages Get:9 http://ports.ubuntu.com/ubuntu-ports focal-updates/restricted Translation-en [536 kB] Ign:9 http://ports.ubuntu.com/ubuntu-ports focal-updates/restricted Translation-en Get:10 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe arm64 Packages [1,413 kB] Ign:10 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe arm64 Packages Get:11 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe Translation-en [401 kB] Ign:11 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe Translation-en Get:12 http://ports.ubuntu.com/ubuntu-ports focal-updates/multiverse arm64 Packages [12.0 kB] Ign:12 http://ports.ubuntu.com/ubuntu-ports focal-updates/multiverse arm64 Packages Get:13 http://ports.ubuntu.com/ubuntu-ports focal-updates/multiverse Translation-en [8,589 B] Ign:13 http://ports.ubuntu.com/ubuntu-ports focal-updates/multiverse Translation-en Err:7 http://ports.ubuntu.com/ubuntu-ports focal-updates/main Translation-en Write error - write (28: No space left on device) Ign:6 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 Packages Ign:8 http://ports.ubuntu.com/ubuntu-ports focal-updates/restricted arm64 Packages Ign:9 http://ports.ubuntu.com/ubuntu-ports focal-updates/restricted Translation-en Ign:10 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe arm64 Packages Ign:11 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe Translation-en Ign:12 http://ports.ubuntu.com/ubuntu-ports focal-updates/multiverse arm64 Packages Ign:13 http://ports.ubuntu.com/ubuntu-ports focal-updates/multiverse Translation-en Fetched 128 kB in 6s (19.8 kB/s) Reading package lists... Error! W: No sandbox user '_apt' on the system, can not drop privileges W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/focal-security/InRelease Error writing to output file - write (28: No space left on device) [IP: 185.125.190.39 80] E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/focal-updates/main/i18n/Translation-en Write error - write (28: No space left on device) W: Some index files failed to download. They have been ignored, or old ones used instead. E: Write error - write (28: No space left on device) E: IO Error saving source cache E: The package lists or status file could not be parsed or opened. ```My
df -h
output is:Output of
apply-notch-hax.sh
Script Output
```bash phablet@ubuntu-phablet:~$ ./apply-notch-hax.sh >> No device specified, detecting device name... >> Detected halium_arm64 systemimage; trying alternative getprop... >> Device is 'OnePlus6' >> Using diff '/home/phablet/.cache/lomiri-notch-hax/OnePlus6.diff' >> Fetching patches for OnePlus6... --2024-06-27 13:49:18-- https://raw.githubusercontent.com/JamiKettunen/lomiri-notch-hax/main/patches/OnePlus6.diff Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.109.133, 185.199.111.133, 185.199.108.133, ... Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.109.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 2730 (2.7K) [text/plain] Saving to: ‘/home/phablet/.cache/lomiri-notch-hax/OnePlus6.diff’ /home/phablet/.cache/lomiri-notch-hax/OnePlu 100%[=============================================================================================>] 2.67K --.-KB/s in 0.001s 2024-06-27 13:49:19 (4.69 MB/s) - ‘/home/phablet/.cache/lomiri-notch-hax/OnePlus6.diff’ saved [2730/2730] >> System utility 'patch' not found, starting installation... Get:1 http://ports.ubuntu.com/ubuntu-ports focal InRelease [265 kB] Get:2 http://repo.ubports.com focal InRelease [10.4 kB] Get:3 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease [128 kB] Get:4 http://repo.ubports.com focal/main arm64 Packages [1,870 kB] Get:5 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease [128 kB] Get:6 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease [128 kB] Get:7 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 Packages [940 kB] Get:8 http://ports.ubuntu.com/ubuntu-ports focal/main Translation-en [506 kB] Get:9 http://ports.ubuntu.com/ubuntu-ports focal/restricted arm64 Packages [1,300 B] Get:10 http://ports.ubuntu.com/ubuntu-ports focal/restricted Translation-en [6,212 B] Get:11 http://ports.ubuntu.com/ubuntu-ports focal/universe arm64 Packages [8,458 kB] Get:12 http://ports.ubuntu.com/ubuntu-ports focal/universe Translation-en [5,124 kB] Get:13 http://ports.ubuntu.com/ubuntu-ports focal/multiverse arm64 Packages [114 kB] Get:14 http://ports.ubuntu.com/ubuntu-ports focal/multiverse Translation-en [104 kB] Get:15 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 Packages [2,592 kB] Get:16 http://ports.ubuntu.com/ubuntu-ports focal-updates/main Translation-en [531 kB] Get:17 http://ports.ubuntu.com/ubuntu-ports focal-updates/restricted arm64 Packages [46.6 kB] Get:18 http://ports.ubuntu.com/ubuntu-ports focal-updates/restricted Translation-en [424 kB] Get:19 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe arm64 Packages [1,116 kB] Get:20 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe Translation-en [288 kB] Get:21 http://ports.ubuntu.com/ubuntu-ports focal-updates/multiverse arm64 Packages [10.7 kB] Get:22 http://ports.ubuntu.com/ubuntu-ports focal-updates/multiverse Translation-en [7,936 B] Get:23 http://ports.ubuntu.com/ubuntu-ports focal-backports/main arm64 Packages [45.4 kB] Get:24 http://ports.ubuntu.com/ubuntu-ports focal-backports/main Translation-en [16.3 kB] Get:25 http://ports.ubuntu.com/ubuntu-ports focal-backports/universe arm64 Packages [24.3 kB] Get:26 http://ports.ubuntu.com/ubuntu-ports focal-backports/universe Translation-en [16.3 kB] Get:27 http://ports.ubuntu.com/ubuntu-ports focal-security/main arm64 Packages [2,293 kB] Get:28 http://ports.ubuntu.com/ubuntu-ports focal-security/main Translation-en [451 kB] Get:29 http://ports.ubuntu.com/ubuntu-ports focal-security/restricted arm64 Packages [46.3 kB] Get:30 http://ports.ubuntu.com/ubuntu-ports focal-security/restricted Translation-en [407 kB] Get:31 http://ports.ubuntu.com/ubuntu-ports focal-security/universe arm64 Packages [897 kB] Get:32 http://ports.ubuntu.com/ubuntu-ports focal-security/universe Translation-en [206 kB] Get:33 http://ports.ubuntu.com/ubuntu-ports focal-security/multiverse arm64 Packages [5,400 B] Get:34 http://ports.ubuntu.com/ubuntu-ports focal-security/multiverse Translation-en [5,968 B] Ign:16 http://ports.ubuntu.com/ubuntu-ports focal-updates/main Translation-en Get:16 http://ports.ubuntu.com/ubuntu-ports focal-updates/main Translation-en [784 kB] Ign:18 http://ports.ubuntu.com/ubuntu-ports focal-updates/restricted Translation-en Get:18 http://ports.ubuntu.com/ubuntu-ports focal-updates/restricted Translation-en [536 kB] Ign:20 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe Translation-en Ign:27 http://ports.ubuntu.com/ubuntu-ports focal-security/main arm64 Packages Ign:28 http://ports.ubuntu.com/ubuntu-ports focal-security/main Translation-en Ign:30 http://ports.ubuntu.com/ubuntu-ports focal-security/restricted Translation-en Ign:31 http://ports.ubuntu.com/ubuntu-ports focal-security/universe arm64 Packages Ign:32 http://ports.ubuntu.com/ubuntu-ports focal-security/universe Translation-en Ign:16 http://ports.ubuntu.com/ubuntu-ports focal-updates/main Translation-en Ign:18 http://ports.ubuntu.com/ubuntu-ports focal-updates/restricted Translation-en Get:20 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe Translation-en [401 kB] Ign:20 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe Translation-en Get:27 http://ports.ubuntu.com/ubuntu-ports focal-security/main arm64 Packages [2,843 kB] Ign:27 http://ports.ubuntu.com/ubuntu-ports focal-security/main arm64 Packages Get:28 http://ports.ubuntu.com/ubuntu-ports focal-security/main Translation-en [667 kB] Ign:28 http://ports.ubuntu.com/ubuntu-ports focal-security/main Translation-en Get:30 http://ports.ubuntu.com/ubuntu-ports focal-security/restricted Translation-en [515 kB] Ign:30 http://ports.ubuntu.com/ubuntu-ports focal-security/restricted Translation-en Get:31 http://ports.ubuntu.com/ubuntu-ports focal-security/universe arm64 Packages [1,128 kB] Ign:31 http://ports.ubuntu.com/ubuntu-ports focal-security/universe arm64 Packages Get:32 http://ports.ubuntu.com/ubuntu-ports focal-security/universe Translation-en [282 kB] Ign:32 http://ports.ubuntu.com/ubuntu-ports focal-security/universe Translation-en Ign:16 http://ports.ubuntu.com/ubuntu-ports focal-updates/main Translation-en Get:18 http://ports.ubuntu.com/ubuntu-ports focal-updates/restricted Translation-en [536 kB] Ign:18 http://ports.ubuntu.com/ubuntu-ports focal-updates/restricted Translation-en Get:20 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe Translation-en [401 kB] Ign:20 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe Translation-en Get:27 http://ports.ubuntu.com/ubuntu-ports focal-security/main arm64 Packages [2,843 kB] Ign:27 http://ports.ubuntu.com/ubuntu-ports focal-security/main arm64 Packages Get:28 http://ports.ubuntu.com/ubuntu-ports focal-security/main Translation-en [667 kB] Ign:28 http://ports.ubuntu.com/ubuntu-ports focal-security/main Translation-en Get:30 http://ports.ubuntu.com/ubuntu-ports focal-security/restricted Translation-en [515 kB] Ign:30 http://ports.ubuntu.com/ubuntu-ports focal-security/restricted Translation-en Get:31 http://ports.ubuntu.com/ubuntu-ports focal-security/universe arm64 Packages [1,128 kB] Ign:31 http://ports.ubuntu.com/ubuntu-ports focal-security/universe arm64 Packages Get:32 http://ports.ubuntu.com/ubuntu-ports focal-security/universe Translation-en [282 kB] Ign:32 http://ports.ubuntu.com/ubuntu-ports focal-security/universe Translation-en Err:16 http://ports.ubuntu.com/ubuntu-ports focal-updates/main Translation-en Write error - write (28: No space left on device) Ign:18 http://ports.ubuntu.com/ubuntu-ports focal-updates/restricted Translation-en Ign:20 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe Translation-en Ign:27 http://ports.ubuntu.com/ubuntu-ports focal-security/main arm64 Packages Ign:28 http://ports.ubuntu.com/ubuntu-ports focal-security/main Translation-en Ign:30 http://ports.ubuntu.com/ubuntu-ports focal-security/restricted Translation-en Ign:31 http://ports.ubuntu.com/ubuntu-ports focal-security/universe arm64 Packages Ign:32 http://ports.ubuntu.com/ubuntu-ports focal-security/universe Translation-en Err:27 http://ports.ubuntu.com/ubuntu-ports focal-security/main arm64 Packages Error writing to output file - write (28: No space left on device) [IP: 185.125.190.36 80] Ign:28 http://ports.ubuntu.com/ubuntu-ports focal-security/main Translation-en Ign:30 http://ports.ubuntu.com/ubuntu-ports focal-security/restricted Translation-en Ign:31 http://ports.ubuntu.com/ubuntu-ports focal-security/universe arm64 Packages Ign:32 http://ports.ubuntu.com/ubuntu-ports focal-security/universe Translation-en Fetched 27.2 MB in 14s (1,960 kB/s) Reading package lists... Error! W: No sandbox user '_apt' on the system, can not drop privileges E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/focal-updates/main/i18n/Translation-en Write error - write (28: No space left on device) E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/focal-security/main/binary-arm64/Packages Error writing to output file - write (28: No space left on device) [IP: 185.125.190.36 80] E: Some index files failed to download. They have been ignored, or old ones used instead. E: Write error - write (28: No space left on device) E: IO Error saving source cache E: The package lists or status file could not be parsed or opened. ```