ffmpeg unexpectedly uninstalled

Peter West pbw at pbw.id.au
Tue Jan 4 02:00:27 UTC 2022


I don’t know whether it’s as comprehensive, but 
sudo port reclaim
does a pretty good job of cleaning up.

I used to get prompted to run reclaim every now and again.

p
—
Peter West
pbw at ehealth.id.au
“Behold, this child is appointed for the fall and rising of many in Israel, and for a sign that is opposed (and a sword will pierce through your own soul also), so that thoughts from many hearts may be revealed.”

> On 4 Jan 2022, at 11:56 am, Michael Newman via macports-users <macports-users at lists.macports.org> wrote:
> 
> I'm using the -f option because I copied it from some recommendation I read somewhere. I'm not smart enough to figure things like this out myself so I usually rely on what I find by searching. For years I just ran:
> 
> sudo port selfupdate
> sudo port upgrade outdated
> 
> But then I read somewhere that to remove unneeded junk I should also run:
> 
> sudo port -f clean --all all
> sudo port -f uninstall inactive
> sudo port uninstall leaves
> 
> I guess I found out that was wrong. What should I run when I do my periodic selfupdate?
> 
> And, yes, I'm sure there was not another version of ffmpeg installed. I have a shell script that runs daily which uses ffmpeg. When I ran the script after updating macports there was an error message about there being no /opt/local/bin/ffmpeg. After I installed ffmpeg the script ran OK.
> 
>> On Jan 4, 2022, at 08:05, Chris Jones <jonesc at hep.phy.cam.ac.uk> wrote:
>> 
>> 
>> 
>>> On 3 Jan 2022, at 11:54 pm, Michael Newman via macports-users <macports-users at lists.macports.org> wrote:
>>> 
>>> When I periodically update MacPorts I also run:
>>> 
>>> sudo port -f uninstall inactive
>> 
>> Why are you using the -f option here. That could force something to happen that might not be a good idea. Generally speaking you should not use it as a matter of course, and only when you really need to, for some specific reason.
>> 
>>> 
>>> This seemed to work fine until last month when ffmpeg was uninstalled. I reinstalled and forgot about it.
>>> 
>>> But, it happened again yesterday:
>>> 
>>> --->  Deactivating ffmpeg @4.4.1_1+gpl2
>>> --->  Cleaning ffmpeg
>>> --->  Uninstalling ffmpeg @4.4.1_1+gpl2
>>> --->  Cleaning ffmpeg
>>> 
>>> So, I reinstalled and tried:
>>> 
>>> MrMuscle:~ mnewman$ sudo port -f uninstall inactive
>>> Password:
>>> Error: No ports matched the given expression
>>> 
>>> I checked the "requested" ports here from a file I created for the Big Sur migration:
>>> 
>>> MrMuscle:~ mnewman$ ls -la /Users/mnewman/Desktop/requested.txt
>>> -rwxrwxrwx@ 1 mnewman  staff  359 Jun  8  2021 /Users/mnewman/Desktop/requested.txt*
>>> MrMuscle:~ mnewman$ grep ffmpeg /Users/mnewman/Desktop/requested.txt
>>> ffmpeg
>>> 
>>> So, ffmpeg is definitely a requested port.
>>> 
>>> I'm baffled. What's going on here?
>> 
>> Are you sure you don’t still have a version of ffmpeg installed ? The above only temoved inactive ports, it did not uninstall any active ports.
>> 
>>> 
>>> Mike Newman
>>> Korat, Thailand
>>> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20220104/ae07a655/attachment.htm>


More information about the macports-users mailing list