Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
From the installation instructions[gameservermanagers.com] for amd64 Ubuntu:
You'll need to have it present in your container.
[ WARN ] Starting csgo-server: Checking dependencies: Dependency missing: libstdc++6:i386
Info! csgoserver does not have sudo access. manually install dependencies
sudo dpkg --add-architecture i386; sudo apt-get install libstdc++6:i386
I run the commands but:
$ sudo apt-get install libstdc++6:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libstdc++6
E: Couldn't find any package by regex 'libstdc++6'
what can i do?
$ sudo apt-get install libstdc++6:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libstdc++6
E: Couldn't find any package by regex 'libstdc++6'
$ sudo apt-get update
[sudo] password for admincounter:
Get:1 http://security.ubuntu.com wily-security InRelease [64.4 kB]
Hit http://azure.archive.ubuntu.com wily InRelease
Get:2 http://azure.archive.ubuntu.com wily-updates InRelease [64.4 kB]
Get:3 http://security.ubuntu.com wily-security/main Sources [28.8 kB]
Get:4 http://security.ubuntu.com wily-security/restricted Sources [2,854 B]
Hit http://azure.archive.ubuntu.com wily-backports InRelease
Get:5 http://security.ubuntu.com wily-security/universe Sources [7,420 B]
Get:6 http://security.ubuntu.com wily-security/multiverse Sources [1,930 B]
Get:7 http://security.ubuntu.com wily-security/main amd64 Packages [91.0 kB]
Get:8 http://security.ubuntu.com wily-security/restricted amd64 Packages [10.9 kB]
Get:9 http://azure.archive.ubuntu.com wily-updates/main Sources [47.6 kB]
Get:10 http://security.ubuntu.com wily-security/universe amd64 Packages [38.1 kB]
Get:11 http://security.ubuntu.com wily-security/multiverse amd64 Packages [5,896 B]
Get:12 http://azure.archive.ubuntu.com wily-updates/restricted Sources [3,741 B]
Get:13 http://azure.archive.ubuntu.com wily-updates/universe Sources [12.8 kB]
Get:14 http://azure.archive.ubuntu.com wily-updates/multiverse Sources [1,923 B]
Get:15 http://azure.archive.ubuntu.com wily-updates/main amd64 Packages [128 kB]
Get:16 http://azure.archive.ubuntu.com wily-updates/restricted amd64 Packages [13.3 kB]
Get:17 http://azure.archive.ubuntu.com wily-updates/universe amd64 Packages [55.6 kB]
Get:18 http://azure.archive.ubuntu.com wily-updates/multiverse amd64 Packages [5,903 B]
Hit http://azure.archive.ubuntu.com wily-backports/restricted Sources
Hit http://azure.archive.ubuntu.com wily-backports/multiverse Sources
Hit http://azure.archive.ubuntu.com wily-backports/restricted amd64 Packages
Hit http://azure.archive.ubuntu.com wily-backports/multiverse amd64 Packages
Hit http://azure.archive.ubuntu.com wily/main Sources
Hit http://azure.archive.ubuntu.com wily/restricted Sources
Hit http://azure.archive.ubuntu.com wily/universe Sources
Hit http://azure.archive.ubuntu.com wily/multiverse Sources
Hit http://azure.archive.ubuntu.com wily/main amd64 Packages
Hit http://azure.archive.ubuntu.com wily/restricted amd64 Packages
Hit http://azure.archive.ubuntu.com wily/universe amd64 Packages
Hit http://azure.archive.ubuntu.com wily/multiverse amd64 Packages
Hit http://azure.archive.ubuntu.com wily-backports/main Sources
Hit http://azure.archive.ubuntu.com wily-backports/universe Sources
Hit http://azure.archive.ubuntu.com wily-backports/main amd64 Packages
Hit http://azure.archive.ubuntu.com wily-backports/universe amd64 Packages
Fetched 585 kB in 8s (69.8 kB/s)
W: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/dists/wily/InRelease Unable to find expected entry 'main/binary-foreign-architecture/Packages' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/dists/wily-updates/InRelease Unable to find expected entry 'main/binary-foreign-architecture/Packages' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/dists/wily-backports/InRelease Unable to find expected entry 'main/binary-foreign-architecture/Packages' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/wily-security/InRelease Unable to find expected entry 'main/binary-foreign-architecture/Packages' in Release file (Wrong sources.list entry or malformed file)
E: Some index files failed to download. They have been ignored, or old ones used instead.
There was a fix recently, for that specific issue.
Can you run ./yourservername update-functions , and see what happens ?
If you had, you would have entries like this in your "apt-get update" command (note the "i386" in the package Hit):
Could you please do the following (as root) and post the results:
If you don't see the i386 listed in the foreign architectures, we have found the problem.
The fix would be:
dpkg --print-architecture
dpkg --print-foreign-architecturesUbuntu 15.10 \n \l
$ ii libstdc++6:amd64 5.2.1-22ubuntu2 amd64 GNU Standard C++ Library v3
$ amd64
$
i386
foreign-architecture
I have done it several times! Im in google for a lot of hours. I bealive is that i do the command to add de i386, it shows that is ok, but the packages are not in the update.
$ sudo dpkg --add-architecture i386
[sudo] password for admincounter:
$ apt-get update
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
$ sudo apt-get update
Get:1 http://security.ubuntu.com wily-security InRelease [65.9 kB]
Hit http://azure.archive.ubuntu.com wily InRelease
Get:2 http://azure.archive.ubuntu.com wily-updates InRelease [65.9 kB]
Get:3 http://security.ubuntu.com wily-security/main Sources [28.8 kB]
Get:4 http://security.ubuntu.com wily-security/restricted Sources [2,854 B]
Get:5 http://security.ubuntu.com wily-security/universe Sources [7,420 B]
Get:6 http://security.ubuntu.com wily-security/multiverse Sources [1,930 B]
Get:7 http://security.ubuntu.com wily-security/main amd64 Packages [91.0 kB]
Hit http://azure.archive.ubuntu.com wily-backports InRelease
Get:8 http://security.ubuntu.com wily-security/restricted amd64 Packages [10.9 kB]
Get:9 http://security.ubuntu.com wily-security/universe amd64 Packages [38.1 kB]
Get:10 http://security.ubuntu.com wily-security/multiverse amd64 Packages [5,896 B]
Get:11 http://azure.archive.ubuntu.com wily-updates/main Sources [47.6 kB]
Get:12 http://azure.archive.ubuntu.com wily-updates/restricted Sources [3,741 B]
Get:13 http://azure.archive.ubuntu.com wily-updates/universe Sources [12.8 kB]
Get:14 http://azure.archive.ubuntu.com wily-updates/multiverse Sources [1,930 B]
Get:15 http://azure.archive.ubuntu.com wily-updates/main amd64 Packages [128 kB]
Get:16 http://azure.archive.ubuntu.com wily-updates/restricted amd64 Packages [13.3 kB]
Get:17 http://azure.archive.ubuntu.com wily-updates/universe amd64 Packages [55.6 kB]
Get:18 http://azure.archive.ubuntu.com wily-updates/multiverse amd64 Packages [5,896 B]
Hit http://azure.archive.ubuntu.com wily-backports/restricted Sources
Hit http://azure.archive.ubuntu.com wily-backports/multiverse Sources
Hit http://azure.archive.ubuntu.com wily-backports/restricted amd64 Packages
Hit http://azure.archive.ubuntu.com wily-backports/multiverse amd64 Packages
Hit http://azure.archive.ubuntu.com wily/main Sources
Hit http://azure.archive.ubuntu.com wily/restricted Sources
Hit http://azure.archive.ubuntu.com wily/universe Sources
Hit http://azure.archive.ubuntu.com wily/multiverse Sources
Hit http://azure.archive.ubuntu.com wily/main amd64 Packages
Hit http://azure.archive.ubuntu.com wily/restricted amd64 Packages
Hit http://azure.archive.ubuntu.com wily/universe amd64 Packages
Hit http://azure.archive.ubuntu.com wily/multiverse amd64 Packages
Hit http://azure.archive.ubuntu.com wily-backports/main Sources
Hit http://azure.archive.ubuntu.com wily-backports/universe Sources
Hit http://azure.archive.ubuntu.com wily-backports/main amd64 Packages
Hit http://azure.archive.ubuntu.com wily-backports/universe amd64 Packages
Fetched 588 kB in 8s (68.5 kB/s)
W: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/dists/wily/InRelease Unable to find expected entry 'main/binary-foreign-architecture/Packages' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/dists/wily-updates/InRelease Unable to find expected entry 'main/binary-foreign-architecture/Packages' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/dists/wily-backports/InRelease Unable to find expected entry 'main/binary-foreign-architecture/Packages' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/wily-security/InRelease Unable to find expected entry 'main/binary-foreign-architecture/Packages' in Release file (Wrong sources.list entry or malformed file)
E: Some index files failed to download. They have been ignored, or old ones used instead.
Here is my output[pastebin.com] from the freshly-deployed setup. Note the presence of i386 package libraries in the update which aren't present in your update.
Your problem must be that something is funky with your OS. Is it a docker container as was the OP's system? If so, you should have this in your Dockerfile:
With the situation as you are describing it, your best resolution is to start over with a fresh Ubuntu install. If you can't get a base system to pull i386 packages, you won't be able to use most of the LGSM scripts.