+ Post New Thread
Page 2 of 2 FirstFirst 12
Results 16 to 29 of 29
O/S Deployment Thread, FOG & Xenserver in Technical; What happens if you open another terminal window and type 'apt-get install php5' (as su/root) for example Does it download ...
  1. #16

    Join Date
    Jul 2009
    Posts
    531
    Thank Post
    42
    Thanked 99 Times in 84 Posts
    Rep Power
    67
    What happens if you open another terminal window and type 'apt-get install php5' (as su/root) for example

    Does it download & install php5 or throw up an error?

  2. Thanks to computer_expert from:

    bodminman (23rd October 2010)

  3. #17
    bodminman's Avatar
    Join Date
    Apr 2007
    Location
    Sunny Suffolk
    Posts
    1,153
    Thank Post
    724
    Thanked 224 Times in 116 Posts
    Rep Power
    84
    Quote Originally Posted by computer_expert View Post
    What happens if you open another terminal window and type 'apt-get install php5' (as su/root) for example

    Does it download & install php5 or throw up an error?
    Hiya mate,

    Ran the 'apt-get install php5' and it installed, Rerun the ./installfog.sh and all now seems good.

    Thanks for your time on this one.

  4. #18
    bodminman's Avatar
    Join Date
    Apr 2007
    Location
    Sunny Suffolk
    Posts
    1,153
    Thank Post
    724
    Thanked 224 Times in 116 Posts
    Rep Power
    84
    Feck!

    Now getting:

    Checking package: mysql-server failed

  5. #19
    bodminman's Avatar
    Join Date
    Apr 2007
    Location
    Sunny Suffolk
    Posts
    1,153
    Thank Post
    724
    Thanked 224 Times in 116 Posts
    Rep Power
    84
    Screenshot attached.
    Attached Files Attached Files

  6. #20

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    Sussex
    Posts
    7,787
    Thank Post
    272
    Thanked 1,131 Times in 1,027 Posts
    Rep Power
    348
    is mysql installed/running?

    /etc/init.d/mysql status

    what does it then say?

    if it cant find it run (either with sudo or as su) apt-get install mysql-server
    Last edited by glennda; 23rd October 2010 at 12:31 AM.

  7. Thanks to glennda from:

    bodminman (23rd October 2010)

  8. #21
    bodminman's Avatar
    Join Date
    Apr 2007
    Location
    Sunny Suffolk
    Posts
    1,153
    Thank Post
    724
    Thanked 224 Times in 116 Posts
    Rep Power
    84
    Quote Originally Posted by glennda View Post
    is mysql installed/running?

    /etc/init.d/mysql status

    what does it then say?
    No such file or directory.

    if it cant find it run (either with sudo or as su) apt-get install mysql-server
    After running sudo apt-get install mysql-server I get the following error:

    The following packages have unmet dependencies.
    mysql-server: Depends: mysql-server-5.0 but it is not going to be installed.

    E: Broken packages

  9. #22

    Join Date
    Jul 2009
    Posts
    531
    Thank Post
    42
    Thanked 99 Times in 84 Posts
    Rep Power
    67
    try apt-get install -f to fix broken packages

    from apt-get -h (help):
    Code:
     -f  Attempt to correct a system with broken dependencies in place

    You can also do it via the GUI by going to System > Administration > Synaptic Package Manager > Edit > Fix Broken Packages. I can't remember if debian has synaptic installed as default or not (if not, apt-get install synaptic should do it).

  10. Thanks to computer_expert from:

    bodminman (23rd October 2010)

  11. #23
    bodminman's Avatar
    Join Date
    Apr 2007
    Location
    Sunny Suffolk
    Posts
    1,153
    Thank Post
    724
    Thanked 224 Times in 116 Posts
    Rep Power
    84
    Still no joy.

    Attached is the latest offering!
    Attached Files Attached Files

  12. #24

    Join Date
    Jul 2009
    Posts
    531
    Thank Post
    42
    Thanked 99 Times in 84 Posts
    Rep Power
    67
    First off, try updating the package lists (apt-get update) then try the following commands:

    apt-get remove mysql-server

    then apt-get install libhtml-template-perl libdbi-perl mysql-server5.0 mysql-client-5.0

    and try reinstalling fog
    Last edited by computer_expert; 23rd October 2010 at 01:11 PM.

  13. Thanks to computer_expert from:

    bodminman (23rd October 2010)

  14. #25
    bodminman's Avatar
    Join Date
    Apr 2007
    Location
    Sunny Suffolk
    Posts
    1,153
    Thank Post
    724
    Thanked 224 Times in 116 Posts
    Rep Power
    84
    Cheers mate for the response but this just doesn't appear to want to play ball at all! Here is the result of your latest info:

    FOG-Server:/home/khcom/Desktop/fog_0.29/bin# apt-get remove mysql-server
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Package mysql-server is not installed, so not removed
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    FOG-Server:/home/khcom/Desktop/fog_0.29/bin# apt-get install libhtml-template-perl libdbi-perl mysql-server5.0 mysql-client-5.0
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Package libhtml-template-perl is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    E: Package libhtml-template-perl has no installation candidate
    FOG-Server:/home/khcom/Desktop/fog_0.29/bin#

    I done the apt-get update in a separate Terminal session.

  15. #26
    bodminman's Avatar
    Join Date
    Apr 2007
    Location
    Sunny Suffolk
    Posts
    1,153
    Thank Post
    724
    Thanked 224 Times in 116 Posts
    Rep Power
    84
    Just followed some info from a site that seems to have done the trick.

    Here it is:


    cd /etc/apt
    pico sources.lst

    at the end of the file add:


    deb Index of /debian lenny main
    deb-src Index of /debian lenny main

    or another mirror of your choosing (the full list is available at the debian site).

    then:

    apt-get update && apt-get dist-upgrade
    apt-get install mysql-server mysql-client

    That should update your system and then install mysql with all dependencies.

  16. #27

    Join Date
    Jul 2009
    Posts
    531
    Thank Post
    42
    Thanked 99 Times in 84 Posts
    Rep Power
    67
    try installing libhtml-template-perl libdbi-perl manually from the following links:

    Debian -- Details of package libhtml-template-perl in lenny
    Debian -- Details of package libdbi-perl in lenny (make sure you download the i386 version if your debian VM is 32bit or amd64 if the debian install is 64bit)

    Once you have have manually installed the two packages, try installing fog again

    If you still can't get fog to install (because of mysql not installing all the dependencies), try the suggestion in this thread here: Debian User Forums • View topic - MySQL Installation Error - libdbi

  17. Thanks to computer_expert from:

    bodminman (23rd October 2010)

  18. #28
    bodminman's Avatar
    Join Date
    Apr 2007
    Location
    Sunny Suffolk
    Posts
    1,153
    Thank Post
    724
    Thanked 224 Times in 116 Posts
    Rep Power
    84
    Quote Originally Posted by computer_expert View Post
    Once you have have manually installed the two packages, try installing fog again

    If you still can't get fog to install (because of mysql not installing all the dependencies), try the suggestion in this thread here: Debian User Forums • View topic - MySQL Installation Error - libdbi
    LOL - The same post I found!

    FOG has now finally installed but thanks very very much for your help, it's very much appreciated.

  19. #29

    Join Date
    Jul 2009
    Posts
    531
    Thank Post
    42
    Thanked 99 Times in 84 Posts
    Rep Power
    67
    Quote Originally Posted by bodminman View Post
    LOL - The same post I found!
    I thought it was after I saw your post!

    FOG has now finally installed but thanks very very much for your help, it's very much appreciated.
    Glad to help

  20. Thanks to computer_expert from:

    bodminman (23rd October 2010)

SHARE:
+ Post New Thread
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 3
    Last Post: 29th September 2010, 11:44 PM
  2. [Fog] FOG & SIS191 NICs
    By ninjabeaver in forum O/S Deployment
    Replies: 7
    Last Post: 24th June 2010, 03:56 PM
  3. [Fog] Fog Documentation: How to delete a group of computers in FOG
    By ssx4life in forum O/S Deployment
    Replies: 1
    Last Post: 9th November 2009, 01:59 PM
  4. [Fog] FOG & Lenovo 3000 N100, HELP
    By teky in forum O/S Deployment
    Replies: 3
    Last Post: 20th July 2009, 12:15 PM
  5. Fedora & FOG Imaging
    By mmoseley in forum General Chat
    Replies: 0
    Last Post: 4th February 2008, 09:49 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •