DEV Community

Brisbane Web Developer
Brisbane Web Developer

Posted on

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)