Score:-1

How to fix the error 'waiting for apt-get to exit'?

co flag

When I was installing another language in settings of Gnome on Ubuntu, system gave the message - 'Waiting for apt-get to exit'.

How can I fix the error, and install the language in GNOME settings?

David avatar
cn flag
Sorry I do not see the question this answer appears to belong to.
Hannu avatar
ca flag
@Sherman; Title needs to be related to the Question, and an elaborated actual Question needs to be present, then you may `Answer your own question` and type that (the Answer) in the provided box. You have the Question in the Title only, and a terse answer in the question-field.
Sherman Chen avatar
co flag
Oh. I see. Thank both of you for pointing it out. I will edit it then
us flag
@ShermanChen You can answer your own question, as you initially did.
Sherman Chen avatar
co flag
@ArchismanPanigrahi Thank you! I will.
Sherman Chen avatar
co flag
@ArchismanPanigrahi Sorry, but I do not see the 'Your Answer' input box.
us flag
Your question was closed because it initially was not a question. It is getting reopen votes. Once it is reopened, you can add the answer
Sherman Chen avatar
co flag
@ArchismanPanigrahi Oh, I see. Thank you!
andrew.46 avatar
in flag
@ShermanChen Reopened: go for it...
Score:0
co flag

I did the following, and it worked -

Find the pid of apt-get

$ sudo ps -el --sort cmd

e.g. the pid is 18374, then kill it

$ sudo kill 18374
Score:0
sa flag

The following method was used to solve the problem.

Find the pid of the apt-get process:

ps -el --sort cmd

For example, if the pid is 18374, then kill it:

sudo kill 18374

The following method is safer than the first method.

Please do not try to forcefully end apt, because it may harm your system. If apt-get was started by you, either wait for it to finish or if you are at the "Y/n" prompt, answer it. If apt-get is running in the background, just wait for it to finish. source

Sherman Chen avatar
co flag
The first part was my answer, but thank you for your answer anyhow!
Sherman Chen avatar
co flag
Sorry, I waited for some time, but it did not die, so I killed it, and I was lucky. :)
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.