Ubuntu 20.04 apt update - Skipping acquisition of files

Before anything: I’m a new Linux user and have only been in this world for a week, so please be gentle with me if I’m displaying clear ignorance.

I’ve been encountering issues when running the $ sudo apt update command on my terminal (Ubuntu 20.04).

This is the output:

$ sudo apt update
Hit:1 http://repository.spotify.com stable InRelease
Hit:2 http://no.archive.ubuntu.com/ubuntu focal InRelease
Get:3 http://security.ubuntu.com/ubuntu focal-security InRelease [107 kB]
Hit:4 http://no.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:5 http://no.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:6 https://repo.skype.com/deb stable InRelease
Hit:7 https://repo.nordvpn.com/deb/nordvpn/debian stable InRelease
Hit:8 http://apt.insync.io/ubuntu focal InRelease
Fetched 107 kB in 1s (74.0 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up-to-date.
W: Skipping acquisition of configured file 'InRelease/source/Sources', as repository 'http://apt.insync.io/ubuntu focal InRelease' doesn't have the component 'InRelease' (component misspelt in sources.list?)
W: Skipping acquisition of configured file 'focal/source/Sources', as repository 'http://apt.insync.io/ubuntu focal InRelease' doesn't have the component 'focal' (component misspelt in sources.list?)
W: Skipping acquisition of configured file 'InRelease/binary-amd64/Packages', as repository 'http://apt.insync.io/ubuntu focal InRelease' doesn't have the component 'InRelease' (component misspelt in sources.list?)
W: Skipping acquisition of configured file 'InRelease/binary-i386/Packages', as repository 'http://apt.insync.io/ubuntu focal InRelease' doesn't have the component 'InRelease' (component misspelt in sources.list?)
W: Skipping acquisition of configured file 'InRelease/i18n/Translation-en_GB', as repository 'http://apt.insync.io/ubuntu focal InRelease' doesn't have the component 'InRelease' (component misspelt in sources.list?)
W: Skipping acquisition of configured file 'InRelease/i18n/Translation-en', as repository 'http://apt.insync.io/ubuntu focal InRelease' doesn't have the component 'InRelease' (component misspelt in sources.list?)
W: Skipping acquisition of configured file 'InRelease/i18n/Translation-en_CA', as repository 'http://apt.insync.io/ubuntu focal InRelease' doesn't have the component 'InRelease' (component misspelt in sources.list?)
W: Skipping acquisition of configured file 'InRelease/i18n/Translation-en_US', as repository 'http://apt.insync.io/ubuntu focal InRelease' doesn't have the component 'InRelease' (component misspelt in sources.list?)
W: Skipping acquisition of configured file 'InRelease/i18n/Translation-en_AU', as repository 'http://apt.insync.io/ubuntu focal InRelease' doesn't have the component 'InRelease' (component misspelt in sources.list?)
W: Skipping acquisition of configured file 'InRelease/dep11/Components-amd64.yml', as repository 'http://apt.insync.io/ubuntu focal InRelease' doesn't have the component 'InRelease' (component misspelt in sources.list?)
W: Skipping acquisition of configured file 'InRelease/dep11/icons-48x48.tar', as repository 'http://apt.insync.io/ubuntu focal InRelease' doesn't have the component 'InRelease' (component misspelt in sources.list?)
W: Skipping acquisition of configured file 'InRelease/dep11/icons-64x64.tar', as repository 'http://apt.insync.io/ubuntu focal InRelease' doesn't have the component 'InRelease' (component misspelt in sources.list?)
W: Skipping acquisition of configured file 'InRelease/dep11/icons-64x64@2.tar', as repository 'http://apt.insync.io/ubuntu focal InRelease' doesn't have the component 'InRelease' (component misspelt in sources.list?)
W: Skipping acquisition of configured file 'InRelease/cnf/Commands-amd64', as repository 'http://apt.insync.io/ubuntu focal InRelease' doesn't have the component 'InRelease' (component misspelt in sources.list?)

I have read the installation guide and this post and tried:

  • going into the /etc/apt/sources.list.d/insync.list file and altering the distribution codename (for some reason, it was “focal focal”)
  • the sudo apt-key command from the installation page (about 3 or 4 times)
  • installing the GPG key
  • checking that the repository is, indeed, saved as insync.io
  • changinc /etc/apt/sources.list.d/insync.list back to focal focal (only got more warnings like these)

I originally installed Insync from the Ubuntu 20.04 deb installer (insync_3.2.7.40868-focal_amd64.deb), but have since run all of the commands suggested in the Repositories tab of the Download page.
Initially, the repository was considered unauthenticated, but after running some of the commands (I don’t remember exactly when), I managed to only get the warnings above.

What can I do to solve these warnings?

Let me check this out with our engineers so we can advise you accordingly!

1 Like

Hi @itsameana

Can you send us the contents of your /etc/apt/sources.list.d/insync.list? Also the output of apt-key list

Thanks!

1 Like

Thanks to both of you for coming here to help me!

/etc/apt/sources.list.d/insync.list contents:
deb http://apt.insync.io/ubuntu focal non-free InRelease contrib

and

apt-key list output:
/etc/apt/trusted.gpg
--------------------
pub rsa2048 2012-09-10 [SCEA] [expires: 2024-09-08]
AEEB 94E9 C5A3 B54E CFA4 A66A A684 470C ACCA F35C
uid [ unknown] Insynchq Inc <services@insynchq.com>

pub rsa2048 2016-06-22 [SC] [expires: 2021-06-21]
D404 0146 BE39 7250 9FD5 7FC7 1F30 45A5 DF75 87C3
uid [ unknown] Skype Linux Client Repository <se-um@microsoft.com>
sub rsa2048 2016-06-22 [E] [expires: 2021-06-21]

pub rsa4096 2019-07-15 [SC] [expires: 2020-10-07]
2EBF 997C 15BD A244 B6EB F5D8 4773 BD5E 130D 1D45
uid [ unknown] Spotify Public Repository Signing Key <tux@spotify.com>

pub rsa4096 2020-09-08 [SC] [expires: 2021-12-02]
8FD3 D9A8 D380 0305 A9FF F259 D174 2AD6 0D81 1D58
uid [ unknown] Spotify Public Repository Signing Key <tux@spotify.com>

/etc/apt/trusted.gpg.d/nordvpn-keyring.gpg
------------------------------------------
pub rsa4096 2018-08-02 [SC]
BC54 80EF EC5C 081C E5BC FBE2 6B21 9E53 5C96 4CA1
uid [ unknown] NordVPN <admin@nordvpn.com>
sub rsa4096 2018-08-02 [S]

/etc/apt/trusted.gpg.d/spotify-2018-05-23-48BF1C90.gpg
------------------------------------------------------
pub rsa4096 2018-05-23 [SC] [expired: 2019-08-16]
931F F8E7 9F08 7613 4EDD BDCC A87F F9DF 48BF 1C90
uid [ expired] Spotify Public Repository Signing Key <tux@spotify.com>

/etc/apt/trusted.gpg.d/spotify-2019-07-15-4773BD5E130D1D45.gpg
--------------------------------------------------------------
pub rsa4096 2019-07-15 [SC] [expires: 2020-10-07]
2EBF 997C 15BD A244 B6EB F5D8 4773 BD5E 130D 1D45
uid [ unknown] Spotify Public Repository Signing Key <tux@spotify.com>

/etc/apt/trusted.gpg.d/ubuntu-keyring-2012-archive.gpg
------------------------------------------------------
pub rsa4096 2012-05-11 [SC]
790B C727 7767 219C 42C8 6F93 3B4F E6AC C0B2 1F32
uid [ unknown] Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ubuntu.com>

/etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg
------------------------------------------------------
pub rsa4096 2012-05-11 [SC]
8439 38DF 228D 22F7 B374 2BC0 D94A A3F0 EFE2 1092
uid [ unknown] Ubuntu CD Image Automatic Signing Key (2012) <cdimage@ubuntu.com>

/etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg
------------------------------------------------------
pub rsa4096 2018-09-17 [SC]
F6EC B376 2474 EDA9 D21B 7022 8719 20D1 991B C93C
uid [ unknown] Ubuntu Archive Automatic Signing Key (2018) <ftpmaster@ubuntu.com>

Hi @itsameana

In your insync.list file, remove the InRelease text so the resulting contents will be
deb http://apt.insync.io/ubuntu focal non-free contrib
Running sudo apt-get update should no longer show the errors

I did as you asked and the number of warnings was drastically reduced. But now there are still there two left:

sudo apt update
Hit:1 http://no.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://no.archive.ubuntu.com/ubuntu focal-updates InRelease                                       
Hit:3 http://no.archive.ubuntu.com/ubuntu focal-backports InRelease                                     
Hit:4 http://security.ubuntu.com/ubuntu focal-security InRelease                                        
Hit:5 https://repo.skype.com/deb stable InRelease                                                       
Hit:6 http://repository.spotify.com stable InRelease                                                    
Hit:7 https://repo.nordvpn.com/deb/nordvpn/debian stable InRelease                           
Hit:8 http://apt.insync.io/ubuntu focal InRelease                      
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up-to-date.
W: Skipping acquisition of configured file 'InRelease/source/Sources', as repository 'http://apt.insync.io/ubuntu focal InRelease' doesn't have the component 'InRelease' (component misspelt in sources.list?)
W: Skipping acquisition of configured file 'focal/source/Sources', as repository 'http://apt.insync.io/ubuntu focal InRelease' doesn't have the component 'focal' (component misspelt in sources.list?)

Hi @itsameana

I think there might another file which has InRelease or focal focal specified

Can you run grep -rnw '/etc/apt/' -e 'insync.io' and send the output?

2 Likes
$ grep -rnw '/etc/apt/' -e 'insync.io'
/etc/apt/sources.list.d/insync.list.save:1:deb http://apt.insync.io/ubuntu fossa non-free InRelease contrib
/etc/apt/sources.list.d/insync.list:1:deb http://apt.insync.io/ubuntu focal non-free contrib
/etc/apt/sources.list:58:deb-src http://apt.insync.io/ubuntu focal focal InRelease
/etc/apt/sources.list.save:58:deb-src http://apt.insync.io/ubuntu focal focal InRelease

PS: Sorry it took me so long to reply, and thank you SO much for the immense dedication in helping me!

1 Like

Hi @itsameana

No problem!
From the output, there are still erroneous entries present (contains InRelease or focal focal

Remove the line deb-src http://apt.insync.io/ubuntu focal focal InRelease from both of the files /etc/apt/sources.list and /etc/apt/sources.list.save
Then remove the file /etc/apt/sources.list.d/insync.list.save

Then running sudo apt-get update should no longer show those errors

1 Like

Hey, I just realised I forgot to reply to this! I’m very sorry.

It worked! All is fixed now.

Thank you SO MUCH for all the help.

1 Like

hii i am also facing the same problem but in my case /etc/apt/sources.list.d/insync.list no such file exist
and the output of apt-key list is

############################################################

Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
/etc/apt/trusted.gpg

pub rsa4096 2017-05-08 [SCEA]
1EDD E2CD FC02 5D17 F6DA 9EC0 ADAE 6AD2 8A8F 901A
uid [ unknown] Sublime HQ Pty Ltd support@sublimetext.com
sub rsa4096 2017-05-08 [S]

pub rsa4096 2012-05-11 [SC]
790B C727 7767 219C 42C8 6F93 3B4F E6AC C0B2 1F32
uid [ unknown] Ubuntu Archive Automatic Signing Key (2012) ftpmaster@ubuntu.com

/etc/apt/trusted.gpg.d/google-chrome.gpg

pub rsa4096 2016-04-12 [SC]
EB4C 1BFD 4F04 2F6D DDCC EC91 7721 F63B D38B 4796
uid [ unknown] Google Inc. (Linux Packages Signing Authority) linux-packages-keymaster@google.com
sub rsa4096 2021-10-26 [S] [expires: 2024-10-25]

/etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg

pub rsa4096 2012-05-11 [SC]
8439 38DF 228D 22F7 B374 2BC0 D94A A3F0 EFE2 1092
uid [ unknown] Ubuntu CD Image Automatic Signing Key (2012) cdimage@ubuntu.com

/etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg

pub rsa4096 2018-09-17 [SC]
F6EC B376 2474 EDA9 D21B 7022 8719 20D1 991B C93C
uid [ unknown] Ubuntu Archive Automatic Signing Key (2018) ftpmaster@ubuntu.com

################################################################

please help me to come out from this problem

@Keshav_Gupta Hey! I’ve forwarded your concern to @Kurt_Ko and await his reply. Thank you!

@Keshav_Gupta Just wanted to check if you still need help on this!