Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Thread: Stuck at the very beginning

  1. #11
    Join Date
    Feb 2020
    Beans
    10

    Re: Stuck at the very beginning

    Quote Originally Posted by Impavidus View Post
    Instead of guessing what could be the problem, let's have a look at some actual commands and their output. Error messages tend to be really helpful on Ubuntu. Can you show us the exact and complete output of these commands:
    Code:
    sudo apt update
    sudo apt upgrade
    sudo apt install nagios3
    I assume the nagios3 package is what you need on Ubuntu 18.04.

    If you're unable to "access root", we have to find out why. Maybe your system is completely messed up, maybe you have a very basic misunderstanding of how sudo works, or one of many possibilities inbetween. In the second case, reading this may clear up some things: https://help.ubuntu.com/community/RootSudo
    sudo apt update - works --YIPEE - But only provides a list of upgradeable components - doesn't actually upgrade/update them - how is this achieved ?
    sudo apt upgrade - again, downloads heaps - but "FAILED TO FETCH.. ****"
    sudo apt install nagios3 - does what it says - " where does it put it ? its not in "downloads" then errors "failed to fetch http://gb.archive****" (many times over)
    Last edited by weevie56; March 5th, 2020 at 03:10 PM.

  2. #12
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Stuck at the very beginning

    weevie56, Linux isn't like Windows. We don't download setup.exe files to be installed.

    a) please run the commands requested. You're jumping all over the place. 1-thread, 1-issue please.
    b) If one command has any failure, STOP! Post the requested output. Get help. Get that issue solved. Only then, move onto the next step.

    We cannot read your mind. If we don't see the output from commands, we won't assume you've actually gotten anything working. There is a mandatory order to the commands. Throwing random command or out of order commands can break a system. Unix assumes the admin actually knows what they are doing, even if it is stupid.

    Hammon has reasonable guides, but they are per-release. Using a guide that is for the wrong release usually won't work and may break things.

    Since you are so new, please read this primer: https://www.dedoimedo.com/computers/...ows-users.html to understand the big picture first.

    Installing nagios is something beyond most beginners, especially if they've only used point-n-click stuff previously. When it comes to all Unix-like systems, we have to crawl, stand, wobble, walk, jog, run, sprint - - IN THAT ORDER. Nagios is a "walk" level skill, IMHO. Mainly because it has lots of dependencies to be useful. Every prior skill is necessary before we can sprint.

  3. #13
    Join Date
    Aug 2011
    Location
    52.5° N 6.4° E
    Beans
    6,822
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Stuck at the very beginning

    Indeed, sudo apt update refreshes the list of available software in the repositories and provides a list of upgradeable components. The next command, sudo apt upgrade, is the one that downloads and installs them. The packages that get downloaded are stored in /var/cache/apt/archives, but that's not important to you.

    To provide more help, we need the exact and full output of those commands. Select it in your terminal, copy-paste it to the forum and put it in code tags. We're quite experienced looking for the root cause of an error in apt output.

    Also, is there anything we should know about your network? Firewalls, proxy servers, things like that.

  4. #14
    Join Date
    Feb 2020
    Beans
    10

    Re: Stuck at the very beginning

    OK In case I have done irreparable damage to the installation - I am reinstalling Ubuntu desktop
    No proxys, we have firewalls but they are easy to bypass !

  5. #15
    Join Date
    Feb 2020
    Beans
    10

    Re: Stuck at the very beginning

    I have now got a fresh clean installation to work from
    Step 1 updates ?

  6. #16
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Stuck at the very beginning

    Quote Originally Posted by weevie56 View Post
    I have now got a fresh clean installation to work from
    Step 1 updates ?
    There are lots of "1st Five Minutes on a New Server" Articles out there.
    Here's mine: https://blog.jdpfu.com/2014/02/28/1s...es-on-a-server

  7. #17
    Join Date
    Feb 2020
    Beans
    10

    Re: Stuck at the very beginning

    Could somebody please confirm that Nagios will install on Ubuntu desktop - not just server ?

  8. #18
    Join Date
    Aug 2011
    Location
    52.5° N 6.4° E
    Beans
    6,822
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Stuck at the very beginning

    The difference between a desktop installation and a server installation is the set of default software. The repositories and with that the set of installable software are the same.

    The same applies to the differences between the various flavours.

  9. #19
    Join Date
    Apr 2008
    Location
    Norwich CT
    Beans
    2,659
    Distro
    Ubuntu Mate

    Re: Stuck at the very beginning

    Code:
    I am now ROOT !!
    I am trying the package manager and (on a new/clean installation of Ubuntu 18.0.4) I get an error "Unable to fetch some archives ............" when I try running # apt-get -y install apache2 php php-cgi libapache2-mod-php php-common php-pear php-mbstring
    I have run apt-get update - which appears to update most - but on re-running # apt-get -y install apache2 php php-cgi libapache2-mod-php php-common php-pear php-mbstring - STILL gives same error !!
    NEVER, ever log in as root. ALWAYS use sudo. Root on all the time is a recipe for disaster. Sudo gives super user access for ~10 minutes, and is 100% safer.

    I drink my Ubuntu black, no sugar.
    Ubuntu user 28819

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

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