0

I am having Ubuntu 19.10 and I get following errors when I do sudo apt-get update

debian@osboxes:~/cs605 data management/assignment6/mumbai instance keys$ sudo apt-get update
Hit:1 http://archive.ubuntu.com/ubuntu eoan InRelease                                                               
Hit:2 http://ppa.launchpad.net/linuxuprising/java/ubuntu eoan InRelease                                                            
Hit:3 http://linux.teamviewer.com/deb stable InRelease                                                                             
Get:4 http://archive.ubuntu.com/ubuntu eoan-updates InRelease [97.5 kB]                       
Ign:5 https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 InRelease         
Hit:6 https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 Release           
Get:8 http://archive.ubuntu.com/ubuntu eoan-security InRelease [97.5 kB]
Get:9 http://archive.ubuntu.com/ubuntu eoan-backports InRelease [88.8 kB]
Get:10 http://archive.ubuntu.com/ubuntu eoan-updates/main amd64 DEP-11 Metadata [73.0 kB]
Get:11 http://archive.ubuntu.com/ubuntu eoan-updates/main DEP-11 48x48 Icons [9,954 B]
Get:12 http://archive.ubuntu.com/ubuntu eoan-updates/main DEP-11 64x64 Icons [15.1 kB]
Get:13 http://archive.ubuntu.com/ubuntu eoan-updates/universe amd64 DEP-11 Metadata [25.9 kB]
Get:14 http://archive.ubuntu.com/ubuntu eoan-updates/universe DEP-11 48x48 Icons [18.5 kB]
Get:15 http://archive.ubuntu.com/ubuntu eoan-updates/universe DEP-11 64x64 Icons [22.9 kB]
Get:16 http://archive.ubuntu.com/ubuntu eoan-security/main amd64 DEP-11 Metadata [204 B]
Get:17 http://archive.ubuntu.com/ubuntu eoan-security/universe amd64 DEP-11 Metadata [1,664 B]
Get:18 http://archive.ubuntu.com/ubuntu eoan-backports/universe amd64 DEP-11 Metadata [7,764 B]
Fetched 459 kB in 5s (101 kB/s)              
Reading package lists... Done
W: Skipping acquire of configured file '|/binary-arm64/Packages' as repository 'https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 InRelease' doesn't have the component '|' (component misspelt in sources.list?)
W: Skipping acquire of configured file '|/binary-amd64/Packages' as repository 'https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 InRelease' doesn't have the component '|' (component misspelt in sources.list?)
W: Skipping acquire of configured file '|/i18n/Translation-en' as repository 'https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 InRelease' doesn't have the component '|' (component misspelt in sources.list?)
W: Skipping acquire of configured file '|/i18n/Translation-en_US' as repository 'https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 InRelease' doesn't have the component '|' (component misspelt in sources.list?)
W: Skipping acquire of configured file '|/dep11/Components-amd64.yml' as repository 'https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 InRelease' doesn't have the component '|' (component misspelt in sources.list?)
W: Skipping acquire of configured file '|/dep11/icons-48x48.tar' as repository 'https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 InRelease' doesn't have the component '|' (component misspelt in sources.list?)
W: Skipping acquire of configured file '|/dep11/icons-64x64.tar' as repository 'https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 InRelease' doesn't have the component '|' (component misspelt in sources.list?)
W: Skipping acquire of configured file '|/cnf/Commands-amd64' as repository 'https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 InRelease' doesn't have the component '|' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'sudo/binary-amd64/Packages' as repository 'https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 InRelease' doesn't have the component 'sudo' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'sudo/binary-arm64/Packages' as repository 'https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 InRelease' doesn't have the component 'sudo' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'sudo/i18n/Translation-en' as repository 'https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 InRelease' doesn't have the component 'sudo' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'sudo/i18n/Translation-en_US' as repository 'https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 InRelease' doesn't have the component 'sudo' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'sudo/dep11/Components-amd64.yml' as repository 'https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 InRelease' doesn't have the component 'sudo' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'sudo/dep11/icons-48x48.tar' as repository 'https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 InRelease' doesn't have the component 'sudo' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'sudo/dep11/icons-64x64.tar' as repository 'https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 InRelease' doesn't have the component 'sudo' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'sudo/cnf/Commands-amd64' as repository 'https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 InRelease' doesn't have the component 'sudo' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'tee/binary-arm64/Packages' as repository 'https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 InRelease' doesn't have the component 'tee' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'tee/binary-amd64/Packages' as repository 'https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 InRelease' doesn't have the component 'tee' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'tee/i18n/Translation-en_US' as repository 'https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 InRelease' doesn't have the component 'tee' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'tee/i18n/Translation-en' as repository 'https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 InRelease' doesn't have the component 'tee' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'tee/dep11/Components-amd64.yml' as repository 'https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 InRelease' doesn't have the component 'tee' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'tee/dep11/icons-48x48.tar' as repository 'https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 InRelease' doesn't have the component 'tee' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'tee/dep11/icons-64x64.tar' as repository 'https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 InRelease' doesn't have the component 'tee' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'tee/cnf/Commands-amd64' as repository 'https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 InRelease' doesn't have the component 'tee' (component misspelt in sources.list?)
W: Skipping acquire of configured file '/etc/apt/sources.list.d/mongodb-org-4.2.list/binary-arm64/Packages' as repository 'https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 InRelease' doesn't have the component '/etc/apt/sources.list.d/mongodb-org-4.2.list' (component misspelt in sources.list?)
W: Skipping acquire of configured file '/etc/apt/sources.list.d/mongodb-org-4.2.list/binary-amd64/Packages' as repository 'https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 InRelease' doesn't have the component '/etc/apt/sources.list.d/mongodb-org-4.2.list' (component misspelt in sources.list?)
W: Skipping acquire of configured file '/etc/apt/sources.list.d/mongodb-org-4.2.list/i18n/Translation-en' as repository 'https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 InRelease' doesn't have the component '/etc/apt/sources.list.d/mongodb-org-4.2.list' (component misspelt in sources.list?)
W: Skipping acquire of configured file '/etc/apt/sources.list.d/mongodb-org-4.2.list/i18n/Translation-en_US' as repository 'https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 InRelease' doesn't have the component '/etc/apt/sources.list.d/mongodb-org-4.2.list' (component misspelt in sources.list?)
W: Skipping acquire of configured file '/etc/apt/sources.list.d/mongodb-org-4.2.list/dep11/Components-amd64.yml' as repository 'https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 InRelease' doesn't have the component '/etc/apt/sources.list.d/mongodb-org-4.2.list' (component misspelt in sources.list?)
W: Skipping acquire of configured file '/etc/apt/sources.list.d/mongodb-org-4.2.list/dep11/icons-48x48.tar' as repository 'https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 InRelease' doesn't have the component '/etc/apt/sources.list.d/mongodb-org-4.2.list' (component misspelt in sources.list?)
W: Skipping acquire of configured file '/etc/apt/sources.list.d/mongodb-org-4.2.list/dep11/icons-64x64.tar' as repository 'https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 InRelease' doesn't have the component '/etc/apt/sources.list.d/mongodb-org-4.2.list' (component misspelt in sources.list?)
W: Skipping acquire of configured file '/etc/apt/sources.list.d/mongodb-org-4.2.list/cnf/Commands-amd64' as repository 'https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 InRelease' doesn't have the component '/etc/apt/sources.list.d/mongodb-org-4.2.list' (component misspelt in sources.list?)

I am supposed to use mongodb for an assignment. and from mongodb documentation pages https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/ I created a file /etc/apt/sources.list.d/mongodb-org-4.2.list and added following lines to it

deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 multiverse | sudo tee /etc/apt/sources.list.d/mongodb-org-4.2.list

so now I have above warnings and other warnings for more packages which I did not checked previously. I do not frequently update my system. The sources.list file has following in my Ubuntu 19.10 64 bit

# deb cdrom:[Ubuntu 19.04 _Disco Dingo_ - Release amd64 (20190416)]/ disco main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu eoan main
# deb-src http://us.archive.ubuntu.com/ubuntu/ disco main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu eoan-updates main
# deb-src http://us.archive.ubuntu.com/ubuntu/ disco-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu eoan universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ disco universe
deb http://archive.ubuntu.com/ubuntu eoan-updates universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ disco-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu eoan multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ disco multiverse
deb http://archive.ubuntu.com/ubuntu eoan-updates multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ disco-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb-src http://us.archive.ubuntu.com/ubuntu/ disco-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu disco partner
# deb-src http://archive.canonical.com/ubuntu disco partner

deb http://archive.ubuntu.com/ubuntu eoan-security main
# deb-src http://security.ubuntu.com/ubuntu disco-security main restricted
deb http://archive.ubuntu.com/ubuntu eoan-security universe
# deb-src http://security.ubuntu.com/ubuntu disco-security universe
deb http://archive.ubuntu.com/ubuntu eoan-security multiverse
# deb-src http://security.ubuntu.com/ubuntu disco-security multiverse

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
deb http://archive.ubuntu.com/ubuntu eoan-backports universe multiverse main
# see the sources.list(5) manual.

then there is another file named

debian@osboxes:/etc/apt$ cat sources.list.distUpgrade

# deb cdrom:[Ubuntu 19.04 _Disco Dingo_ - Release amd64 (20190416)]/ disco main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu disco main
# deb-src http://us.archive.ubuntu.com/ubuntu/ disco main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu disco-updates main
# deb-src http://us.archive.ubuntu.com/ubuntu/ disco-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu disco universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ disco universe
deb http://archive.ubuntu.com/ubuntu disco-updates universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ disco-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu disco multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ disco multiverse
deb http://archive.ubuntu.com/ubuntu disco-updates multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ disco-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb-src http://us.archive.ubuntu.com/ubuntu/ disco-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu disco partner
# deb-src http://archive.canonical.com/ubuntu disco partner

deb http://archive.ubuntu.com/ubuntu disco-security main
# deb-src http://security.ubuntu.com/ubuntu disco-security main restricted
deb http://archive.ubuntu.com/ubuntu disco-security universe
# deb-src http://security.ubuntu.com/ubuntu disco-security universe
deb http://archive.ubuntu.com/ubuntu disco-security multiverse
# deb-src http://security.ubuntu.com/ubuntu disco-security multiverse

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
deb http://archive.ubuntu.com/ubuntu disco-backports universe multiverse main
# see the sources.list(5) manual.

and another file sources.list.save

debian@osboxes:/etc/apt$ cat sources.list.save 
# deb cdrom:[Ubuntu 19.04 _Disco Dingo_ - Release amd64 (20190416)]/ disco main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu eoan main
# deb-src http://us.archive.ubuntu.com/ubuntu/ disco main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu eoan-updates main
# deb-src http://us.archive.ubuntu.com/ubuntu/ disco-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu eoan universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ disco universe
deb http://archive.ubuntu.com/ubuntu eoan-updates universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ disco-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu eoan multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ disco multiverse
deb http://archive.ubuntu.com/ubuntu eoan-updates multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ disco-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb-src http://us.archive.ubuntu.com/ubuntu/ disco-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu disco partner
# deb-src http://archive.canonical.com/ubuntu disco partner

deb http://archive.ubuntu.com/ubuntu eoan-security main
# deb-src http://security.ubuntu.com/ubuntu disco-security main restricted
deb http://archive.ubuntu.com/ubuntu eoan-security universe
# deb-src http://security.ubuntu.com/ubuntu disco-security universe
deb http://archive.ubuntu.com/ubuntu eoan-security multiverse
# deb-src http://security.ubuntu.com/ubuntu disco-security multiverse

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
deb http://archive.ubuntu.com/ubuntu eoan-backports universe multiverse main
# see the sources.list(5) manual.

this was Ubuntu 19.04 virtual machine was upgraded to 19.10 64 bit and I needed to run some docker container hadoop environment etc inside it. So I don't remember now what changes were made previously. I needed java or some thing else or some thing else. So now it is all very clumsy. Not sure how to get rid of all these warnings.

  • You made a typo when creating /etc/apt/sources.list.d/mongodb-org-4.2.list. Compare what you did vs. the instructions, character by character. – user535733 Mar 3 at 16:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.