Author Topic: SOLVED Something Went Wrong  (Read 234 times)

Offline smileeb

  • Hero Member
  • *****
  • Posts: 2237
    • smileesplace
SOLVED Something Went Wrong
« on: February 13, 2013, 09:20:18 AM »
[root@localhost LO-rpms]# /usr/bin/su -c LO-rpms/LO_OfflineInstall.sh
bash: LO-rpms/LO_OfflineInstall.sh: No such file or directory                                                                
[root@localhost LO-rpms]# ls
libobasis4.0-base-4.0.0.3-103.i586.rpm                                  libobasis4.0-javafilter-4.0.0.3-103.i586.rpm          
libobasis4.0-calc-4.0.0.3-103.i586.rpm                                  libobasis4.0-kde-integration-4.0.0.3-103.i586.rpm    
libobasis4.0-core01-4.0.0.3-103.i586.rpm                                libobasis4.0-librelogo-4.0.0.3-103.i586.rpm          
libobasis4.0-core02-4.0.0.3-103.i586.rpm                                libobasis4.0-math-4.0.0.3-103.i586.rpm                
libobasis4.0-core03-4.0.0.3-103.i586.rpm                                libobasis4.0-ogltrans-4.0.0.3-103.i586.rpm            
libobasis4.0-core04-4.0.0.3-103.i586.rpm                                libobasis4.0-onlineupdate-4.0.0.3-103.i586.rpm        
libobasis4.0-core05-4.0.0.3-103.i586.rpm                                libobasis4.0-ooofonts-4.0.0.3-103.i586.rpm            
libobasis4.0-core06-4.0.0.3-103.i586.rpm                                libobasis4.0-ooolinguistic-4.0.0.3-103.i586.rpm      
libobasis4.0-core07-4.0.0.3-103.i586.rpm                                libobasis4.0-postgresql-sdbc-4.0.0.3-103.i586.rpm    
libobasis4.0-draw-4.0.0.3-103.i586.rpm                                  libobasis4.0-pyuno-4.0.0.3-103.i586.rpm              
libobasis4.0-en-US-4.0.0.3-103.i586.rpm                                 libobasis4.0-writer-4.0.0.3-103.i586.rpm              
libobasis4.0-en-US-base-4.0.0.3-103.i586.rpm                            libobasis4.0-xsltfilter-4.0.0.3-103.i586.rpm          
libobasis4.0-en-US-calc-4.0.0.3-103.i586.rpm                            libreoffice4.0-4.0.0.3-103.i586.rpm                  
libobasis4.0-en-US-help-4.0.0.3-103.i586.rpm                            libreoffice4.0-base-4.0.0.3-103.i586.rpm              
libobasis4.0-en-US-math-4.0.0.3-103.i586.rpm                            libreoffice4.0-calc-4.0.0.3-103.i586.rpm              
libobasis4.0-en-US-res-4.0.0.3-103.i586.rpm                             libreoffice4.0-dict-en-4.0.0.3-103.i586.rpm          
libobasis4.0-en-US-writer-4.0.0.3-103.i586.rpm                          libreoffice4.0-dict-es-4.0.0.3-103.i586.rpm          
libobasis4.0-extension-beanshell-script-provider-4.0.0.3-103.i586.rpm   libreoffice4.0-dict-fr-4.0.0.3-103.i586.rpm          
libobasis4.0-extension-javascript-script-provider-4.0.0.3-103.i586.rpm  libreoffice4.0-draw-4.0.0.3-103.i586.rpm              
libobasis4.0-extension-mediawiki-publisher-4.0.0.3-103.i586.rpm         libreoffice4.0-en-US-4.0.0.3-103.i586.rpm            
libobasis4.0-extension-nlpsolver-4.0.0.3-103.i586.rpm                   libreoffice4.0-impress-4.0.0.3-103.i586.rpm          
libobasis4.0-extension-presentation-minimizer-4.0.0.3-103.i586.rpm      libreoffice4.0-mandriva-menus-4.0.0-103.noarch.rpm    
libobasis4.0-extension-python-script-provider-4.0.0.3-103.i586.rpm      libreoffice4.0-math-4.0.0.3-103.i586.rpm
libobasis4.0-extension-report-builder-4.0.0.3-103.i586.rpm              libreoffice4.0-stdlibs-4.0.0.3-103.i586.rpm
libobasis4.0-gnome-integration-4.0.0.3-103.i586.rpm                     libreoffice4.0-ure-4.0.0.3-103.i586.rpm
libobasis4.0-graphicfilter-4.0.0.3-103.i586.rpm                         libreoffice4.0-writer-4.0.0.3-103.i586.rpm
libobasis4.0-images-4.0.0.3-103.i586.rpm                                LO_OfflineInstall.sh*
libobasis4.0-impress-4.0.0.3-103.i586.rpm                               ReadmeFirst.txt
« Last Edit: February 13, 2013, 09:56:23 AM by smileeb »


Offline Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6395
  • I'm going South
Re: Something Went Wrong
« Reply #1 on: February 13, 2013, 09:45:25 AM »
[root@localhost LO-rpms]# /usr/bin/su -c LO-rpms/LO_OfflineInstall.sh
bash: LO-rpms/LO_OfflineInstall.sh: No such file or directory                                                                

You are specifying that bash should run LO-rpms/LO_OfflineInstall.sh while you are already in the LO-rpms directory. So bash is trying to find LO-rpms/LO-rpms/LO_OfflineInstall.sh, a version of LO_OfflineInstall.sh in the directory LO-rpms/LO, which should be a subdirectory of a higher level subdirectory with the same name ...

If you are already in the LO-rpms folder, try:
Code: [Select]
# /usr/bin/su -c ./LO_OfflineInstall.sh
Or write out the whole path:
Code: [Select]
# /usr/bin/su -c /home/<yourname>/LO-rpms/LO_OfflineInstall.sh
« Last Edit: February 13, 2013, 09:57:39 AM by Bald Brick »
Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D

Offline smileeb

  • Hero Member
  • *****
  • Posts: 2237
    • smileesplace
Re: Something Went Wrong
« Reply #2 on: February 13, 2013, 09:55:48 AM »
You the man Bald Brick, It needed the period and slash at the start after the -c.

Thank You 


Offline Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6395
  • I'm going South
Re: Something Went Wrong
« Reply #3 on: February 13, 2013, 10:00:15 AM »
You the man Bald Brick, It needed the period and slash at the start after the -c.

Thank You  

Glad it helped. The problem was that pinoc expected you to start the script directly from your home directory and not from within the subdirectory with all the rpms.
« Last Edit: February 13, 2013, 10:03:29 AM by Bald Brick »
Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D