DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
# did mount bind some directories in fstab and mounted them
mount /var/chroot/sid-ia32/skole/tjener/home0
mount /var/chroot/sid-ia32/tmp
mount /var/chroot/sid-ia32/dev
mount /var/chroot/sid-ia32/proc
You're running a debian distribution. Is there some reason you can't just download the .deb from Skype's website and install it instead of all that chroot and mounting business?
As for the sound, go to System -> Preferences -> Sound and select different sound drivers. I use PulseAudio and I don't have any problems.
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Rep:
It is much easier than that. Just install ia32-libs and ia32-libs-gtk. Download the Skype for Debian (.deb) and install it with dpkg -i --force-architecture.
Using the 32-bit compatibility libs is generally considered better than a chroot environment.
A)
How do I ask apt-get (or aptitude) to install the 32bit version of package libxss1 into /usr/lib32 ?
Here is why I ask:
I followed your advise and did:
dpkg -i --force-architecture skype-debian_2.0.0.72-1_i386.deb
ia32-libs and ia32-libs-gtk are already installed through aptitude.
~# ldd /usr/bin/skype | grep not
libXss.so.1 => not found
libdbus-1.so.3 => not found
/usr/lib/libXss.so.1 and /usr/lib/libdbus-1.so.3 exist but are for 64 bit.
it expects /usr/lib32/libXss.so.1 and /usr/lib32/libdbus-1.so.3
apt-file search /usr/lib/libXss.so.1 points to package libxss1
But this is the 64 bit version!
B)
Just to answer why I tried with chroot: Firstly to get security updates automatically through aptitude, secondly to keep the 32 bit stuff separate.
Therefore I was surprised to read:
Quote:
Using the 32-bit compatibility libs is generally considered better than a chroot environment.
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Rep:
I am surprised. My Skype (version 1.4.0.118) doesn't need libXss at all, and the libdbus is installed in /usr/lib32, just as what you expect. libXss is not installed in /usr/lib32. I didn't do anything for that, just apt-get installed the ia-lib32. Could be something wrong with the package?
To my understanding using the 32-bits compatibility libs is preferred over chrooting. At least that is the idea what I get from reading the articles about installing 32 bits apps in 64 bits systems. Chrooting as such does have advantages, I am just not sure about advantages in this case.
Just download the amd64 deb from the Skype site and the deb installer will automatically install any dependencies. Please stop making this complicated.
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Rep:
Tell you something scary. I was reading your last post on a different machine as where I did the ldd on for the previous post. On this machine I have Skype 2.0 installed. Using the ia-32 libs. It worked. I have talked through it. In the mean time I went to several updates. When I started Skype today to check on the ldd, my screen went to purple/black. Never seen that before. All graphics were still there, but about 10% of the brightness they should have. As soon as I defocused Skype, everything was normal. Focusing again on Skype turned the screen dark.
When checking on the ldd, libXss is needed by Skype now, but it is installed in lib32.
Since breaking an already installed package Should Not Happen, I fear we are facing some kind of bug here which recently went from Sid to Lenny, and apparently is still in Sid.
jlinkels,
I cannot help with that GUI problem, in ia32-libs I see no GUI at all and in chroot approach GUI was always ok. But you made me aware that I have two releases mixed:
amd64 etch as base and sid in chroot. Now made a chroot with etch, to be sure.
I am now concentrating on the chroot way of running skype. Got one step further, added audio group to user who invokes schroot -p skype. Now it does not complain anymore about not finding the sound card. Actually no error messages at all - promising.
Sadly sound is still not working.
Skype test call says: Problem with Audio Playback
skype -> options -> sound devices:
Default device (default)
No other choice is available. Make test sound does nothing.
Tried in KDE to set sound system to OSS and then ALSA without success.
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Rep:
I have not much experience with running applications in a chrooted environment (I only do that when I have to install on solid state disks), but isn't it true that you have to make sound working in your chrooted environment? That is, shouldn't you install the sound drivers and sound system etc in that environment as well? You might want to test other applications first in the the chroot to see if those produce sound, e.g. mplayer or aplay. Aplay is probably better, it has much less features.
As for my GUI problem, I fear some packahe management problem. It is impossible that it once worked (and was still working after some reboots) and that all of sudden this happens, while packages other than Skype were upgraded. It really looks like a dependency issue which was not signalled properly. I did not yet try to debug this, maybe things change again when I download and install a new version of Skype.
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Rep:
We can google. But if I read this thread, describing the installation of that Mediabuntu package, I wonder where the 32 bits compatibility libs are for?
Or is the 64-bits package a smart packaging and installatation of the 32-bits Skype? If not, how did the developers ever compile it in 64-bits mode? Was the source released by Skype or so? And why isn't it available on Skype's web site?
I am not sure how an executable can be checked for 32 or 64 bits mode, but there should be a way. I am looking forward to see what the Mediabuntu version is.
we can google. But if i read this thread, describing the installation of that mediabuntu package, i wonder where the 32 bits compatibility libs are for?
Or is the 64-bits package a smart packaging and installatation of the 32-bits skype? If not, how did the developers ever compile it in 64-bits mode? Was the source released by skype or so? And why isn't it available on skype's web site?
I am not sure how an executable can be checked for 32 or 64 bits mode, but there should be a way. I am looking forward to see what the mediabuntu version is.
Jlinkels
who cares??? Stop trying to make this complicated and install the deb!!!!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.