SEARCH

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

You are not logged in.

#1 2013-10-22 15:59:55

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

How to update a fresh Waldorf install during DDoS

This how-to is specifically about making sure you don't break your system due to the Waldorf repo being down during a DDoS attack.  This may sound like a suspiciously specific scenario, but at the moment of this writing, it happens to be true.

This how-to assumes you are familiar with the Debian installer, at least one APT front-end, and sudo, and that you have no hardware problems.  If you're new to Debian, you might want to search the forum for those subjects; there are plenty of threads here that cover them extensively.

Also, this how-to was specifically written for surviving a fresh install while the server hosting Waldorf is down, but may be useful to people interested in migrating a Waldorf install to Jessie/Testing or Sid/Unstable, since removing the Waldorf repo is usually recommended in those cases as well.

After a fresh install, you will see a terminal window welcoming you to CrunchBang and offering to update your system.  Due to the DDoS attack on the repo server, some steps need to be taken to keep from breaking the system.

  1. Open /etc/apt/sources.list with your favorite text editor and comment out the line for the Waldorf repo.
    If you have any third-party repos that you usually use, such as the Debian Mozilla or deb-multimedia repos, it should be safe to add them to your /apt/get/sources.list at this point.

  2. The version of tint2 in Waldorf conflicts with the newer version in Wheezy and is not cleanly removed during a dist-upgrade.  The easiest way to deal with this is to simply purge tint2conf with your favorite APT front-end before updating and upgrading.

  3. You should now be able to update and dist-upgrade without incident.

When you reboot, you will probably see the Debian swirl in GRUB.  Don't panic!  You have not released the magic CrunchBang smoke; updating a fresh install without the Waldorf repo simply installs new versions of GRUB and linux-base from Debian.

If you have come to this post because you've already tried to upgrade and have broken X, don't panic.  First, switch to a tty, login, and comment out the Waldorf repo in /etc/apt/sources.list.  Then purge tint2 and tint2conf, then reinstall tint2; you should now be able to successfully login after a reboot.  If X is still broken, please start a new help & support thread.

Last edited by pvsage (2013-10-22 16:58:28)

Offline

Help fund CrunchBang, donate to the project!

#2 2013-10-22 16:05:22

bauwle
#! Member
Registered: 2013-07-29
Posts: 58

Re: How to update a fresh Waldorf install during DDoS

so tint2 was the problem. big thanks

Offline

#3 2013-10-22 16:13:47

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

Re: How to update a fresh Waldorf install during DDoS

Specifically tint2conf; post edited and emphasis added.  I'll add some more about fixing a tint2conf-broken install after I get caught up on recent posts. cool

Offline

#4 2013-10-22 16:19:03

neovoid
New Member
Registered: 2013-10-22
Posts: 6

Re: How to update a fresh Waldorf install during DDoS

Thank you for this How-to.
I am planning to upgrade to testing after a new install of #!
Can you also please clarify what has to be done after the Crunchbang Repos are back?

Last edited by neovoid (2013-10-22 16:20:21)

Offline

#5 2013-10-22 16:36:33

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

Re: How to update a fresh Waldorf install during DDoS

@neovoid:  If you have upgraded to Testing, it is probably best to leave the Waldorf repo behind.  If you're sticking with Waldorf/Wheezy stable (without or with backports), simply re-enabling Waldorf in your sources.list and running an update/dist-upgrade should be enough to bring your install back to a full Waldorf install.  Obviously, I haven't had a chance to test this yet; you may need to specify Waldorf as the target for a few packages like tint2. 8o

Offline

#6 2013-10-22 16:38:14

bauwle
#! Member
Registered: 2013-07-29
Posts: 58

Re: How to update a fresh Waldorf install during DDoS

is there a way to remove the debian swirl?

Offline

#7 2013-10-22 16:48:57

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

Re: How to update a fresh Waldorf install during DDoS

@bauwle:  I'm sure there is, but I haven't looked into it.  You should also be able to set the color scheme back to the CrunchBang-standard gray-on-black.

Offline

#8 2013-10-22 16:56:42

neovoid
New Member
Registered: 2013-10-22
Posts: 6

Re: How to update a fresh Waldorf install during DDoS

pvsage wrote:

@neovoid:  If you have upgraded to Testing, it is probably best to leave the Waldorf repo behind.

In short, does this basically also mean that someone who is just interested in switching to jessie after a clearn #! install isn't affected by situation, anyway ??

Offline

#9 2013-10-22 17:02:01

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

Re: How to update a fresh Waldorf install during DDoS

^ In short, yes. cool  To elaborate, since Waldorf is based on Wheezy, leaving it in your /etc/apt/sources.list (and /etc/apt/preferences) when migrating to Testing or Wheezy can cause package breakage as the few packages in Waldorf become older.

Offline

#10 2013-10-22 17:12:36

neovoid
New Member
Registered: 2013-10-22
Posts: 6

Re: How to update a fresh Waldorf install during DDoS

^ excellent smile But what's the point with purging this tint2conf package then?
I would not have done this when i wanted to upgrade to jessie some days ago...

Last edited by neovoid (2013-10-22 17:14:01)

Offline

#11 2013-10-22 17:24:56

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

Re: How to update a fresh Waldorf install during DDoS

I think that, with Waldorf pinned much higher than the Debian repos, the Waldorf version of Tint2 doesn't normally get upgraded to the one in Debian.  It's only a problem if the Waldorf repo is commented out/removed, which makes its pinning irrelevant.

Offline

#12 2013-10-22 23:23:28

coelacanth
New Member
From: USA
Registered: 2013-02-01
Posts: 9

Re: How to update a fresh Waldorf install during DDoS

Noobish question here. Commented out Waldorf from /etc/apt/sources.list, apt-get purged tint2conf, apt-get removed tint2. apt-get installed tint2, it installed the "previously selected" SVN package. This time apt-get purged tint2, attempted reinstall and got the same answer. What gives?

EDIT: *facepalm* Dear lord, forgot to update before reinstalling. Please excuse me.

EDIT 2: Well it keeps reinstalling the SVN version but everything seems fine after reboot. My bad everyone.

Last edited by coelacanth (2013-10-22 23:36:31)

Offline

#13 2013-10-23 05:13:47

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

Re: How to update a fresh Waldorf install during DDoS

Strange.  Try `sudo apt-get install -t wheezy tint2`?

Offline

#14 2013-10-23 18:29:53

librefan
New Member
Registered: 2012-03-06
Posts: 8

Re: How to update a fresh Waldorf install during DDoS

Many thanks for the howto, pvsage. Apt reported a problem with Tint2 but I survived a couple of days with this and didn't notice untoward.

I'm a bit sad not to see the Debian swirl anywhere, nothing has changed for me. The grub screen is taken up by Bodhi Linux, and it's drab to say the least, and the login screen is definitely #!crunchybangy :-)

In fact, in view of what has happened to the Waldorf repository, it could be a good thing to tell us what's in it. According to what you say, it seems we can do without it. Perhaps we'd missed some piped menus, and of course the welcome script which isn't essential. There must be other more important stuff.

I was planning to show a friend how to install #! instead of bloated Lubuntu, now that I've used it for a while and am going to keep it —since this very nice distro has gone back to Iceweasel—but perhaps I'd better wait until the Waldorf repository has moved to a safer place?

Offline

#15 2013-10-23 20:46:21

coelacanth
New Member
From: USA
Registered: 2013-02-01
Posts: 9

Re: How to update a fresh Waldorf install during DDoS

pvsage wrote:

Strange.  Try `sudo apt-get install -t wheezy tint2`?

Got this

E: The value 'tint2' is invalid for APT::Default-Release as such a release is not available in the sources

EDIT: Disregard this, DDoS is done and I upgraded OK

Last edited by coelacanth (2013-10-23 22:24:10)

Offline

#16 2014-08-28 06:33:53

m.akram
New Member
Registered: 2014-08-28
Posts: 1

Re: How to update a fresh Waldorf install during DDoS

I was planning to show a friend how to install #! instead of bloated Lubuntu, now that I've used it for a while and am going to keep it —since this very nice distro has gone back to Iceweasel—but perhaps I'd better wait until the Waldorf repository has moved to a safer place?


Get  demos for brain dumps.com and HP with 100% success guaranteed. Our high quality University of Cambridge prepares you well before appearing in the final exams of wikipedia .

Offline

#17 2014-08-28 06:52:04

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

Re: How to update a fresh Waldorf install during DDoS

^ I don't understand the last part of this.  How is the current location unsafe?  It's been nearly a year since the DDoS, and as far as I know that was the only time the repo got hit.  The forum itself has taken a couple minor hits too, but those were very small things, most likely run through zombie PCs.  Whether any of these were random attacks or vengeance, and whether we were the intended target or collateral damage, has never been determined, but no site is completely "safe" from such attacks.

At any rate, Waldorf itself is less than a year away from being Oldstable, and as far as I know corenominal still plans to have the Janice repo at the same domain...

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.
Server: acrobat

Debian Logo