Package Details: downgrade 11.4.2-1

Git Clone URL: https://aur.archlinux.org/downgrade.git (read-only, click to copy)
Package Base: downgrade
Description: Bash script for downgrading one or more packages to a version in your cache or the A.L.A.
Upstream URL: https://github.com/archlinux-downgrade/downgrade
Licenses: GPL
Submitter: brisbin33
Maintainer: brisbin33 (atreyasha)
Last Packager: brisbin33
Votes: 798
Popularity: 8.71
First Submitted: 2009-11-12 01:48 (UTC)
Last Updated: 2024-10-22 16:48 (UTC)

Dependencies (3)

Required by (1)

Sources (1)

Latest Comments

1 2 3 4 5 6 .. 13 Next › Last »

Zerfithel commented on 2024-09-24 21:23 (UTC)

PKGBuild does not seem suspicious. I checked it and havent found anything that could harm your PC. It works and thank you for making this it helped me a lot

Basher52 commented on 2024-09-13 20:25 (UTC)

Been using this a "couple" of time and this NEVER happened and now it did. I feel like a fool and the reality of this shows I am ;)

Just for a test, as you replied, I tried this script again for test for a kernel 'downgrade' and I got what I wanted.

WTF did I not do that last, like, 20 times?

SO sorry for this. Just shows that I'm an idiot and should probably leave the Linux-thing.

PS. I will NEVER leave LINUX <3 <3 <3

SO SORRY!!!!

brisbin33 commented on 2024-09-13 19:40 (UTC)

easier to get the correct package without knowing the exact name of it

Hmm I don't know if I totally follow what you mean. Can you be more specific?

Like looking for a kernel downgrade, just type linux and it shows just those

This seems to be the behavior as far as I can tell.

Feel free to open an Issue on GitHub too, I'll probably be more responsive.

Basher52 commented on 2024-09-13 15:35 (UTC)

I'm asking for a small(?) feature-add :P

As of this fzf thing out there, is there a change you could add that so it's easier to get the correct package without knowing the exact name of it. I was thinking of cloning this and do it but I don't have much free time and this is YOUR thing so...

Like looking for a kernel downgrade, just type linux and it shows just those etc.

Love this tho :D

Mettacrawer commented on 2023-12-04 07:54 (UTC)

Oh but partial upgrades break your system. HAHAHA

sclebo05 commented on 2023-11-15 11:43 (UTC)

this script saved my bacon when the newest nvidia drivers broke my world. Kudos!

eclairevoyant commented on 2023-11-04 00:32 (UTC)

Add it yourself, lol?

Ashark commented on 2023-11-04 00:24 (UTC)

Please add "--quiet" to the make command.

rwd2 commented on 2023-10-25 07:49 (UTC)

I found the cause. I was building on a partition that was mounted with noexec. When mounted with exec option the build went without issues and the executable was included in the package. Maybe it would be an idea to add a check to the build script for that.

brisbin33 commented on 2023-10-17 12:58 (UTC)

rwd2, note that unfortunately this seems to be system specific as I cannot reproduce:

% cat >PKGBUILD <<'EOM'
\`heredoc> # shellcheck disable=SC2034
# shellcheck disable=SC2154
# Author: Patrick Brisbin <pbrisbin@gmail.com>
pkgname=downgrade
pkgver=11.3.0
pkgrel=1
pkgdesc="Bash script for downgrading one or more packages to a version in your cache or the A.L.A."
arch=('any')
url="https://github.com/archlinux-downgrade/$pkgname"
license=('GPL')
backup=(etc/xdg/downgrade/downgrade.conf)
source=("downgrade-v$pkgver.tar.gz::https://github.com/archlinux-downgrade/$pkgname/archive/v$pkgver.tar.gz")
depends=('pacman-contrib' 'fzf') # pacsort
optdepends=('sudo: for installation via sudo')

package() {
  cd "$pkgname-$pkgver" || exit 1

  make DESTDIR="$pkgdir" PREFIX=/usr install
}
md5sums=('ca0c6958ef85116f96bb65e07cb26aff')
EOM
% makepkg -rsi
==> Making package: downgrade 11.3.0-1 (Tue 17 Oct 2023 08:57:15 AM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading downgrade-v11.3.0.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 54199    0 54199    0     0   175k      0 --:--:-- --:--:-- --:--:--  175k
==> Validating source files with md5sums...
    downgrade-v11.3.0.tar.gz ... Passed
==> Extracting sources...
  -> Extracting downgrade-v11.3.0.tar.gz with bsdtar
==> Entering fakeroot environment...
==> Starting package()...
install -Dm644 conf/downgrade.conf "/tmp/pkg/downgrade/etc/xdg/downgrade/downgrade.conf"
install -Dm644 doc/downgrade.8 "/tmp/pkg/downgrade/usr/share/man/man8/downgrade.8"
install -Dm644 doc/pacignore.8 "/tmp/pkg/downgrade/usr/share/man/man8/pacignore.8"
for script_ in pacignore downgrade; do \
  install -Dm755 "bin/$script_" "/tmp/pkg/downgrade/usr/bin/$script_"; \
  install -Dm644 "completion/$script_/bash" "/tmp/pkg/downgrade/usr/share/bash-completion/completions/$script_"; \
  install -Dm644 "completion/$script_/zsh" "/tmp/pkg/downgrade/usr/share/zsh/site-functions/_${script_}"; \
  install -Dm644 "completion/$script_/fish" "/tmp/pkg/downgrade/usr/share/fish/vendor_completions.d/${script_}.fish"; \
done
for po_file_ in locale/**/*.po; do \
  locale_="$(basename "$po_file_" .po)"; \
  script_="$(basename "$(dirname "$po_file_")")"; \
  mkdir -p "/tmp/pkg/downgrade/usr/share/locale/$locale_/LC_MESSAGES/"; \
  msgfmt "$po_file_" -o "/tmp/pkg/downgrade/usr/share/locale/$locale_/LC_MESSAGES/${script_}.mo"; \
done
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "downgrade"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: downgrade 11.3.0-1 (Tue 17 Oct 2023 08:57:19 AM EDT)
==> Installing package downgrade with pacman -U...
loading packages...
warning: downgrade-11.3.0-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) downgrade-11.3.0-1

Total Installed Size:  0.07 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                                                           [##############################################################] 100%
(1/1) checking package integrity                                                                         [##############################################################] 100%
(1/1) loading package files                                                                              [##############################################################] 100%
(1/1) checking for file conflicts                                                                        [##############################################################] 100%
(1/1) checking available disk space                                                                      [##############################################################] 100%
:: Processing package changes...
(1/1) reinstalling downgrade                                                                             [##############################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
makepkg -rsi  3.78s user 2.71s system 74% cpu 8.754 total
% p -Ql downgrade | grep bin
downgrade /usr/bin/
downgrade /usr/bin/downgrade
downgrade /usr/bin/pacignore