SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2013-07-01 04:10:19

powercat
New Member
Registered: 2013-07-01
Posts: 3

(Solved) Broke my apt sources.list, help me get it back.

Whats up crunchbang

I ended up messing my sources.list, and can't get it back to normal.

Currently the file looks like this
I'm not sure it's the default, but I found it on http://crunchbang.org/forums/viewtopic.php?pid=318477

## CRUNCHBANG
## Compatible with Debian Wheezy, but use at your own risk.
deb http://packages.crunchbang.org/waldorf waldorf main
# deb-src http://packages.crunchbang.org/waldorf waldorf main

## DEBIAN
deb http://http.debian.net/debian wheezy main contrib non-free
# deb-src http://http.debian.net/debian wheezy main contrib non-free

## DEBIAN SECURITY
deb http://security.debian.org/ wheezy/updates main
# deb-src http://security.debian.org/ wheezy/updates main

When I run apt-get update:

powercat@laptop:~$ sudo apt-get update
Get:1 http://http.debian.net wheezy Release.gpg [1,229 B]
Get:2 http://http.debian.net wheezy Release [1,229 B]                         
Ign http://http.debian.net wheezy Release                                     
E: GPG error: http://http.debian.net wheezy Release: The following signatures were invalid: NODATA 1 NODATA 2

I think I'm really using whaldorf:

powercat@laptop:~$ cat /etc/lsb-release-crunchbang
DISTRIB_ID=CrunchBang
DISTRIB_RELEASE=11
DISTRIB_CODENAME=waldorf
DISTRIB_DESCRIPTION="CrunchBang 11 waldorf"

Googling around for E: GPG error: http://http.debian.net wheezy Release: The following signatures were invalid: NODATA 1 NODATA 2 doesn't give any exact result, only similar error messages, and I don't understand what's going on.

Anyone has any ideas for me?
Thanks.

Last edited by powercat (2013-07-01 13:58:44)

Offline

Help fund CrunchBang, donate to the project!

#2 2013-07-01 04:15:25

powercat
New Member
Registered: 2013-07-01
Posts: 3

Re: (Solved) Broke my apt sources.list, help me get it back.

Erm.. this is really embarassing... I went to http://http.debian.net/ only to find out that the mcdonald's internet had blocked that URL from the firewall, so it was getting a blocked page and probably freaking out.

Problem solved, connected to another wifi network lol

Offline

#3 2013-07-01 05:16:34

DebianJoe
#! Code Whisperer
From: The Bleeding Edge
Registered: 2013-03-13
Posts: 1,207
Website

Re: (Solved) Broke my apt sources.list, help me get it back.

powercat wrote:

...to find out that the mcdonald's internet...

Spoken like a true Nixer. big_smile  Free wifi! 

Please mark your thread as (Solved).

Offline

#4 2013-07-01 07:31:31

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 13,956

Re: (Solved) Broke my apt sources.list, help me get it back.

@powercat:  I think you'll find that the Debian Repo Redirector (http.debian.net), which is in the default CrunchBang /etc/apt/sources.list, is more trouble than it's worth.  It is a good idea, but far too prone to failure for my taste.  I'd replace that with a local mirror or the main Debian repo at ftp.debian.org.

Welcome to Club#!!

Offline

#5 2013-07-01 09:34:56

vic
#! by Default
From: /grill
Registered: 2009-02-13
Posts: 3,340

Re: (Solved) Broke my apt sources.list, help me get it back.

When messing with source list & config stuff, the wise man takes a copy & paste into documents folder first, a true Nixer just #!  big_smile


Time to move on!#

Casual - A nano opera

Offline

#6 2013-07-01 09:36:53

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 13,956

Re: (Solved) Broke my apt sources.list, help me get it back.

@vicshrike:  OP's sources list was 100% stock.

Offline

#7 2013-07-01 14:00:35

powercat
New Member
Registered: 2013-07-01
Posts: 3

Re: (Solved) Broke my apt sources.list, help me get it back.

I had actually messed it up before with lots of things that werent supposed to be there. let's say im not very linux experienced, I think I had repos for other distributions.

Luckily the link I found above had the stock sources.list!

Thanks all. #! is the one I've been runing on my eeepc, it's working nicely

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo