Re: "Duplicate sources.list entry"

Alexander Hansen <[email protected]>
Newsgroups gmane.os.apple.fink.devel
Message-ID <[email protected]>
> On Nov 8, 2015, at 02:24, Daniel Johnson <[email protected]> wrote:
> 
> 
>> On Nov 7, 2015, at 9:35 PM, Alexander Hansen <[email protected]> wrote:
>> 
>>> 
>>> On Nov 7, 2015, at 16:15, Max Horn <[email protected]> wrote:
>>> 
>>> so, I keep seeing this message at the end of any "fink install" run that involves building a package:
>>> 
>>> "
>>> Reading Package Lists... Done
>>> Building Dependency Tree... Done
>>> W: Duplicate sources.list entry http://bindist.finkmirrors.net stable/main Packages (/sw/var/lib/apt/lists/bindist.finkmirrors.net_10.11_dists_stable_main_binary-darwin-x86%5f64_Packages)
>>> W: You may want to run apt-get update to correct these problems
>>> $
>>> "
>>> 
>>> I can fix it by doing what it says and running apt-get update... But the problem keeps coming back. Looks as if Fink (?) is corrupting sources.list?
>>> 
>>> Here are my system stats (yeah, I finally upgraded my machine from 10.8... -- this is a completely fresh Fink installation)
>>> 
>>> $ sw_vers
>>> ProductName:	Mac OS X
>>> ProductVersion:	10.11.1
>>> BuildVersion:	15B42
>>> $ fink --version
>>> Package manager version: 0.39.2
>>> Distribution version: selfupdate-cvs Wed Oct 21 18:56:26 2015, 10.11, x86_64
>>> Trees: local/main stable/main
>>> 
>>> 
>>> Any thoughts as to what might be wrong?
>>> 
>>> 
>>> Cheers,
>>> Max
>> 
>> I’ve never seen this myself, either on an upgraded setup or a clean bootstrap.  What’s in your sources.list ?
>> 
>> —akh
> 
> I was getting this too. I still had the line
> deb http://bindist.finkmirrors.net/10.11 stable main
> in my sources.list even after disabling the bindist in fink.conf. Commenting it out seems to work.
> 
> Because I had the bindist active before updating to 10.11 it seems fink just changed the line from 10.10 to 10.11. Could this be because I updated my OS before fink? I did have to manually download and install the newer fink version because I didn’t update it first.
> 
> Daniel
> 

Disabling the bindist in fink.conf just disables usage of the bindist by the “fink” command (or at least that’s the intention).  

Without seeing a sources.list I can’t actually say anything.  If I had to guess, that guess would be that there is an entry under "# Official binary distribution: download location for packages  # from the latest release” and a duplicate entry elsewhere in that file at the beginning or at the bottom.  

Also, the "Install Fink.tool" script may still be creating a bindist entry at the bottom of sources.list as a holdover from the period when we had a 10.9 bindist but it wasn’t enabled in the fink code, so if you used that on a clean install you might be getting a duplication message.

-- 
Alexander Hansen, Ph.D.
Fink User Liaison


------------------------------------------------------------------------------
_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.