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

Kernels & Hardware, configuring network, installing services

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

Postby sombunall » 2017-07-14 18:23

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.
sombunall
 
Posts: 58
Joined: 2009-05-20 20:36

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

Postby dilberts_left_nut » 2017-07-14 19:51

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...
User avatar
dilberts_left_nut
 
Posts: 4691
Joined: 2009-10-05 07:54
Location: enzed

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

Postby sombunall » 2017-07-14 20:54

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
sombunall
 
Posts: 58
Joined: 2009-05-20 20:36

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

Postby stevepusser » 2017-07-14 20:58

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
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Krita 3.3.2.1, Pale Moon 27.6.0, Audacity 2.2.0, mpv 0.27.0, Corebird 1.7.1, Firefox 57.0, SMPlayer 17.11.2
User avatar
stevepusser
 
Posts: 8905
Joined: 2009-10-06 05:53

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

Postby sombunall » 2017-07-14 23:06

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: 58
Joined: 2009-05-20 20:36

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

Postby sombunall » 2017-07-15 18:05

Woohoo! It's fixed already :lol:
sombunall
 
Posts: 58
Joined: 2009-05-20 20:36


Return to System configuration

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable