SEARCH

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

You are not logged in.

#1 2015-08-30 09:51:21

Temetka
#! CrunchBanger
From: California
Registered: 2014-08-25
Posts: 179

In place upgrade Q

Question: I am running the first version of BL that was released as an .ISO for booting off USB and installing.

I have everything setup the way I want it. But I'm pretty sure there has been a new release since then. What is the easiest way for me to upgrade and keep my setup? Normally I'd run an apt-get dist upgrade (or something like that). I'm pretty sure if I do that, it will upgrade me to the latest version of Debian and not Bunsen.

Everything is nice and stable. So if there's no easy way for me to upgrade, then I will just stick with what I have now. Thanks all.

Oh and - Bunsen Labs is a great distro. Keep up the good work.

Offline

Help fund CrunchBang, donate to the project!

#2 2015-08-30 09:57:52

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

Re: In place upgrade Q

Temetka wrote:

Normally I'd run an apt-get dist upgrade (or something like that). I'm pretty sure if I do that, it will upgrade me to the latest version of Debian and not Bunsen.

You should run `dist-upgrade` anyway -- Debian jessie has switched to version 38 (ESR) of Iceweasel and the old version needs to be removed (a plain `apt-get upgrade` will not do this).
EDIT: This is incorrect (thanks S11!).

For the BL programs, there is an upgrade script you can run to bring those packages fully up to date.
http://crunchbang.org/forums/viewtopic. … 14#p428714

I don't actually have any BL systems at the moment so I will leave the exact procedure to somebody that does.

Last edited by Head_on_a_Stick (2015-08-30 11:12:55)

Offline

#3 2015-08-30 12:21:00

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

Re: In place upgrade Q

Temetka wrote:

Everything is nice and stable. So if there's no easy way for me to upgrade, then I will just stick with what I have now. Thanks all.

If your /etc/apt/sources.list looks like this - you are using Debian Jessie:

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

deb http://security.debian.org/ jessie/updates main contrib non-free
#deb-src http://security.debian.org/ jessie/updates main contrib non-free

# jessie-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ jessie-updates main contrib non-free
#deb-src http://ftp.us.debian.org/debian/ jessie-updates main contrib non-free

and If you don't have these 2 files
/etc/apt/sources.list.d/bunsen.list

deb http://pkg.bunsenlabs.org/debian bunsen-hydrogen main

deb http://pkg.bunsenlabs.org/debian jessie-backports main

or /etc/apt/sources.list.d/local_repo.list

# local debs
deb file:///var/local/debs ./

You're not getting Bunsen Updates and can safely run:

sudo apt-get update ; sudo apt-get upgrade

to get the security updates for Debian stable (jessie)

Also: DO NOT delete anything in:

~/.config/bunsen

They are 3 zero byte file place holders there.

For example: if you remove ~/.config/bunsen/bl-setup all the "original" BunsenLabs default settings will be restored, loosing any configuration changes you have made.  There will be backups made but it would be a manual task of deleting the new and restoring the old.

Example: Something like:

~/.bash_aliases
~/.bash_aliases~2015-07-06T22:56:20~

=====
Recommendation: Make sure you have apt-listbugs installed as well

Regarding Iceweasel - I have version: 31.8.0 on hold because of grave bugs in the latest iceweasel v38

I keep apt-listbugs around for a reason:

0 Aug 15 | 08:42:11 ~
    $ unhld iceweasel
alias unhld = sudo apt-mark unhold app_name app_name
Canceled hold on iceweasel.
 
 30 Aug 15 | 08:42:22 ~
    $ up2
alias up2 = sudo apt-get update ; sudo apt-get upgrade --no-install-recommends
Ign file: ./ InRelease
Ign file: ./ Release.gpg                                                                                    
Ign file: ./ Release                                                                                        
Ign file: ./ Translation-en_CA                                                                              
Ign file: ./ Translation-en                                                                                    
Hit http://ftp.us.debian.org jessie InRelease                                                                  
Hit http://pkg.bunsenlabs.org bunsen-hydrogen InRelease
...
snip
...
Fetched 1,515 B in 7s (208 B/s)                                                                                
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  iceweasel
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/39.3 MB of archives.
After this operation, 10.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
grave bugs of iceweasel (31.8.0esr-1~deb8u1 → 38.2.1esr-1~deb8u1) <Outstanding>
 b1 - #788708 - iceweasel: GStreamer causes segmentation fault
 b2 - #795576 - iceweasel: When using default settings, user will be subscribed to services only by hovering over links
Summary:
 iceweasel(2 bugs)
Are you sure you want to install/upgrade the above packages? [Y/n/?/...] n
**********************************************************************
****** Exiting with an error in order to stop the installation. ******
**********************************************************************
E: Sub-process /usr/sbin/apt-listbugs apt returned an error code (10)
E: Failure running script /usr/sbin/apt-listbugs apt
 
 30 Aug 15 | 08:42:58 ~
    $ hld iceweasel
alias hld = sudo apt-mark hold app_name app_name
iceweasel set on hold.
 
 30 Aug 15 | 08:43:02 ~
    $ 

Of the 7 bugs in the new iceweasel 3 are still outstanding:

 30 Aug 15 | 08:46:28 ~
    $ bugs iceweasel
apt-listbugs list app-name
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
grave bugs of iceweasel (→ ) <Outstanding>
 b1 - #770490 - iceweasel: WebM loading crashes iceweasel (Fixed: iceweasel/31.3.0esr-1)
   Merged with: 770499
 b2 - #788708 - iceweasel: GStreamer causes segmentation fault
 b3 - #795576 - iceweasel: When using default settings, user will be subscribed to services only by hovering over links
grave bugs of iceweasel (→ ) <Forwarded>
 b4 - #703472 - iceweasel freezes in _MD_WaitUnixProcess after mailcap "test" command terminates
 b5 - #709841 - iceweasel: spurious out of memory + crash (segmentation fault) (Fixed: iceweasel/29.0-1)
grave bugs of iceweasel (→ ) <Resolved in some Version>
 b6 - #794891 - iceweasel: 39.0.3-1 suddenly depends on libstdc++6 >= 5.2 instead of >= 4.9 as before (Fixed: 38.1.1esr-1)
 b7 - #795450 - iceweasel: major exploits against current firefox in the wild (Fixed: iceweasel/38.1.1esr-1)
Summary:
 iceweasel(7 bugs)
 
 30 Aug 15 | 08:46:40 ~
    $ 

Others  may say I am over cautious.

Aliases used:

## up2 - stable ###  upsid - testing or sid
alias up2='echo "alias up2 = sudo apt-get update ; sudo apt-get upgrade --no-install-recommends" ; sudo apt-get update ; sudo apt-get upgrade --no-install-recommends'
alias sup2='echo "alias sup2 = sudo apt-get update ; sudo apt-get upgrade --no-install-recommends --simulate" ; sudo apt-get update ; sudo apt-get upgrade --no-install-recommends --simulate'

alias upsid='echo "alias upsid = sudo apt-get update ; sudo apt-get dist-upgrade --no-install-recommends" ; sudo apt-get update ; sudo apt-get dist-upgrade --no-install-recommends'
alias supsid='echo "alias supsid = sudo apt-get update ; sudo apt-get dist-upgrade --no-install-recommends --simulate" ; sudo apt-get update ; sudo apt-get dist-upgrade --no-install-recommends --simulate'

### HOLD - UNHOLD - AUTO - MANUAL ###
alias hld='echo "alias hld = sudo apt-mark hold app_name app_name" ; sudo apt-mark hold'
alias unhld='echo "alias unhld = sudo apt-mark unhold app_name app_name" ; sudo apt-mark unhold'
alias shld='echo "alias shld = apt-mark showhold" ; apt-mark showhold'
alias auto='echo "sudo apt-mark auto app_name app_name" ; sudo apt-mark auto'
alias manu='echo "sudo apt-mark manual app_name app_name" ; sudo apt-mark manual'

alias bugs='echo "apt-listbugs list app-name" ; apt-listbugs list'

·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#4 2015-08-30 13:43:21

johnraff
nullglob
From: Nagoya, Japan
Registered: 2009-01-07
Posts: 4,148
Website

Re: In place upgrade Q

What Sector11 said, plus:
If you add the BunsenLabs Debian repositories to your apt configuration,
and then do

sudo apt-get update
sudo apt-get upgrade

you'll get almost the very latest BunsenLabs packages, and hence the latest system.
You can run the upgrade script that Head_on_a_stick mentioned, but at this stage the benefit from using the GitHub packages is fairly small.


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
#! forum moderator    BunsenLabs

Offline

#5 2015-08-30 20:29:16

Temetka
#! CrunchBanger
From: California
Registered: 2014-08-25
Posts: 179

Re: In place upgrade Q

Here is my apt sources.list file:

# deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150711-01:57]/ jessie contrib main non-free 

deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150711-01:57]/ jessie contrib main non-free 

deb http://ftp.us.debian.org/debian/ jessie main non-free contrib 
deb-src http://ftp.us.debian.org/debian/ jessie main non-free contrib 

deb http://security.debian.org/ jessie/updates main contrib non-free 
deb-src http://security.debian.org/ jessie/updates main contrib non-free 

# jessie-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ jessie-updates main contrib non-free 
deb-src http://ftp.us.debian.org/debian/ jessie-updates main contrib non-free 

# added by bl-welcome
# Multimedia repository
deb http://www.deb-multimedia.org/ jessie main non-free 

Offline

#6 2015-08-30 20:47:20

Temetka
#! CrunchBanger
From: California
Registered: 2014-08-25
Posts: 179

Re: In place upgrade Q

How do I add the apt-listbugs?

Offline

#7 2015-08-30 20:49:44

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

Re: In place upgrade Q

Temetka wrote:

How do I add the apt-listbugs?

sudo apt-get install apt-listbugs

It's pretty useless in a Debian Stable system though...

Offline

#8 2015-08-30 20:52:38

schwim
#! Die Hard
From: Interweb's #1 Devotee
Registered: 2012-10-11
Posts: 1,031
Website

Re: In place upgrade Q

Temetka wrote:

How do I add the apt-listbugs?

sudo apt-get install apt-listbugs

Offline

#9 2015-08-30 21:55:09

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Re: In place upgrade Q

@Temetka, comment out or delete both cdrom entries, you currently have one active and it will cause apt to give a warning. This is fixed in our next ISO (coming soon).

Go to our website and follow the instructions to add the bunsen repository and signing key...
http://pkg.bunsenlabs.org/

This is also automatically done in our next ISO.

That's it... sudo apt-get update && sudo apt-get upgrade, done.



BunsenLabs IS Debian jessie, the packages in our main repository are confined to our custom scripts, themes and icons, and a newer version of obmenu. The optional backport repository contains a few packages not found in jessie or, in a couple of cases, even in Debian, and are offered on a use-at-your-own-risk basis. That being said...

The xfce4-power-manager backport is from Debian stretch and is very stable, installing it will allow you to remove fdpowermon and still have a battery applet in your systray.

We offer Ubuntu fonts because they're pretty and functional and Debian doesn't have them. Very safe to install.

twoion has a couple of custom scripts up there, very safe to install.

We offer xfce4-volumed backported from Ubuntu. This is the only risky package but it is a workaround for systems that are finicky with xfce4-volumed and pulseaudio. The recommendation is to remove pulseaudio and stick with alsa, but a playa's gonna play.

It's on my ToDo list to ask twoion to organize the packages so it's easy to tell which packages are backports and which aren't, I'll do that tonight.

Cheers!


bunsenlabs     8)     forum mod squad

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