Package Details: downgrade 9.0.0-1

Git Clone URL: (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:
Licenses: GPL
Submitter: brisbin33
Maintainer: brisbin33 (atreyasha)
Last Packager: atreyasha
Votes: 579
Popularity: 4.72
First Submitted: 2009-11-12 01:48
Last Updated: 2020-10-29 13:46

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

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

brisbin33 commented on 2019-08-19 13:00

Huh, that's weird and unexpected. I thought I was using curl -O (which downloads using the basename of the URL), which would be the full package-version-arch. Do you mind opening this as an Issue on the repository?

phillid commented on 2019-08-18 00:12

Would recommend setting a local download name for the source tarball [1]. v6.2.1.tar.gz in't very unique, and collides when makepkg is configured to use a downloads directory that is shared with other packages. Cheers

[1] commented on 2019-03-18 03:23

@nhw install pacman-contrib

hotice commented on 2018-07-14 15:04

oops, my bad. For some reason pacman.conf had its sections repeated 3 times! After deleting triplicates seems fine now, sorry!

brisbin33 commented on 2018-07-14 14:20

Hmm, doesn't look like an error in the command. Seems like it can't read your Pacman log. There could be a few reasons for this:

  • New Pacman is putting the file elsewhere
  • New Pacman is now storing the file 600
  • New Pacman is storing the file 640 and you're not in whatever group it is

(Or you're configured Pacman to do these things.)

What does sudo ls -l /var/log/pacman.log and sudo cat /etc/pacman.conf say?

Feel free to open an Issue in the project GitHub if you prefer interacting there.

hotice commented on 2018-07-14 13:50

is there an argument error in sed call?
$ downgrade firefox
sed: can't read /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

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)