GhostSquad57 / Steam-Installer-for-Wheezy

Re-write of Valve's deb package. (Orphaned)
193 stars 20 forks source link

Error on package install #40

Closed rgex closed 10 years ago

rgex commented 10 years ago

sudo dpkg -i steam-debian_1.0.0.48-4_all.deb

(Reading database ... 178563 files and directories currently installed.) Unpacking steam-debian (from steam-debian_1.0.0.48-4_all.deb) ... dpkg: error processing steam-debian_1.0.0.48-4_all.deb (--install): trying to overwrite '/lib/udev/rules.d/99-steam-controller-perms.rules', which is also in package steam-launcher 1.0.0.48 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Errors were encountered while processing: steam-debian_1.0.0.48-4_all.deb

GhostSquad57 commented 10 years ago

@rgex Try removing /lib/udev/rules.d/99-steam-controller-perms.rules

GhostSquad57 commented 10 years ago

@rgex If that doesn't work, make sure to remove any steam packages; steam-launcher etc. before installing.

GhostSquad57 commented 10 years ago

@rgex Did any of the above work?

rgex commented 10 years ago

I already tried Removing /lib/udev/rules.d/99-steam-controller-perms.rules but it didn't work. Finaly a sudo dpkg -P steam-launcher solved this problem. But now when I try to launch it I get ➜ / $ steam-debian Segmentation fault

GhostSquad57 commented 10 years ago

@rgex Alright. Let's run through your system setup: Are you using vanilla Debian Stable? What graphics card are you using, and can you confirm 3D acceleration is working? glxgears is good for finding out. What CPU architecture? (32-bit, 64-bit etc.)

rgex commented 10 years ago

I've 2 graphic cards:

But I'm running on the intel one.

glxgears is working I get about 60 FPS /second

The operating system is Debian Wheezy 64 bits (stable)

GhostSquad57 commented 10 years ago

@rgex Have you tried steam-debian --reset?

Are you using a laptop? if so, which one?

GhostSquad57 commented 10 years ago

@rgex Also, could you please supply the full terminal output.

rgex commented 10 years ago

My computer is a Asus N56VZ (a laptop)

I tried a steam-debian --reset as well as reinstalling the package but it didn't changed anything.

All I get is "Segmentation fault"

GhostSquad57 commented 10 years ago

@rgex Just a seg-fault, no other output? Ugh, this is going to be fun. Let's try to get a better log output: run strace -e trace=file -o steam-debian.log steam-debian this will log the files that steam-debian tries to load and sends the output to a file named steam-debian.log

Copy and paste the contents of the file steam-debian.log here. Hopefully the file's contents will tell us something.

rgex commented 10 years ago

This is the output

access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 stat("/var/www", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0 stat(".", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0 open("/usr/bin/steam-debian", O_RDONLY) = 3 stat("/home/jan/bin/steam", 0x7fffeb792910) = -1 ENOENT (No such file or directory) stat("/usr/local/bin/steam", 0x7fffeb792910) = -1 ENOENT (No such file or directory) stat("/usr/local/bin/steam", 0x7fffeb792910) = -1 ENOENT (No such file or directory) stat("/usr/bin/steam", {st_mode=S_IFREG|0755, st_size=5390, ...}) = 0 --- SIGCHLD (Child exited) @ 0 (0) ---

GhostSquad57 commented 10 years ago

@rgex OK. Looks like we have to be even more verbose. Run strace -e trace=open -f -o steam-debian.log steam-debian This will track pretty much everything steam-debian opens; I'm trying to find the specific call that is causing the segfault.

Paste the file here, and hopefully we'll find the culprit!

rgex commented 10 years ago

20450 open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 20450 open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 20450 open("/usr/bin/steam-debian", O_RDONLY) = 3 20451 open("/usr/lib/steam/i386-linux-gnu/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 20451 open("/usr/lib/steam/i386-linux-gnu/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 20451 open("/usr/lib/steam/i386-linux-gnu/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 20451 open("/usr/lib/steam/i386-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 20451 open("/usr/lib/steam/x86_64-linux-gnu/tls/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 20451 open("/usr/lib/steam/x86_64-linux-gnu/tls/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 20451 open("/usr/lib/steam/x86_64-linux-gnu/x86_64/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 20451 open("/usr/lib/steam/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 20451 --- SIGSEGV (Segmentation fault) @ 0 (0) --- 20450 --- SIGCHLD (Child exited) @ 0 (0) ---

GhostSquad57 commented 10 years ago

@rgex Alright. So it segfaults after reading /usr/lib/steam/x86_64-linux-gnu/libc.so.6

Just out of curiosity, what version of libc6 do you have installed on your system? apt-cache policy libc6 will tell

rgex commented 10 years ago

libc6: Installed: 2.19-7 Candidate: 2.19-7 Version table: *\ 2.19-7 0 100 /var/lib/dpkg/status 2.13-38+deb7u3 0 500 http://security.debian.org/ wheezy/updates/main amd64 Packages 2.13-38+deb7u2 0 500 http://ftp.uni-erlangen.de/debian/ wheezy/main amd64 Packages

GhostSquad57 commented 10 years ago

@rgex Well, that's the problem. Since you have version 2.19 installed, vanilla Steam should work fine.

rgex commented 10 years ago

Should I downgrade this package?

GhostSquad57 commented 10 years ago

@rgex You might not have to. Open /usr/bin/steam-debian with a text editor, and replace it's contents with

LD_LIBRARY_PATH=/usr/lib/steam/i386-linux-gnu/:/usr/lib:/usr/lib32 steam "$@"

rgex commented 10 years ago

Now I get exactly the same error that I got with the "official" steam

Steam needs to install these additional packages: libgl1-mesa-dri:i386, libgl1-mesa-glx:i386, libc6:i386 [sudo] password for jan: ................................. Reading package lists... Done Building dependency tree
Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies: apache2.2-bin : Depends: libapr1 (>= 1.4.2) but it is not going to be installed Depends: libaprutil1 (>= 1.4.0) but it is not going to be installed Depends: libaprutil1-dbd-sqlite3 but it is not going to be installed or libaprutil1-dbd-mysql but it is not going to be installed or libaprutil1-dbd-odbc but it is not going to be installed or libaprutil1-dbd-pgsql but it is not going to be installed or libaprutil1-dbd-freetds but it is not going to be installed Depends: libaprutil1-ldap but it is not going to be installed Depends: libc6 (>= 2.4) but it is not going to be installed Depends: libcap2 (>= 2.10) but it is not going to be installed Depends: libldap-2.4-2 (>= 2.4.7) but it is not going to be installed Depends: libpcre3 (>= 8.10) but it is not going to be installed Depends: libssl1.0.0 (>= 1.0.1) but it is not going to be installed Depends: zlib1g (>= 1:1.1.4) but it is not going to be installed apache2.2-common : Depends: apache2-utils but it is not going to be installed Depends: procps Depends: perl but it is not going to be installed Recommends: ssl-cert but it is not going to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

GhostSquad57 commented 10 years ago

@rgex What's the output of cat /etc/apt/sources.list?

rgex commented 10 years ago

deb cdrom:[Debian GNU/Linux 7.5.0 Wheezy - Official amd64 CD Binary-1 20140426-13:37]/ wheezy main

deb cdrom:[Debian GNU/Linux 7.5.0 Wheezy - Official amd64 CD Binary-1 20140426-13:37]/ wheezy main

deb http://ftp.uni-erlangen.de/debian/ wheezy main deb-src http://ftp.uni-erlangen.de/debian/ wheezy main

deb http://security.debian.org/ wheezy/updates main deb-src http://security.debian.org/ wheezy/updates main

wheezy-updates, previously known as 'volatile'

deb http://ftp.uni-erlangen.de/debian/ wheezy-updates main deb-src http://ftp.uni-erlangen.de/debian/ wheezy-updates main

deb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt all main

deb http://ftp.fr.debian.org/debian/ sid main

GhostSquad57 commented 10 years ago

@rgex Change: deb http://ftp.uni-erlangen.de/debian/ wheezy main deb-src http://ftp.uni-erlangen.de/debian/ wheezy main to deb http://ftp.uni-erlangen.de/debian/ wheezy main contrib non-free deb-src http://ftp.uni-erlangen.de/debian/ wheezy main contrib non-free run sudo apt-get update then try steam-debian

rgex commented 10 years ago

Same error as before :-(

GhostSquad57 commented 10 years ago

@rgex Very odd. Try installing the packages yourself. sudo apt-get install libgl1-mesa-dri:i386 libgl1-mesa-glx:i386 libc6:i386