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: 499
Popularity: 5.687919
First Submitted: 2009-11-12 01:48
Last Updated: 2018-05-29 11:17

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

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

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
/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)

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.