Re: Unable to update geant4.9

Hanspeter Niederstrasser <[email protected]> Sun, 3 Sep 2023 12:40:22 -0500
Newsgroups gmane.os.apple.fink.beginners
Organization Snaggled Works
Message-ID <[email protected]>
On 9/3/23 11:58 AM, James Kolata via Fink-beginners wrote:
> 
> 
>> On Sep 3, 2023, at 10:32 AM, Hanspeter Niederstrasser <[email protected]> wrote:
>>
>> `fink list openmotif4` to make sure that the only packages you have installed are part of the openmotif4-2level group. It might be OK to have "openmotif4-shlibs" installed, but "openmotif4" and "openmotif4-bin" should not be installed.
>>
>> Hanspeter
>>
> 
> 
> I encountered a problem doing this:
> 
> fink list openmotif4
> Information about 14745 packages read in 3 seconds.
>       mesa-libglw-openmotif4          7.8.2-4                 Xt / Motif OpenGL widgets
>       mesa-libglw-openmotif4-shlibs   7.8.2-4                 Xt / Motif OpenGL widgets
>       openmotif4                      2.3.4-16                Official Implementation of OSF/Motif
>   i   openmotif4-2level               2.3.8-1                 Official Implementation of OSF/Motif
>       openmotif4-2level-bin           2.3.8-1                 End user executables for openmotif4
>   i   openmotif4-2level-common        2.3.8-1                 Common files for openmotif4-2level
>   i   openmotif4-2level-shlibs        2.3.8-1                 Official Implementation of OSF/Motif
>   i   openmotif4-bin                  2.3.4-16                Official Implementation of OSF/Motif
>   i   openmotif4-shlibs               2.3.4-16                Official Implementation of OSF/Motif
> 
> 
> 
> fink remove openmotif4-bin
> Password:
> Information about 14745 packages read in 1 seconds.
> Reading buildlock packages...
> /opt/sw/bin/dpkg-lockwait --remove openmotif4-bin
> dpkg: dependency problems prevent removal of openmotif4-bin:
>   geant4.9 depends on openmotif4-bin (>= 2.3.4-13).
> 
> dpkg: error processing package openmotif4-bin (--remove):
>   dependency problems - not removing
> Errors were encountered while processing:
>   openmotif4-bin
> ### execution of /opt/sw/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 openmotif4-bin
> This will attempt to remove the package(s) specified as well as ALL packages that depend on it.
> 
> 
> Can I do the recursive remove or will that cause other problems?

Recursive remove should work. Can also just
`fink remove geant4.9 openmotif4-bin` then install openmotif4-2level-bin

Hanspeter

-- 
Labor is prior to, and independent of, capital. Capital is only the fruit
of labor and could not exist if labor had not first existed. Labor is the
superior of capital and deserves much the higher consideration.
   --Abraham Lincoln



_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners