Manjaro Difference between revisions of "Downgrading packages"

Difference between revisions of "Downgrading packages"

From Manjaro
m
(Improve translation tags.)
 
Line 21: Line 21:
<!--T:7-->
<!--T:7-->
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:
 
</translate>
<!--T:8-->
pamac install manjaro-downgrade
pamac install manjaro-downgrade
 
<translate>


==Using Manjaro Downgrade== <!--T:9-->
==Using Manjaro Downgrade== <!--T:9-->
Line 30: Line 29:
<!--T:10-->
<!--T:10-->
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:
 
  </translate>
  <!--T:11-->
manjaro-downgrade firefox
manjaro-downgrade firefox
<translate>


<!--T:12-->
<!--T:12-->
Line 39: Line 38:
  <!--T:13-->
  <!--T:13-->
Available packages:
Available packages:
</translate>
     1)  firefox    55.0.3  1  x86_64  (remote)
     1)  firefox    55.0.3  1  x86_64  (remote)
     2)  firefox    60.0.1  1  x86_64  (remote)
     2)  firefox    60.0.1  1  x86_64  (remote)
Line 55: Line 55:
  +  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)
<translate>


<!--T:14-->
<!--T:14-->
Line 81: Line 82:
<!--T:21-->
<!--T:21-->
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:
 
  </translate>
  <!--T:22-->
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
 
<translate>


==Ensuring downgraded packages won't be upgraded again== <!--T:23-->
==Ensuring downgraded packages won't be upgraded again== <!--T:23-->
Line 91: Line 91:
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
</translate>
  # IgnorePkg =
  # IgnorePkg =
<translate>


<!--T:25-->
<!--T:25-->
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
</translate>
  IgnorePkg = firefox
  IgnorePkg = firefox
<translate>


<!--T:26-->
<!--T:26-->
Cookies help us deliver our services. By using our services, you agree to our use of cookies.