Artix Linux Forum

Artix Linux => Package management => Topic started by: mardiyah on 18 November 2022, 03:09:57

Title: How to revert installation back to lower/older version
Post by: mardiyah on 18 November 2022, 03:09:57
How to revert back install to a certain lower/older package version from the current latest one (real case is node and npm) ?

Help sincerely, it'd be invaluable to me, thanks before
Title: Re: How to install back to lower/older version
Post by: Lancia on 18 November 2022, 06:42:38
>from the current latest one

Latest what?
Title: Re: How to revert installation back to lower/older version
Post by: capezotte on 18 November 2022, 17:36:53
Find the older versions in /var/cache/pacman/pkg.

If you can't, download them from archive.artixlinux.org or archive.archlinux.org.
Title: Re: How to revert installation back to lower/older version
Post by: suren on 19 November 2022, 14:02:31
even thou I don't recommend it, your best bet is to downgrade your package.

you can even keep a local mirror of old packages. some people do this in debian side.

read this

Downgrdaing packages (https://wiki.archlinux.org/title/Downgrading_packages)
downgrade to specific date (https://wiki.archlinux.org/title/Arch_Linux_Archive#How_to_restore_all_packages_to_a_specific_date)