SEARCH

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

You are not logged in.

#1 2011-11-30 11:24:46

machinebacon
#! unstable
From: China
Registered: 2009-07-02
Posts: 6,826
Website

HowTo: Upgrade the #! Point Release to sid

nano /etc/apt/sources.list

Last edited by machinebacon (2015-01-25 03:02:51)

Offline

Help fund CrunchBang, donate to the project!

#2 2011-11-30 12:39:15

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,749

Re: HowTo: Upgrade the #! Point Release to sid

nice howto!

Does the new #! release have the root account unlocked? I see you using su to configure sudo. If the account is not unlocked, I would do so, because if sudo gets borked on the upgrade, well, it's not fun.

sudo passwd root

And enter your new root password. From then on you can open a root shell with su - (opens it in root's home folder), or su (opens it in the folder you're in at the time), or login at the console as root.

If memory serves me well, when I did the d-u last time (that was on the old image), I had to remove tint2 for the process to complete. In general, if you run into trouble during the upgrade, the following steps typically apply (i know they helped me):

dpkg --configure -a
apt-get install -f
apt-get dist-upgrade

An extra security measure (as in, if you wanna be super paranoid) once you've changed the sources is to only download the packages, and drop to a root shell to complete the upgrade:

sudo apt-get dist-upgrade -d

Reboot, choose recovery mode at Grub prompt. Once logged in:

apt-get dist-upgrade

This leaves most services disabled, so there's less chance of major breakage. Though machinehippy's instructions should do fine, he is the resident Sid guru around here.

Offline

#3 2011-11-30 12:57:25

machinebacon
#! unstable
From: China
Registered: 2009-07-02
Posts: 6,826
Website

Re: HowTo: Upgrade the #! Point Release to sid

Thanks L-Ko for the input.

It happened that $USER was not in sudoers, that's why I wrote in the instructions that - if somebody is really wanting sudo -  the $USER has to be added, using su.
I got used to using su in Debian, actually sidux/aptosid forced me to it. Basically, it boils down to "use elevated privileges to perform the changes and upgrade", they won't work with a normal account anyway big_smile

The tint2 doesn't need to be changed, you are right that it really needed a removal/reinstall in the previous #!->Sid (or Sid + #!), but now it is going well. I have just finished the transition (and was actually writing the howto while doing it) and I didn't run into any troubles. The only things on hold are lxappearance and conky - these are more or less optional steps, I recommend to hold them (November 30) because else they will definitely not work after the transition, until day X.

The --download-only procedure is of course super-safe (I forgot to mention doing these kinds of dist-upgrades outside of X). It'll be edited in a moment smile

Thanks again for your input!

Offline

#4 2011-11-30 13:04:58

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,749

Re: HowTo: Upgrade the #! Point Release to sid

Last edited by el_koraco (2011-11-30 13:07:40)

Offline

#5 2011-11-30 13:14:11

machinebacon
#! unstable
From: China
Registered: 2009-07-02
Posts: 6,826
Website

Re: HowTo: Upgrade the #! Point Release to sid

^ Damned, too much sidux big_smile

Offline

#6 2011-11-30 14:25:42

Thorny
#! CrunchBanger
Registered: 2011-05-19
Posts: 113

Re: HowTo: Upgrade the #! Point Release to sid

machinebacon,
It shouldn't be necessary to add a discrete entry to the sudoers file for a user, it should be sufficient to add the user to the sudoers group in order to give the user sudo permissions. There should already be a line enabling the users in the sudo group in the sudoers file.

Offline

#7 2011-11-30 14:29:28

machinebacon
#! unstable
From: China
Registered: 2009-07-02
Posts: 6,826
Website

Re: HowTo: Upgrade the #! Point Release to sid

Thanks Thorny, I remove the complete sudo thing.

Offline

#8 2011-11-30 14:41:46

dubois
The Old Codger
From: Missoula, Montana
Registered: 2010-09-03
Posts: 2,238

Re: HowTo: Upgrade the #! Point Release to sid

Offline

#9 2011-11-30 16:37:47

corvo
Member
From: Clovis, California, USA
Registered: 2011-11-29
Posts: 43

Re: HowTo: Upgrade the #! Point Release to sid

May I respectfully suggest to the forum mods that the thread topic be made sticky? This is a thorough and excellent HowTo. smile


"It is vain for the coward to flee; death follows close behind; it is only by defying it that the brave escape." - Voltaire

Offline

#10 2011-11-30 17:01:15

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: HowTo: Upgrade the #! Point Release to sid

Impressive MB!

@El_K  ..  I have had sudo borked in a dist-upgrade and that is no fun!

Offline

#11 2011-11-30 17:13:02

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: HowTo: Upgrade the #! Point Release to sid

Nice stuff machinebacon, very nice indeed.

Offline

#12 2011-11-30 17:32:18

hinto
#! Windbag
From: Cary, NC
Registered: 2010-12-08
Posts: 1,487

Re: HowTo: Upgrade the #! Point Release to sid

Nice.... adding the tweeks to my LMDE-> turn #! distro.
-Hinto

Offline

#13 2011-11-30 18:46:09

sunfizz98
Carbonated Orange Juice
From: su terminal
Registered: 2011-05-12
Posts: 1,876
Website

Re: HowTo: Upgrade the #! Point Release to sid

Excellent HowTo! Will try this soon for my newly installed #! desktop.

However, wouldn't it be wise to remove the #! MM repos in favor of sid's debian multimedia repo?

I will need to replace evince for epdfview to see how that goes and possibly incorporate that into my howto.

Last edited by sunfizz98 (2011-11-30 18:46:40)

Offline

#14 2011-11-30 19:18:16

machinebacon
#! unstable
From: China
Registered: 2009-07-02
Posts: 6,826
Website

Re: HowTo: Upgrade the #! Point Release to sid

^ Sunfizz, thanks for the feedback - the mm repos are commented.... (as I have not tested them yet, and I know that the sid ones definitely work well)

Last edited by machinebacon (2011-11-30 19:18:58)

Offline

#15 2011-11-30 19:25:23

kowloonboy
#! Junkie
Registered: 2011-10-13
Posts: 443

Re: HowTo: Upgrade the #! Point Release to sid

@machinebacon - thanks again for a great HowTo. I will give it another go. smile


"To me, the extraordinary aspect of martial arts lies in its simplicity. The easy way is also the right way, and martial arts is nothing at all special; the closer to the true way of martial arts, the less wastage of expression there is." - Bruce Lee

Offline

#16 2011-11-30 19:29:55

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

Re: HowTo: Upgrade the #! Point Release to sid


Time to move on!#

Offline

#17 2011-11-30 22:57:01

corvo
Member
From: Clovis, California, USA
Registered: 2011-11-29
Posts: 43

Re: HowTo: Upgrade the #! Point Release to sid


"It is vain for the coward to flee; death follows close behind; it is only by defying it that the brave escape." - Voltaire

Offline

#18 2011-12-01 05:21:42

corvo
Member
From: Clovis, California, USA
Registered: 2011-11-29
Posts: 43

Re: HowTo: Upgrade the #! Point Release to sid

Last edited by corvo (2011-12-01 05:23:00)


"It is vain for the coward to flee; death follows close behind; it is only by defying it that the brave escape." - Voltaire

Offline

#19 2011-12-01 05:48:37

machinebacon
#! unstable
From: China
Registered: 2009-07-02
Posts: 6,826
Website

Re: HowTo: Upgrade the #! Point Release to sid

^ The wireless problems could have been resolved, a pity you went back... Next time just save the dmesg output and boot into a LiveUSB, post the problems here or on the Stable forums (xaos52 is the king of network issues) and it will be fixed in no time.

@transition: did you start with the new point release or the "old" February Statler?

@wireless: you could have tried to boot into the old kernel (you should have a newer one thanks to the transition and the old backported one, at least) - no matter which kernel you use, the installation is now Sid

@two nm-applets: usually I'd recommend using everything else but not nm, on the other hand this is a brief (and most probably safe) instruction to move from Squeeze to Sid, so I wanted to stay as close as possible to the original (new) release.

@lxappearance: thanks for pointing out the typo, it's corrected smile

Offline

#20 2011-12-01 06:48:30

corvo
Member
From: Clovis, California, USA
Registered: 2011-11-29
Posts: 43

Re: HowTo: Upgrade the #! Point Release to sid


"It is vain for the coward to flee; death follows close behind; it is only by defying it that the brave escape." - Voltaire

Offline

#21 2011-12-01 07:13:17

machinebacon
#! unstable
From: China
Registered: 2009-07-02
Posts: 6,826
Website

Re: HowTo: Upgrade the #! Point Release to sid

@corvo:
i don't think sid removes your wireless (actually, there should be even more adapters be supported), that's why I think it is a simple configuration problem (which may or may not occur in testing, too)
- remove nm *after* downloading wicd (or ceni from the  aptosid repos, warm recommend)
- to solve the slow thunar startup, remove gvfs-backends
- move to testing: i haven't tested it (and most probably never will), however, I am sure it is okay to follow the instructions - BUT: uncomment the security-repos of debian and change to testing, accordingly.

Last edited by machinebacon (2011-12-01 07:14:29)

Offline

#22 2011-12-02 02:44:46

corvo
Member
From: Clovis, California, USA
Registered: 2011-11-29
Posts: 43

Re: HowTo: Upgrade the #! Point Release to sid


"It is vain for the coward to flee; death follows close behind; it is only by defying it that the brave escape." - Voltaire

Offline

#23 2011-12-02 02:55:13

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: HowTo: Upgrade the #! Point Release to sid

Cool corvo..

smxi is indeed awesome..  I use it for every kernel upgrade and then for all nVidia drivers pkg'd to the new kernel..

Makes life very easy

Offline

#24 2011-12-02 02:57:41

corvo
Member
From: Clovis, California, USA
Registered: 2011-11-29
Posts: 43

Re: HowTo: Upgrade the #! Point Release to sid

Are you using the Debian Sid kernel, VastOne? Or are you using the Aptosid kernel? I wanted to try the Liquorix kernel, but for now I'm using the Debian Sid kernel.

Last edited by corvo (2011-12-02 02:58:08)


"It is vain for the coward to flee; death follows close behind; it is only by defying it that the brave escape." - Voltaire

Offline

Be excellent to each other!

#25 2011-12-02 03:03:30

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: HowTo: Upgrade the #! Point Release to sid

I use the latest Liquorix as my main kernel.. I have both aptosid and Debian's latest kernels also and switch between them.. 

I have more success with Liquorix than any, but YMMV ... And I use smxi to install each of these kernels

Last edited by VastOne (2011-12-02 03:03:40)

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