You are not logged in.
I have referred to this so many times now that I decided to dedicate a thread to it.
Follow these instructions to upgrade:
(1) edit /etc/apt/sources.list
uncomment the backports repository by removing the leading '#'
(2) edit /etc/apt/preferences
See this link http://crunchbanglinux.org/forums/post/142270/#p142270
(3) update your index of packages
sudo apt-get update
(4) install the newest kernel
for 64-bit architecture:
sudo apt-get install -t squeeze-backports linux-image-3.2.0-0.bpo.4-amd64
for 32-bit
sudo apt-get install -t squeeze-backports linux-image-3.2.0-0.bpo.4-686-pae
Use
uname -r
to find out what your architecture is.
(5) Reboot into the new kernel
Installing the new kernel adds two entries to the GRUB menu. Select the top entry.
If you have problems booting into the new kernel, you can use the older kernel - it will now be the third entry in your GRUB menu.
Edit: Updated for bpo.4
Last edited by xaos52 (2012-11-22 19:40:51)
bootinfoscript - emacs primer - wireless problems- I ♥ #!
Offline
Great! Quick reference list!
Time to move on!#
Offline
Thank you. Much appreciated
Offline
and I don;t get this part - (1) edit /etc/apt/sources.list
uncomment the backports repository by removing the leading '#'
Offline
and I don;t get this part - (1) edit /etc/apt/sources.list
uncomment the backports repository by removing the leading '#'
Can you show us what is in '/etc/apt/sources.list'
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
Thanks xaos52 Squeeze is ultra stable but it's nice to have a howto that will help those needing to upgrade their kernel to solve any problems they are having.
Offline
great work!
I made a small script whose purpose is to upgrade Debian Squeeze to Debian Squeeze Backports, see it at:
https://edpsblog.wordpress.com/2012/09/ … backports/
thank you guys for all work!
Last edited by edps (2015-03-29 21:12:29)
Offline
What do you mean exactly for the first step?
I've tried exverything including
sudo edit /etc/apt/sources.list/
but it shows me this:
Warning: unknown mime-type for "/etc/apt/sources.list" -- using "application/octet-stream"
Error: no "edit" mailcap rules found for type "application/octet-stream
Offline
What do you mean exactly for the first step?
I've tried exverything includingsudo edit /etc/apt/sources.list/
You need to replace "edit" with the name of the editor you would like to use. If you are using Statler, this will be "gedit" or "nano"
sudo gedit /etc/apt/sources.list
Before you do this, are you absolutely sure you need the backports kernel? Don't install it unless you know you need it.
Last edited by pidsley (2012-09-29 01:19:27)
Offline
I've tried updating but get the following
david@crunchbang-work:~$ sudo apt-get update
Hit http://dl.google.com stable Release.gpg
Ign http://dl.google.com/linux/chrome/deb/ stable/main Translation-en
Hit http://ftp.uk.debian.org squeeze Release.gpg
Ign http://ftp.uk.debian.org/debian/ squeeze/contrib Translation-en
Ign http://ftp.uk.debian.org/debian/ squeeze/contrib Translation-en_GB
Ign http://ftp.uk.debian.org/debian/ squeeze/main Translation-en
Ign http://ftp.uk.debian.org/debian/ squeeze/main Translation-en_GB
Ign http://ftp.uk.debian.org/debian/ squeeze/non-free Translation-en
Ign http://ftp.uk.debian.org/debian/ squeeze/non-free Translation-en_GB
Ign http://dl.google.com/linux/chrome/deb/ stable/main Translation-en_GB
Hit http://security.debian.org squeeze/updates Release.gpg
Ign http://security.debian.org/ squeeze/updates/main Translation-en
Ign http://security.debian.org/ squeeze/updates/main Translation-en_GB
Hit http://dl.google.com stable Release.gpg
Ign http://dl.google.com/linux/talkplugin/deb/ stable/main Translation-en
Hit http://ftp.uk.debian.org squeeze Release
Ign http://dl.google.com/linux/talkplugin/deb/ stable/main Translation-en_GB
Hit http://dl.google.com stable Release
Hit http://security.debian.org squeeze/updates Release
Hit http://dl.google.com stable Release
Hit http://ftp.uk.debian.org squeeze/main amd64 Packages
Hit http://packages.crunchbang.org statler Release.gpg
Ign http://packages.crunchbang.org/statler/ statler/main Translation-en
Ign http://packages.crunchbang.org/statler/ statler/main Translation-en_GB
Hit http://dl.google.com stable/main amd64 Packages
Hit http://ftp.uk.debian.org squeeze/contrib amd64 Packages
Hit http://ftp.uk.debian.org squeeze/non-free amd64 Packages
Hit http://security.debian.org squeeze/updates/main amd64 Packages
Get:1 http://packages.crunchbang.org squeeze-backports Release.gpg [828 B]
Ign http://packages.crunchbang.org/statler-mozilla/ squeeze-backports/iceweasel-release Translation-en
Ign http://packages.crunchbang.org/statler-mozilla/ squeeze-backports/iceweasel-release Translation-en_GB
Hit http://packages.crunchbang.org statler Release
Hit http://dl.google.com stable/main amd64 Packages
Hit http://packages.crunchbang.org squeeze-backports Release
Ign http://packages.crunchbang.org squeeze-backports Release
Hit http://packages.crunchbang.org statler/main amd64 Packages
Ign http://packages.crunchbang.org squeeze-backports/iceweasel-release amd64 Packages/DiffIndex
Hit http://packages.crunchbang.org squeeze-backports/iceweasel-release amd64 Packages
Fetched 828 B in 0s (1,871 B/s)
Reading package lists... Done
W: GPG error: http://packages.crunchbang.org squeeze-backports Release: The following signatures were invalid: KEYEXPIRED 1352888501
david@crunchbang-work:~$ sudo gedit /etc/apt/sources.list
david@crunchbang-work:~$ sudo apt-get install -t squeeze-backports linux-image-3.2.0-0.bpo.3-amd64
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-image-3.2.0-0.bpo.3-amd64
E: Couldn't find any package by regex 'linux-image-3.2.0-0.bpo.3-amd64'
david@crunchbang-work:~$
## CRUNCHBANG
## Compatible with Debian Squeeze, but use at your own risk.
deb http://packages.crunchbang.org/statler statler main
#deb-src http://packages.crunchbang.org/statler statler main
## CRUNCHBANG MULTIMEDIA
## Debian Multimedia Mirror
#deb http://packages.crunchbang.org/statler-mm squeeze main non-free
#deb-src http://packages.crunchbang.org/statler-mm squeeze main non-free
## CRUNCHBANG MOZILLA
## Debian Mozilla Mirror
deb http://packages.crunchbang.org/statler-mozilla squeeze-backports iceweasel-release
#deb-src http://packages.crunchbang.org/statler-mozilla squeeze-backports iceweasel-release
## DEBIAN
deb http://ftp.uk.debian.org/debian/ squeeze main contrib non-free
#deb-src http://ftp.uk.debian.org/debian/ squeeze main contrib non-free
## DEBIAN SECURITY
deb http://security.debian.org/ squeeze/updates main
#deb-src http://security.debian.org/ squeeze/updates main
## DEBIAN BACKPORTS
#deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free
#deb-src http://backports.debian.org/debian-backports squeeze-backports main contrib non-free
david@crunchbang-work:~$ uname -a
Linux crunchbang-work 2.6.32-5-amd64 #1 SMP Sun Sep 23 10:07:46 UTC 2012 x86_64 GNU/Linux
I'm having trouble with an intsall of the latest VirtualBox 4.2... after each shut down I have to re-install VirtualBox in order to start a machine.
Looks to be a lack of headers but I'm not sure how to get those, was hoping a full update to 3.2 would solve it.
I get nothing back when doing dpkg --get-selections | grep headers
Well... Solved the Vbox issuse with
sudo apt-get install linux-headers-$(uname -r)
But I'd still like to know why I can't upgrade to 3.2
Last edited by boomclart (2012-11-22 17:53:56)
Offline
You need to run sudo apt-get update after you edit the sources list.
Offline
Just tried that El_Koraco but get the same
david@crunchbang-work:~$ sudo apt-get install -t squeeze-backports linux-image-3.2.0-0.bpo.3-amd64
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-image-3.2.0-0.bpo.3-amd64
E: Couldn't find any package by regex 'linux-image-3.2.0-0.bpo.3-amd64'
Offline
I see. Try to hit Tab twice after linux-image-3
Offline
Updated for bpo.4
bootinfoscript - emacs primer - wireless problems- I ♥ #!
Offline
I don't have 3.
Where can I get this from to proceed?
david@wee-crunchbang:~$ sudo apt-get install -t squeeze-backports linux-image-
linux-image-2.6.30-2-486 linux-image-2.6.32-5-xen-686 linux-image-2.6-xen-686
linux-image-2.6.32-5-486 linux-image-2.6.32-5-xen-686-dbg linux-image-486
linux-image-2.6.32-5-686 linux-image-2.6.36-2.dmz.5-liquorix-686 linux-image-686
linux-image-2.6.32-5-686-bigmem linux-image-2.6-486 linux-image-686-bigmem
linux-image-2.6.32-5-686-bigmem-dbg linux-image-2.6-686 linux-image-amd64
linux-image-2.6.32-5-amd64 linux-image-2.6-686-bigmem linux-image-openvz-686
linux-image-2.6.32-5-openvz-686 linux-image-2.6-amd64 linux-image-vserver-686
linux-image-2.6.32-5-openvz-686-dbg linux-image-2.6-liquorix-686 linux-image-vserver-686-bigmem
linux-image-2.6.32-5-vserver-686 linux-image-2.6-openvz-686 linux-image-xen-686
linux-image-2.6.32-5-vserver-686-bigmem linux-image-2.6-vserver-686
linux-image-2.6.32-5-vserver-686-bigmem-dbg linux-image-2.6-vserver-686-bigmem
Last edited by boomclart (2012-11-22 19:49:16)
Offline
3 has been replaced by 4!
First post has been edited.
bootinfoscript - emacs primer - wireless problems- I ♥ #!
Offline
boomclart: You need to enable the backports repo. Looks like you're currently on Stable without backports.
Offline
Offline
Popping onto this thread to say that bpo.4 seems to be playing nicely with my frustrating Netgear Realtek wifi...for now. I've been here before ("I recognize that tree")...new kernel works splendidly with my wifi for a few minutes or a few hours, but fails either in the middle of a session or after a reboot...but bpo.4 seems to be holding up OK after a reboot, and without having to run the wonky Realtek firmware script, so it looks like I might finally be able to get off of bpo.1.
Offline
Hello,
Sorry if I am posting in a wrong thread but was not sure so posted up here
I was facing the problem with my atheros card not being detected by crunchbang. I was using kernel 2.6.32-5-amd64, so other guys at irc channel suggested me to upgrade to the new kernel. So I followed the steps and upgraded to the kernel using :
sudo apt-get install -t squeeze-backports linux-image-3.2.0-0.bpo.4-amd64
Then installed atheros firmware using
sudo apt-get install -t squeeze-backports firmware-atheros
The graphics were working fine with the old kernel but when I rebooted my machine to new kernel no graphics shown up(only white lined on screen), terminals were also not working (ctrl+alt+fn2...). Though my wireless LED shown up fine white (was showing up orange with old kernel). Can anyone please let me know what could be the issue. Or how it can be resolved
Thanks in advance.
Offline
If you have a prop driver installed for your graphics card then you have to re-install the prop driver every time you change the kernel.
Post output of
lspci -knn | grep -EiA3 vga
to see which graphics card you have.
bootinfoscript - emacs primer - wireless problems- I ♥ #!
Offline
Hello xaos52,
I was able to boot into new kernel but cannot get my atheros working now. That is a onboard wi-fi card. I checked this thread too
http://crunchbang.org/forums/viewtopic.php?id=18699
But that too did not helped me.
Please advice!
Offline
Lets start by identifying the device. Post output of
lspci -knn | grep -EiA3 net
afetr booting either in the new kernel or the old one - does not matter for now.
bootinfoscript - emacs primer - wireless problems- I ♥ #!
Offline
Sorry for the late reply here is the output :
crunchbang@crunchbang:~$ lspci -knn | grep -EiA3 net
02:00.0 Network controller [0280]: Atheros Communications Inc. Device [168c:0032] (rev 01)
Subsystem: Hewlett-Packard Company Device [103c:1785]
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller [10ec:8136] (rev 05)
Subsystem: Hewlett-Packard Company Device [103c:3567]
Kernel driver in use: r8169
04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device [10ec:5209] (rev 01)
Offline
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