Ubuntu 22.4 (Linux) not Updating

Automate Package Manager is a robust solution for MSPs seeking an efficient and streamlined approach to software management across diverse operating systems. With its cross-platform compatibility, integration with popular package managers like Chocolatey, Apt-get, Yum, and Homebrew makes it the go to choice for software update management.
Post Reply
Troms
Posts: 4
Joined: Thu Mar 24, 2022 4:07 pm
2

Ubuntu 22.4 (Linux) not Updating

Post by Troms »

setup a policy verified the edf's and I see the update script running but the updates do not seem to be getting applied.

I get this output form the update script:

Output:

Get:1 file:/cdrom jammy InRelease
Ign:1 file:/cdrom jammy InRelease
Get:2 file:/cdrom jammy Release
Err:2 file:/cdrom jammy Release
File not found - /cdrom/dists/jammy/Release (2: No such file or directory)
Hit:3 http://us.archive.ubuntu.com/ubuntu jammy InRelease
Get:4 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
Hit:5 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease
Get:6 http://us.archive.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [1,519 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu jammy-updates/main Translation-en [293 kB]
Get:9 http://us.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1,060 kB]
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
connectwisecontrol-9da030377df9e101 : Depends: java5-runtime
E: The repository 'file:/cdrom jammy Release' no longer has a Release file.
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

User avatar
Cubert
Posts: 2457
Joined: Tue Dec 29, 2015 7:57 pm
8
Contact:

Re: Ubuntu 22.4 (Linux) not Updating

Post by Cubert »

The CDROM errors are not a big deal, that's just saying it can not find the "source" you installed from. It then goes on to look at the public repository and finds data as needed.

Your issues is the following:


Following packages have unmet dependencies: connectwisecontrol-9da030377df9e101 : Depends: java5-runtime

You are trying to install a package or update a package that has a hard dependency. This is an APT-Get error on your Linux box and is not a direct response from using the plugin. I would have a peek at the command line and attempted an Apt-get install or update to see error in action. AptGet reports back - "You might want to run 'apt --fix-broken install' to correct these." which may help fix your issue with the APP in question.

to update Ubuntu manually run at the command line:

Code: Select all

apt-get update; apt-get upgrade -y;

User avatar
Cubert
Posts: 2457
Joined: Tue Dec 29, 2015 7:57 pm
8
Contact:

Re: Ubuntu 22.4 (Linux) not Updating

Post by Cubert »

Also if this is a common issue across your environment,

You may try excluding that java5 package during updates.


Manuall run the following command on any agent to have it auto exclude a given package

https://askubuntu.com/questions/99774/e ... et-upgrade

Code: Select all

sudo apt-mark hold <package>

Post Reply

Return to “Automate Package Manager”