help needed regarding installation

2008-04-14 Thread Zainab Rehman
I am trying to install a source package bnfc using different package
management tools and tried options but having problems:



While running commands (red coloured font) to install a source package i am
having problems (green coloured font)



Using* apt*


debianabc:/home/fast# cd debian
debianabc:/home/fast/debian# apt-get source bnfc
Reading package lists... Done
Building dependency tree... Done
*E: You must put some 'source' URIs in your sources.list
*debianabc:/home/fast/debian# apt-get build-dep bnfc
Reading package lists... Done
Building dependency tree... Done
*E: You must put some 'source' URIs in your sources.list
*debianabc:/home/fast/debian# cd bnfc2.2
bash: cd: bnfc2.2: No such file or directory
debianabc:/home/fast/debian# cd bnfc-2.2
debianabc:/home/fast/debian/bnfc-2.2# debuild -uc -us
*bash: debuild: command not found
*debianabc:/home/fast/debian/bnfc-2.2#
--
*Error Identified: devscripts package was to be installed, so i tried
installing that using aptitude but*

Using* aptitude*
I placed the required files* i.e* .dsc file+.tar.gz file at the following
location /root/debian
 debian:~# pwd
/root
debian:~# cd debian

debian:~/debian# aptitude install devscripts

Reading package lists... Done

Building dependency tree... Done

Reading extended state information

Initializing package states... Done

Reading task descriptions... Done

Building tag database... Done

*Couldn't find any package whose name or description matched devscripts*

*No packages will be installed, upgraded, or removed.*

*0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.*

Need to get 0B of archives. After unpacking 0B will be used.

-- 
Regards,
Zainab Rehman


Re: help needed regarding installation

2008-04-14 Thread Neil Williams
On Mon, 2008-04-14 at 17:13 +0500, Zainab Rehman wrote:
 I am trying to install a source package bnfc using different package
 management tools and tried options but having problems:

You need to put some internet-based repositories in your apt sources.

http://www.uk.debian.org/mirrors/list

$ cat /etc/apt/sources.list
deb ftp://ftp.fr.debian.org/debian/ unstable main
deb-src ftp://ftp.fr.debian.org/debian/ unstable main

Replace the location with one close to your own location.

You *must* include a deb-src repository (and it needs to be an official
Debian one, not just mentors.debian.net or some private mirror).

 E: You must put some 'source' URIs in your sources.list

This means you have no deb-src lines in /etc/apt/sources.list or in
files beneath /etc/apt/sources.list.d/

 debianabc:/home/fast/debian# apt-get build-dep bnfc
 Reading package lists... Done
 Building dependency tree... Done
 E: You must put some 'source' URIs in your sources.list

You cannot download source without a deb-src.

 Error Identified: devscripts package was to be installed, so i tried
 installing that using aptitude but

You also don't appear to have a normal Debian mirror available.
deb ftp://ftp.fr.debian.org/debian/ unstable main

Whatever sources you have (maybe CD/DVD or some other local mirror) is
incomplete because devscripts is the correct package name.

 debian:~/debian# aptitude install devscripts
 Couldn't find any package whose name or description matched
 devscripts

Which means that your apt sources are broken. Add a local primary mirror
from the link above.

-- 


Neil Williams
=
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/




signature.asc
Description: This is a digitally signed message part


Re: help needed regarding installation

2008-04-14 Thread Justin Pryzby
On Mon, Apr 14, 2008 at 06:35:21PM +0100, Neil Williams wrote:
 On Mon, 2008-04-14 at 17:13 +0500, Zainab Rehman wrote:

It should be added that there's no need to apt-get source as a
privileged user.

Justin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]