Samba install failed

Asked by Robert T McQuaid

I followed install instructions putting Ubuntu 10.10 on a USB stick, installing it with an open internet connection then following the instructions under Help titled: Sharing folders via the Shared Folders application. After invoking shares-admin and downloading two packages I shared a folder according to instructions. Where the instructions say: Choose Windows networks (SMB) from the Shared through option, that is impossible because only the Unix networks (NFS) option appears. How can samba be installed on this system?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu samba Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

sudo apt-get install samba

Will install what is needed.

Revision history for this message
Robert T McQuaid (rtmq) said :
#2

Sorry,

sudo apt-get install samba

has been tried many times without effect. There is still no SMB option at Share through:.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

So in nautilus you cannot right click folders to share them?

Does the install command above run ok?

Revision history for this message
Robert T McQuaid (rtmq) said :
#4

            So in nautilus you cannot right click folders to share them?

            Creating a share with Nautilus fails with a diagnostic
            box titled Document Properties containing the message:

            Failed to execute child process
            "testparm" (no such file or directory)

            Does the install command above run ok?

            sudo apt-get install samba

            responds with:

            Reading package lists... Done
            Building dependency tree
            Reading state information... Done
            samba is already the newest version.
            The following package was automatically installed and is no longer required:
              Linux-headers-2.6.35-22
            Use 'apt-get autoremove' to remove them.
            0 upgraded, 0 newly installed, 0 to remove and 315 not upgraded.

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#5

then run:

sudo apt-get --purge autoremove; sudo apt-get -y upgrade

Should help

Revision history for this message
Robert T McQuaid (rtmq) said :
#6

   The suggestion to run

   sudo apt-get --purge autoremove; sudo apt-get -y upgrade

   after several hours downloading got file sharing to work both through shares-admin and Nautilus. Windows can now (partially) recognize the Ubuntu computer, not through the network interface or NET VIEW, but only by typing \\192.168.0.42 into the run box. But since windows links created from there create full file access, the situation is now workable.

Revision history for this message
Robert T McQuaid (rtmq) said :
#7

Thanks actionparsnip, that solved my question.