You are not logged in.

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

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,065
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

Offline

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

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

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

Nice How To in there.


My Linux installs are as in my music; it s on Metal

Offline

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

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,553
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), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

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

DeepDayze
Like sands through an hourglass...
From: In Linux Land
Registered: 2017-05-28
Posts: 1,897

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: 12,553
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), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

Board footer

Powered by FluxBB