ffmpeg - can't deactivate

Ryan Schmidt ryandesign at macports.org
Sat Sep 12 00:05:17 PDT 2009


On Sep 11, 2009, at 17:58, Chris Janton wrote:

> On 2009-09-11 , at 12:48 , Ryan Schmidt wrote:
>
>>>> Receipts aren't very hard to edit by hand, especially when it's  
>>>> just
>>>> something like flipping the active bit.
>>>
>>> So, in this case, how do you tell what is really active and what  
>>> is not?
>>
>> Probably doesn't matter much. Pick one, make it active, then  
>> uninstall both, then reinstall, just to be sure.
>
> If someone will point me towards the description of how to do that I  
> will, and send the detailed steps back to the list.

Well, like it says above, edit the receipt and flip the active bit.  
Receipts are in

/opt/local/var/macports/receipts/

On my system, I have only one ffmpeg installed:

$ port installed ffmpeg
The following ports are currently installed:
   ffmpeg @0.5_4+darwin_10 (active)

And my ffmpeg receipt is in

/opt/local/var/macports/receipts/ffmpeg/0.5_4+darwin_10/receipt.bz2

Using TextWrangler 3.0, I can edit bz2-compressed files directly by  
typing

edit /opt/local/var/macports/receipts/ffmpeg/0.5_4+darwin_10/receipt.bz2

I see the string "active 1" and I can change it to "active 0" and save  
the file. And now:

$ port installed ffmpeg
The following ports are currently installed:
   ffmpeg @0.5_4+darwin_10

So edit the receipt of one of your active ffmpegs and make it  
inactive. Then use "port uninstall" to uninstall all ffmpegs that you  
have installed. Then, if desired, reinstall the ffmpeg you want.




More information about the macports-users mailing list