Re: fink update-all does not work
Scott Hannahs via Fink-users <[email protected]> Tue, 8 Jul 2025 15:24:54 -0600
| Newsgroups | gmane.os.apple.fink.general |
|---|---|
| Message-ID | <[email protected]> |
Giuliano, The error message seems to say something is wrong with your buildlocks and fink is running something that is using the build lock data base. First make sure that no other instances of fink are running. Then try to clear any existing locks. “fink cleanup --buildlocks” Maybe someone else on the list can help with this buildlock problem. -Scott > On Jul 8, 2025, at 09:00, Franchetti, Giuliano Dr. <[email protected]> wrote: > > Hi Derek, > Hi Scott, > > I tried what you suggested, but it does not work. > See below > > Giuliano > > > > giuliano@strmac001:/Users/giuliano/Desktop> fink list pm5303 | awk '{ if ($1 == "i") print $2 }' > class-c3-pm5303 > class-c3-xs-pm5303 > cpan-meta-pm5303 > data-section-pm5303 > inc-latest-pm5303 > locale-gettext-pm5303 > module-build-pm5303 > module-metadata-pm5303 > mro-compat-pm5303 > params-util-pm5303 > perl-ostype-pm5303 > version-pm5303 > xml-parser-pm5303 > xsloader-pm5303 > giuliano@strmac001:/Users/giuliano/Desktop> fink remove $(fink list pm5303 | awk '{ if ($1 == "i") print $2 }') > Password: > Information about 16205 packages read in 1 seconds. > Reading buildlock packages... > /opt/sw2/bin/dpkg-lockwait --remove class-c3-pm5303 class-c3-xs-pm5303 cpan-meta-pm5303 data-section-pm5303 inc-latest-pm5303 locale-gettext-pm5303 module-build-pm5303 module-metadata-pm5303 mro-compat-pm5303 params-util-pm5303 perl-ostype-pm5303 version-pm5303 xml-parser-pm5303 xsloader-pm5303 > Waiting up to 300 seconds for access to the dpkg database... > Timed out, cancelling operation! > ### execution of /opt/sw2/bin/dpkg-lockwait failed, exit code 1 > ERROR: Can't remove package(s). If the above error message mentions dependency problems, you can try > fink remove --recursive class-c3-pm5303 class-c3-xs-pm5303 cpan-meta-pm5303 data-section-pm5303 inc-latest-pm5303 > locale-gettext-pm5303 module-build-pm5303 module-metadata-pm5303 mro-compat-pm5303 params-util-pm5303 perl-ostype-pm5303 > version-pm5303 xml-parser-pm5303 xsloader-pm5303 > This will attempt to remove the package(s) specified as well as ALL packages that depend on it. > Failed: can't batch-remove packages: class-c3-pm5303 class-c3-xs-pm5303 cpan-meta-pm5303 data-section-pm5303 inc-latest-pm5303 locale-gettext-pm5303 module-build-pm5303 module-metadata-pm5303 mro-compat-pm5303 params-util-pm5303 perl-ostype-pm5303 version-pm5303 xml-parser-pm5303 xsloader-pm5303 > giuliano@strmac001:/Users/giuliano/Desktop> > > > > > > > >> On 7. Jul 2025, at 15:48, Derek Homeier <[email protected]> wrote: >> >> On 7 Jul 2025, at 1:14 am, Scott Hannahs via Fink-users <[email protected]> wrote: >>> >>> I reported the issue with apt and recursive removal using fink awhile ago. The response from the fink-experts was that they did not use apt much. >>> >>> I think you have to manually remove all files with -pm5303 extensions. I used to list them with fink and then do one big remove. it would only remove the top files, but repeated application of that command would work it way through things. >>> >> A working apt would definitely be very useful, and this has all been discussed at length in >> https://github.com/fink/fink-distributions/issues/1196 , but it seems none of the few core >> maintainers have the time or resources to work on this and get it reviewed. >> Fink’s version 0.5.4 is decades old, and rather hopeless to get built on arm64, though >> on x86_64 should still be workable adding the `SetCFLAGS: -std=gnu90` patch as >> described in that thread. I don’t have a recent system with Intel arch to test on though. >> >> I did look into getting the (almost) current version 2.4 to build, but build system has also >> changed completely since the EOL versions. >> >> If patching the current apt version does not work, manually running something like >> >> fink remove $(fink list pm5303 | awk '$1==“i”/{print $2}’) >> >> would probably indeed be your best bet. >> >> HTH >> Derek >> > _______________________________________________ Fink-users mailing list [email protected] List archive: https://sourceforge.net/p/fink/mailman/fink-users/ Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users