You are not logged in.

#1 2018-04-21 12:46:20

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Backport a Debian sid package to BunsenLabs (quick method)

First add the Debian sid repository source line to /etc/apt/sources.list:

deb-src https://deb.debian.org/debian sid main contrib non-free

Then update the package database:

sudo apt update

Grab the build dependencies for the application (referred to hereafter as ${foo}, replace this with the actual package name when the command is run):

sudo apt-get build-dep ${foo}

Now build the package from source with

apt-get -b source ${foo}

Finally, install the .deb package produced by the above command:

sudo dpkg -i ${foo}*.deb

This is a "quick-and-dirty" approach to backporting and does not rename the package to ensure a smooth transition in any future `dist-upgrade`s between releases — be sure to remove any such packages before attempting that.

For a more "correct" method, see https://wiki.debian.org/SimpleBackportCreation


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#2 2018-04-21 23:19:39

altman
Member
From: Canada
Registered: 2015-10-24
Posts: 130

Re: Backport a Debian sid package to BunsenLabs (quick method)

Nice How To in there.


HP Pavilion dv7 Notebook/Intel Core i7-2670QM/ BunsenLab Helium
Dell Latitude XFR D630 /Intel Core2 Duo T7500/ BunsenLab Helium
Dell Inspiron 1720/Intel Core2 Duo T5450/ ArchLabs 2018.05
My craptop trio on Linux installs only.

Offline

#3 2018-04-22 04:20:26

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 6,973
Website

Re: Backport a Debian sid package to BunsenLabs (quick method)

Head_on_a_Stick wrote:

First add the Debian sid repository source line to /etc/apt/sources.list:

deb-src https://deb.debian.org/debian sid main contrib non-free

Then update the package database:

sudo apt update

This will leave your system following Sid from now on surely? Won't the next 'sudo  apt upgrade' upgrade everything to Sid?


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), idle Twitterings and GitStuff )

Introduction to the Bunsenlabs Lithium Desktop

Offline

#4 2018-04-22 04:31:52

DeepDayze
Member
From: In Linux Land
Registered: 2017-05-28
Posts: 912

Re: Backport a Debian sid package to BunsenLabs (quick method)

johnraff wrote:
Head_on_a_Stick wrote:

First add the Debian sid repository source line to /etc/apt/sources.list:

deb-src https://deb.debian.org/debian sid main contrib non-free

Then update the package database:

sudo apt update

This will leave your system following Sid from now on surely? Won't the next 'sudo  apt upgrade' upgrade everything to Sid?

No that is just the repo for source packages and you won't be upgrading your system to sid. All you are doing is grabbing the source for the package from Sid and building it on your current machine.


Real Men Use Linux

Offline

#5 2018-04-22 04:47:41

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 6,973
Website

Re: Backport a Debian sid package to BunsenLabs (quick method)

^Ah yes, you're right. I wasn't paying attention.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), idle Twitterings and GitStuff )

Introduction to the Bunsenlabs Lithium Desktop

Offline

Board footer

Powered by FluxBB