Results 1 to 9 of 9
Dear All,
I am trying to install a DDNS server on Debian. I got a debian cd with minimal packages which has a capacity of 150 MB. But when I ...
- 06-14-2007 #1Just Joined!
- Join Date
- Jan 2005
- Location
- Sri Lanka
- Posts
- 6
Dynamic DNS installation problems apt-get
Dear All,
I am trying to install a DDNS server on Debian. I got a debian cd with minimal packages which has a capacity of 150 MB. But when I try to install bind9 and dnsutills through apt-get the following error occurs. could anyone tell me what to do next? an early reply is appreciated.
# apt-get install bind9 bind9-doc dnsutils
Reading Package Lists... Done
Building Dependency Tree... Done
bind9 is already the newest version.
bind9-doc is already the newest version.
dnsutils is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
binutils: Depends: libc6 (>= 2.5-5) but 2.3.6.ds1-13 is to be installed
g++-3.4: Depends: gcc-3.4 (= 3.4.6-5) but it is not going to be installed
Depends: libstdc++6-dev (= 3.4.6-5) but it is not going to be install
ed
Depends: libstdc++6 (>= 4.0.2-4) but it is not going to be installed
g++-4.1: Depends: gcc-4.1-base (= 4.1.1-21) but 4.1.2-12 is to be installed
Depends: gcc-4.1 (= 4.1.1-21) but it is not going to be installed
Depends: libstdc++6-4.1-dev (= 4.1.1-21) but it is not going to be in
stalled
g++-4.2: Depends: libc6 (>= 2.5-5) but 2.3.6.ds1-13 is to be installed
gcc-4.2: Depends: cpp-4.2 (= 4.2-20070609-1) but it is not going to be install
ed
Depends: libgcc1 (>= 1:4.2-20070609-1) but 1:3.4.3-13sarge1 is to be
installed
Depends: libgomp1 (>= 4.2-20070609-1) but it is not going to be insta
lled
Depends: libc6 (>= 2.5-5) but 2.3.6.ds1-13 is to be installed
libc6: Depends: tzdata but it is not going to be installed
libc6-dev: Depends: libc6 (= 2.5-9+b1) but 2.3.6.ds1-13 is to be installed
libstdc++6-4.2-dev: Depends: libstdc++6 (>= 4.2-20070609-1) but it is not goin
g to be installed
locales: Depends: glibc-2.5-1
W: Couldn't stat source package list Debian -- Security Information main/contrib Pac
kages (/var/lib/apt/lists/security.debian.org_testing_updates_dists_main_con trib
_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list Debian -- Security Information main/non-free Pa
ckages (/var/lib/apt/lists/security.debian.org_testing_updates_dists_main_non-fr
ee_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list My Scratchpad unstable/i386/ Packa
ges (/var/lib/apt/lists/www.lychnis.net_files_debian_unstable_i386_Package s) - s
tat (2 No such file or directory)
W: Couldn't stat source package list My Scratchpad unstable/all/ Packag
es (/var/lib/apt/lists/www.lychnis.net_files_debian_unstable_all_Packages ) - sta
t (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a s
olution).
zoek-server:/etc/apt#
amitha
- 06-16-2007 #2Linux User
- Join Date
- Feb 2006
- Posts
- 484
post the contents of your sources.list file.
and try "apt-get -f install"
- 06-18-2007 #3Just Joined!
- Join Date
- Jan 2005
- Location
- Sri Lanka
- Posts
- 6
Dear iwanabeguru,
Bellow is my sources.list file's contents. This is not the original one. since the apt-get failed I changed the file adding several sites to it. Thank you for your reply.
amitha
deb Index of /archives/linux/debian/debian stable main
deb-src Index of /archives/linux/debian/debian stable main
deb Debian -- Security Information stable/updates main
deb http://security.debian.org/testing/updates main contrib non-free
deb Index of /files/debian unstable/i386/
deb Index of /files/debian unstable/all/
deb-src Index of /files/debian unstable/source/
deb ftp://ftp.debian.org/debian unstable main contrib non-free
deb ftp://ftp.debian.org/debian/ testing main
deb-src ftp://ftp.debian.org/debian/ testing main
- 06-18-2007 #4Linux User
- Join Date
- Feb 2006
- Posts
- 484
that's the problem
you mixed your system from stable, testing and unstable branch of debian.
you must choose one of them and use only that.
Debian Etch 4.0 is the currrent stable version of debian i suggest you use that.
Edit your sources.list file and replace all the "testing" and "unstable" words with "stable" or "etch", then run an "apt-get update".
Try install the bind , i'm sure you will succes now.
And one more thing: NEWER MIX THE VERSIONS
- 06-18-2007 #5Just Joined!
- Join Date
- Jan 2005
- Location
- Sri Lanka
- Posts
- 6
Hi,
I have changed the sources.list file according to your advice but it seems to be getting that old errors again. I think I have to go for full distribution rather than installing Debian with minimal CD installation which is 105 MB. Thank you so much for your suggetions.
errors encountered were,
Get:1 Debian -- Security Information stable/updates/main Packages [103kB]
Get:2 Debian -- Security Information stable/updates/main Release [97B]
Err Debian -- Security Information main/contrib Packages
404 Not Found
Ign Debian -- Security Information main/contrib Release
Err Debian -- Security Information main/non-free Packages
404 Not Found
Ign Debian -- Security Information main/non-free Release
Hit Ring Server Project stable/main Packages
Hit Ring Server Project stable/main Release
Hit Ring Server Project stable/main Sources
Hit Ring Server Project stable/main Release
Get:3 ftp://ftp.debian.org etch/main Packages [5638kB]
1% [Waiting for headers] [3 Packages 0/5638kB 0%]Err Debian -- Security Information main/contrib
Packages
404 Not Found
Ign Debian -- Security Information main/contrib Release
Err Debian -- Security Information main/non-free Packages
Ign Debian -- Security Information main/contrib Release
Err Debian -- Security Information main/non-free Packages
Err My Scratchpad etch/i386/ Packages
- 06-18-2007 #6Just Joined!
- Join Date
- Jan 2005
- Location
- Sri Lanka
- Posts
- 6
Dear iwanabeguru,
could you send a sources.list file for me wich includes all working URLs. My Debian version is 2.4.27-3-386 (when i type uname -a). If you can send me a sources.list file for Debian Etch 4.0 it is appreciated. Thank you.
amitha
- 06-18-2007 #7Linux User
- Join Date
- Feb 2006
- Posts
- 484
i'm living in hungary so i have a file with hungarian servers , but this two line must be enough for you
deb Index of / etch main contrib non-free
deb Debian -- Security Information etch/updates main contrib non-free
or maybe add the deb-src lines to your list and do a dist upgrade for etch
after edited your sources.list
apt-get update
apt-get dist-upgrade
and i suggest you change to 2.6 kernel.
oh and search Debian worldwide mirror sites for servers in your country
good luck
- 06-20-2007 #8Just Joined!
- Join Date
- Jan 2005
- Location
- Sri Lanka
- Posts
- 6
Dear iwanabeguru,
Thank you for your suggestions. I tried what you said. but the same results, think the difference of the sources.list file is the cause for that. after that i deleted the sources.list file and replace with a new sources.list file wich is in the Debian site (ducocumnetation).
# See sources.list(5) for more information, especially
# Remember that you can only use http, ftp or file URIs
# CDROMs are managed through the apt-cdrom tool.
deb ftp.osuosl.org :: Oregon State University Open Source Lab stable main contrib non-free
deb Index of /debian-non-US stable/non-US main contrib non-free
deb Debian -- Security Information stable/updates main contrib non-free
# Uncomment if you want the apt-get source function to work
#deb-src ftp.osuosl.org :: Oregon State University Open Source Lab stable main contrib non-free
#deb-src Index of /debian-non-US stable/non-US main contrib non-free
the above file worked without any problem when I execute apt-get update
command. but it gave some dependencies when i try to install packages.
- 06-20-2007 #9Linux User
- Join Date
- Feb 2006
- Posts
- 484
use the
"apt-get -f install" command , this solve the dependencies problems and install the needed packages


Reply With Quote
