SEARCH

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

You are not logged in.

#1 2015-02-06 17:31:07

Zoidberg
New Member
Registered: 2015-02-05
Posts: 8

(Solved) How to convert Waldorf default repos to Stable/Wheezy repos?

Due to the latest sad news of Crunchbang being discontinued I thought about reverting to Debian Stable.
Yes, the title may sound lame but I want to be sure not to make a stupid mistake (I use *buntu on regular basis).
I searched Google for "Debian wheezy default repositories" or "Debian stable default repositories" but no ready to copy-paste list found.

Mu current sources.list

## 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

# w,heezy-backports
deb http://http.debian.net/debian/ wheezy-backports main contrib non-free

deb http://http.us.debian.org/debian/ wheezy contrib main

I'd like to have contrib and non-free enabled also.
And what difference is between those two?:

deb http://http.debian.net/debian wheezy main contrib non-free
deb http://http.us.debian.org/debian/ wheezy contrib main

Seem the same to me except one have non-free enabled.

Last edited by Zoidberg (2015-02-06 18:09:33)

Offline

Help fund CrunchBang, donate to the project!

#2 2015-02-06 17:53:06

brontosaurusrex
#! Red Menace
Registered: 2012-06-15
Posts: 1,303

Re: (Solved) How to convert Waldorf default repos to Stable/Wheezy repos?

just disable

# deb http://packages.crunchbang.org/waldorf waldorf main

and move /etc/apt/preferences away, or edit accordingly.

Online

#3 2015-02-06 18:08:18

Zoidberg
New Member
Registered: 2015-02-05
Posts: 8

Re: (Solved) How to convert Waldorf default repos to Stable/Wheezy repos?

I haven't even thought about preferences.
I had:

Package: *
Pin: release a=waldorf
Pin-Priority: 1001

Package: *
Pin: release a=wheezy
Pin-Priority: 500

And changed it to

Package: *
Pin: release a=wheezy
Pin-Priority: 1001

Package: *
Pin: release a=wheezy-backports
Pin-Priority: 500

Thanks for help!

Offline

#4 2015-02-06 18:58:58

brontosaurusrex
#! Red Menace
Registered: 2012-06-15
Posts: 1,303

Re: (Solved) How to convert Waldorf default repos to Stable/Wheezy repos?

Wheezy should be under 1000 (Not that I know how backports are behaving in this game, i'd remove them).
some reading https://wiki.debian.org/AptPreferences

Online

#5 2015-02-06 19:40:22

Zoidberg
New Member
Registered: 2015-02-05
Posts: 8

Re: (Solved) How to convert Waldorf default repos to Stable/Wheezy repos?

Thanks for pointing this out. Luckily I haven't run apt-get update yet, making all the changes on Crunchbang's partition from my Xubuntu. However it wouldn't be much of a tragedy if I did. I've made a backup yesterday.
I've found this http://serverfault.com/questions/22414/ … om-testing
And now my sources list looks like so (decided to add testing, so I can use apt-get -t testing install if needed):

#security.list:
deb     http://security.debian.org/         stable/updates  main contrib non-free
deb     http://security.debian.org/         testing/updates main contrib non-free

#stable.list:
deb     http://mirror.steadfast.net/debian/ stable main contrib non-free
#deb-src http://mirror.steadfast.net/debian/ stable main contrib non-free
deb     http://ftp.us.debian.org/debian/    stable main contrib non-free
#deb-src http://ftp.us.debian.org/debian/    stable main contrib non-free

deb     http://mirror.steadfast.net/debian/ testing main contrib non-free
#deb-src http://mirror.steadfast.net/debian/ testing main contrib non-free
deb     http://ftp.us.debian.org/debian/    testing main contrib non-free
#deb-src http://ftp.us.debian.org/debian/    testing main contrib non-free

And preferences looks like this:

Package: *
Pin: release l=Debian-Security
Pin-Priority: 1000

Package: *
Pin: release a=stable
Pin-Priority: 995

Package: *
Pin: release a=testing
Pin-Priority: 750

Offline

#6 2015-02-06 20:28:58

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

Re: (Solved) How to convert Waldorf default repos to Stable/Wheezy repos?

^ Debian considers it a generally bad idea to mix stable and testing on the same install; that's why they have the backports and updates repos.

As bronto suggested, I'd just remove /etc/apt/preferences so that backports would be pinned low and switch back to wheezy and wheezy-backports.  Also, it's typically redundant to have multiple repos in /etc/apt/sources.list for the same stream (e.g. you currently have two mirrors listed for stable).  Here's what I would recommend if you want to stick with wheezy once jessie goes stable:

#security.list:
deb     http://security.debian.org/         wheezy/updates  main contrib non-free

#stable.list:
deb     http://ftp.us.debian.org/debian/    wheezy main contrib non-free
#deb-src http://ftp.us.debian.org/debian/    wheezy main contrib non-free

deb     http://ftp.us.debian.org/debian/    wheezy-backports main contrib non-free
#deb-src http://ftp.us.debian.org/debian/    wheezy-backports main contrib non-free

(Backports is automatically pinned at 100 by its Release Files, see here.  Leaving it pinned that low is generally considered the safest way to use it with stable.)

Offline

#7 2015-02-06 20:33:34

Zoidberg
New Member
Registered: 2015-02-05
Posts: 8

Re: (Solved) How to convert Waldorf default repos to Stable/Wheezy repos?

Ok. I'll stick to the sources.list you suggested. And removing preferences.

Offline

#8 2015-02-09 06:12:23

Graybyrd
Member
Registered: 2012-04-01
Posts: 24

Re: (Solved) How to convert Waldorf default repos to Stable/Wheezy repos?

@pvsage: Thank you for that repo list update. I'm now running solid Wheezy stable; the dist-upgrade was minor (with a forced update of tint2) and I'm set.  big_smile

Offline

#9 2015-02-09 09:46:58

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

Re: (Solved) How to convert Waldorf default repos to Stable/Wheezy repos?

Oh, yes...Tint2.  The easier way would have been to purge tint2 and tint2conf first, then reinstall tint2.  The version of tint2 that comes with Waldorf was one of the handful of packages that corenominal built from a git-pull, and the functionality of tint2conf has since been added to the main tint2 package.  That's why there was a problem updating it.

Offline

#10 2015-02-09 14:37:28

kenwong
#! CrunchBanger
From: Hong Kong
Registered: 2009-07-26
Posts: 165

Re: (Solved) How to convert Waldorf default repos to Stable/Wheezy repos?

Why would one need to remove the waldorf depo? Is it a better strategy? Would there any potential issue if I keep it unchanged?

Offline

#11 2015-02-09 14:43:09

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 4,440

Re: (Solved) How to convert Waldorf default repos to Stable/Wheezy repos?

kenwong wrote:

Why would one need to remove the waldorf depo? Is it a better strategy? Would there any potential issue if I keep it unchanged?

You would have to stay with wheezy, and won't be able to dist-upgrade to jessie.


Artwork at deviantArt;  Iceweasel Personas;  SLiM #! Themes;  Openbox themes

Online

#12 2015-02-09 15:26:06

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

Re: (Solved) How to convert Waldorf default repos to Stable/Wheezy repos?

kenwong wrote:

Why would one need to remove the waldorf depo? Is it a better strategy? Would there any potential issue if I keep it unchanged?

It's a good idea to remove the Waldorf repo at this point whether you plan to migrate to Jessie or stay with Wheezy/Waldorf.  Several of the binaries in Waldorf were newer builds when Waldorf was released, but have been superseded by versions in Wheezy.  At the absolute least, Waldorf's pinning should be reduced to 500 or less, and preferably lower than Wheezy's.

Expect to have to purge tint2 and tint2conf and reinstall tint2; the separate tint2conf causes a versioning conflict that gives APT a headache.

Offline

#13 2015-02-09 16:28:03

kenwong
#! CrunchBanger
From: Hong Kong
Registered: 2009-07-26
Posts: 165

Re: (Solved) How to convert Waldorf default repos to Stable/Wheezy repos?

Thanks damo and pvsage.

Gone through the steps just now.  Only that whenever I check on "Restart tint2" in menu, it gives me this message: (Openbox) Failed to execute child process "tint2restart" (No such file or directory)".  Is it possible to fix it?

Offline

#14 2015-02-09 16:39:49

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 4,440

Re: (Solved) How to convert Waldorf default repos to Stable/Wheezy repos?

kenwong wrote:

Thanks damo and pvsage.

Gone through the steps just now.  Only that whenever I check on "Restart tint2" in menu, it gives me this message: (Openbox) Failed to execute child process "tint2restart" (No such file or directory)".  Is it possible to fix it?

Does tint2 start OK if you just use the command?

tint2 &

tint2restart is just a simple bash script. Make sure you have it:

which tint2restart

If it is missing, then create it and make it executable

#!/bin/bash
# ----------
# Simple script to restart tint2

if [ "$(pidof tint2)" ]; then
    killall tint2 && sleep 1s && tint2 &
    exit 0
else
    tint2 &
    exit 0
fi

Artwork at deviantArt;  Iceweasel Personas;  SLiM #! Themes;  Openbox themes

Online

#15 2015-02-09 16:53:10

kenwong
#! CrunchBanger
From: Hong Kong
Registered: 2009-07-26
Posts: 165

Re: (Solved) How to convert Waldorf default repos to Stable/Wheezy repos?

damo wrote:

Does tint2 start OK if you just use the command?

tint2 &

Yes, tint2 can start normally.

Offline

#16 2015-02-09 17:54:30

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 4,440

Re: (Solved) How to convert Waldorf default repos to Stable/Wheezy repos?

So there you go then. Restart it manually, or check the script is OK.


Artwork at deviantArt;  Iceweasel Personas;  SLiM #! Themes;  Openbox themes

Online

#17 2015-02-10 03:31:57

seraphtrend
#! Member
From: Florida
Registered: 2011-12-03
Posts: 74

Re: (Solved) How to convert Waldorf default repos to Stable/Wheezy repos?

where do i find the file to edit tint2 restart?

Offline

#18 2015-02-10 10:41:04

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 4,440

Re: (Solved) How to convert Waldorf default repos to Stable/Wheezy repos?

seraphtrend wrote:

where do i find the file to edit tint2 restart?

I already told you. If it is an executable script, the path will be shown by

which tint2restart

You can also use "whereis", "find", "locate" etc etc to find files on a linux system.

Last edited by damo (2015-02-10 10:41:56)


Artwork at deviantArt;  Iceweasel Personas;  SLiM #! Themes;  Openbox themes

Online

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