NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

dar3k's avatar
dar3k
Aspirant
Feb 26, 2017
Solved

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 ?

  • 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.

10 Replies

Replies have been turned off for this discussion
  • mdgm

     

    I have exacly this same problem

    Could you give more informations how to solve this issue?

     

     

    Thanks

     

    • mdgm-ntgr's avatar
      mdgm-ntgr
      NETGEAR Employee Retired

      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.

      • Fiarel's avatar
        Fiarel
        Aspirant

        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

         

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More