Package Details: downgrade 6.0.0-2

Git Clone URL: https://aur.archlinux.org/downgrade.git (read-only)
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/pbrisbin/downgrade
Licenses: GPL
Submitter: brisbin33
Maintainer: brisbin33
Last Packager: brisbin33
Votes: 480
Popularity: 7.024877
First Submitted: 2009-11-12 01:48
Last Updated: 2018-05-29 11:17

Dependencies (2)

Required by (3)

Sources (1)

Latest Comments

brisbin33 commented on 2018-06-01 01:19

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

diekstra commented on 2018-06-01 01:14

@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

@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

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

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

Thanks for letting me know, depends added.

nwg commented on 2018-05-29 07:15

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

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.

brisbin33 commented on 2017-09-28 21:45

Thanks for the report JohnRobson. Unfortunately, this has nothing to do with downgrade. It's an error coming from pacman directly, and is likely caused by repo.archlinux.fr having an outage.

You can confirm this with

# pacman -U http://repo.archlinux.fr/x86_64/downgrade-5.4.1-1-any.pkg.tar.xz

IIRC installing from repo.archlinux.fr was some weird Yaourt thing that's not recommend. Please see https://wiki.archlinux.org/index.php/Arch_User_Repository#Installing_packages for the correct way to install downgrade.

JohnRobson commented on 2017-09-28 18:11

09/28 14:09:54 [ERROR] CUID#7 - Download aborted. URI=http://repo.archlinux.fr/x86_64/downgrade-5.4.1-1-any.pkg.tar.xz
Exception: [HttpSkipResponseCommand.cc:222] errorCode=3 Resource not found

09/28 14:09:54 [NOTICE] Download GID#6ca6f0bb1f328562 not complete: //var/cache/pacman/pkg/downgrade-5.4.1-1-any.pkg.tar.xz.part

Download Results:
gid |stat|avg speed |path/URI
======+====+===========+=======================================================
6ca6f0|ERR | 0B/s|//var/cache/pacman/pkg/downgrade-5.4.1-1-any.pkg.tar.xz.part

Status Legend:
(ERR):error occurred.

aria2 will resume download if the transfer is restarted.
If there are any errors, then see the log file. See '-l' option in help/man page for details.
warning: failed to retrieve some files
error: failed to commit transaction (error invoking external downloader)
Errors occurred, no packages were upgraded.

All comments