Search Criteria
Package Details: downgrade 11.2.1-1
Package Actions
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: | atreyasha |
Votes: | 661 |
Popularity: | 7.84 |
First Submitted: | 2009-11-12 01:48 (UTC) |
Last Updated: | 2022-06-13 14:33 (UTC) |
Dependencies (3)
- fzf (fzf-git, skim-fzf-dropin)
- pacman-contrib (pacman-contrib-git)
- sudo (nosudo, opendoas-sudo, fake-sudo, sudo-hg, polkit-fakesudo, sudo-git, sudo-selinux) (optional) – for installation via sudo
Latest Comments
brisbin33 commented on 2022-03-02 13:41 (UTC)
Yup, I've reported the Issue here. Please follow if you would like to know when it's fixed.
Archanfel80HUN commented on 2022-03-02 12:47 (UTC)
The x86-64-v3 level enables AVX, AVX2, BMI2, MOVBE, XSAVE, and other instructions found on Intel and AMD processors of the past several years. Its basically packages builds optimized for newer processors, instead of the generic one which is for compatibility. Using v3 builds could provide 5-10% percformance gain especially in kernels and dkms modules.
Archanfel80HUN commented on 2022-03-02 11:53 (UTC)
@brisbin33: yes, print only the firt result should work: $(pacman-conf Architecture | grep -m1 '')
or maybe a nicer alternative, but something like this :)
brisbin33 commented on 2022-03-02 11:48 (UTC)
Oh, sorry about that. I saw
Unable to downgrade mc+ echo
in that log.Indeed! Good catch,
That's what we used to do, but there are reasons it doesn't work in other cases.
I don't know the purpose of this, or how downgrade should behave in such a case, but would taking the first result (
x86_64
) always be the most correct thing we can do? That's an easy fix.Archanfel80HUN commented on 2022-03-01 23:08 (UTC) (edited on 2022-03-01 23:10 (UTC) by Archanfel80HUN)
Or maybe this: instead of "pacman-conf Architecture" use "uname -m". The second one only shows system arch, not shown the custom arch's. It did show only x86_64 correctly for me.
P
Archanfel80HUN commented on 2022-03-01 23:02 (UTC)
Find the issue: @@ -462,13 +462,13 @@ # Set script defaults PACMAN="pacman" PACMAN_CONF="/etc/pacman.conf" -DOWNGRADE_ARCH="x86_64" +DOWNGRADE_ARCH="$(pacman-conf Architecture)" DOWNGRADE_ALA_URL="https://archive.archlinux.org" DOWNGRADE_FROM_ALA=1 DOWNGRADE_FROM_CACHE=1 DOWNGRADE_MAXDEPTH=1 DOWNGRADE_CONF="/etc/xdg/downgrade/downgrade.conf" -DOWNGRADE_VERSION="10.1.0" +DOWNGRADE_VERSION="10.1.1"
# Main code execution if ((!LIB)); then
This command 'pacman-conf Architecture' results with two option in my system: "x86_64 x86_64_v3" because i have repo's with different arch. This not handled well i think.
Workaround is change the DOWNGRADE ARCH to static "x86_64" and its works.
P
Archanfel80HUN commented on 2022-03-01 22:50 (UTC)
@brisbin33 there was no + in the package name. its the 'mc'. i pick a simple one. It didnt work neither.
brisbin33 commented on 2022-02-28 16:31 (UTC)
Thanks, the + in the package name is confusing it. Please report it on GitHub, otherwise I can, but it may take me a little while to get to it.
Archanfel80HUN commented on 2022-02-28 15:26 (UTC)
Here is the full log: https://pastebin.com/7RD6Tx2X
brisbin33 commented on 2022-02-27 19:14 (UTC)
Hi Archanfel,
Can you please include the full command you're running? Prefixing with
bash -x downgrade ...
can be useful too.Also, if you would like faster response, please report issues on GitHub.
Thanks, Pat
Archanfel80HUN commented on 2022-02-25 14:25 (UTC) (edited on 2022-02-25 14:30 (UTC) by Archanfel80HUN)
I have an issue, nothing works: sed: -e expression #1, character 49: invalid regexp
version: 11.0.0
downgraded to 10.0.0, works fine again
vinibali commented on 2021-03-15 20:10 (UTC)
Oh, sorry... I missed the target, I was talking about the localepurge :)
brisbin33 commented on 2021-03-15 14:31 (UTC)
vinibali,
Hmm, are you sure?
vinibali commented on 2021-03-14 18:44 (UTC)
Hello! The URL is not available, 7.3.{4,5,10} is only available. Can you please fix it?
brisbin33 commented on 2020-02-14 20:00 (UTC)
Done.
haawda commented on 2020-02-14 19:38 (UTC) (edited on 2020-02-14 19:41 (UTC) by haawda)
Can you please do what phillid suggested? Also, please use positive integers for pkgrel, not 0.
yrlf commented on 2020-01-12 12:12 (UTC) (edited on 2020-01-12 13:15 (UTC) by yrlf)
The
downgrade
script does not yet have support for the new.zst
package compression. It just doesn't find packages with that extension.EDIT: fixed by my PR, will be merged on monday according to pbrisbin
merlock commented on 2019-10-11 22:11 (UTC) (edited on 2019-10-11 22:11 (UTC) by merlock)
Hi @brisbin33...
Both pacman -Qi and which showed gettext installed.
Re-installed gettext, that seemed to fix the problem.
Don't know if the recent changes to base had anything to do with it.
Thanks for the quick reply!
brisbin33 commented on 2019-10-11 20:12 (UTC)
Hi merlock,
gettext is a package in the base and base-devel groups, which AUR package can assume is installed (i.e. it need not be in dependencies). Somehow you seem to either have lost that package, or something is off with your environment variables?
What does pacman -Qi gettext say? How about which gettext?
merlock commented on 2019-10-11 16:18 (UTC) (edited on 2019-10-11 16:19 (UTC) by merlock)
Haven't used it for a while, but this happened today:
eniac commented on 2019-10-10 16:53 (UTC)
Suddenly I have the same issue as reported by hotice, but my pacman.conf hasn't changed for months.
brisbin33 commented on 2019-08-19 13:00 (UTC)
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?
https://github.com/pbrisbin/downgrade/issues
phillid commented on 2019-08-18 00:12 (UTC)
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] https://wiki.archlinux.org/index.php/PKGBUILD#source
jarch.io commented on 2019-03-18 03:23 (UTC)
@nhw install pacman-contrib
hotice commented on 2018-07-14 15:04 (UTC)
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 (UTC)
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:
(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 (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 havepacman-contrib
installed. It worked when I manually installedpacman-contrib
and tried again. I'm usingpacaur
, which is probably the issue (been meaning to switch to something else for a long time). If you're also usingpacaur
, this may be your issue.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 runningdowngrade <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:
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.
brisbin33 commented on 2017-09-28 21:45 (UTC)
JohnRobson commented on 2017-09-28 18:11 (UTC)
wget commented on 2017-08-12 10:39 (UTC)
Xavion commented on 2017-06-13 21:51 (UTC)
brisbin33 commented on 2017-06-13 17:05 (UTC)
Xavion commented on 2017-06-13 00:02 (UTC)
brisbin33 commented on 2017-06-12 15:21 (UTC) (edited on 2017-06-12 15:24 (UTC) by brisbin33)
Xavion commented on 2017-06-12 00:20 (UTC)
taorg commented on 2017-05-13 23:48 (UTC)
brisbin33 commented on 2016-10-18 21:57 (UTC)
maclinuxfree commented on 2016-10-17 14:19 (UTC)
brisbin33 commented on 2016-02-01 15:45 (UTC) (edited on 2016-02-01 15:46 (UTC) by brisbin33)
FadeMind commented on 2016-02-01 13:54 (UTC)
quite commented on 2016-02-01 13:49 (UTC)
brisbin33 commented on 2014-09-17 18:57 (UTC)
TrialnError commented on 2014-09-17 18:33 (UTC)
brisbin33 commented on 2014-09-17 15:27 (UTC)
TrialnError commented on 2014-09-17 09:20 (UTC)
brisbin33 commented on 2014-06-17 14:38 (UTC)
barton commented on 2014-06-17 08:12 (UTC)
brisbin33 commented on 2014-05-31 12:26 (UTC)
neverfox commented on 2014-05-31 06:36 (UTC)
neverfox commented on 2014-05-31 06:31 (UTC)
nonerd commented on 2014-05-17 15:13 (UTC)
brisbin33 commented on 2014-05-17 12:55 (UTC)
nonerd commented on 2014-05-17 11:40 (UTC)
SanskritFritz commented on 2014-05-17 10:27 (UTC)
nonerd commented on 2014-05-17 06:01 (UTC)
brisbin33 commented on 2014-01-13 20:44 (UTC)
brisbin33 commented on 2014-01-13 20:34 (UTC)
dhaines commented on 2014-01-13 20:32 (UTC)
brisbin33 commented on 2014-01-13 19:06 (UTC)
brisbin33 commented on 2013-09-25 13:37 (UTC)
WovenTales commented on 2013-09-25 02:38 (UTC)
raining commented on 2013-09-23 05:08 (UTC)
brisbin33 commented on 2013-08-27 13:27 (UTC)
P67 commented on 2013-08-27 10:20 (UTC)
brisbin33 commented on 2013-08-25 03:50 (UTC)
scorici commented on 2013-08-25 03:31 (UTC)
brisbin33 commented on 2013-08-25 00:50 (UTC)
xpixelz commented on 2013-08-21 10:26 (UTC)
scorici commented on 2013-04-18 08:26 (UTC)
brisbin33 commented on 2013-01-17 14:55 (UTC)
HolyTux commented on 2013-01-13 21:56 (UTC)
brisbin33 commented on 2012-11-14 22:03 (UTC)
tonyskn commented on 2012-11-11 13:30 (UTC)
paalsteek commented on 2012-09-13 07:06 (UTC)
donvla commented on 2012-05-14 18:02 (UTC)
brisbin33 commented on 2012-05-14 12:27 (UTC)
donvla commented on 2012-05-12 12:02 (UTC)
brisbin33 commented on 2012-04-21 19:04 (UTC)
karol_007 commented on 2012-04-21 18:58 (UTC)
brisbin33 commented on 2012-04-21 17:27 (UTC)
karol_007 commented on 2012-04-20 18:12 (UTC)
brisbin33 commented on 2012-04-20 16:26 (UTC)
karol_007 commented on 2012-04-20 16:13 (UTC)
brisbin33 commented on 2012-04-20 13:39 (UTC)
fdservices commented on 2012-04-20 09:13 (UTC)
karol_007 commented on 2012-04-19 21:22 (UTC)
brisbin33 commented on 2012-02-27 19:31 (UTC)
AlexanderR commented on 2012-02-11 05:17 (UTC)
karol_007 commented on 2012-02-11 00:17 (UTC)
commented on 2011-07-04 06:33 (UTC)
archman commented on 2011-02-17 19:07 (UTC)
LeCrayonVert commented on 2011-02-09 23:00 (UTC)
brisbin33 commented on 2011-02-09 21:45 (UTC)
LeCrayonVert commented on 2011-02-09 20:18 (UTC)
commented on 2010-12-06 18:36 (UTC)
brisbin33 commented on 2010-05-20 13:34 (UTC)
wizetek commented on 2010-05-20 00:11 (UTC)
brisbin33 commented on 2010-05-18 14:20 (UTC)
wizetek commented on 2010-05-18 03:39 (UTC)