LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Closed Thread
  Search this Thread
Old 07-19-2018, 06:36 PM   #1
hoochnz
LQ Newbie
 
Registered: Jul 2018
Posts: 7

Rep: Reputation: Disabled
I have broken samba, and it looks like most other things.


Hey there, in my newness i have managed to break samba, ive come here after about 2 hours on google, running lots of apt-purge this and force that.

Anyhoo, long story (a week or so) short, I wanted to get my Mint machine which is running plex as a media station in the lounge, to be able to be seen by my wife's windows 10 machine, she could ping and connect to the mint machine via IP, but not by name.

SO i figured i had done something wrong in samba, so i added a gui and made changes, bad idea, somehow i changed my login password, and root password.. managed to fix that booting to a shell so i decided to remove samba and re-install.. and now im here

i used synaptic to remove samba, and then reboot and re-install, but nothing seemed to change, so i manually went digging around deleting anything with samba attatched to it.. i now know thats a bad move.

I am runnning linux mint 18
uname -r = 4.15.0-24-generic


so i run $ sudo apt-get remove --purge samba samba-*
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package samba-common-bin.list
E: Couldn't find any package by glob 'samba-common-bin.list'
E: Couldn't find any package by regex 'samba-common-bin.list'
E: Unable to locate package samba-common-bin.md5sums
E: Couldn't find any package by glob 'samba-common-bin.md5sums'
E: Couldn't find any package by regex 'samba-common-bin.md5sums'
E: Unable to locate package samba-common-bin.postinst
E: Couldn't find any package by glob 'samba-common-bin.postinst'
E: Couldn't find any package by regex 'samba-common-bin.postinst'
E: Unable to locate package samba-common-bin.prerm
E: Couldn't find any package by glob 'samba-common-bin.prerm'
E: Couldn't find any package by regex 'samba-common-bin.prerm'
E: Unable to locate package samba-common.conffiles
E: Couldn't find any package by glob 'samba-common.conffiles'
E: Couldn't find any package by regex 'samba-common.conffiles'
E: Unable to locate package samba-common.config
E: Couldn't find any package by glob 'samba-common.config'
E: Couldn't find any package by regex 'samba-common.config'
E: Unable to locate package samba-common.list
E: Couldn't find any package by glob 'samba-common.list'
E: Couldn't find any package by regex 'samba-common.list'
E: Unable to locate package samba-common.md5sums
E: Couldn't find any package by glob 'samba-common.md5sums'
E: Couldn't find any package by regex 'samba-common.md5sums'
E: Unable to locate package samba-common.postinst
E: Couldn't find any package by glob 'samba-common.postinst'
E: Couldn't find any package by regex 'samba-common.postinst'
E: Unable to locate package samba-common.postrm
E: Couldn't find any package by glob 'samba-common.postrm'
E: Couldn't find any package by regex 'samba-common.postrm'
E: Unable to locate package samba-common.preinst
E: Couldn't find any package by glob 'samba-common.preinst'
E: Couldn't find any package by regex 'samba-common.preinst'
E: Unable to locate package samba-common.prerm
E: Couldn't find any package by glob 'samba-common.prerm'
E: Couldn't find any package by regex 'samba-common.prerm'
E: Unable to locate package samba-common.templates
E: Couldn't find any package by glob 'samba-common.templates'
E: Couldn't find any package by regex 'samba-common.templates'
E: Unable to locate package samba-libs:amd64.list
E: Couldn't find any package by glob 'samba-libs:amd64.list'
E: Couldn't find any package by regex 'samba-libs:amd64.list'
E: Unable to locate package samba-libs:amd64.md5sums
E: Couldn't find any package by glob 'samba-libs:amd64.md5sums'
E: Couldn't find any package by regex 'samba-libs:amd64.md5sums'
E: Unable to locate package samba-libs:amd64.preinst
E: Couldn't find any package by glob 'samba-libs:amd64.preinst'
E: Couldn't find any package by regex 'samba-libs:amd64.preinst'
E: Unable to locate package samba-libs:amd64.shlibs
E: Couldn't find any package by glob 'samba-libs:amd64.shlibs'
E: Couldn't find any package by regex 'samba-libs:amd64.shlibs'
E: Unable to locate package samba-libs:amd64.triggers
E: Couldn't find any package by glob 'samba-libs:amd64.triggers'
E: Couldn't find any package by regex 'samba-libs:amd64.triggers'

and then when i run $ sudo apt-get install samba
Reading package lists... Done
Building dependency tree
Reading state information... Done
samba is already the newest version (2:4.3.11+dfsg-0ubuntu0.16.04.13).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up samba (2:4.3.11+dfsg-0ubuntu0.16.04.13) ...
invoke-rc.d: dangling symlink: /etc/rc5.d/S07smbd
dpkg: error processing package samba (--configure):
subprocess installed post-installation script returned error exit status 102
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Errors were encountered while processing:
samba
E: Sub-process /usr/bin/dpkg returned an error code (1)


and : $ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up samba (2:4.3.11+dfsg-0ubuntu0.16.04.13) ...
invoke-rc.d: dangling symlink: /etc/rc5.d/S07smbd
dpkg: error processing package samba (--configure):
subprocess installed post-installation script returned error exit status 102
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Errors were encountered while processing:
samba
E: Sub-process /usr/bin/dpkg returned an error code (1)



I did broke it.

how do i unbreak it any help/suggestions will be appreciated
sorry for the wall of txt.
 
Old 07-20-2018, 12:56 PM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Can you please paste the output from the following command (within CODE tags - see the # icon in LQ's advanced editor):

Code:
dpkg -l | grep -v "^ii"
 
Old 07-20-2018, 09:22 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,714

Rep: Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899
Problem solved
https://www.linuxquestions.org/quest...gs-4175634508/

Duplicate thread closex.
 
  


Closed Thread



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] I have broken samba, and it looks like most other things. hoochnz Linux Mint 2 07-19-2018 11:04 PM
LXer: Broken Lollipop: 5 things that need to be fixed ASAP with Android 5.0 LXer Syndicated Linux News 0 01-25-2015 07:33 PM
Things broken after fresh install FogOgg Slackware 7 03-21-2007 02:14 PM
Many things broken after upgrading from 9.2 to 10.0 Official lhoff Mandriva 7 06-28-2004 03:27 AM
Weird things going on with samba Cerb Linux - Software 2 03-29-2004 03:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 08:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration