- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Re: Samba doesn't work
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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:
deb http://mirrors.kernel.org/debian jessie main
deb http://security.debian.org/ jessie/updates main
Can someone help how to install it ?
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
All Replies
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Samba doesn't work
Could you please send logs?
How to send logs:
https://kb.netgear.com/21543/How-do-I-send-all-logs-to-ReadyNAS-Community-moderators
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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