maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   cifs.ko for Easy Debian N8*0? (https://talk.maemo.org/showthread.php?t=94719)

u7knv9h 2015-03-18 13:35

Re: cifs.ko for Easy Debian N8*0?
 
i don't know, pcmanfm supports samba since 0.4.4
do you have /usr/lib/gvfs ?
search also for gvfsd-smb and gvfsd-smb-browse
Code:

find /usr -type f | xargs grep -l gvfsd-smb
also, install 'fusesmb'

have you tried launching pcmanfm from the terminal?

thunar supports samba since 1.2, and relies on gvfs, but good luck with installing that in debian 6.0 without breaking A LOT of dependencies...

you can also try using 'smbc', if that works then it's pcmanfm fault for sure, and you should upgrade it

jakfish 2015-03-18 14:56

Re: cifs.ko for Easy Debian N8*0?
 
Although I'm not yet solving this problem, your troubleshooting has taught me a great deal, and thank you for it.

After updating to PCMANFM 0.9.7, I have /usr/lib/gvfs, gvfsd-smb, and gvfsd-smb-browse.

Running pcmanfm in chroot terminal, trying to access Go/Network Drives gives this error in terminal:

** (pcmanfm:3922): DEBUG: FmJob error: Operation not supported

Trying to install fusesmb and smbc gives me a ton of broken package errors and no installation:

"The following packages have unmet dependencies:
fusesmb: Depends: samba-common-bin but it is not going to be installed
initscripts: Breaks: rsyslog (< 5.8.2-2) but 4.4.2-1 is to be installed
libasound2: Breaks: libasound2-plugins (< 1.0.24) but 1.0.21-3 is to be installed
libglib2.0-0: Breaks: gvfs (< 1.8) but 1.6.4-3 is to be installed
libpolkit-backend-1-0: Breaks: policykit-1 (< 0.99) but 0.96-4+squeeze2 is to be installed
libpolkit-gobject-1-0: Breaks: policykit-1 (< 0.99) but 0.96-4+squeeze2 is to be installed


In sources.list, I have every repo un-commented, which is how I updated pcmanfm (through sid) to 0.9.7 in the first place. But it seems that these installations are wishing for older libs.

[root@chroot: /]sudo apt-get install smbc
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:
initscripts: Breaks: rsyslog (< 5.8.2-2) but 4.4.2-1 is to be installed
libasound2: Breaks: libasound2-plugins (< 1.0.24) but 1.0.21-3 is to be installed
libglib2.0-0: Breaks: gvfs (< 1.8) but 1.6.4-3 is to be installed
libpolkit-backend-1-0: Breaks: policykit-1 (< 0.99) but 0.96-4+squeeze2 is to be installed
libpolkit-gobject-1-0: Breaks: policykit-1 (< 0.99) but 0.96-4+squeeze2 is to be installed
E: Broken packages
[root@chroot: /]

My goal is pretty simple: getting the hostname rather than the ip address to work in pcmanfm or thunar (nautilus will not install, no matter what the repo):

smb://c4/Documents

Thanks again for your very instructive help,
Jake

u7knv9h 2015-03-18 18:53

Re: cifs.ko for Easy Debian N8*0?
 
no problem jakfish!
anyway this seems really like a bug, and i've found this

https://bugs.debian.org/cgi-bin/bugr...cgi?bug=699674

especially, #5 and #29 may be useful

in short, the current (or better, the one you're using) libfm is buggy, so you should upgrade it, along with pcmanfm. with debian armel, in sid, jessie, and wheezy-backports repos, there are new versions of 'libfm' and 'pcmanfm'

or you can try another file manager to use samba, like komba2, konqueror or jags

jakfish 2015-03-18 20:27

Re: cifs.ko for Easy Debian N8*0?
 
In sources.list, I've commented-out everything except:

deb http://http.debian.net/debian wheezy-backports main

from:

http://backports.debian.org/Instructions/#index2h2

apt-get update complains about a pubkey, which is fixed by:

gpg --keyserver pgpkeys.mit.edu --recv-key 8B48AD6246925553
gpg -a --export 8B48AD6246925553 | sudo apt-key add -

from:

http://raspberrypi.stackexchange.com...rts-debian-org

But when I try:

apt-get -t wheezy-backports install pcmanfm

I get a million complaints about dependencies that can't be upgraded to the new pcmanfm.

Konqueror, jags, and komba2 are not available. Have I hit a wall? Or is there another workaround?

Thanks,
Jake

sulu 2015-03-19 12:49

Re: cifs.ko for Easy Debian N8*0?
 
Quote:

Originally Posted by u7knv9h (Post 1464280)
mh, i don't know exactly about thunar and pcmanfm (i don't use any file manager on my machines, always commandline tools) but maybe they require some packages, like 'gvfs' 'fuse-utils' 'gvfs-backends'

They do. But don't ask me for details! I never really understood this gvfs stuff and I don't use smb.

Quote:

Originally Posted by jakfish (Post 1464305)
(is squeeze armel incompatible with "easy debian"?).

The only incompatbility I'm aware of is in pulseaudio. (More precicely: It's not an incompatibility between ED and Debian but between Maemo and Debian which ED has to take care of. But that only affects the N900 afaik.)
On top of that there are some problems with some programs on the N900 which seem to be related to buggy armel features on Maemo's side. But I don't know if this applies to the N8x0 versions too.

What image are you using? The early "Squeeze" images were actually a mix of Lenny and Squeeze due to some problems qole had during the dist-upgrade process.

Quote:

Originally Posted by jakfish (Post 1464359)
"The following packages have unmet dependencies:
fusesmb: Depends: samba-common-bin but it is not going to be installed
initscripts: Breaks: rsyslog (< 5.8.2-2) but 4.4.2-1 is to be installed
libasound2: Breaks: libasound2-plugins (< 1.0.24) but 1.0.21-3 is to be installed
libglib2.0-0: Breaks: gvfs (< 1.8) but 1.6.4-3 is to be installed
libpolkit-backend-1-0: Breaks: policykit-1 (< 0.99) but 0.96-4+squeeze2 is to be installed
libpolkit-gobject-1-0: Breaks: policykit-1 (< 0.99) but 0.96-4+squeeze2 is to be installed


In sources.list, I have every repo un-commented, which is how I updated pcmanfm (through sid) to 0.9.7 in the first place. But it seems that these installations are wishing for older libs.

This is most likely a result of the aforementioned Lenny/Squezee mix. A proper dist-upgrade to Squeeze should help.

Quote:

Originally Posted by jakfish (Post 1464379)
In sources.list, I've commented-out everything except:

deb http://http.debian.net/debian wheezy-backports main

[..]

But when I try:

apt-get -t wheezy-backports install pcmanfm

I get a million complaints about dependencies that can't be upgraded to the new pcmanfm.

Konqueror, jags, and komba2 are not available. Have I hit a wall? Or is there another workaround?

1. You're trying to mix three releases. That almost certainly causes trouble. Even mixing two is delicate at best.
2. With only backports enabled most of the packages won't be available. So whatever package you want from the backports will likely miss some dependencies.

I'd suggest you try a more recent image, based on Wheezy.

u7knv9h 2015-03-19 14:00

Re: cifs.ko for Easy Debian N8*0?
 
Quote:

Originally Posted by jakfish (Post 1464379)
In sources.list, I've commented-out everything except:

deb http://http.debian.net/debian wheezy-backports main

from:

http://backports.debian.org/Instructions/#index2h2

mh, try using official mirrors in the sources, like

Code:

deb http://ftp.debian.org/debian wheezy main
(note the .org domain)
after you've replaced all the wrong mirrors (try accessing them, you'll get a 404, they don't exist), run

Code:

apt-get update
and that should fix some stuff

(read https://wiki.debian.org/Backports )

Quote:

Originally Posted by jakfish (Post 1464379)

But when I try:

apt-get -t wheezy-backports install pcmanfm

I get a million complaints about dependencies that can't be upgraded to the new pcmanfm.

Konqueror, jags, and komba2 are not available. Have I hit a wall? Or is there another workaround?

Thanks,
Jake

same as before, fix the repos
also, as sulu said, some problems are a result of mixing packages from different sources, but imo they shouldn't be this kind of problems, since apt takes care of a lot of things for you

same for the missing konqueror, jags, and komba2, fixing the repos should do it
don't forget to update the package list!
Code:

apt-get update

jakfish 2015-03-20 14:24

Re: cifs.ko for Easy Debian N8*0?
 
Many thanks once more for everybody's patience and thorough help. However, the project seems to have failed.

After clearing just enough room for the wheezy dist-upgrade, the process crashes when it complained for an upgrade lenny kernel (why dist-upgrade couldn't take care of that is beyond me).

After installing a lenny repo, I have a huge choice of kernels, none of which seemed connected to "easy debian." The whole thing is so cumbersome and I find myself lost.

Failure can be just as instructive as success, and again, I very much appreciate everybody's assistance. You taught me many things.

Jake

endsormeans 2015-03-20 18:16

Re: cifs.ko for Easy Debian N8*0?
 
I vaguely recall qole mentioning something a long time ago about being careful about "how" you update lenny.
that could be issue 1 you are having.
easy deb (lenny) for the n8x0 is pretty old...I'm sure that given enough fiddling you could get it where you want it though.
If you have had enough for now ..just set it aside for a bit aaaannnddd...
Play with Inferno os instead! :D

jakfish 2015-03-20 19:26

Re: cifs.ko for Easy Debian N8*0?
 
Inferno...hmmmm, good idea :)

http://forums.debian.net/viewtopic.php?f=5&t=108327

This user is having the same error messages that I'm getting--though he's working with an etch kernel--and it doesn't appear solvable.

Jake

endsormeans 2015-03-20 20:15

Re: cifs.ko for Easy Debian N8*0?
 
hm...
yea...
installing easy deb is ..well...easy :D
running it is easy too...
installing some stuff is just as easy...
the hard part is really "altering" it's structure ... once you are inside.

as far as inferno goes...I added a few more reference urls..
check out ...

http://talk.maemo.org/showthread.php...22#post1461422


All times are GMT. The time now is 23:12.

vBulletin® Version 3.8.8