DEV Community

Brisbane Web Developer
Brisbane Web Developer

Posted on

1

Note: How to downgrade/skip a Ubuntu Package with aptitude

Downgrade a Ubuntu Package with aptitude

List all the available versions:

aptitude versions example
Enter fullscreen mode Exit fullscreen mode

Downgrade to an old version:

aptitude install example=1.2.3
Enter fullscreen mode Exit fullscreen mode

Skip upgrading a Ubuntu Package with aptitude

Say, the version 1.2.4 had an issue so that you want to skip installing the version next time you run aptitude full-upgrade etc:

aptitude forbid-version example=1.2.4
Enter fullscreen mode Exit fullscreen mode

References

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay