Score:1

Problems on updating ubuntu 18.04

gp flag

I just install ubuntu 18.04 in my laptop parallel with windows 10. When I tried to runsudo apt upgrade,error message. After I deleted all the upgraded files and upgrade again, it got stuck hereStuck with this package. After some time, it shows this status Failed status. I tried to install that package manually and upgrade again, the problem is not solved. Can anyone help me fix this?

Laptop used: IdeaPad Gaming 3-15IHU6 - Type 82K1

Ken avatar
ng flag
Ken
try: sudo apt remove cron, then sudo apt purge cron . It looks like your cron install is corrupt. Then do: sudo apt update, then sudo apt install cron to see if you get back to a good starting place.
Score:1
us flag

First, try sudo apt install cron. If that does not work, try downloading and installing manually.

wget http://mirrors.kernel.org/ubuntu/pool/main/c/cron/cron_3.0pl1-128.1ubuntu1.2_amd64.deb
sudo dpkg -i cron_3.0pl1-128.1ubuntu1.2_amd64.deb

Afterwards, run sudo dpkg --configure -a, followed by sudo apt update and sudo apt dist-upgrade.


Note: If this fails, consider fresh installing Ubuntu 22.04 LTS. It might be easier to reinstall rather than fixing the issue.

newbie avatar
gp flag
I tried the 2nd and 3rd commands u gave me, but still it shows failed to reload daemon: connection timed out. I really need to use 18.04 as my current project is using ROS melodic to develop. Could you pls help me?
us flag
@newbie Try a different download link. Try different mirrors from here https://packages.ubuntu.com/bionic-updates/amd64/cron/download, and install it with `sudo dpkg -i cron_3.0pl1-128.1ubuntu1.2_amd64.deb`
us flag
Which command shows failed to reload daemon?
newbie avatar
gp flag
when i run this `sudo dpkg -i cron_3.0pl1-128.1ubuntu1.2_amd64.deb`, it shows this`Preparing to unpack cron_3.0pl1-128.1ubuntu1.2_amd64.deb ... Unpacking cron (3.0pl1-128.1ubuntu1.2) over (3.0pl1-128.1ubuntu1) ... Failed to reload daemon: Connection timed out `
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.