On 10/17/14, 3:21 PM, Alessio Sarti wrote:
>>> Here's a thought:
>>
>> Rename your existing /sw (e.g. to /sw.old), then do a new bootstrap
>> into /sw .
>>
>> After that is done try
>>
>> sudo cp -r /sw/etc/fink.conf /sw.old/etc
>> sudo cp -r /sw/lib/perl5/Fink/* /sw.old/lib/perl5/Fink/
>> sudo cp -r /sw/lib/fink/* /sw.old/lib/fink/
>>
>> Then rename your new /sw to /sw.new and /sw.old to /sw again.
>>
>> I _believe_ that should cover the files which need to be changed, but
>> if not, you'll have your /sw.new to copy from.
>
> I have performed the first steps, without problems.
> (bootstrap, the cp commands, renaming /sw.old to /sw)
> Now, if I try a fink selfupdate I get:
>
> WARNING: Not saving timestamp of selfupdate because could not write
> /sw/fink/10.10/VERSION.selfupdate.tmp: No such file or directory
> Scanning package description files
> Failed: not a reference at /sw/lib/perl5/Fink/Services.pm line 1886.
>
> If I try fink --version I get
>
> fink --version
> WARNING: could not read /sw/fink/10.10/VERSION: No such file or directory
> Use of uninitialized value $method in concatenation (.) or string at
> /sw/lib/perl5/Fink/Config.pm line 320.
> Package manager version: 0.37.99.git
> Distribution version: selfupdate-, 10.10, x86_64
> Trees: local/main stable/main stable/crypto
>
> Copyright (c) 2001 Christoph Pfisterer
> Copyright (c) 2001-2014 The Fink Package Manager Team
> This program is distributed in the hope that it will be useful,
> but WITHOUT ANY WARRANTY; without even the implied warranty of
> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> GNU General Public License for more details.
>
> how can I proceed? I believe that I will have to reinstall all the
> packages I had but I need to perform an update or selfupdate first, right?
> thanks again,
>
>> --
>> Alexander Hansen, Ph.D.
>> Fink User Liaison
>> My package updates: http://finkakh.wordpress.com/
>
> Alessio Sarti
>
> "Rispondi... livato" (Da "L'uomo che non capiva troppo", 610, Lillo e Greg)
>
>
>
>
>

Start with

sudo ln -s /sw/fink/10.7 /sw/fink/10.10
sudo rm /sw/fink/dists
sudo ln -s /sw/fink/10.7 /sw/fink/dists

so that fink can at least find the VERSION file.

(The goal here is for you _not_ to have to reinstall everything, but if 
all else fails you can use your newly injected Fink and install from the 
.deb files in your old Fink to save time.)
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to