ratlos: apt und source.list + backport
ratlos: apt und source.list + backport
Situation:
- frisches System von 1&1 auf Mietserver
- source.list backport hinzugefügt
- apt-get update
- apt-get install mysql-server
das Problem ist, egal was ich versuche ich bekomme es nicht hin das er den backport für MySQL benutzt... gleiche source.list auf lokalen Fileserver läuft!!!???
wäre für schnelle Antwort dankbar...
- frisches System von 1&1 auf Mietserver
- source.list backport hinzugefügt
- apt-get update
- apt-get install mysql-server
das Problem ist, egal was ich versuche ich bekomme es nicht hin das er den backport für MySQL benutzt... gleiche source.list auf lokalen Fileserver läuft!!!???
wäre für schnelle Antwort dankbar...
# backports
deb http://www.backports.org/debian stable mysql-dfsg
# binary
deb http://update.pureserver.info/debian stable main contrib non-free
deb http://update.pureserver.info/debian-non-US stable/non-US main contrib non-free
deb http://security.debian.org/debian-security stable/updates main contrib non-free
# APT::Default-Release "stable" (-> /etc/apt/apt.conf.d/10defaultrelease)
#deb http://update.pureserver.info/debian testing main contrib non-free
#deb http://update.pureserver.info/debian-non-US testing/non-US main contrib non-free
#deb http://security.debian.org/debian-security testing/updates main contrib non-free
#deb http://update.pureserver.info/debian unstable main contrib non-free
#deb http://update.pureserver.info/debian-non-US unstable/non-US main contrib non-free
#source
#deb-src http://update.pureserver.info/debian stable main contrib non-free
#deb-src http://update.pureserver.info/debian-non-US stable/non-US main contrib non-free
#deb-src http://security.debian.org/debian-security stable/updates main contrib non-free
#deb-src http://update.pureserver.info/debian testing main contrib non-free
#deb-src http://update.pureserver.info/debian-non-US testing/non-US main contrib non-free
#deb-src http://security.debian.org/debian-security testing/updates main contrib non-free
#deb-src http://update.pureserver.info/debian unstable main contrib non-free
#deb-src http://update.pureserver.info/debian-non-US unstable/non-US main contrib non-free
habe den rest auskommentiert welches von 1&1 drin stand...
Problem is halt das er _immer_ die 3er Version bei "apt-get install mysql-server" nimmt und nicht die Backport Version (4er Version)
deb http://www.backports.org/debian stable mysql-dfsg
# binary
deb http://update.pureserver.info/debian stable main contrib non-free
deb http://update.pureserver.info/debian-non-US stable/non-US main contrib non-free
deb http://security.debian.org/debian-security stable/updates main contrib non-free
# APT::Default-Release "stable" (-> /etc/apt/apt.conf.d/10defaultrelease)
#deb http://update.pureserver.info/debian testing main contrib non-free
#deb http://update.pureserver.info/debian-non-US testing/non-US main contrib non-free
#deb http://security.debian.org/debian-security testing/updates main contrib non-free
#deb http://update.pureserver.info/debian unstable main contrib non-free
#deb http://update.pureserver.info/debian-non-US unstable/non-US main contrib non-free
#source
#deb-src http://update.pureserver.info/debian stable main contrib non-free
#deb-src http://update.pureserver.info/debian-non-US stable/non-US main contrib non-free
#deb-src http://security.debian.org/debian-security stable/updates main contrib non-free
#deb-src http://update.pureserver.info/debian testing main contrib non-free
#deb-src http://update.pureserver.info/debian-non-US testing/non-US main contrib non-free
#deb-src http://security.debian.org/debian-security testing/updates main contrib non-free
#deb-src http://update.pureserver.info/debian unstable main contrib non-free
#deb-src http://update.pureserver.info/debian-non-US unstable/non-US main contrib non-free
habe den rest auskommentiert welches von 1&1 drin stand...
Problem is halt das er _immer_ die 3er Version bei "apt-get install mysql-server" nimmt und nicht die Backport Version (4er Version)
hät ich anfangs auch... ändert leider nichts...
# binary
deb http://update.pureserver.info/debian stable main contrib non-free
deb http://update.pureserver.info/debian-non-US stable/non-US main contrib non-free
deb http://security.debian.org/debian-security stable/updates main contrib non-free
deb http://www.backports.org/debian stable mysql-dfsg
/etc/apt# apt-get update
Hit http://security.debian.org stable/updates/main Packages
Hit http://security.debian.org stable/updates/main Release
Hit http://security.debian.org stable/updates/contrib Packages
Hit http://security.debian.org stable/updates/contrib Release
Hit http://security.debian.org stable/updates/non-free Packages
Hit http://security.debian.org stable/updates/non-free Release
Get:1 http://www.backports.org stable/mysql-dfsg Packages [1892B]
Get:2 http://www.backports.org stable/mysql-dfsg Release [141B]
Hit http://update.pureserver.info stable/main Packages
Hit http://update.pureserver.info stable/main Release
Hit http://update.pureserver.info stable/contrib Packages
Hit http://update.pureserver.info stable/contrib Release
Hit http://update.pureserver.info stable/non-free Packages
Hit http://update.pureserver.info stable/non-free Release
Hit http://update.pureserver.info stable/non-US/main Packages
Hit http://update.pureserver.info stable/non-US/main Release
Hit http://update.pureserver.info stable/non-US/contrib Packages
Hit http://update.pureserver.info stable/non-US/contrib Release
Hit http://update.pureserver.info stable/non-US/non-free Packages
Hit http://update.pureserver.info stable/non-US/non-free Release
Fetched 2033B in 1s (1792B/s)
Reading Package Lists... Done
Building Dependency Tree... Done
/etc/apt# apt-get -s install mysql-server
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
libdbd-mysql-perl libdbi-perl libmysqlclient10 mysql-client
The following NEW packages will be installed:
libdbd-mysql-perl libdbi-perl libmysqlclient10 mysql-client mysql-server
0 packages upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Inst libmysqlclient10 (3.23.49-8.8 Debian:3.0r3/stable, Debian-Security:3.0/stable)
Inst libdbi-perl (1.21-2 Debian:3.0r3/stable)
Inst libdbd-mysql-perl (1.2216-2 Debian:3.0r3/stable)
Inst mysql-client (3.23.49-8.8 Debian:3.0r3/stable, Debian-Security:3.0/stable)
Inst mysql-server (3.23.49-8.8 Debian:3.0r3/stable, Debian-Security:3.0/stable)
Conf libmysqlclient10 (3.23.49-8.8 Debian:3.0r3/stable, Debian-Security:3.0/stable)
Conf libdbi-perl (1.21-2 Debian:3.0r3/stable)
Conf libdbd-mysql-perl (1.2216-2 Debian:3.0r3/stable)
Conf mysql-client (3.23.49-8.8 Debian:3.0r3/stable, Debian-Security:3.0/stable)
Conf mysql-server (3.23.49-8.8 Debian:3.0r3/stable, Debian-Security:3.0/stable)
# binary
deb http://update.pureserver.info/debian stable main contrib non-free
deb http://update.pureserver.info/debian-non-US stable/non-US main contrib non-free
deb http://security.debian.org/debian-security stable/updates main contrib non-free
deb http://www.backports.org/debian stable mysql-dfsg
/etc/apt# apt-get update
Hit http://security.debian.org stable/updates/main Packages
Hit http://security.debian.org stable/updates/main Release
Hit http://security.debian.org stable/updates/contrib Packages
Hit http://security.debian.org stable/updates/contrib Release
Hit http://security.debian.org stable/updates/non-free Packages
Hit http://security.debian.org stable/updates/non-free Release
Get:1 http://www.backports.org stable/mysql-dfsg Packages [1892B]
Get:2 http://www.backports.org stable/mysql-dfsg Release [141B]
Hit http://update.pureserver.info stable/main Packages
Hit http://update.pureserver.info stable/main Release
Hit http://update.pureserver.info stable/contrib Packages
Hit http://update.pureserver.info stable/contrib Release
Hit http://update.pureserver.info stable/non-free Packages
Hit http://update.pureserver.info stable/non-free Release
Hit http://update.pureserver.info stable/non-US/main Packages
Hit http://update.pureserver.info stable/non-US/main Release
Hit http://update.pureserver.info stable/non-US/contrib Packages
Hit http://update.pureserver.info stable/non-US/contrib Release
Hit http://update.pureserver.info stable/non-US/non-free Packages
Hit http://update.pureserver.info stable/non-US/non-free Release
Fetched 2033B in 1s (1792B/s)
Reading Package Lists... Done
Building Dependency Tree... Done
/etc/apt# apt-get -s install mysql-server
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
libdbd-mysql-perl libdbi-perl libmysqlclient10 mysql-client
The following NEW packages will be installed:
libdbd-mysql-perl libdbi-perl libmysqlclient10 mysql-client mysql-server
0 packages upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Inst libmysqlclient10 (3.23.49-8.8 Debian:3.0r3/stable, Debian-Security:3.0/stable)
Inst libdbi-perl (1.21-2 Debian:3.0r3/stable)
Inst libdbd-mysql-perl (1.2216-2 Debian:3.0r3/stable)
Inst mysql-client (3.23.49-8.8 Debian:3.0r3/stable, Debian-Security:3.0/stable)
Inst mysql-server (3.23.49-8.8 Debian:3.0r3/stable, Debian-Security:3.0/stable)
Conf libmysqlclient10 (3.23.49-8.8 Debian:3.0r3/stable, Debian-Security:3.0/stable)
Conf libdbi-perl (1.21-2 Debian:3.0r3/stable)
Conf libdbd-mysql-perl (1.2216-2 Debian:3.0r3/stable)
Conf mysql-client (3.23.49-8.8 Debian:3.0r3/stable, Debian-Security:3.0/stable)
Conf mysql-server (3.23.49-8.8 Debian:3.0r3/stable, Debian-Security:3.0/stable)
/etc/apt# apt-cache policy mysql-server
mysql-server:
Installed: (none)
Candidate: 3.23.49-8.8
Version Table:
4.0.22-5.backports.org.1 0
500 http://www.backports.org stable/mysql-dfsg Packages
3.23.49-8.8 0
990 http://update.pureserver.info stable/main Packages
990 http://security.debian.org stable/updates/main Packages
100 /var/lib/dpkg/status
mysql-server:
Installed: (none)
Candidate: 3.23.49-8.8
Version Table:
4.0.22-5.backports.org.1 0
500 http://www.backports.org stable/mysql-dfsg Packages
3.23.49-8.8 0
990 http://update.pureserver.info stable/main Packages
990 http://security.debian.org stable/updates/main Packages
100 /var/lib/dpkg/status
ich verstehe nicht wieso die Priorität so hoch ist (990) - auf mein Fileserver sieht das so aus:
apt-cache policy mysql-server
mysql-server:
Installed: 4.0.21-5.backports.org.1
Candidate: 4.0.21-5.backports.org.1
Version Table:
*** 4.0.21-5.backports.org.1 0
500 http://www.backports.org stable/mysql-dfsg Packages
100 /var/lib/dpkg/status
3.23.49-8.8 0
500 ftp://ftp.de.debian.org stable/main Packages
500 http://security.debian.org stable/updates/main Packages
apt-cache policy mysql-server
mysql-server:
Installed: 4.0.21-5.backports.org.1
Candidate: 4.0.21-5.backports.org.1
Version Table:
*** 4.0.21-5.backports.org.1 0
500 http://www.backports.org stable/mysql-dfsg Packages
100 /var/lib/dpkg/status
3.23.49-8.8 0
500 ftp://ftp.de.debian.org stable/main Packages
500 http://security.debian.org stable/updates/main Packages
habe folgendes raus gefunden:
im Verzeichnis /et/apt gibt es ein Unterverzeichnis namens apt.conf.d.
Dieses Verzeichnis enthält eine Datei namens 10defaultrelease mit folgenden Inhalt:
APT::Default-Release "stable";
wenn ich nun diese Datei aus dem apt.conf.d Verzeichnis entferne, sind die Prioritäten auf 500 und das Installieren funktioniert.
Kann mir das einer erklären?
im Verzeichnis /et/apt gibt es ein Unterverzeichnis namens apt.conf.d.
Dieses Verzeichnis enthält eine Datei namens 10defaultrelease mit folgenden Inhalt:
APT::Default-Release "stable";
wenn ich nun diese Datei aus dem apt.conf.d Verzeichnis entferne, sind die Prioritäten auf 500 und das Installieren funktioniert.
Kann mir das einer erklären?