Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Package install errors

  1. #1
    Join Date
    Nov 2004
    Beans
    34

    Package install errors

    I have tried to install varius packages using both synaptic and apt-get. however when they are installing i usually get an error, such as the following (from synaptic):

    dpkg error (1) .....
    samba

    or something like that. i do not know how to paste and copy text from the synaptic window. I someone would please tell me what i am doing wrong i would appreciate it.

  2. #2
    Join Date
    Dec 2004
    Location
    Las Vegas , Nevada
    Beans
    4

    Re: Package install errors

    Hi,
    I am getting the same error. Samba:
    Depends: samba-common but 3.0.7-1ubuntu6.2 is to be installed
    The Samba install is looking for an earlier version of samba-common and will not install. When you try to remove samba-common synaptic wants to remove ubuntu-desktop and smb-client. This didn't sound like a good idea. Does anyone know of a work around? Thanks!

  3. #3
    Join Date
    Dec 2004
    Beans
    44
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Package install errors

    I'm having this problem, im unsure if its the same but it seems related.

    Code:
    (Reading database ... 83218 files and directories currently installed.)
    Removing samba ...
    invoke-rc.d: dangling symlink: /etc/rc2.d/S91samba
    dpkg: error processing samba (--remove):
     subprocess pre-removal script returned error exit status 102
    Errors were encountered while processing:
     samba
    Can anyone help?

  4. #4
    Join Date
    Nov 2004
    Location
    Tucson, Arizona
    Beans
    24

    Re: Package install errors

    Hi,

    I'm receiving a very similar error. The strange thing is that samba used to be installed a few weeks ago (I successfully transferred some files from my laptop) and when I tried to use it today, it wasn't working.. it wasn't even installed! I went to Synaptic and when I tried to install samba (3.0.7-1ubuntu6) I got this error:

    Code:
    Setting up samba (3.0.7-1ubuntu6) ...
    update-rc.d: warning: /etc/rc2.d/S91samba is not a link to ../init.d/samba
    update-rc.d: warning: /etc/rc3.d/S91samba is not a link to ../init.d/samba
    invoke-rc.d: dangling symlink: /etc/rc2.d/S91samba
    dpkg: error processing samba (--configure):
     subprocess post-installation script returned error exit status 102
    EDIT: I just noticed that I didn't originally install samba, it was smbclient. Now I can't remove samba (same error as jak is getting)..

    Jeff
    Last edited by calamari; December 23rd, 2004 at 06:22 AM.

  5. #5
    Join Date
    Jan 2005
    Location
    Tamworth, UK
    Beans
    11

    Exclamation Re: Package install errors

    I fixed this.

    I removed the rc2.d/K09samba file, and made a new softlink to init.d/samba

    then 'sudo apt-get -f install'

    worked for me 8)

  6. #6
    Join Date
    Jan 2005
    Beans
    12

    Re: Package install errors

    I had this problem too. Once I removed '/etc/rc2.d/samba' and '/etc/rc3.d/samba' links are relinked them both to '../init.d/samba' by 'sudo ln -s ../init.d/samba /etc/rc2.d/samba' and 'sudo ln -s ../init.d/samba /etc/rc3.d/samba' then ran 'sudo apt-get -f install' it worked fine.

  7. #7
    Join Date
    Jun 2005
    Location
    Greenville, SC
    Beans
    19
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Package install errors

    just wanted to say thanks! I had this problem too and mikebee's solution worked...

  8. #8
    Join Date
    May 2006
    Location
    Singapore or Missouri
    Beans
    61
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Package install errors

    Thanks! This helped me too. However, my files were called K09samba.

  9. #9
    Join Date
    Oct 2004
    Location
    Norwich, UK
    Beans
    298
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Package install errors

    Worked for me too, thanks

    Jim

    Quote Originally Posted by cneil View Post
    Thanks! This helped me too. However, my files were called K09samba.

  10. #10
    Join Date
    Jul 2006
    Beans
    1

    Re: Package install errors

    This worked for me, with one minor exception:

    The name of each of the files in both /etc/rc2.d and /etc/rc3.d were not "samba" they were "S91samba".

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •