Re: Package Name Confusion

2010-09-10 Thread PRAKHAR gaur

--Forwarded Message Attachment--
Date: Thu, 9 Sep 2010 13:38:05 -0700
From: field.engin...@gmail.com
To: prakhar_aaid...@hotmail.com; debian-user@lists.debian.org
Subject: Re: Package Name Confusion
  
Yes Prakhar, please tell us what you're wanting to do?
My guess is you are wanting to build a kernel?

I am trying to use a tutorial at Linux.com to build a Kernel Module.
http://www.linux.com/learn/linux-career-center/23685-the-kernel-newbie-corner-your-first-loadable-kernel-module

The author mentions some development packages are needed, I got two of them 
build-essentials and module-init-tools.
He mentions another package called as kernel-devel in Fedora. I wanted to 
know what is the similar package in Debian?

If this succeeds then there are more tutorials on building a Kernel, will move 
onto them.

Thanking you,
Prakhar
  

Re: Package Name Confusion

2010-09-09 Thread PRAKHAR gaur

Hi,
I think I did not put the question properly.
The question is...
There is a package called as kernel-devel in Fedora, what is the equivalent 
one in Debian?

Any help would be appreciated,

Prakhar Gaur

  

Confusion with Package Name

2010-09-08 Thread PRAKHAR gaur

Hi,

I am learning how to write Module and Compile the Kernel.
http://www.linux.com/learn/linux-career-center/23685-the-kernel-newbie-corner-your-first-loadable-kernel-module

For that I need certain packages, I know about build-essentials, 
module-init-tools.
The author mentions  kernel-develin Fedora, what is the equivalent one in 
Debian?
If at any time I want to search if a package is present in Debian or not, how 
do I search for it?
as eg. Software called ABCB, has Debian package name abc.deb.
How do I get to know that ABCB is named abc.deb   ?
BTW i am using Debian 5.0.5, with 2.6.26-2-686.

Thanking you,
Prakhar Gaur

  

Problem with apt-get

2010-07-13 Thread PRAKHAR gaur






Dear All,

I am using Debian 5.0.5, on a x86 machine. The Network is through a DHCP 
server. For connection to internet we have a Proxy server.
I was using Debian 5.0.4 on it apt-get used to work fine, but since this new 
installation of 5.0.5, there is some problem.

$  sudo apt-get install gromacs
Reading package lists... Done
Building dependency tree   
Reading state information... Done
The following extra packages will be installed:
  gromacs-data lesstif2 libxp6
Suggested packages:
  tcsh c-shell
The following NEW packages will be installed:
  gromacs gromacs-data lesstif2 libxp6
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 7678kB of archives.
After this operation, 23.1MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Err http://http.us.debian.org lenny/main libxp6 1:1.0.0.xsf1-2
  Could not resolve '@ibab'
Err http://http.us.debian.org lenny/main lesstif2 1:0.95.0-2.1
  Could not resolve '@ibab'
Err http://http.us.debian.org lenny/main gromacs-data 3.3.3-2
  Could not resolve '@ibab'
Err http://http.us.debian.org lenny/main gromacs 3.3.3-2
  Could not resolve '@ibab'
Failed to fetch 
http://http.us.debian.org/debian/pool/main/libx/libxp/libxp6_1.0.0.xsf1-2_i386.deb
  Could not resolve '@ibab'
Failed to fetch 
http://http.us.debian.org/debian/pool/main/l/lesstif2/lesstif2_0.95.0-2.1_i386.deb
  Could not resolve '@ibab'
Failed to fetch 
http://http.us.debian.org/debian/pool/main/g/gromacs/gromacs-data_3.3.3-2_all.deb
  Could not resolve '@ibab'
Failed to fetch 
http://http.us.debian.org/debian/pool/main/g/gromacs/gromacs_3.3.3-2_i386.deb  
Could not resolve '@ibab'
E: Unable to fetch some archives, maybe run apt-get update or try with 
--fix-missing?

Tried apt-get with --fix-missing option but it didnt work.
Tried two days later, now on using apt-get this is coming...

prak...@ibab-stud021:~$ sudo apt-get install dfsbuild
Reading package lists... Done
Building dependency tree   
Reading state information... Done
The following extra packages will be installed:
  cdebootstrap cramfsprogs libarchive1 libdebian-installer-extra4 
libdebian-installer4 mkisofs reprepro
Suggested packages:
  gnupg-agent inoticoming
The following NEW packages will be installed:
  cdebootstrap cramfsprogs dfsbuild libarchive1 libdebian-installer-extra4 
libdebian-installer4 mkisofs reprepro
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 1472kB of archives.
After this operation, 3850kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
WARNING: The following packages cannot be authenticated!
  libdebian-installer4 libdebian-installer-extra4 cdebootstrap cramfsprogs 
mkisofs libarchive1 reprepro dfsbuild
Install these packages without verification [y/N]? y
0% [Connecting to http.us.debian.org (204.152.191.39)]

apt-get basically hangs here and does not proceeds further, the internet 
connection is working fine for Synaptic.
Did not find anything in the mail archives.

Thanking you,
Prakhar Gaur
  

Re: Problem with apt-get --

2010-07-13 Thread PRAKHAR gaur
://security.debian.org lenny/updates/main Translation-en_IN 

Ign http://volatile.debian.org lenny/volatile/contrib Translation-en_IN 

Hit http://http.us.debian.org lenny Release 

Hit http://security.debian.org lenny/updates Release

Hit http://volatile.debian.org lenny/volatile Release   
Ign http://http.us.debian.org lenny/main Packages/DiffIndex 
Ign http://security.debian.org lenny/updates/contrib Packages/DiffIndex
Ign http://http.us.debian.org lenny/contrib Packages/DiffIndex
Ign http://security.debian.org lenny/updates/non-free Packages/DiffIndex

Ign http://volatile.debian.org lenny/volatile/main Packages/DiffIndex   

Ign http://http.us.debian.org lenny/non-free Packages/DiffIndex 

Ign http://security.debian.org lenny/updates/main Packages/DiffIndex

Ign http://volatile.debian.org lenny/volatile/contrib Packages/DiffIndex

Hit http://http.us.debian.org lenny/main Packages   

Hit http://security.debian.org lenny/updates/contrib Packages   

Ign http://volatile.debian.org lenny/volatile/main Sources/DiffIndex

Hit http://http.us.debian.org lenny/contrib Packages

Hit http://security.debian.org lenny/updates/non-free Packages  

Ign http://volatile.debian.org lenny/volatile/contrib Sources/DiffIndex 

Hit http://http.us.debian.org lenny/non-free Packages   

Hit http://security.debian.org lenny/updates/main Packages  

Hit http://volatile.debian.org lenny/volatile/main Packages
Hit http://volatile.debian.org lenny/volatile/contrib Packages
Hit http://volatile.debian.org lenny/volatile/main Sources
Hit http://volatile.debian.org lenny/volatile/contrib Sources
Fetched 2349B in 5s (425B/s)
Reading package lists... Done

-- 
Prakhar Gaur
  

Re: Problem with apt-get --

2010-07-13 Thread PRAKHAR gaur

--Forwarded Message Attachment--
Date: Tue, 13 Jul 2010 15:38:41 
+0200
From: sjo...@lorentz.leidenuniv.nl
To: 
debian-user@lists.debian.org
Subject: Re: Problem with apt-get --

PRAKHAR gaur schreef:
You might also add: 
export ftp_proxy=$http_proxy
 
 Ok. 
 
 But now there is a slight problem, when ever I use sudo apt-get update,
  it does not work. but if I become root first, using su, and then so the 
 same thing, it works.
 I tried closing all the terminals and opening them again, didn't work.

Can you do a echo $http_proxy both as root and as user? I guess 
$http_proxy isn't set properly for your user (and sudo uses user-values 
for its config)
 
Sjoerd

prak...@ibab-stud021:~$ echo $http_proxy
http://proxy.ibab.ac.in:3128/
prak...@ibab-stud021:~$ su -
Password: 
ibab-stud021:~# echo $http_proxy

ibab-stud021:~# exit
logout
prak...@ibab-stud021:~$ su
Password: 
ibab-stud021:/home/prakhar# echo $http_proxy
http://proxy.ibab.ac.in:3128/

Notice the difference of output between su - and su. I had read that su - 
loads that root user environment,
 and just su works with the current user environment only.
Additionally to answer your query, in both user and root the $http_proxy 
variable is set correctly.
I have done the same modifications to the user ~/.bashrc file, ie. added the 
line 
 export http_proxy=http://proxy.ibab.ac.in:3128/;
 
Well that's what all I did, please help me out.
  

RE: Problem with apt-get --

2010-07-13 Thread PRAKHAR gaur

From: prakhar_aaid...@hotmail.com
To: debian-user@lists.debian.org
Subject: Re: Problem with apt-get --
Date: Tue, 13 Jul 2010 22:42:21 +0530








--Forwarded Message Attachment--
Date: Tue, 13 Jul 2010 15:38:41 
+0200
From: sjo...@lorentz.leidenuniv.nl
To: 
debian-user@lists.debian.org
Subject: Re: Problem with apt-get --

PRAKHAR gaur schreef:
You might also add: 
export ftp_proxy=$http_proxy
 
 Ok. 
 
 But now there is a slight problem, when ever I use sudo apt-get update,
  it does not work. but if I become root first, using su, and then so the 
 same thing, it works.
 I tried closing all the terminals and opening them again, didn't work.

Can you do a echo $http_proxy both as root and as user? I guess 
$http_proxy isn't set properly for your user (and sudo uses user-values 
for its config)
 
Sjoerd

prak...@ibab-stud021:~$ echo $http_proxy
http://proxy.ibab.ac.in:3128/
prak...@ibab-stud021:~$ su -
Password: 
ibab-stud021:~# echo $http_proxy

ibab-stud021:~# exit
logout
prak...@ibab-stud021:~$ su
Password: 
ibab-stud021:/home/prakhar# echo $http_proxy
http://proxy.ibab.ac.in:3128/

Notice the difference of output between su - and su. I had read that su - 
loads that root user environment,
 and just su works with the current user environment only.
Additionally to answer your query, in both user and root the $http_proxy 
variable is set correctly.
I have done the same modifications to the user ~/.bashrc file, ie. added the 
line 
 export http_proxy=http://proxy.ibab.ac.in:3128/;
 
Well that's what all I did, please help me out.
_ _ _  __ _  _  
  _   _
Dear All,

Have a interesting update and potentially the solution of the problem. I have 
another system running Debian 5.0.5
,same hard ware configuration.
It had the same problem, while reading about apt on Wikipedia, got to know 
about the command apt-config dump
and the file /etc/apt/apt.conf
I ran the command on the other system, and the proxy was entered incorrectly(I 
did not do that)
I checked out the file apt.conf on my other system, it had only one line,
Acquire::http::Proxy http://i...@ibab:3128;;
Hence I corrected it to, 
Acquire::http::Proxy http://ibab.ac.in:@proxy.ibab.ac.in:3128;;
and now every thing is fine.
But funnily enough, when tryiny to correct the same file on my own system,
There was no /etc/apt/apt.conf file.
Hence created that file and just put the above line in it.
apt-get is working fine now.

Wonder why there was no /etc/apt/apt.conf file present???

Thanks to everyone for the help,
Prakhar Gaur 
  

make not compiling

2010-06-18 Thread prakhar gaur


Dear All,

This is my first week with Debian 504. I am using it as a host system to build 
LFS(Linux From Scratch).
I ran a script which checks whether all prerequisites are there on the host 
system(Debian 504).
It gave a lots of not present(eg. gcc, Binutils, Bison, gawk, make)
I installed gcc, Binutils, Bison, gawk using Synaptic.
For make i had source code, so i tried building it.
The configure script is showing some warnings, but no errors.
I am pasting only the lines showing errors.


checking whether make sets $(MAKE)... no
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking for style of include used by make... none
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for AIX... no
checking for library containing strerror... none required
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for msgmerge... no
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for pstat_getdynamic... no
checking for kstat_open in -lkstat... no
checking whether __sys_siglist is declared... no
checking for union wait... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating glob/Makefile
config.status: creating po/Makefile.in
config.status: creating config/Makefile
config.status: creating doc/Makefile
config.status: creating w32/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: creating build.sh
ava...@avatar:~/make-3.81$ make
bash: make: command not found
ava...@avatar:~/make-3.81$ ./make
bash: ./make: No such file or directory

Thanking you,
Prakhar Gaur
  

RE: make not compiling -- Solved

2010-06-18 Thread prakhar gaur



 Date: Fri, 18 Jun 2010 18:41:02 +0300
 Subject: Re: make not compiling
 From: eero.voloti...@iki.fi
 To: prakhar_aaid...@hotmail.com
 CC: debian-user@lists.debian.org
 
 2010/6/18 prakhar gaur prakhar_aaid...@hotmail.com:
 
  Dear All,
 
  This is my first week with Debian 504. I am using it as a host system to
  build LFS(Linux From Scratch).
  I ran a script which checks whether all prerequisites are there on the host
  system(Debian 504).
  It gave a lots of not present(eg. gcc, Binutils, Bison, gawk, make)
  I installed gcc, Binutils, Bison, gawk using Synaptic.
  For make i had source code, so i tried building it.
  The configure script is showing some warnings, but no errors.
  I am pasting only the lines showing errors.
 

 
 make is not installed, try to install it using apt-get install make .
 
 try also installing build-essential package, since it provides lot of
 development related tools..
 
 
 br,
 --
 Eero

Dear Eero,

Thank you for the help, installed both make and build-essentials.
Just wanted to ask why was I not able to compile the make-3.81 source code and 
how did using apt-get resolve the problem.

Thanking you,
Prakhar Gaur
Student, Post Graduate Diploma in Bioinformatics,
Institute of Bioinformatics and Applied Biotechnology,
Biotech Park
Bangalore 560 100
India.

  

Re: Request for CD

2010-06-16 Thread prakhar gaur

Dear Jnanadarshan,

I will courier you the Debian 504 DVD1. I am in Bangalore so please wait for at 
least a week for it to arrive.

Thanking you,
-- 
Prakhar Gaur
Institute of Bioinformatics and Applied Biotechnology,
Biotech Park
Bangalore 560 100
India.