Installing Samba dependencies

New to Debian (Or Linux in general)? Ask your questions here!

Installing Samba dependencies

Postby jekkuzan » 2019-11-22 01:57

Hi

May i know how did you install samba? below are the blockings that i encountered.

Command: sudo apt-get install samba

Output:
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: python-dnspython but it is not installable
Depends: python-samba but it is not going to be installed
Depends: samba-common-bin (= 2:4.9.5+dfsg-5+deb10u1) but it is not going to be installed
Depends: tdb-tools but it is not installable
Recommends: attr but it is not installable
Recommends: samba-dsdb-modules but it is not going to be installed
Recommends: samba-vfs-modules but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

2. I tried installing python

Command: apt install python-dnspython

Output:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package python-dnspython is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'python-dnspython' has no installation candidate


May i know if i missed something and the right countermeasure? , Please help

uname -a : Linux debian 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u1 (2019-09-20) x86_64 GNU/Linux
lsb_release -a :
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster

Thank you for your help, it will mean a lot
jekkuzan
 
Posts: 6
Joined: 2019-11-21 08:31

Re: Installing Samba dependencies

Postby 4D696B65 » 2019-11-22 02:11

Post the output of
Code: Select all
cat /etc/apt/sources.list
User avatar
4D696B65
 
Posts: 2439
Joined: 2009-06-28 06:09

Re: Installing Samba dependencies

Postby jekkuzan » 2019-11-22 03:27

4D696B65 wrote:Post the output of
Code: Select all
cat /etc/apt/sources.list


Hi

Thank you for your reply

Here is the output

root@debian:/home/debian/Downloads# cat /etc/apt/sources.list

#

# deb cdrom:[Official Debian GNU/Linux Live 10.2.0 gnome 2019-11-16T12:40]/ buster main

#deb cdrom:[Official Debian GNU/Linux Live 10.2.0 gnome 2019-11-16T12:40]/ buster main

deb http://security.debian.org/debian-security buster/updates main
deb-src http://security.debian.org/debian-security buster/updates main

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.

Thank you so much for your help
jekkuzan
 
Posts: 6
Joined: 2019-11-21 08:31

Re: Installing Samba dependencies

Postby sunrat » 2019-11-22 04:26

You only have security repositories enabled. Add main repositories to your /etc/apt/sources.list file as described here:
https://wiki.debian.org/SourcesList#Exa ... urces.list

You should add contrib and non-free sources too unless you specifically don't wish to on ideological grounds.

The same problem is why you can't install hardinfo.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2920
Joined: 2006-08-29 09:12
Location: Melbourne, Australia


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 12 guests

fashionable