apt-cache policy shows an apt repository that's not in my sources.listApt-get failed to fetch from Ubuntu server with error code 404Apt-Get Update: failure to fetch; can't connect to any sourcesPackages are not available for installationCan't install linux headersFailed to fetch repositories; a particular caseWhy my kernel is not the latest for 14.04?dpkg --get-selections | grep hold not working in 16.04
Are humans superior to machines in chess?
My boss wants me to recreate everything I have done for my previous employer
Is energy more fundamental than force?
What is the purpose of R1 in this circuit?
Backwards quote marks in Latex (and I've tried a lot of things to prevent it!)
Space complexity for storing integers in Python
Why would a life company agree to a 20-year guaranteed life annuity which is expected to pay out more than the principal?
Average Two Letters
I'm from Mumbai, India. I want to travel to Europe as a tourist but my salary is low ( €190/month)
Do familiars reproduce? If 'yes', what kinds of offspring result?
Getting data from Seagate ST-238R drive
Shoe shine shop model in Rust
How to get best taste out of tomatoes?
Longest word worth at most a million
Sun dried tomatoes
Why don't all humans have absolute pitch?
How to show all results from a repeat loop in the Script Editor results pane
How much energy does a bee/micro robot need per second of flight?
Show the acid nature of hydrogen sulfide
What is a dropfile?
Flats (b's) in chord progressions
Driving distance between O'Hare (ORD) and Downtown Chicago is 20.5 mi and 1H 17min?
Does every truth have to be provable based on evidence?
Does any country have free college & open admissions?
apt-cache policy shows an apt repository that's not in my sources.list
Apt-get failed to fetch from Ubuntu server with error code 404Apt-Get Update: failure to fetch; can't connect to any sourcesPackages are not available for installationCan't install linux headersFailed to fetch repositories; a particular caseWhy my kernel is not the latest for 14.04?dpkg --get-selections | grep hold not working in 16.04
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
On a fresh ubuntu 16.04 Docker image I ran apt-get update and then apt policy:
root@7b9b53f65af4:/etc/apt# apt-cache policy apt-file
apt-file:
Installed: (none)
Candidate: 2.5.5ubuntu1
Version table:
2.5.5ubuntu1 500
500 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
But I do not see this apt repo anywhere in /etc/apt. Is this expected?
root@7b9b53f65af4:/etc/apt# grep -ri 'amd64' .
root@7b9b53f65af4:/etc/apt#
I did find these, but they're not exactly the same:
root@7b9b53f65af4:/etc/apt# grep -ri 'xenial.universe' *
sources.list:deb http://archive.ubuntu.com/ubuntu/ xenial universe
sources.list:# deb-src http://archive.ubuntu.com/ubuntu/ xenial universe
Full contents of /etc/apt/sources.list pasted below. No other .list files in that directory or its subdirs.
root@7b9b53f65af4:/etc/apt# cat sources.list
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu/ xenial main restricted
# deb-src http://archive.ubuntu.com/ubuntu/ xenial main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu/ xenial-updates main restricted
# deb-src http://archive.ubuntu.com/ubuntu/ xenial-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/ xenial universe
# deb-src http://archive.ubuntu.com/ubuntu/ xenial universe
deb http://archive.ubuntu.com/ubuntu/ xenial-updates universe
# deb-src http://archive.ubuntu.com/ubuntu/ xenial-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/ xenial multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://archive.ubuntu.com/ubuntu/ xenial-updates multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ xenial-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 http://archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ xenial-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 xenial partner
# deb-src http://archive.canonical.com/ubuntu xenial partner
deb http://security.ubuntu.com/ubuntu/ xenial-security main restricted
# deb-src http://security.ubuntu.com/ubuntu/ xenial-security main restricted
deb http://security.ubuntu.com/ubuntu/ xenial-security universe
# deb-src http://security.ubuntu.com/ubuntu/ xenial-security universe
deb http://security.ubuntu.com/ubuntu/ xenial-security multiverse
# deb-src http://security.ubuntu.com/ubuntu/ xenial-security multiverse
apt package-management updates repository
add a comment
|
On a fresh ubuntu 16.04 Docker image I ran apt-get update and then apt policy:
root@7b9b53f65af4:/etc/apt# apt-cache policy apt-file
apt-file:
Installed: (none)
Candidate: 2.5.5ubuntu1
Version table:
2.5.5ubuntu1 500
500 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
But I do not see this apt repo anywhere in /etc/apt. Is this expected?
root@7b9b53f65af4:/etc/apt# grep -ri 'amd64' .
root@7b9b53f65af4:/etc/apt#
I did find these, but they're not exactly the same:
root@7b9b53f65af4:/etc/apt# grep -ri 'xenial.universe' *
sources.list:deb http://archive.ubuntu.com/ubuntu/ xenial universe
sources.list:# deb-src http://archive.ubuntu.com/ubuntu/ xenial universe
Full contents of /etc/apt/sources.list pasted below. No other .list files in that directory or its subdirs.
root@7b9b53f65af4:/etc/apt# cat sources.list
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu/ xenial main restricted
# deb-src http://archive.ubuntu.com/ubuntu/ xenial main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu/ xenial-updates main restricted
# deb-src http://archive.ubuntu.com/ubuntu/ xenial-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/ xenial universe
# deb-src http://archive.ubuntu.com/ubuntu/ xenial universe
deb http://archive.ubuntu.com/ubuntu/ xenial-updates universe
# deb-src http://archive.ubuntu.com/ubuntu/ xenial-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/ xenial multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://archive.ubuntu.com/ubuntu/ xenial-updates multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ xenial-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 http://archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ xenial-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 xenial partner
# deb-src http://archive.canonical.com/ubuntu xenial partner
deb http://security.ubuntu.com/ubuntu/ xenial-security main restricted
# deb-src http://security.ubuntu.com/ubuntu/ xenial-security main restricted
deb http://security.ubuntu.com/ubuntu/ xenial-security universe
# deb-src http://security.ubuntu.com/ubuntu/ xenial-security universe
deb http://security.ubuntu.com/ubuntu/ xenial-security multiverse
# deb-src http://security.ubuntu.com/ubuntu/ xenial-security multiverse
apt package-management updates repository
3
You found the correct match.apt-cache policy
output is simply a slightly different format. That's why they are "not exactly the same". The same archive, release, pocket, and architecture are all there
– user535733
Aug 6 at 0:29
add a comment
|
On a fresh ubuntu 16.04 Docker image I ran apt-get update and then apt policy:
root@7b9b53f65af4:/etc/apt# apt-cache policy apt-file
apt-file:
Installed: (none)
Candidate: 2.5.5ubuntu1
Version table:
2.5.5ubuntu1 500
500 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
But I do not see this apt repo anywhere in /etc/apt. Is this expected?
root@7b9b53f65af4:/etc/apt# grep -ri 'amd64' .
root@7b9b53f65af4:/etc/apt#
I did find these, but they're not exactly the same:
root@7b9b53f65af4:/etc/apt# grep -ri 'xenial.universe' *
sources.list:deb http://archive.ubuntu.com/ubuntu/ xenial universe
sources.list:# deb-src http://archive.ubuntu.com/ubuntu/ xenial universe
Full contents of /etc/apt/sources.list pasted below. No other .list files in that directory or its subdirs.
root@7b9b53f65af4:/etc/apt# cat sources.list
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu/ xenial main restricted
# deb-src http://archive.ubuntu.com/ubuntu/ xenial main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu/ xenial-updates main restricted
# deb-src http://archive.ubuntu.com/ubuntu/ xenial-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/ xenial universe
# deb-src http://archive.ubuntu.com/ubuntu/ xenial universe
deb http://archive.ubuntu.com/ubuntu/ xenial-updates universe
# deb-src http://archive.ubuntu.com/ubuntu/ xenial-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/ xenial multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://archive.ubuntu.com/ubuntu/ xenial-updates multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ xenial-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 http://archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ xenial-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 xenial partner
# deb-src http://archive.canonical.com/ubuntu xenial partner
deb http://security.ubuntu.com/ubuntu/ xenial-security main restricted
# deb-src http://security.ubuntu.com/ubuntu/ xenial-security main restricted
deb http://security.ubuntu.com/ubuntu/ xenial-security universe
# deb-src http://security.ubuntu.com/ubuntu/ xenial-security universe
deb http://security.ubuntu.com/ubuntu/ xenial-security multiverse
# deb-src http://security.ubuntu.com/ubuntu/ xenial-security multiverse
apt package-management updates repository
On a fresh ubuntu 16.04 Docker image I ran apt-get update and then apt policy:
root@7b9b53f65af4:/etc/apt# apt-cache policy apt-file
apt-file:
Installed: (none)
Candidate: 2.5.5ubuntu1
Version table:
2.5.5ubuntu1 500
500 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
But I do not see this apt repo anywhere in /etc/apt. Is this expected?
root@7b9b53f65af4:/etc/apt# grep -ri 'amd64' .
root@7b9b53f65af4:/etc/apt#
I did find these, but they're not exactly the same:
root@7b9b53f65af4:/etc/apt# grep -ri 'xenial.universe' *
sources.list:deb http://archive.ubuntu.com/ubuntu/ xenial universe
sources.list:# deb-src http://archive.ubuntu.com/ubuntu/ xenial universe
Full contents of /etc/apt/sources.list pasted below. No other .list files in that directory or its subdirs.
root@7b9b53f65af4:/etc/apt# cat sources.list
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu/ xenial main restricted
# deb-src http://archive.ubuntu.com/ubuntu/ xenial main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu/ xenial-updates main restricted
# deb-src http://archive.ubuntu.com/ubuntu/ xenial-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/ xenial universe
# deb-src http://archive.ubuntu.com/ubuntu/ xenial universe
deb http://archive.ubuntu.com/ubuntu/ xenial-updates universe
# deb-src http://archive.ubuntu.com/ubuntu/ xenial-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/ xenial multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://archive.ubuntu.com/ubuntu/ xenial-updates multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ xenial-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 http://archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ xenial-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 xenial partner
# deb-src http://archive.canonical.com/ubuntu xenial partner
deb http://security.ubuntu.com/ubuntu/ xenial-security main restricted
# deb-src http://security.ubuntu.com/ubuntu/ xenial-security main restricted
deb http://security.ubuntu.com/ubuntu/ xenial-security universe
# deb-src http://security.ubuntu.com/ubuntu/ xenial-security universe
deb http://security.ubuntu.com/ubuntu/ xenial-security multiverse
# deb-src http://security.ubuntu.com/ubuntu/ xenial-security multiverse
apt package-management updates repository
apt package-management updates repository
asked Aug 6 at 0:14
newmacusernewmacuser
1
1
3
You found the correct match.apt-cache policy
output is simply a slightly different format. That's why they are "not exactly the same". The same archive, release, pocket, and architecture are all there
– user535733
Aug 6 at 0:29
add a comment
|
3
You found the correct match.apt-cache policy
output is simply a slightly different format. That's why they are "not exactly the same". The same archive, release, pocket, and architecture are all there
– user535733
Aug 6 at 0:29
3
3
You found the correct match.
apt-cache policy
output is simply a slightly different format. That's why they are "not exactly the same". The same archive, release, pocket, and architecture are all there– user535733
Aug 6 at 0:29
You found the correct match.
apt-cache policy
output is simply a slightly different format. That's why they are "not exactly the same". The same archive, release, pocket, and architecture are all there– user535733
Aug 6 at 0:29
add a comment
|
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1163687%2fapt-cache-policy-shows-an-apt-repository-thats-not-in-my-sources-list%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1163687%2fapt-cache-policy-shows-an-apt-repository-thats-not-in-my-sources-list%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
3
You found the correct match.
apt-cache policy
output is simply a slightly different format. That's why they are "not exactly the same". The same archive, release, pocket, and architecture are all there– user535733
Aug 6 at 0:29