[mcstas-users] broken rpms

robert.dalgliesh at stfc.ac.uk robert.dalgliesh at stfc.ac.uk
Tue Sep 23 14:55:27 CEST 2014


Hi Peter,
That is essentially what I did except I removed the mcstas 2.0 rpms instead of migrating them as I don't tend to change anything in the main package.

I would still expect to see the links in /usr/local/bin just pointing to the new locations in mcstas/2.1

Rob



From: Peter Kjær Willendrup [mailto:pkwi at fysik.dtu.dk]
Sent: 23 September 2014 12:14
To: Dalgliesh, Robert (STFC,RAL,ISIS)
Cc: mcstas-users at mcstas.org
Subject: Re: [mcstas-users] broken rpms

Hi again Rob,

These files belong to McStas 2.0 and I suggest you do one of the following:

1) Remove McStas 2.0 completely and install McStas 2.1

2) If you want to hold on to your McStas 2.0 also, then
a) get http://trac.mccode.org/export/5111/trunk/tools/migration-tool/migrate-mcstas-2.0.sh and install it (this will move your McStas 2.0 to the side, installing a mcstas-2.0-environment script that will let you run 2.0 in the future)
b) Accept the offer from the script to remove files from 2.0 from their original location
c) Install McStas 2.1

Hope this helps,

Peter

On 23 Sep 2014, at 19:00 , <robert.dalgliesh at stfc.ac.uk<mailto:robert.dalgliesh at stfc.ac.uk>> <robert.dalgliesh at stfc.ac.uk<mailto:robert.dalgliesh at stfc.ac.uk>> wrote:


Install of mcstas from rpm is broken.
After install by hand and looking in /usr/local/bin the soft links all point to the wrong place

lrwxrwxrwx. 1 root root 31 Sep 23 10:56 mccode-select -> /etc/alternatives/mccode-select
lrwxrwxrwx. 1 root root 38 Sep 23 10:56 mccode-select-bundle -> /etc/alternatives/mccode-select-bundle
lrwxrwxrwx. 1 root root 26 Sep 23 10:56 mcconfig -> /etc/alternatives/mcconfig
lrwxrwxrwx. 1 root root 27 Sep 23 10:56 mcconvert -> /etc/alternatives/mcconvert
lrwxrwxrwx. 1 root root 26 Sep 23 10:56 mcdaemon -> /etc/alternatives/mcdaemon
lrwxrwxrwx. 1 root root 27 Sep 23 10:56 mcdisplay -> /etc/alternatives/mcdisplay
lrwxrwxrwx. 1 root root 23 Sep 23 10:56 mcdoc -> /etc/alternatives/mcdoc
lrwxrwxrwx. 1 root root 26 Sep 23 10:56 mcformat -> /etc/alternatives/mcformat
lrwxrwxrwx. 1 root root 29 Sep 23 10:56 mcformatgui -> /etc/alternatives/mcformatgui
lrwxrwxrwx. 1 root root 23 Sep 23 10:56 mcgui -> /etc/alternatives/mcgui
lrwxrwxrwx. 1 root root 24 Sep 23 10:56 mcplot -> /etc/alternatives/mcplot
lrwxrwxrwx. 1 root root 27 Sep 23 10:56 mcresplot -> /etc/alternatives/mcresplot
lrwxrwxrwx. 1 root root 23 Sep 23 10:56 mcrun -> /etc/alternatives/mcrun
lrwxrwxrwx. 1 root root 24 Sep 23 10:56 mcstas -> /etc/alternatives/mcstas
lrwxrwxrwx. 1 root root 31 Sep 23 10:56 mcstas2vitess -> /etc/alternatives/mcstas2vitess

Going back to 2.0 for now.

Thanks

Rob

===================================
Dr. Robert Dalgliesh
ISIS
STFC Rutherford Appleton Laboratory
R3 1.29
Harwell Oxford
Didcot
OX11 0QX
Office Tel: +44 (0) 1235 445687 or OffSpec Instrument: +44 (0) 1235 567045
Internal Mobile Extension: 1176
e-mail: robert.dalgliesh at stfc.ac.uk<mailto:robert.dalgliesh at stfc.ac.uk>



--
Scanned by iCritical.

_______________________________________________
mcstas-users mailing list
mcstas-users at mcstas.org<mailto:mcstas-users at mcstas.org>
http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users


-- 
Scanned by iCritical.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20140923/f7c75d5e/attachment.html>


More information about the mcstas-users mailing list