Lompat ke konten Lompat ke sidebar Lompat ke footer

Cara Mengatasi Clearsigned file isn't valid, got 'NOSPLIT'

Kali ini saya membagikan masalah  Clearsigned file isn't valid, got 'NOSPLIT' dan cara memperbaiki Clearsigned file isn't valid, got 'NOSPLIT'. Berikut errornya saat melakukan "apt update && sudo apt upgrade -y". 

root@geralnb:/home/geralnb# sudo apt update && sudo apt upgrade -y Get:1 http://mirror.idcloudhost.com/ubuntu noble InRelease [3266 B] Get:2 http://mirror.idcloudhost.com/ubuntu noble-updates InRelease [3266 B] Get:3 http://mirror.idcloudhost.com/ubuntu noble-backports InRelease [3266 B] Err:1 http://mirror.idcloudhost.com/ubuntu noble InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?) Err:2 http://mirror.idcloudhost.com/ubuntu noble-updates InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?) Err:3 http://mirror.idcloudhost.com/ubuntu noble-backports InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?) Get:4 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB] Get:5 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1391 kB] Get:6 http://security.ubuntu.com/ubuntu noble-security/main Translation-en [225 kB] Get:7 http://security.ubuntu.com/ubuntu noble-security/main amd64 Components [21.5 kB] Get:8 http://security.ubuntu.com/ubuntu noble-security/main amd64 c-n-f Metadata [9504 B] Get:9 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [916 kB] Get:10 http://security.ubuntu.com/ubuntu noble-security/universe Translation-en [207 kB] Get:11 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Components [71.5 kB] Get:12 http://security.ubuntu.com/ubuntu noble-security/universe amd64 c-n-f Metadata [19.4 kB] Get:13 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [2286 kB] Get:14 http://security.ubuntu.com/ubuntu noble-security/restricted Translation-en [523 kB] Get:15 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Components [212 B] Get:16 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 c-n-f Metadata [500 B] Get:17 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Packages [27.4 kB] Get:18 http://security.ubuntu.com/ubuntu noble-security/multiverse Translation-en [5956 B] Get:19 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Components [212 B] Get:20 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 c-n-f Metadata [384 B] Reading package lists... Done N: See apt-secure(8) manpage for repository creation and user configuration details. N: Updating from such a repository can't be done securely, and is therefore disabled by default. E: The repository 'http://mirror.idcloudhost.com/ubuntu noble InRelease' is no longer signed. E: Failed to fetch http://mirror.idcloudhost.com/ubuntu/dists/noble/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?) E: Failed to fetch http://mirror.idcloudhost.com/ubuntu/dists/noble-updates/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?) E: The repository 'http://mirror.idcloudhost.com/ubuntu noble-updates InRelease' is no longer signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. E: Failed to fetch http://mirror.idcloudhost.com/ubuntu/dists/noble-backports/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?) E: The repository 'http://mirror.idcloudhost.com/ubuntu noble-backports InRelease' is no longer signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. 

Cara Memperbaiki Clearsigned file isn't valid, got 'NOSPLIT' Berdasarkan Pengalaman Pribadi

MATIKAN mirror.idcloudhost dengan cari dulu filenya:

grep -R "idcloudhost" /etc/apt/

Biasanya ketemu di:

/etc/apt/sources.list.d/*.list

Contoh:

 root@geralnb# grep -R "idcloudhost" /etc/apt/
/etc/apt/sources.list.d/ubuntu.sources:#URIs: http://mirror.idcloudhost.com/ubuntu

Nonaktifkan (AMAN) dengan command

mkdir -p /root/apt-backup
mv /etc/apt/sources.list.d/*idcloudhost* /root/apt-backup/ 2>/dev/null 

Disable sources.list

mv /etc/apt/sources.list /etc/apt/sources.list.disabled

Edit ubuntu.sources

nano /etc/apt/sources.list.d/ubuntu.sources

Pastikan isinya seperti ini (boleh full replace):

Types: deb
URIs: http://archive.ubuntu.com/ubuntu
Suites: noble noble-updates noble-backports
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg

Types: deb
URIs: http://security.ubuntu.com/ubuntu
Suites: noble-security
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg

Save & exit.

Bersih dan Update

apt clean
rm -rf /var/lib/apt/lists/*
apt update
apt upgrade -y

Sebelumnya mencoba ganti mirror ke mirror resmi Ubuntu tapi tetap muncul:

N: See apt-secure(8) manpage for repository creation and user configuration details. N: Updating from such a repository can't be done securely, and is therefore disabled by default. E: The repository 'http://mirror.idcloudhost.com/ubuntu noble InRelease' is no longer signed. E: Failed to fetch http://mirror.idcloudhost.com/ubuntu/dists/noble/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?) E: Failed to fetch http://mirror.idcloudhost.com/ubuntu/dists/noble-updates/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?) E: The repository 'http://mirror.idcloudhost.com/ubuntu noble-updates InRelease' is no longer signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. E: Failed to fetch http://mirror.idcloudhost.com/ubuntu/dists/noble-backports/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?) E: The repository 'http://mirror.idcloudhost.com/ubuntu noble-backports InRelease' is no longer signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target DEP-11 (universe/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target DEP-11 (universe/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target CNF (universe/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target Translations (restricted/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target DEP-11 (restricted/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target DEP-11 (restricted/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target CNF (restricted/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target DEP-11 (multiverse/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target DEP-11 (multiverse/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target CNF (multiverse/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target DEP-11 (universe/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target DEP-11 (universe/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target CNF (universe/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target Translations (restricted/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target DEP-11 (restricted/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target DEP-11 (restricted/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target CNF (restricted/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target DEP-11 (multiverse/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target DEP-11 (multiverse/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target CNF (multiverse/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list.d/ubuntu.sources:2 

Penyebab 1

mirror.idcloudhost MASIH AKTIF. Walaupun sudah edit /etc/apt/sources.list, APT masih membaca repo lain, yaitu:

http://mirror.idcloudhost.com/ubuntu

Itu BUKAN dari sources.list, tapi dari file lain. 

Penyebab 2

DUPLIKASI REPO (Ubuntu 22.04+ pakai format .sources). Error warning ini kuncinya: 

configured multiple times in:
- /etc/apt/sources.list
- /etc/apt/sources.list.d/ubuntu.sources 

Artinya masih pakai sources.list (lama) dan Ubuntu Noble juga pakai ubuntu.sources (format baru)
➡️ Jadi repo dobel + bentrok 

 

Posting Komentar untuk "Cara Mengatasi Clearsigned file isn't valid, got 'NOSPLIT'"