Hi all, Now when I run "apt-get install anypackage" I am getting the following error - does anyone have any idea whats wrong with my Configuration:
/scratchbox/devkits/debian-etch/bin/invoke-rc.d: line 1: /sbin/runlevel: No such file or directory /etc/init.d/x11-common: line 20: /etc/default/rcS: No such file or directory invoke-rc.d: initscript x11-common, action "start" failed. dpkg: error processing x11-common (--configure): subprocess post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of libice6: libice6 depends on x11-common; however: Package x11-common is not configured yet. dpkg: error processing libice6 (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: x11-common libice6 E: Sub-process /scratchbox/devkits/debian-etch/bin/dpkg returned an error code (1) -----Original Message----- From: scratchbox-users-boun...@lists.scratchbox.org [mailto:scratchbox-users-boun...@lists.scratchbox.org] On Behalf Of Eade, Sean (SCR US) Sent: Thursday, February 19, 2009 10:24 AM To: scratchbox-users@lists.scratchbox.org Subject: RE: [Scratchbox-users] apt-get update fails in Scratchbox Hey, Thanks for the reply. And thank you too Murray. My problem with the apt-get was that I hadn't set the $ftp_proxy env variable. Now it works - somewhat. But when I run "apt-get update" I am experiencing the following: Reading package lists... Done W: GPG error: ftp://ftp.debian.org etch Release: Couldn't access keyring: 'No such file or directory' W: You may want to run apt-get update to correct these problems When I do an apt-get install libgtk2.0-dev I am getting the following error, any ideas: Unpacking libc6 (from .../libc6_2.3.6.ds1-13etch9_arm.deb) ... Matching libraries: /targets/ARM/lib/libc.so.6 Another copy of the C library was found via LD_LIBRARY_PATH. It is not safe to upgrade the C library in this situation; please remove the directory from LD_LIBRARY_PATH and try again. dpkg: error processing /var/cache/apt/archives/libc6_2.3.6.ds1-13etch9_arm.deb (--unpack): subprocess pre-installation script returned error exit status 1 Errors were encountered while processing: /var/cache/apt/archives/libc6_2.3.6.ds1-13etch9_arm.deb E: Sub-process /scratchbox/devkits/debian-etch/bin/dpkg returned an error code (1) -----Original Message----- From: scratchbox-users-boun...@lists.scratchbox.org [mailto:scratchbox-users-boun...@lists.scratchbox.org] On Behalf Of Jussi Hakala Sent: Thursday, February 19, 2009 4:41 AM To: scratchbox-users@lists.scratchbox.org Subject: Re: [Scratchbox-users] apt-get update fails in Scratchbox Eade, Sean (SCR US) wrote: > I am trying to do an update of the debian packages installed in my > Scratchbox environment but when I do 'apt-get update' I get the > following error. I can't seem to get access to the servers through the > scratchbox - but I have the http_proxy env variable set correctly and > the /etc/resolv.conf file is the same as that for my host debian > machine. Have you checked /scratchbox/etc/resolv.conf also? Regards, Jussi _______________________________________________ Scratchbox-users mailing list Scratchbox-users@lists.scratchbox.org http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users _______________________________________________ Scratchbox-users mailing list Scratchbox-users@lists.scratchbox.org http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users _______________________________________________ Scratchbox-users mailing list Scratchbox-users@lists.scratchbox.org http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users