You are not logged in.

#1 2007-03-09 03:05:09

RobF
Member
Registered: 2006-10-10
Posts: 157

How do I reverse a package upgrade? SOLVED

I want to reverse an upgrade that resulted in my getting broken packages and go back to the earlier packages that worked for me.

To be specific, I just upgraded VLC from v.0.8.5-9 to v.0.8.6a-4 (which also upgraded ffmpeg from v.20060920-1 to v.20070131-1), and now I'm unable to save an audio stream transcoded on the fly to mp3 (transcoding to wav or ogg works), something that I was able to do with the older packages.  There is a problem with either one or both of the new packages.

I still have the older packages in my package cache /var/cache/pacman/pkg.  Is there any way to tell pacman to install these packages, after I remove the new versions?  Is there any hazard in doing this, e.g. screwing up the synchronization etc.?

Robert

Last edited by RobF (2007-03-09 06:11:04)

Offline

#2 2007-03-09 04:11:04

toofishes
Developer
From: Chicago, IL
Registered: 2006-06-06
Posts: 602
Website

Re: How do I reverse a package upgrade? SOLVED

Run pacman -U passing those two packages as arguments.

ex. pacman -U vlc-0.8.5-9.pkg.tar.gz <other package>

It will prompt you each time after that the packages are set to be upgraded, but read up on either IgnorePkg in pacman.conf or --ignore to pacman to 'fix' that issue.

Offline

#3 2007-03-09 06:10:41

RobF
Member
Registered: 2006-10-10
Posts: 157

Re: How do I reverse a package upgrade? SOLVED

Thanks, that did it.  I'm back in business.

Robert

Offline

Board footer

Powered by FluxBB