[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: php connect to mssql



Yes I tried apt-get -f install. It did nothing: "0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded."


root@xy:/# apt-cache policy
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://security.debian.org/ jessie/updates/main Translation-en
 500 http://security.debian.org/ jessie/updates/contrib Translation-en
 500 http://security.debian.org/ jessie/updates/contrib amd64 Packages
     release v=8,o=Debian,a=oldstable,n=jessie,l=Debian-Security,c=contrib
     origin security.debian.org
 500 http://security.debian.org/ jessie/updates/main amd64 Packages
     release v=8,o=Debian,a=oldstable,n=jessie,l=Debian-Security,c=main
     origin security.debian.org
 500 cdrom://[Debian GNU/Linux 8.6.0 _Jessie_ - Official amd64 DVD Binary-1 2016                                                          0917-14:25]/ jessie/main Translation-en
 500 cdrom://[Debian GNU/Linux 8.6.0 _Jessie_ - Official amd64 DVD Binary-1 2016                                                          0917-14:25]/ jessie/contrib Translation-en
 500 cdrom://[Debian GNU/Linux 8.6.0 _Jessie_ - Official amd64 DVD Binary-1 2016                                                          0917-14:25]/ jessie/main amd64 Packages
     origin Debian GNU/Linux 8.6.0 _Jessie_ - Official amd64 DVD Binary-1 201609                                                          17-14:25
 500 cdrom://[Debian GNU/Linux 8.6.0 _Jessie_ - Official amd64 DVD Binary-1 2016                                                          0917-14:25]/ jessie/contrib amd64 Packages
     origin Debian GNU/Linux 8.6.0 _Jessie_ - Official amd64 DVD Binary-1 201609                                                          17-14:25
Pinned packages:
root@xy:/#


root@xy:/# apt-cache policy php5-sybase
php5-sybase:
  Installed: (none)
  Candidate: 5.6.30+dfsg-0+deb8u1
  Version table:
     5.6.30+dfsg-0+deb8u1 0
        500 http://security.debian.org/ jessie/updates/main amd64 Packages
root@xy:/#


root@xy:/# apt-cache policy libsybdb5
libsybdb5:
  Installed: (none)
  Candidate: (none)
  Version table:
root@xy:/#


root@xy:/# cat /etc/apt/sources.list
#deb cdrom:[Debian GNU/Linux 8.6.0 _Jessie_ - Official amd64 DVD Binary-1 20160917-14:25]/ jessie contrib main

deb cdrom:[Debian GNU/Linux 8.6.0 _Jessie_ - Official amd64 DVD Binary-1 20160917-14:25]/ jessie contrib main

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

# jessie-updates, previously known as 'volatile'
# A network mirror was not selected during install.  The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.
#
# deb http://ftp.debian.org/debian/ jessie-updates main contrib
# deb-src http://ftp.debian.org/debian/ jessie-updates main contrib






On 18 July 2017 at 14:26, Greg Wooledge <wooledg@eeg.ccf.org> wrote:
On Tue, Jul 18, 2017 at 09:23:20AM +0200, Ferenc Radics wrote:
> The following packages have unmet dependencies:
>  php5-sybase : Depends: libsybdb5 (>= 0.63) but it is not installable
> E: Unable to correct problems, you have held broken packages.

The bit about "held broken packages" is not reassuring.  Did you try
"apt-get -f install" yet?  (If it wants to remove things you don't
want removed, say no.)

If that doesn't fix it, show us the output of these commands:

apt-cache policy
apt-cache policy php5-sybase
apt-cache policy libsybdb5
cat /etc/apt/sources.list

My suspicion is that you've got an incomplete or inconsistent sources.list
which is somehow trying to pull php5-sybase from jessie, but libsybdb5
from somewhere else.



Reply to: