Skip to main content
Topic: Cannot Downgrade FFMPEG - Invalid Or Corrupted Signature (Read 1386 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Cannot Downgrade FFMPEG - Invalid Or Corrupted Signature

So I'm trying to downgrade (using downgrade) to fix the ffmpeg issue for now, but I get an invalid signature warning.

Downgrading breaks dependency of chromaprint, aubio, and mpv for me. I tried to downgrade those packages, along with libplacebo and I get invalid or corrupted signature for ffmpeg and x264.

Anyone else having this issue?

Code: [Select]
error: x264: signature from "Maxime Gauduin <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/x264-3:0.163.r3060.5db6aa6-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature))

error: ffmpeg: signature from "Maxime Gauduin <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/ffmpeg-2:4.4.1-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature))



Re: Cannot Downgrade FFMPEG - Invalid Or Corrupted Signature

Reply #2
pacman -U won't check the signature:
Code: [Select]
sudo pacman -U ffmpeg-2\:4.4.1-1-x86_64.pkg.tar.zst
sudo pacman -U ffmpeg-2\:4.4.1-1-x86_64.pkg.tar.zst x264-3\:0.163.r3060.5db6aa6-1-x86_64.pkg.tar.zst
I downgraded ffmpeg and x264 then left them in IgnorePkg until the vlc update arrived, anyway first trying only ffmpeg gave that error for x264, because pacman tried to install the old version of x264 from the cache because it was the only option to get the version required by ffmpeg, but then checked it with the latest signature from the repo which obviously didn't match because the repo has a newer version now. So to avoid the error I added the appropriate version of x264 to the -U command and it worked fine then. If you don't have the package versions in the cache if you went ahead and deleted the "corrupted" packages, which aren't corrupted, then you'll need to get them from the Artix package archive.

Re: Cannot Downgrade FFMPEG - Invalid Or Corrupted Signature

Reply #3
I was able to downgrade but I had to edit /etc/pacman.conf and comment out the [extra] and [community] repos I have activated to get pacman to fetch the right packages. It worked for now anyway. Thanks

Re: Cannot Downgrade FFMPEG - Invalid Or Corrupted Signature

Reply #4
I was able to downgrade but I had to edit /etc/pacman.conf and comment out the [extra] and [community] repos I have activated to get pacman to fetch the right packages. It worked for now anyway. Thanks
Were [extra] and [community] before [world] and [galaxy]? If so, they should be placed after Artix repos.

Re: Cannot Downgrade FFMPEG - Invalid Or Corrupted Signature

Reply #5
No, my Arch repos are after all Artix repos, but every time I tried to fetch the downgraded ffmpeg package it gave me the Arch package. Not sure what the deal was with that.

Re: Cannot Downgrade FFMPEG - Invalid Or Corrupted Signature

Reply #6
No, my Arch repos are after all Artix repos, but every time I tried to fetch the downgraded ffmpeg package it gave me the Arch package. Not sure what the deal was with that.
Oh, I re-read your initial post and saw you're using downgrade. This utility is Arch-specific, it won't work with Artix repositories as it is. You must edit /etc/xdg/downgrade/downgrade.conf and alter the --ala-url value to 'https://archive.artixlinux.org' to force the use of our archive.

Code: [Select]
# --maxdepth 1
--ala-url 'https://archive.artixlinux.org'
# --ala-url 'https://archive.archlinux.org'
#

 

Re: Cannot Downgrade FFMPEG - Invalid Or Corrupted Signature

Reply #7
Oh, I re-read your initial post and saw you're using downgrade. This utility is Arch-specific, it won't work with Artix repositories as it is. You must edit /etc/xdg/downgrade/downgrade.conf and alter the --ala-url value to 'https://archive.artixlinux.org' to force the use of our archive.

Code: [Select]
# --maxdepth 1
--ala-url 'https://archive.artixlinux.org'
# --ala-url 'https://archive.archlinux.org'
#
Ahh.. Ok makes sense now. Thanks a lot for the help!!