Having trouble installing a package (lib32gcc1) needed for Garry's Mod Server

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Post Reply
lpj
New to forums
New to forums
Posts: 11
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Thu Aug 13, 2015 4:47 pm

Having trouble installing a package (lib32gcc1) needed for Garry's Mod Server

Post by lpj »

Some Background
So a few weeks ago, I noticed that the gmod server that I'm running on a VPS was having trouble with locating the steam binary. I tried guessing where it might be and pointing it in the right direction using the -steambin parameter but to no avail. I also tried changing the permissions for steamcmd and the server's folders and files to 777 but didn't help either so I finally gave up until a recent update to gmod was released and the server couldn't update. I tried manually updating it using steamcmd but that through up errors.

Initial Warning
Fast forwarding, I reinstalled steamcmd, managed to update the server, and get it working but unlike before, it doesn't stay up when shutdown nor when it crashes. I also noticed a new warning popping up when the server came up:

Code: Select all

WARNING: Failed to load 32-bit libtinfo.so.5 or libncurses.so.5.
  Please install (lib32tinfo5 / ncurses-libs.i686 / equivalent) to enable readline.
Installation Error
Hoping that it would now be an easy fix, I tried running apt-get install lib32tinfo5 but that resulted in this:

Code: Select all

You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 libgcc1 : Depends: gcc-5-base (= 5.1~rc1-0ubuntu1) but 5.1~rc1-0ubuntu1.1 is to be installed
 linux-image-extra-3.19.0-28-generic : Depends: linux-image-3.19.0-28-generic but it is not going to be installed
 linux-image-extra-3.19.0-31-generic : Depends: linux-image-3.19.0-31-generic but it is not going to be installed
 linux-image-generic : Depends: linux-image-3.19.0-31-generic but it is not going to be installed
                       Recommends: thermald but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Thinking that gcc-5-base might be a separate package that was also required, I tried to install it but I got the same result as when I tried to install the first package. So now I'm stuck and hoping that somebody can give me some guidance as to what I can do.
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: Having trouble installing a package (lib32gcc1) needed for Garry's Mod Server

Post by soja »

What is the exact apt-get install command you are using to try to install the missing dependencies?

You already tried this from the steamcmd download site?

Code: Select all

apt-get install lib32gcc1
Not a NFO employee
lpj
New to forums
New to forums
Posts: 11
Joined: Thu Aug 13, 2015 4:47 pm

Re: Having trouble installing a package (lib32gcc1) needed for Garry's Mod Server

Post by lpj »

Yup, I also tried that one and got the same exact result/message that I posted.
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: Having trouble installing a package (lib32gcc1) needed for Garry's Mod Server

Post by soja »

What version of Ubuntu are you using?
Not a NFO employee
lpj
New to forums
New to forums
Posts: 11
Joined: Thu Aug 13, 2015 4:47 pm

Re: Having trouble installing a package (lib32gcc1) needed for Garry's Mod Server

Post by lpj »

Ubuntu 15.04 (GNU/Linux 3.19.0-25-generic x86_64)
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: Having trouble installing a package (lib32gcc1) needed for Garry's Mod Server

Post by soja »

What is the full output of:

Code: Select all

df -h
Is your /boot full?
Not a NFO employee
lpj
New to forums
New to forums
Posts: 11
Joined: Thu Aug 13, 2015 4:47 pm

Re: Having trouble installing a package (lib32gcc1) needed for Garry's Mod Server

Post by lpj »

Yes it is. I tried updating the VPS when the Ubuntu update was released but I wasn't able to because the boot was full. I assumed that this might be an intentional limitation for VPS' and that it might be updated by NFO later.

Code: Select all

Filesystem      Size  Used Avail Use% Mounted on
udev            987M     0  987M   0% /dev
tmpfs           200M  5.0M  195M   3% /run
/dev/xvda2      197G   32G  156G  17% /
tmpfs           998M     0  998M   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           998M     0  998M   0% /sys/fs/cgroup
/dev/xvda1      180M  176M     0 100% /boot
cgmfs           100K     0  100K   0% /run/cgmanager/fs
tmpfs           200M     0  200M   0% /run/user/0
User avatar
hiimcody1
Former staff
Former staff
Posts: 1616
Joined: Wed Dec 28, 2011 4:59 pm

Re: Having trouble installing a package (lib32gcc1) needed for Garry's Mod Server

Post by hiimcody1 »

The /boot/ partition is full due to the old kernels from previous updates.

You may want to give this a look: https://help.ubuntu.com/community/Lubun ... OldKernels
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: Having trouble installing a package (lib32gcc1) needed for Garry's Mod Server

Post by soja »

After you free up space on your /boot partition you should be able to run the command to get steamcmd's dependencies.
Not a NFO employee
lpj
New to forums
New to forums
Posts: 11
Joined: Thu Aug 13, 2015 4:47 pm

Re: Having trouble installing a package (lib32gcc1) needed for Garry's Mod Server

Post by lpj »

I had some trouble clearing the boot partition in the traditional method so I had to use rm -rf to get rid of the old kernels. Anyway, I was able to update Ubuntu and install the needed packages. The only issue that I'm encountering now is the Garry's Mod server not being able to locate the steam binary when I add the -autoupdate parameter. I've had this problem on and off and have tried searching many times to find more information what they are referring to and where it is supposed to be located but I haven't found anything helpful.
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: Having trouble installing a package (lib32gcc1) needed for Garry's Mod Server

Post by soja »

-autoupdate doesn't work, and if the server is public and people can join, ignore the server software not being able to find a steam binary.
Not a NFO employee
lpj
New to forums
New to forums
Posts: 11
Joined: Thu Aug 13, 2015 4:47 pm

Re: Having trouble installing a package (lib32gcc1) needed for Garry's Mod Server

Post by lpj »

That sucks. Oh well, manual updating it is then. Thank you both very much for helping me resolve this issue.
Post Reply