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

 

 

 

[SOLVED] jessie (oldstable) samba broken after dist-upgrade

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
sombunall
Posts: 73
Joined: 2009-05-20 20:36

[SOLVED] jessie (oldstable) samba broken after dist-upgrade

#1 Post by sombunall »

OS: jessie (oldstable)

# uname -r
3.16.0-4-amd64

# cat /etc/debian_version
8.8


Hi all,

I did a apt-get upgrade and apt-get dist-upgrade (always with sources pointing to jessie) and now some packages are broken. They are related to samba and I don't know what to do. My objective right now is to get samba reinstalled. I have no crazy sources.list with external repos or mixed releases or anything. I am not pinning anything so no /etc/apt/preferences/apt-listbugs file. "apt-mark showhold" returns nothing. So now I am stuck on python-talloc and it won't put the new version in. My package manager of choice is apt-get and I only use aptitude to do searches and such:

Code: Select all

# aptitude search '.*' | grep ^.B                                                                       
pB  clamav                          - anti-virus utility for Unix - command-line
pB  clamdscan                       - anti-virus utility for Unix - scanner clie
pB  gcr                             - GNOME crypto services (daemon and tools)  
pB  gvfs-backends                   - userspace virtual filesystem - backends   
pB  libmtp-runtime                  - Media Transfer Protocol (MTP) runtime tool
pB  libpam-winbind                  - Windows domain authentication integration 
pB  python-ntdb                     - Python bindings for NTDB                  
pB  python-samba                    - Python bindings for Samba                 
pB  samba-common-bin                - Samba common files used by both the server
pB  samba-dsdb-modules              - Samba Directory Services Database         
pB  samba-libs                      - Samba core libraries                      
pB  samba-vfs-modules               - Samba Virtual FileSystem plugins          
pB  smbclient                       - command-line SMB/CIFS clients for Unix    
pB  usbmuxd                         - USB multiplexor daemon for iPhone and iPod

# apt-get update                                                                                        
Ign http://ftp.ca.debian.org jessie InRelease
Hit http://ftp.ca.debian.org jessie Release.gpg                  
Hit http://ftp.ca.debian.org jessie Release                      
Get:1 http://security.debian.org jessie/updates InRelease [63.1 kB]                
Hit http://ftp.ca.debian.org jessie/main amd64 Packages                                                
Hit http://ftp.ca.debian.org jessie/contrib amd64 Packages                                             
Get:2 ftp://ftp-nyc.osuosl.org jessie InRelease                                                        
Hit http://ftp.ca.debian.org jessie/contrib Translation-en                                             
Hit http://ftp.ca.debian.org jessie/main Translation-en                                                
Hit http://security.debian.org jessie/updates/main Sources                                             
Get:3 ftp://mirror.csclub.uwaterloo.ca jessie InRelease                
Hit http://security.debian.org jessie/updates/main amd64 Packages                
Ign ftp://ftp-nyc.osuosl.org jessie InRelease                                    
Ign ftp://mirror.csclub.uwaterloo.ca jessie InRelease                            
Hit http://security.debian.org jessie/updates/main Translation-en
Hit ftp://ftp-nyc.osuosl.org jessie Release.gpg      
Hit ftp://mirror.csclub.uwaterloo.ca jessie Release.gpg
Hit ftp://ftp-nyc.osuosl.org jessie Release
Hit ftp://mirror.csclub.uwaterloo.ca jessie Release  
Hit ftp://ftp-nyc.osuosl.org jessie/main Sources     
Hit ftp://mirror.csclub.uwaterloo.ca jessie/main Sources
Hit ftp://mirror.csclub.uwaterloo.ca jessie/contrib Sources
Hit ftp://ftp-nyc.osuosl.org jessie/contrib Sources
Hit ftp://mirror.csclub.uwaterloo.ca jessie/main amd64 Packages
Hit ftp://ftp-nyc.osuosl.org jessie/main amd64 Packages
Hit ftp://mirror.csclub.uwaterloo.ca jessie/contrib amd64 Packages
Hit ftp://mirror.csclub.uwaterloo.ca jessie/contrib Translation-en
Hit ftp://ftp-nyc.osuosl.org jessie/contrib amd64 Packages
Hit ftp://mirror.csclub.uwaterloo.ca jessie/main Translation-en
Hit ftp://ftp-nyc.osuosl.org jessie/contrib Translation-en
Hit ftp://ftp-nyc.osuosl.org jessie/main Translation-en
Fetched 63.1 kB in 4s (12.6 kB/s)
Reading package lists... Done

# apt-get upgrade                                                                                       
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

# apt-get dist-upgrade                                                                                  
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

# apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

# dpkg --configure -a

# apt-get install samba
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-samba but it is not going to be installed
         Depends: samba-common-bin (= 2:4.2.14+dfsg-0+deb8u7) but it is not going to be installed
         Depends: samba-dsdb-modules but it is not going to be installed
         Depends: samba-libs (= 2:4.2.14+dfsg-0+deb8u7) 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.

# apt-get install python-samba
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:
 python-samba : Depends: python-talloc (>= 2.1.6) but 2.1.2-0+deb8u1 is to be installed
                Depends: samba-libs (= 2:4.2.14+dfsg-0+deb8u7) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

# apt-get install python-talloc
Reading package lists... Done
Building dependency tree       
Reading state information... Done
python-talloc is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


sources.list:

Code: Select all

deb ftp://ftp-nyc.osuosl.org/debian/ jessie main contrib
deb-src ftp://ftp-nyc.osuosl.org/debian/ jessie main contrib

deb ftp://mirror.csclub.uwaterloo.ca/debian/ jessie main contrib
deb-src ftp://mirror.csclub.uwaterloo.ca/debian/ jessie main contrib

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

#canadian push-primary
deb http://ftp.ca.debian.org/debian/ jessie main contrib
Last edited by sombunall on 2017-07-18 22:00, edited 1 time in total.

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5346
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 13 times
Been thanked: 66 times

Re: jessie (oldstable) samba broken after dist-upgrade

#2 Post by dilberts_left_nut »

Try aptitude it's a bit smarter than apt-get.

edit: also show output of 'apt-cache policy python-samba'
AdrianTM wrote:There's no hacker in my grandma...

sombunall
Posts: 73
Joined: 2009-05-20 20:36

Re: jessie (oldstable) samba broken after dist-upgrade

#3 Post by sombunall »

Under what conditions should I mix apt-get and aptitude? I kind of learned to choose 1 and stick to it for installing stuff.

Code: Select all

$ su root -c 'apt-cache policy python-samba'
Password: 
python-samba:
  Installed: (none)
  Candidate: 2:4.2.14+dfsg-0+deb8u7
  Version table:
     2:4.2.14+dfsg-0+deb8u7 0
        500 http://security.debian.org/ jessie/updates/main amd64 Packages
     2:4.2.14+dfsg-0+deb8u5 0
        500 ftp://ftp-nyc.osuosl.org/debian/ jessie/main amd64 Packages
        500 ftp://mirror.csclub.uwaterloo.ca/debian/ jessie/main amd64 Packages
        500 http://ftp.ca.debian.org/debian/ jessie/main amd64 Packages

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: jessie (oldstable) samba broken after dist-upgrade

#4 Post by stevepusser »

It appears the amd64 packages were built against Stretch libraries, so hold off on the samba updates until Debian pushes some fixed packages that were built on a Jessie base.

https://forum.mxlinux.org/viewtopic.php?f=104&t=42642
MX Linux packager and developer

sombunall
Posts: 73
Joined: 2009-05-20 20:36

Re: jessie (oldstable) samba broken after dist-upgrade

#5 Post by sombunall »

Thanks. If the update doesn't get in the repo by monday I think I'm going to have to upgrade this box to stretch. I can't live without samba. I breath it, I snort it, I... :shock: :mrgreen:

sombunall
Posts: 73
Joined: 2009-05-20 20:36

Re: jessie (oldstable) samba broken after dist-upgrade

#6 Post by sombunall »

Woohoo! It's fixed already :lol:

Post Reply