At 11:32 Uhr +0100 20.02.2002, Martin Costabel wrote:
>Max Horn wrote:
>
>>  Regarding gnumeric: we have this system lib version 50.0.0 issue, it
>>  might be nice if somebody wrote a mini package with a script that
>>  checks this problem and others, and automatically suggests (and if
>>  the users says "yes", also performs) and update of affected packages.
>>  This would also be nice for the next Fink release, and for the FAQ,
>>  we could just tell peoople: "run this script to check your system is
>>  ready"
>
>Max,
>
>in this connection I have a beginner's question: Is there some sort of
>"apt-get reinstall" command? I couldn't see this in the docs.

I am not sure what you mean this to do ... "fink reinstall" will 
reinstall any installed package, no matter if it was installed via 
apt-get or fink.


>The reason I would need this is that I am compiling my Fink stuff on a
>another machine and then use apt-get to install it here. On the other
>machine I ran your little script to detect the 50.0.0 dependencies and
>ran fink rebuild on the packages detected.

Ah, so what you want is not "apt-get reinstall" but more something 
like "apt-get refetch-and-install" :-)



>Now I would like to get the updated packages over onto this machine. But
>the version numbers did not change, so the only way I see is to use
>"apt-get remove" followed by "apt-get install". But due to dependency
>following, apt-get wants to remove practically my whole fink
>installation, which I would rather avoid. This is also non-reversible:
>"apt-get remove A" wants to remove all packages that depend on A, but
>"apt-get install A" does not reinstall these others, of course.

Yeah, so I'd suggest this: "man apt-get" :-)

I did that mysself just now. There is an "--reinstall" option. 
Alternatively, you could just use "fink reinstall bal". Now you only 
need to make sure that apt-get redownloads the .deb. You could force 
that by rm'ing the local copy of the .deb, I am not sure if apt-get 
has an option to force a download.


Max
-- 
-----------------------------------------------
Max Horn
Software Developer

email: <mailto:[EMAIL PROTECTED]>
phone: (+49) 6151-494890

_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to