Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Development & Programming > Repositories & Backports
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Repositories & Backports
Need help with apt-get and updating Ubuntu? Post here..

 
Thread Tools Display Modes
Old November 27th, 2004   #1
xethm55
Just Give Me the Beans!
 
Join Date: Nov 2004
Beans: 33
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.
xethm55 is offline   Reply With Quote
Old December 16th, 2004   #2
coyote721
First Cup of Ubuntu
 
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!
coyote721 is offline   Reply With Quote
Old December 19th, 2004   #3
jak
Just Give Me the Beans!
 
Join Date: Dec 2004
Beans: 46
Ubuntu 8.04 Hardy Heron
Send a message via MSN to jak
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?
jak is offline   Reply With Quote
Old December 23rd, 2004   #4
calamari
5 Cups of Ubuntu
 
calamari's Avatar
 
Join Date: Nov 2004
Location: Tucson, Arizona
Beans: 23
Send a message via AIM to calamari
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 01:22 AM..
calamari is offline   Reply With Quote
Old January 14th, 2005   #5
richbayliss
First Cup of Ubuntu
 
Join Date: Jan 2005
Location: Tamworth, UK
Beans: 9
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
richbayliss is offline   Reply With Quote
Old January 22nd, 2005   #6
MikeBee
Spilled the Beans
 
Join Date: Jan 2005
Beans: 13
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.
MikeBee is offline   Reply With Quote
Old May 15th, 2007   #7
pylot5120
Guest
 
Beans: n/a
Re: Package install errors

Quote:
Originally Posted by coyote721 View Post
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!

bread build baking Skin care Cash Advance
  Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:12 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry