Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Installing Samba dependencies

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
jekkuzan
Posts: 6
Joined: 2019-11-21 08:31

Installing Samba dependencies

#1 Post by jekkuzan »

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

User avatar
4D696B65
Site admin
Site admin
Posts: 2696
Joined: 2009-06-28 06:09
Been thanked: 85 times

Re: Installing Samba dependencies

#2 Post by 4D696B65 »

Post the output of

Code: Select all

cat /etc/apt/sources.list

jekkuzan
Posts: 6
Joined: 2019-11-21 08:31

Re: Installing Samba dependencies

#3 Post by jekkuzan »

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

User avatar
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 462 times

Re: Installing Samba dependencies

#4 Post by sunrat »

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!

Post Reply