Unable to add new CR running Ubuntu 22: unmet dependencies: debianutils : Breaks: ifupdown (< 0.8.36+nmu1)

Have more questions? Submit a request

Applicable to:

  • SolusVM 2

Symptoms 

Unable to add new CR running Ubuntu 22:

SVM_ERROR: pre check failed: failed to download ifupdown package: failed to download package 'ifupdown' using apt: failed to execute "apt-get -yq -o DPkg::Lock::Timeout=180 install --download-only ifupdown ifenslave ethtool" [Reading package lists… Building dependency tree… Reading state information… ethtool is already the newest version (1:5.16-1ubuntu0.1). Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: debianutils : Breaks: ifupdown (< 0.8.36+nmu1) E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.]: exit status 100

Cause

The repositories of Ubuntu 20.04 are set on the server

Resolution

  1. Connect to the Compute Resource via SSH
  2. Run the commands:

    # sed -i 's/focal/jammy/g' /etc/apt/sources.list
    # sed -i 's/focal/jammy/g' /etc/apt/sources.list.d/*.list
    # apt-get update

Articles in this section

Was this article helpful?
0 out of 0 found this helpful
Share

Comments

0 comments

Please sign in to leave a comment.