On Wed, 02 May 2007 21:11:13 +1000
James Healy <[EMAIL PROTECTED]> wrote:

Severity: normal
Reassign: apt-cross
Version: 0.1.1
Retitle: apt-cross: fails to find apt sources.list
Tag: + moreinfo
thanks

> I've installed emdebian-tools by following the instructions at
> http://wiki.debian.org/EmdebianQuickStart, however when I attempt to run
> emsetup as directed I get the following error:
>
> [EMAIL PROTECTED]:~$ emsetup --verbose --simulate

What is your default dpkg-cross architecture?

(Use debconf-show dpkg-cross)

If default-arch is None, you must specify --arch ARCH to all
emdebian-tools commmands and to apt-cross, e.g. emsetup -v -s -a arm
(That is described in the QuickStart Wiki page above.)

> cannot open No such file or directory at /usr/bin/apt-cross line 379.

OK, that error message probably needs to be clarified in apt-cross but
it is actually trying to open /etc/apt/sources.list

I do not know why this file cannot be opened on your system, please can
you send the results of:

$ ls -l /etc/apt/sources.list

perl is reporting "no such file" rather than "permission denied" so I'm
confused why this file would not exist.

Please also include the results of:
$ apt-cache policy

Finally, please also include the results of:
$ cat /etc/apt/sources.list.d/emdebian.sources.list

> Dry run only.
> Updating apt cache data ...
> cannot open No such file or directory at /usr/bin/apt-cross line 379.

Same problem.

> However, /usr/bin/apt-cross definitely exists.

? emsetup has already found apt-cross, that isn't the problem. The
message means that a file that /usr/bin/apt-cross (line 379) tried to
*open* was not found. The file that apt-cross tries to open at that
point is /etc/apt/sources.list

I will clarify the message but I need more information from you about
why /etc/apt/sources.list is not being found, where your apt sources
are specified and why this may have happened.

> -- System Information:
> Debian Release: lenny/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable')
> Architecture: i386 (i686)
>
> Versions of packages emdebian-tools depends on:
> ii  apt                    0.6.46.4-0.1      Advanced front-end for dpkg
> ii  apt-cross              0.1.1             retrieve, build and install 
> librar
> ii  debconf [debconf-2.0]  1.5.13            Debian configuration management 
> sy
> ii  dpkg-cross             1.35              tools for cross compiling Debian 
> p


--


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

Attachment: pgp2sNsYUQjKq.pgp
Description: PGP signature

Reply via email to