Today I installed the Debian wheezy 7.1 and after doing apt-get update first problem I found ,the system was searching packages from CDROM. Because I do not want to install packages from CD first I commented the below given lines in /etc/apt/sources.list

nano /etc/apt/sources.list

# deb-src cdrom:[Debian GNU/Linux 7.1.0 _Wheezy_ - Official Multi-architecture i386/amd64/source DVD #1 20130615-23:45]/ wheezy main
# deb cdrom:[Debian GNU/Linux 7.1.0 _Wheezy_ - Official Multi-architecture i386/amd64/source DVD #1 20130615-23:45]/ wheezy main
# 

#deb-src cdrom:[Debian GNU/Linux 7.1.0 _Wheezy_ - Official Multi-architecture i386/amd64/source DVD #1 20130615-23:45]/ wheezy main
#deb cdrom:[Debian GNU/Linux 7.1.0 _Wheezy_ - Official Multi-architecture i386/amd64/source DVD #1 20130615-23:45]/ wheezy main

After doing this now I got anther problem that the system was not able to install any packages.I was trying to install openssh-server and vim.After troubleshooting I found that the problem was with source URL.

Okay got it.Here I had to add one more source URL in sources.list file. Hence I searched and found the URL for my i386 arch operating system. openssh-server download
I selected the one source URL and added in last line of /etc/apt/sources.list file

nano /etc/apt/sources.list

deb http://ftp.de.debian.org/debian wheezy main

Now I did apt-get update and install the openssh-server

apt-get update

apt-get install openssh-server

Finally I installed other packages also.

Note: You can select the source URL nearby to your country or from your country for fastest speed
Below given is the reference from my system

root@debian:~# cat /etc/apt/sources.list
# 

# deb-src cdrom:[Debian GNU/Linux 7.1.0 _Wheezy_ - Official Multi-architecture i386/amd64/source DVD #1 20130615-23:45]/ wheezy main
# deb cdrom:[Debian GNU/Linux 7.1.0 _Wheezy_ - Official Multi-architecture i386/amd64/source DVD #1 20130615-23:45]/ wheezy main
# 

#deb-src cdrom:[Debian GNU/Linux 7.1.0 _Wheezy_ - Official Multi-architecture i386/amd64/source DVD #1 20130615-23:45]/ wheezy main
#deb cdrom:[Debian GNU/Linux 7.1.0 _Wheezy_ - Official Multi-architecture i386/amd64/source DVD #1 20130615-23:45]/ wheezy main


# Line commented out by installer because it failed to verify:
deb http://security.debian.org/ wheezy/updates main
# Line commented out by installer because it failed to verify:
deb-src http://security.debian.org/ wheezy/updates main

# wheezy-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/ wheezy-updates main 
deb-src http://ftp.debian.org/debian/ wheezy-updates main

deb http://ftp.de.debian.org/debian wheezy main
root@debian:~#

Read Some More Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.