Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I was trying to install samba to access shared printer on windows pc connected via office network, following response came out from terminal. please guide me how to install Samba or any other alternative.


crm@crm-HP-G62-Notebook-PC:~$ sudo apt-get install samba
[sudo] password for crm: 
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:3.6.6-3ubuntu4) but 2:3.6.6-3ubuntu5 is to be installed
         Depends: libwbclient0 (= 2:3.6.6-3ubuntu4) but 2:3.6.6-3ubuntu5 is to be installed
         Recommends: tdb-tools but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
crm@crm-HP-G62-Notebook-PC:~$
share|improve this question
What happens when you enter sudo apt-get update followed by sudo apt-get install samba? – qbi Nov 27 '12 at 17:29
Please see sudo apt-get update response. – Ayyaz Nov 28 '12 at 7:11
I deleted the output of the update. Because it looks like it simply worked for you. However according to packages.ubuntu.com/quantal/samba the needed packages have changed. So at the moment you should be able to install the package as you wanted. – qbi Dec 12 '12 at 23:04

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.