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: 800
Popularity: 7.58
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

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 .. 13 Next › Last »

hotice commented on 2018-07-14 13:50 (UTC) (edited on 2018-07-14 13:54 (UTC) by hotice)

is there an argument error in sed call?
$ downgrade firefox
sed: can't read /var/log/pacman.log
/var/log/pacman.log
/var/log/pacman.log: No such file or directory
Available packages:

1) firefox-61.0.1-1-x86_64.pkg.tar.xz (remote)
2) firefox-61.0.1-1-x86_64.pkg.tar.xz (local)
...

brisbin33 commented on 2018-06-01 01:19 (UTC)

FWIW, I also maintain the AUR helper aurget, which was able to install downgrade for me :)

diekstra commented on 2018-06-01 01:14 (UTC)

@johnwallaby I got the same error when trying to install downgrade for the first time. I didn't have pacman-contrib installed. It worked when I manually installed pacman-contrib and tried again. I'm using pacaur, which is probably the issue (been meaning to switch to something else for a long time). If you're also using pacaur, this may be your issue.

==> Sources are ready.
:: Building downgrade package(s)...
==> Making package: downgrade 6.0.0-2 (Thu 31 May 2018 07:53:35 PM CDT)
==> Checking runtime dependencies...
==> Installing missing dependencies...
/usr/bin/pacman: unrecognized option '--color never'
==> ERROR: 'pacman' failed to install missing dependencies.
:: failed to build downgrade package(s)

johnwallaby commented on 2018-05-29 16:35 (UTC)

@brisbin33, after a reboot (and installing pacman-contrib) everything works again as expected. as i can't reproduce the behaviour either, just ignore the msg please. thx for maintaining this nice piece of software btw!

brisbin33 commented on 2018-05-29 12:41 (UTC)

Hmm. I can't reproduce that here, can you please tell me the full command-line you're running? Also, the full output of bash -x downgrade <whatever you run> (please use a paste site of some kind).

FWIW, the script doesn't pass any pacman args itself, though it does accept them like downgrade -- <pacman args> and pass them along. So, if you're running downgrade <package> -- --color never and getting this error, you should... stop doing that :)

For everyone else: I did have to go through a minor update dance because of how old and new pacman provide and/or conflict with pacman-contrib:

  • pacman -Rsn downgrade
  • pacman -Syu
  • auget downgrade (installs pacman-contrib)

johnwallaby commented on 2018-05-29 12:02 (UTC) (edited on 2018-05-29 12:02 (UTC) by johnwallaby)

hi @brisbin33, i get the following error when trying to upgrade to the latest version:

/usr/bin/pacman: unknown option »--color never«

pacman was upgraded to 5.1.0.

brisbin33 commented on 2018-05-29 11:31 (UTC)

Thanks for letting me know, depends added.

nwg commented on 2018-05-29 07:15 (UTC)

Same error here (/usr/bin/downgrade: line 124: pacsort: command not found) after upgrading pacman to 5.1.0-1.

SibrenVasse commented on 2018-05-29 05:43 (UTC)

Running this script currently gives the following error: /usr/bin/downgrade: line 124: pacsort: command not found

Package should depend on 'pacman-contrib', as pacsort has been moved.