× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Re: Samba doesn't work

dar3k
Aspirant

Samba doesn't work

Hello

I have problem with my samba deamon, after last reboot, my NAS has updated automatically, and now samba doesn't work.

I have tried to reinstall samba by hand but

Spoiler
root@NAS:~# apt-get install --reinstall samba
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:
samba : Depends: samba-common (= 2:4.4.5-netgear4) but 2:4.4.5-netgear5 is to be installed
E: Unable to correct problems, you have held broken packages.

I don't have any idea how to install samba-common for netgear4 ?

 

My sources.list:

Spoiler
deb http://apt.readynas.com/packages/readynasos 6.6.1 updates apps main

deb http://mirrors.kernel.org/debian jessie main
deb http://security.debian.org/ jessie/updates main

Can someone help how to install it ?

Model: RN102|ReadyNAS 100 Series,ReadyNAS-OS6|
Message 1 of 11

Accepted Solutions
mdgm-ntgr
NETGEAR Employee Retired

Re: Samba doesn't work

You had a broken samba config. So I put the default config back on. It should be fixed now.

Also your attempt to re-install samba somehow installed a dependency of samba with a different version breaking the ability to install samba. After re-installing the dependency with the same version as the samba package I was able to put samba back on.

View solution in original post

Message 7 of 11

All Replies
evan2
NETGEAR Expert

Re: Samba doesn't work

@dar3k

Which NAS model and FW are you using?

Message 2 of 11
dar3k
Aspirant

Re: Samba doesn't work

RN102 and leatest FW 6.6.1

Message 3 of 11
mdgm-ntgr
NETGEAR Employee Retired

Re: Samba doesn't work

I've sent you a PM.

Message 4 of 11
evan2
NETGEAR Expert

Re: Samba doesn't work

Message 5 of 11
dar3k
Aspirant

Re: Samba doesn't work

I have sent you log via PM

 

Message 6 of 11
mdgm-ntgr
NETGEAR Employee Retired

Re: Samba doesn't work

You had a broken samba config. So I put the default config back on. It should be fixed now.

Also your attempt to re-install samba somehow installed a dependency of samba with a different version breaking the ability to install samba. After re-installing the dependency with the same version as the samba package I was able to put samba back on.

Message 7 of 11
dar3k
Aspirant

Re: Samba doesn't work

Thank you for your help!
Hmm, something strange because I didn't touch anything in configuration files, after reboot my NAS I saw samba didn't work and i tried to fix it but nothing.

Message 8 of 11
Fiarel
Aspirant

Re: Samba doesn't work

mdgm

 

I have exacly this same problem

Could you give more informations how to solve this issue?

 

 

Thanks

 

Model: RN10400|ReadyNAS 100 Series 4- Bay (Diskless)
Message 9 of 11
mdgm-ntgr
NETGEAR Employee Retired

Re: Samba doesn't work

Actually Fiarel your problem is different.

You did an

# apt-get dist-upgrade

Which replaced the samba-common package with one that's incompatible with the samba version in 6.6.1 and removed the samba package.

We don't recommend doing an
# apt-get dist-upgrade
or an
# apt-get upgrade

It looks like there could have been a problem with your main SMB config file so I put the default config back on.

The SMB config for your shares was intact and fine.

Message 10 of 11
Fiarel
Aspirant

Re: Samba doesn't work

Hi, 

 

Thank you for helping, its seems to work now. 

 

Yes i did #apt-get dist-upgrade few times in the past to keep all programs updated. (i will be not doing this as you recomend)

 

Thank You again

 

 

regards 

marcin

 

Message 11 of 11
Top Contributors
Discussion stats
  • 10 replies
  • 3580 views
  • 0 kudos
  • 4 in conversation
Announcements