Difference between revisions of "Talk:Downgrading packages"

From ArchWiki
Jump to: navigation, search
(ARM doesn't support searching [multilib]: +1)
m (No instructions on how to actually downgrade a package?: removed closed discussion)
(22 intermediate revisions by 7 users not shown)
Line 1: Line 1:
==Parallel Programs Dependency Issue==
== ARM downgrade helpers ==
There is another problem you haven't considered:
When there are already vital packages installed (like xorg) that require the newer version of the programm (like gcc-4.x).
Is there a way to tell pacman to install the older version (in my case gcc-3.x) parallel to the newer version, thus not hurting any dependencies?
Does {{AUR|downgrade}} support the new ARM? It seems to use http://repo-arm.archlinuxcn.org/ by default, perhaps that should be mentioned along with {{AUR|downgrade}}... -- [[User:Lahwaacz|Lahwaacz]] ([[User talk:Lahwaacz|talk]]) 16:00, 5 December 2013 (UTC)
Sometimes the only way to make something work is to make sure that the dependency's version is downward compatible.  If it isn't, then the older version of the program itself needs to be adjusted to work, and that is something that programmers are obviously not likely to do.
Keeping two or more versions of a particular program installed is possible in many cases.
In any case, it appears that the only accurate information we have on pacman is found at "man pacman" and "man pacman.conf" from the command line.  Perhaps you will find the proper procedure there.  [[User:KitchM|KitchM]] 13:09, 6 August 2009 (EDT)
== Not sure how to add this... ==
#use a simple var during downgrade process
#make sure to remove the package and its configs
sudo pacman -Rn $downgrade
#OPTIONALLY search for config files in the common places
ls -ah ~/ | grep $downgrade
#and remove them
rm -R ./$downgrade
#build directory
mkdir /tmp/$downgrade && cd /tmp/$downgrade
#make your way to http://pkgbuild.com/git/aur-mirror.git
#using the web interface locate the version of the package you would like to install
#copy the link of the tree view of the package directory (eg http://pkgbuild.com/git/aur-mirror.git/tree/dropbox?id=b19a54c808554c796f310747725ad2ff4291e44a)
#scrape the link for files and output them to 'files'
wget -q -O - 'http://pkgbuild.com/git/aur-mirror.git/tree/dropbox?id=b19a54c808554c796f310747725ad2ff4291e44a' | grep -o "/git/aur-mirror.git/plain/[^']*" | sed -e 's/^/http:\/\/pkgbuild.com/' > files
#download the files
wget -qi files
#clean file names (will generate errors, so just ignore them)
ls | sed -n 's/\([^?]*\)\(.*\)/mv "\1\2" "\1"/p' | sh
#build the package
makepkg -s
pacman -U $downgrade*.pkg.tar.xz
#optionally clean up environment
cd && rm /tmp/$downgrade
unset downgrade
: You can add it to a seperate file. Look into [[:Category:Scripts]] for examples. And then add a link to your new page. -- [[User:Fengchao|Fengchao]] ([[User talk:Fengchao|talk]]) 04:45, 20 September 2012 (UTC)
== ARM doesn't support searching [multilib] ==
ARM is a regular server (although one that doesn't remove the old versions), so multilib packages [http://arm.konnichi.com/multilib/os/x86_64/ are available] but they're not shown if you use [http://arm.konnichi.com/search/ the search interface]. Should we mention this in the article?
{{ic|$ armh --arch x86_64 --search lib32-glib2}} works on my 32-bit Arch, so maybe we should suggest using the helper scripts?
-- [[User:Karol|Karol]] ([[User talk:Karol|talk]]) 13:07, 26 May 2013 (UTC)
:I'd say yes to both proposals, it could be helpful to know for somebody. -- [[User:Kynikos|Kynikos]] ([[User talk:Kynikos|talk]]) 06:52, 29 May 2013 (UTC)

Latest revision as of 11:33, 23 September 2015

ARM downgrade helpers

Does downgradeAUR support the new ARM? It seems to use http://repo-arm.archlinuxcn.org/ by default, perhaps that should be mentioned along with downgradeAUR... -- Lahwaacz (talk) 16:00, 5 December 2013 (UTC)