problem installing apt 2.1.10ubuntu0.3

Asked by m4r1e

Hello,

I want to upgrade my Ubuntu vesrion from 20.10 (not maintained anymore) to 22.04.2.LTS, but to do so I need a dependency "apt (>=2.1.10ubtuntu0.3)", and I cannot install this dependency with apt because my Ubuntu version doesn't know it (Ubuntu version too old).
Is there a way to install "apt (>=2.1.10ubtuntu0.3)" without using apt, directly from the web ?
Thank you for your help !

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Best Manfred Hampl (m-hampl) said :
#1

The packages are available via https://launchpad.net/ubuntu/+source/apt/2.1.10ubuntu0.3/+build/21204060

Execute the command

dpkg -l | grep apt | grep 2.1.10

Download those packages in the newer version from the link above and store them together in a directory
Open a terminal window, change directory into the directory where you have stored the package files and install them with the command

sudo dpkg -i *.deb

Revision history for this message
m4r1e (m4r1e) said :
#2

Thanks a lot ! It worked, I'm updating my version of Ubuntu now, I'm watching for any new problem related to it
And thanks for being so reactive :)

Revision history for this message
m4r1e (m4r1e) said :
#3

Thanks again, the upgrading was successful :)

Revision history for this message
m4r1e (m4r1e) said :
#4

Thanks Manfred Hampl, that solved my question.