Find the answer to your Linux question:
Results 1 to 4 of 4
I have problems whenever I run apt-get update , it shows errors like 404 package not found and ignoring file as it has an invalid filename extension, can you show ...
  1. #1
    Just Joined!
    Join Date
    Dec 2011
    Posts
    5

    How sources.list should look like?

    I have problems whenever I run apt-get update , it shows errors like
    404 package not found and ignoring file as it has an invalid filename extension,

    can you show me some average sources.list to check what's basic stuff I should add.

    I added some packages there like dropbox and other repositories, so probably something of that is causing problems.
    Or maybe even sources.list.d , I think I saw an error in that file


    Thanks for any help

  2. #2
    Linux Newbie
    Join Date
    Sep 2007
    Posts
    137
    Hello and welcome.

    Here's what I normally use, set for the US mirror. Are the enabled (uncommented) repos different or the same as yours?

    Code:
    # Squeeze Security
    deb http://security.debian.org/ squeeze/updates main contrib non-free
    deb-src http://security.debian.org/ squeeze/updates main contrib non-free
    
    # Squeeze Volatile
    # deb http://volatile.debian.org/debian-volatile squeeze/volatile main
    # deb-src http://volatile.debian.org/debian-volatile squeeze/volatile main
    
    # Squeeze
    deb http://ftp.us.debian.org/debian/ squeeze main contrib non-free
    deb-src http://ftp.us.debian.org/debian/ squeeze main contrib non-free
    
    # Multimedia
    deb http://www.debian-multimedia.org squeeze main non-free
    deb-src http://www.debian-multimedia.org squeeze main non-free
    
    # VirtualBox
    # sudo wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
    # deb http://download.virtualbox.org/virtualbox/debian squeeze contrib non-free
    
    # Debian Backports
    # wget -O - http://backports.org/debian/archive.key | sudo apt-key add -
    deb http://backports.debian.org/debian-backports squeeze-backports main
    
    # Skype
    # deb http://download.skype.com/linux/repos/debian/ stable non-free

  3. #3
    Just Joined!
    Join Date
    Dec 2011
    Posts
    5
    Thank you very much for help
    I copied some repositories I was missing and removed some unnecessary. I had even some duplicates,
    404 errors are cleaned now I only have errors saying
    Ignoring file 'dropbox.list.save' in directory '/etc/apt/sources.list.d/ as it have bad file extension
    all in sources.list.d
    I checked it , and all are duplicates like dropbox.list and dropbox.list.save, opera.list and opera.list.save, etc., I removed 'em, and now no errors at all

  4. #4
    Linux Newbie
    Join Date
    Sep 2007
    Posts
    137
    Glad you got it working.

    If needed (or curious), here's a page with some useful links and a long list of sources:
    My Debian sources.list

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •