Difference between revisions of "Downgrading packages/en"

Updating to match new version of source page
(Updating to match new version of source page)
(Updating to match new version of source page)
Tags: Mobile web edit Mobile edit
 
Line 16: Line 16:


First you need to install Manjaro Downgrade, which is available in the official repositories of Manjaro. This can be done with the following command:
First you need to install Manjaro Downgrade, which is available in the official repositories of Manjaro. This can be done with the following command:
 
pamac install manjaro-downgrade
pamac install manjaro-downgrade
 


==Using Manjaro Downgrade==
==Using Manjaro Downgrade==


To use '''manjaro-downgrade''' simply run the command followed by the name of the package you want to downgrade.  For example:
To use '''manjaro-downgrade''' simply run the command followed by the name of the package you want to downgrade.  For example:
 
manjaro-downgrade firefox
manjaro-downgrade firefox


This will result in output which looks like this:
This will result in output which looks like this:
Line 45: Line 43:
  +  15)  firefox    66.0.5  1  x86_64  (remote)
  +  15)  firefox    66.0.5  1  x86_64  (remote)
  +  16)  firefox    66.0.5  1  x86_64  (local)
  +  16)  firefox    66.0.5  1  x86_64  (local)
 
The entries listed as "local" are versions from your local package cache.  The entries identified as "remote" are available from the Arch Linux Archive(ALA).
The entries listed as "local" are versions from your local package cache.  The entries identified as "remote" are available from the Arch Linux Archive(ALA).


Line 65: Line 63:


We have to use the following command to install the previously installed version of the packages that need to be downgraded:
We have to use the following command to install the previously installed version of the packages that need to be downgraded:
 
sudo pacman -U /var/cache/pacman/pkg/firefox-64.0.2-1-x86_64.pkg.tar.xz
sudo pacman -U /var/cache/pacman/pkg/firefox-64.0.2-1-x86_64.pkg.tar.xz
 


==Ensuring downgraded packages won't be upgraded again==
==Ensuring downgraded packages won't be upgraded again==
Line 73: Line 70:
In order to stop these packages from being upgraded the next time you run updates, you can add them to the ignore list in '''/etc/pacman.conf'''.  Look for the section that looks like this:
In order to stop these packages from being upgraded the next time you run updates, you can add them to the ignore list in '''/etc/pacman.conf'''.  Look for the section that looks like this:
  # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
  # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
  # IgnorePkg =
  # IgnorePkg =


Remove the comment in front of '''IgnorePkg''' and add the package name to the list.  When you are done it should look like this:
Remove the comment in front of '''IgnorePkg''' and add the package name to the list.  When you are done it should look like this:
  # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
  # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
  IgnorePkg = firefox
  IgnorePkg = firefox


8,560

edits