Can't run apt update because apt-config is running in the background
I can't update my system anymore because some variation of apt-config is running in the background. 'ps aux | grep apt' shows one of the following two constantly running in the background. Also I can't kill these programs because the PID is constantly changing. Also another note, a user called '_apt' seems to be running these programs. Any help would be greatly appreciated!
apt-config shell MASTER_KEYRING APT::Key::MasterKeyring
apt-config shell TRUSTEDPARTS Dir::Etc::TrustedParts/d
apt unattended-upgrades
New contributor
add a comment |
I can't update my system anymore because some variation of apt-config is running in the background. 'ps aux | grep apt' shows one of the following two constantly running in the background. Also I can't kill these programs because the PID is constantly changing. Also another note, a user called '_apt' seems to be running these programs. Any help would be greatly appreciated!
apt-config shell MASTER_KEYRING APT::Key::MasterKeyring
apt-config shell TRUSTEDPARTS Dir::Etc::TrustedParts/d
apt unattended-upgrades
New contributor
If you are using Debian and not and official "Ubuntu" release, then this question belongs on unix.stackexchange.com as questions about Debian are off topic on Askubuntu. Thanks!
– mchid
1 hour ago
Do you have unattended-upgrades installed?
– mchid
1 hour ago
add a comment |
I can't update my system anymore because some variation of apt-config is running in the background. 'ps aux | grep apt' shows one of the following two constantly running in the background. Also I can't kill these programs because the PID is constantly changing. Also another note, a user called '_apt' seems to be running these programs. Any help would be greatly appreciated!
apt-config shell MASTER_KEYRING APT::Key::MasterKeyring
apt-config shell TRUSTEDPARTS Dir::Etc::TrustedParts/d
apt unattended-upgrades
New contributor
I can't update my system anymore because some variation of apt-config is running in the background. 'ps aux | grep apt' shows one of the following two constantly running in the background. Also I can't kill these programs because the PID is constantly changing. Also another note, a user called '_apt' seems to be running these programs. Any help would be greatly appreciated!
apt-config shell MASTER_KEYRING APT::Key::MasterKeyring
apt-config shell TRUSTEDPARTS Dir::Etc::TrustedParts/d
apt unattended-upgrades
apt unattended-upgrades
New contributor
New contributor
edited 1 hour ago
mchid
23k25284
23k25284
New contributor
asked 3 hours ago
ktb92677ktb92677
1
1
New contributor
New contributor
If you are using Debian and not and official "Ubuntu" release, then this question belongs on unix.stackexchange.com as questions about Debian are off topic on Askubuntu. Thanks!
– mchid
1 hour ago
Do you have unattended-upgrades installed?
– mchid
1 hour ago
add a comment |
If you are using Debian and not and official "Ubuntu" release, then this question belongs on unix.stackexchange.com as questions about Debian are off topic on Askubuntu. Thanks!
– mchid
1 hour ago
Do you have unattended-upgrades installed?
– mchid
1 hour ago
If you are using Debian and not and official "Ubuntu" release, then this question belongs on unix.stackexchange.com as questions about Debian are off topic on Askubuntu. Thanks!
– mchid
1 hour ago
If you are using Debian and not and official "Ubuntu" release, then this question belongs on unix.stackexchange.com as questions about Debian are off topic on Askubuntu. Thanks!
– mchid
1 hour ago
Do you have unattended-upgrades installed?
– mchid
1 hour ago
Do you have unattended-upgrades installed?
– mchid
1 hour ago
add a comment |
2 Answers
2
active
oldest
votes
From the man apt-config
page:
apt-config is an internal program used by various portions of the APT suite to provide
consistent configurability. It accesses the main configuration file /etc/apt/apt.conf in a
manner that is easy to use for scripted applications.
Therefore, you should find out the parent process of each apt-config
process.
Do
for i in $( pgrep apt-config ) ; do ps -fp$i; done
and look at the PPID
column.
add a comment |
unattended-upgrades
runs apt-daily
and apt-daily
runs apt-config
. You can disable automatic updates by running the following commands:
sudo sed -i 's/1/0/g' /etc/apt/apt.conf.d/20auto-upgrades
sudo sed -i 's/1/0/g' /etc/apt/apt.conf.d/10perodic
source:
wiki.debian.org/UnattendedUpgrades
On Debian, the periodic file is not the same:
sudo sed -i 's/1/0/g' /etc/apt/apt.conf.d/02perodic
add a comment |
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/3.0/"u003ecc by-sa 3.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
});
}
});
ktb92677 is a new contributor. Be nice, and check out our Code of Conduct.
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%2f1120247%2fcant-run-apt-update-because-apt-config-is-running-in-the-background%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
From the man apt-config
page:
apt-config is an internal program used by various portions of the APT suite to provide
consistent configurability. It accesses the main configuration file /etc/apt/apt.conf in a
manner that is easy to use for scripted applications.
Therefore, you should find out the parent process of each apt-config
process.
Do
for i in $( pgrep apt-config ) ; do ps -fp$i; done
and look at the PPID
column.
add a comment |
From the man apt-config
page:
apt-config is an internal program used by various portions of the APT suite to provide
consistent configurability. It accesses the main configuration file /etc/apt/apt.conf in a
manner that is easy to use for scripted applications.
Therefore, you should find out the parent process of each apt-config
process.
Do
for i in $( pgrep apt-config ) ; do ps -fp$i; done
and look at the PPID
column.
add a comment |
From the man apt-config
page:
apt-config is an internal program used by various portions of the APT suite to provide
consistent configurability. It accesses the main configuration file /etc/apt/apt.conf in a
manner that is easy to use for scripted applications.
Therefore, you should find out the parent process of each apt-config
process.
Do
for i in $( pgrep apt-config ) ; do ps -fp$i; done
and look at the PPID
column.
From the man apt-config
page:
apt-config is an internal program used by various portions of the APT suite to provide
consistent configurability. It accesses the main configuration file /etc/apt/apt.conf in a
manner that is easy to use for scripted applications.
Therefore, you should find out the parent process of each apt-config
process.
Do
for i in $( pgrep apt-config ) ; do ps -fp$i; done
and look at the PPID
column.
answered 2 hours ago
waltinatorwaltinator
22.4k74169
22.4k74169
add a comment |
add a comment |
unattended-upgrades
runs apt-daily
and apt-daily
runs apt-config
. You can disable automatic updates by running the following commands:
sudo sed -i 's/1/0/g' /etc/apt/apt.conf.d/20auto-upgrades
sudo sed -i 's/1/0/g' /etc/apt/apt.conf.d/10perodic
source:
wiki.debian.org/UnattendedUpgrades
On Debian, the periodic file is not the same:
sudo sed -i 's/1/0/g' /etc/apt/apt.conf.d/02perodic
add a comment |
unattended-upgrades
runs apt-daily
and apt-daily
runs apt-config
. You can disable automatic updates by running the following commands:
sudo sed -i 's/1/0/g' /etc/apt/apt.conf.d/20auto-upgrades
sudo sed -i 's/1/0/g' /etc/apt/apt.conf.d/10perodic
source:
wiki.debian.org/UnattendedUpgrades
On Debian, the periodic file is not the same:
sudo sed -i 's/1/0/g' /etc/apt/apt.conf.d/02perodic
add a comment |
unattended-upgrades
runs apt-daily
and apt-daily
runs apt-config
. You can disable automatic updates by running the following commands:
sudo sed -i 's/1/0/g' /etc/apt/apt.conf.d/20auto-upgrades
sudo sed -i 's/1/0/g' /etc/apt/apt.conf.d/10perodic
source:
wiki.debian.org/UnattendedUpgrades
On Debian, the periodic file is not the same:
sudo sed -i 's/1/0/g' /etc/apt/apt.conf.d/02perodic
unattended-upgrades
runs apt-daily
and apt-daily
runs apt-config
. You can disable automatic updates by running the following commands:
sudo sed -i 's/1/0/g' /etc/apt/apt.conf.d/20auto-upgrades
sudo sed -i 's/1/0/g' /etc/apt/apt.conf.d/10perodic
source:
wiki.debian.org/UnattendedUpgrades
On Debian, the periodic file is not the same:
sudo sed -i 's/1/0/g' /etc/apt/apt.conf.d/02perodic
edited 1 hour ago
answered 1 hour ago
mchidmchid
23k25284
23k25284
add a comment |
add a comment |
ktb92677 is a new contributor. Be nice, and check out our Code of Conduct.
ktb92677 is a new contributor. Be nice, and check out our Code of Conduct.
ktb92677 is a new contributor. Be nice, and check out our Code of Conduct.
ktb92677 is a new contributor. Be nice, and check out our Code of Conduct.
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%2f1120247%2fcant-run-apt-update-because-apt-config-is-running-in-the-background%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
If you are using Debian and not and official "Ubuntu" release, then this question belongs on unix.stackexchange.com as questions about Debian are off topic on Askubuntu. Thanks!
– mchid
1 hour ago
Do you have unattended-upgrades installed?
– mchid
1 hour ago