SEARCH

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

You are not logged in.

#1 2014-12-10 01:47:45

tknomanzr
#! Die Hard
From: Heavener, OK
Registered: 2014-12-09
Posts: 777

My Experience Upgrading Crunchbang to Jessie Repos

Hey all,
I'm new to the forums here but have been running Crunchbang Waldorf steadily for close to a year now. Recently, for fun, I decided to see if I could get Crunchbang to run on Jessie's repos. I got it working and will post a screen of my desktop in the appropriate place later. I did however, have some hiccups. I thought I would post the problems and work-arounds here in case it might be helpful to others and also so I have a record in case I really manage to break something.
First I edited /etc/apt/sources.list. I commented out the Waldorf repos and also I had some backports enabled, so I commented out that section as well, then changed the Wheezy repos to reflect Jessie. (Could have done Testing but decided to let the system settle and get stable for a time. I may change it to testing or sid later.)

## 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 jessie main contrib non-free
#deb-src http://http.debian.net/debian wheezy main contrib non-free

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

## DEBIAN MULTIMEDIA
deb http://www.deb-multimedia.org jessie main non-free

## BACKPORTS
#deb http://http.debian.net/debian wheezy-backports main

Next:
sudo apt-get update
sudo apt-get dist-upgrade

apt-get complained so I did:  apt-get -f dist-upgrade. Then dpkg decided to drop out and complain so I issued
dpkg --reconfigure
sudo apt-get -f dist-upgrade

I had to re-run this all three times to finally get everything except bluez installed. (I didn't need it as this laptop doesn't have bluetooth support anyway.) Wine was listed with critical bugs but appeared to work post-install. Some other stuff listed but nothing essentially broke my system.

Upon reboot on the new kernel some stuff needed fixing. I booted into console mode. Startx would not run complaining that $DISPLAY was not set so:
export DISPLAY=localhost:0,0
I was then able to issue startx and the DE came up.
I then noticed that slim had not started, along with NetworkManager. This is due to systemd doing things a bit differently, so it was time to get them up and running:
sudo systemctl enable slim.service
sudo systemctl enable NetworkManager

I then rebooted and everything came up. Tint2 was working coincidentally.
I did have a couple of more issues:
1. X-screensaver login window completely locked up on me so I just disabled it for the time being. I needed to turn off it's power management functions because....
2. Systemd was not playing nice with xfce-power-manager and presumably x-screensaver power management functions. With xfce-power-manager, I am pretty sure it has just not been updated to work with SystemD yet. So I decided to disable SystemD's power management functions and go with xfce-power-manager for the time being.
The relevant portion of the file I edited to turn systemd's power management fuctions off is /etc/systemd/logind.conf and I changed all of the following from their defaults to off:

HandlePowerKey=poweroff
HandleSuspendKey=suspend
HandleHibernateKey=hibernate
HandleLidSwitch=ignore
PowerKeyIgnoreInhibited=off
SuspendKeyIgnoreInhibited=off
HibernateKeyIgnoreInhibited=off
LidSwitchIgnoreInhibited=off

So far everything runs great. I still have a few things to fix up and I want to work on optimizing boot, etc via systemd

Last edited by tknomanzr (2014-12-10 01:51:14)

Offline

Help fund CrunchBang, donate to the project!

#2 2014-12-10 02:31:13

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

Re: My Experience Upgrading Crunchbang to Jessie Repos

GRUB_CMNDLINE_LINUX_DEFAULT="init=/bin/systemd"

Offline

#3 2014-12-10 02:44:52

tknomanzr
#! Die Hard
From: Heavener, OK
Registered: 2014-12-09
Posts: 777

Re: My Experience Upgrading Crunchbang to Jessie Repos

GRUB_CMNDLINE_LINUX_DEFAULT="init=/bin/systemd"

Offline

#4 2014-12-10 03:07:56

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

Re: My Experience Upgrading Crunchbang to Jessie Repos

The fastest boot to userspace I've had, on a basic crunchbang jessie installation, has been 2.8sec. Zap that win partition!  devil

Seriously though, if you hold man-db until the dist-upgrade has finished, then unhold and upgrade it, I find that those dpkg errors don't occur.

Offline

#5 2014-12-10 03:15:05

tknomanzr
#! Die Hard
From: Heavener, OK
Registered: 2014-12-09
Posts: 777

Re: My Experience Upgrading Crunchbang to Jessie Repos

Cool because that had me sweating, like what am I breaking? monkey
Im booting up in about 1 minutes 30 seconds atm. About 20 seconds longer than Crunchbang took prior to the upgrade. Stuff just doesn't seem optimized atm though so that's my next task.

Offline

#6 2014-12-10 03:43:19

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

Re: My Experience Upgrading Crunchbang to Jessie Repos

Get the services startup info with

systemd-analyze blame

Turn off everything you don't need, so it doesn't start next time, with

sudo systemctl disable name.service

I mean, who needs modemmanager starting up?

Offline

#7 2014-12-10 07:42:35

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: My Experience Upgrading Crunchbang to Jessie Repos

systemd-analyze critical-chain

Offline

#8 2014-12-10 18:05:07

Alad
Software Satan
Registered: 2014-02-20
Posts: 1,512

Re: My Experience Upgrading Crunchbang to Jessie Repos

systemctl mask upower.service
systemctl mask udisks2.service
systemctl mask colord.service
systemctl mask avahi-daemon.service
systemctl mask avahi-daemon.socket

Last edited by Alad (2014-12-10 18:05:18)

Offline

#9 2014-12-11 04:59:36

tknomanzr
#! Die Hard
From: Heavener, OK
Registered: 2014-12-09
Posts: 777

Re: My Experience Upgrading Crunchbang to Jessie Repos

Following these suggestions and installing readahead, I was able to trim boot time from 1 minutes 30 seconds down to 45, without auto-login and booting up from a USB drive. Thanks for the suggestions!

Offline

#10 2014-12-12 21:54:37

common-sense
#! CrunchBanger
Registered: 2014-09-08
Posts: 130

Re: My Experience Upgrading Crunchbang to Jessie Repos

answered old post. deleted.

Last edited by common-sense (2014-12-12 21:57:19)

Offline

#11 2014-12-17 19:22:50

zubcho81
#! CrunchBanger
From: Sofia, Bulgaria
Registered: 2012-08-12
Posts: 209

Re: My Experience Upgrading Crunchbang to Jessie Repos

Can systemd be avoided when the upgrade is made?


Dried frog pills
As their name suggests, these are pills made chiefly from frogs, specifically the extremely poisonous ones that live in the vivarium at Unseen University and handled by the first-year students, so that if they kill one of them, not too much education has been wasted.

I use them daily! tongue

Offline

#12 2014-12-17 19:28:57

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

Re: My Experience Upgrading Crunchbang to Jessie Repos

Last edited by damo (2014-12-17 19:31:13)

Offline

#13 2015-01-11 22:23:12

jalexander9
#! Member
From: USA
Registered: 2014-05-16
Posts: 86

Re: My Experience Upgrading Crunchbang to Jessie Repos

Made the conversion to Jessie, on this "TESTING" weekend....and success..so far.

Still have to add the /etc/apt/sources.list line entries mentioned in post no.1  by tknomanzr.

Thanks, also to benjinm, for his recommended 5 step CLI procedure for upgrading from wheezy to jessie.


Intel Pentium 4 150 GB HDD 4 GB RAM

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: bleh

Debian Logo