mirror of
https://github.com/GameServerManagers/LinuxGSM.git
synced 2026-04-25 06:05:57 +03:00
[GH-ISSUE #771] ubuntu dpkg --add-architecture i386 required #616
Labels
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/LinuxGSM#616
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @aftek on GitHub (Mar 27, 2016).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/771
Originally assigned to: @dgibbs64 on GitHub.
With a fresh new LXC container of Ubuntu Trusty amd64,
lxc-create -n container_name -t download -- -d ubuntu -r trusty -amd64I was getting the following errors about libstdc++6:
E: Unable to locate package libstdc++6E: Couldn't find any package by regex 'libstdc++6'Yet it was working on the host system which is also Ubuntu Trusty amd64;
Found my answer at https://akrabat.com/installing-32-bit-packages-on-ubuntu-14-04/
dpkg --add-architecture i386was needed;and then I realised it is part of the Debian 64bit dependencies that can be seen on your home page.
The issue can actually be considered resolved already.
but since running
dpkg --add-architecture i386does not create a duplicate when ran multiple times;I'd only suggest adding it to the Ubuntu dependencies too;
@UltimateByte commented on GitHub (Apr 5, 2016):
So the LXC container has nothing to do with that ? I'll rename that issue :)
What version of ubuntu are you using ? 14..4 ?
Thanks for your help btw.
@dgibbs64 :)
@keichinger commented on GitHub (May 1, 2016):
Having the same issues on an Ubuntu 14.04 LTS AMD64 and 16.04 AMD64.
However, it seems to be an issues with a more recent (as in ~6 months) change since I've freshly installed a Teamspeak 3 Server just fine without getting the message about a missing libstdc++6 installation over and over again.
The fun thing is that the packages are already installed that are mentioned here: https://github.com/dgibbs64/linuxgsm/blob/master/functions/check_deps.sh#L133
Not sure if it's important but my LGSM version dates back to 040715 which I used to successfully install the servers. With the most recent version it's not working anymore without LGSM trying to re-install libstdc++6 again.
If you need any additional information feel free to ask. I'd be honored in helping you fixing this problem.
@UltimateByte commented on GitHub (May 1, 2016):
The way LGSM checks for installed packages may not be suitable for people using containers. LGSM has never been designed for that.
As i'm personally not using containers, and can't spend the required time on it to hopefully fix this, i'd need somebody to understand what's wrong so we can have a chance to fix it.
@keichinger commented on GitHub (May 1, 2016):
I'm not using containers at all. It's a pure Ubuntu 14.04 and 16.04 LTS image directly downloaded from Canonical.
Though the steps in the link the OP has mentioned are working I still find it not optimal. The crucial thing that is missing from what LGSM currently is doing is a simple
sudo apt-get updateafter the foreign architecture has been added to make it work. However, do we really wanna do something like this or is there an alternative approach to this? Unfortunately my Linux skills in this regards are somewhat limited but maybe someone else can jump in to help?@UltimateByte commented on GitHub (May 1, 2016):
Oh well i thought that was another issue with containers. My bad.
dpkg --add-architecture i386; apt-get update
Yep it is written in that order onto the website and must be performed as such in order to work, as the --add-architecture changes available packages.
So in the end @dgibbs64 would be great to add "dpkg --add-architecture i386" to Ubuntu requirements as it doesn't create duplicates and might help some people. :)
@aftek commented on GitHub (May 1, 2016):
sorry, this was really only a suggestion,
dpkg --add-architecture i386fixed my issue for that and was mentionned for debian based system so not too hard to figure out either.for the other container issue, i'll take another look not too far in the future and let you know what i found or where i'm stuck there ( probably with the new LTS 16.04 too ).
@UltimateByte commented on GitHub (May 1, 2016):
Don't be sorry, you're right, there seems to have some cases where this is necessary on Ubuntu, so i guess we should update the dependencies. :)
Any help for containers support would be appreciated as i didn't experiment LGSM with it (and i think it's the same for Daniel). But container support is really secondary, especially for now, as Daniel is preparing a wonderful update. ^^
@UltimateByte commented on GitHub (Aug 27, 2016):
One more similar issue http://steamcommunity.com/groups/linuxgsm/discussions/0/359547436752843687/
@dgibbs64
I think you really need to add this to Ubuntu dependencies
dpkg --add-architecture i386; apt-get update@dgibbs64 commented on GitHub (Sep 1, 2016):
Done
@UltimateByte commented on GitHub (Sep 1, 2016):
Thanks @dgibbs64 ! 💃
@lock[bot] commented on GitHub (Jul 19, 2018):
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.