Hi there, I have followed your steps, but this is not the problem. I want
actually an alien rep in /sw/etc/apt/sources.list. If I put one in there I
get the same error because the gpg key is missing. What method would work?
apt-key and apt-secure are not installed and you will get dependency hell
when trying to bzr branch something like update-manager, synaptic, software
sources and such. It is silly, but I went bust on all gnupg and gnupg2
terminal commands I found on the net, also after fink rebuild whatevever,
scanpackages, index, self-update, update-all, ... Tutorial please! Sorry if
the solution is really simple, but I do not know where to look. BTW, does
FinkCommander needs to run as root? ($ sudo
/Applications/FinkCommander.app/Contents/MacOS/FinkCommander). Tx alot!

Alexander Hansen-2 wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 12/16/09 2:23 PM, Noah wrote:
>> Hi,
>> 
>> Okay since upgrading to 10.6 I've been running into 'apt-get update' 
>> failing on my machine.  Is there a howto page out there to fix this?
>> 
>> 
>> wifi-b-129-252 11:21:39 ~ $ sudo  apt-get update
>> Err file: local/injected Packages
>>    File not found
>> Ign file: local/injected Release
>> Failed to fetch 
>> file:/sw/fink/dists/local/injected/binary-darwin-i386/Packages  File not 
>> found
>> Reading Package Lists... Done
>> Building Dependency Tree... Done
>> W: Couldn't stat source package list file: local/injected Packages 
>> (/sw/var/lib/apt/lists/_sw_fink_dists_local_injected_binary-darwin-i386_Packages)
>>  
>> - stat (2 No such file or directory)
>> W: Couldn't stat source package list file: local/injected Packages 
>> (/sw/var/lib/apt/lists/_sw_fink_dists_local_injected_binary-darwin-i386_Packages)
>>  
>> - stat (2 No such file or directory)
>> W: You may want to run apt-get update to correct these problems
>> E: Some index files failed to download, they have been ignored, or old 
>> ones used instead.
>> 
>> 
>> thanks in advance,
>> 
>> Noah
>> 
>> 
> 
> Check if local/injected is in the Trees listed in /sw/etc/fink.conf .
> If it is, then you can get rid of that, and then apt-get won't look for
> binaries in that location.
> 
> I'd think that running "fink scanpackages" should clear that error up
> too, by creating the stub package index that apt-get uses.
> 
> Use whichever method you prefer, though you typically won't need
> local/injected for anything unless you're going to use a prerelease fink
> package manager rather than a released version.
> 
> By the way, unless you're using an unofficial binary distribution,
> 'apt-get' isn't of much utility on 10.6, as there is no official binary
> distribution.
> 
> - -- 
> Alexander Hansen
> Fink User Liaison
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iEYEARECAAYFAkspOdIACgkQB8UpO3rKjQ+YWACffr4Wwp/cYbWsZ2kYGP36bO3e
> A/YAnR7/irTFPEgRW7FPC9w9O5bVdzjs
> =BBD4
> -----END PGP SIGNATURE-----
> 
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and
> easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev 
> _______________________________________________
> Fink-beginners mailing list
> [email protected]
> http://news.gmane.org/gmane.os.apple.fink.beginners
> 
> 

-- 
View this message in context: 
http://old.nabble.com/apt-get-update-is-failing-tp26817211p28935838.html
Sent from the fink-beginners mailing list archive at Nabble.com.


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to