Package Details: downgrade 6.0.0-1

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: 456
Popularity: 7.253445
First Submitted: 2009-11-12 01:48
Last Updated: 2017-08-26 15:33

Dependencies (1)

Required by (3)

Sources (1)

Latest Comments

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.

wget commented on 2017-08-12 10:39

Could you replace the "A.R.M." mention to "A.L.A." in the description?

Xavion commented on 2017-06-13 21:51

Done.

brisbin33 commented on 2017-06-13 17:05

Thanks Xavion, good points all around. Can you open Issues on the GitHub repo for these two things?

Xavion commented on 2017-06-13 00:02

Regarding my second suggestion, your implementation idea sounds good but would require a fair bit of work. I think it'd be easier for you to just list the dates alongside the packages in the 'downgrade' output. In fact, I think this should be done even if you do decide to create the second tool.

brisbin33 commented on 2017-06-12 15:21

I Xavlon,

For the first one (sort by most-recent-first), I can't reproduce what you're seeing, they sort by recency for me (as intended)

% downgrade firefox
Available packages:

1) firefox-53.0.3-1-x86_64.pkg.tar.xz (remote)
...snip...
103) firefox-23.0.1-1-x86_64.pkg.tar.xz (remote)
104) firefox-23.0.1-1-x86_64.pkg.tar.xz (local)

select a package by number:

Can you report this issue on GitHub with more details (exact invocation, exact output, system locale, etc)?

---
EDIT: I'm sorry, I misread that you wanted to see most recent sorted *last*. I had never actually considered this, but your reasoning makes sense! I don't know when, but I agree that the other sort would be better and will probably make that change.
--

For the second suggestion, this has been requested once or twice and I agree it sounds useful. I wonder if a better solution would be a second tool, one that takes a package name and rough date and parses pacman.log to find out what version of that package you had installed around that time. The output of this tool could be passed directly to downgrade (it accepts {package}-{version}, and will even skip the prompts if there's a single result). Something like:

dowgrade $(package-when firefox "last saturday")

WDYT?

Xavion commented on 2017-06-12 00:20

I have two requests to make.

Firstly, please reverse the order of the list. In other words, the most recent editions of packages should be shown at the bottom of the screen. It makes sense that people looking for earlier versions should have to scroll back further!

Secondly, it would be good to have the creation/upload date listed next to each entry in the list. If I want to roll back to a package I know I installed two Saturdays ago (but don't remember the version number), I have to go by its date-stamp.

taorg commented on 2017-05-13 23:48

Great package.
It works fine and its well thought.
Very easy and intuitive.
Elixir was broken with new erlang 20rc-1 and I fixed in a minute with this tool.
No other solution suit me as this.
Very useful the IgnorePkg? [y/n] option.

Thanx

brisbin33 commented on 2016-10-18 21:57

I just tested and everything seems to be working here. I've never seen that message and don't know anything about it unfortunately. If this persists, please open an Issue on GitHub with the full output of

bash -x downgrade ...

Thanks.

All comments