Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #262753

Re: EASY way to install packages from trixie/sid to stable?

From <tomas@tuxteam.de>
Newsgroups linux.debian.user
Subject Re: EASY way to install packages from trixie/sid to stable?
Date 2023-10-26 18:40 +0200
Message-ID <HtbyN-12cD-9@gated-at.bofh.it> (permalink)
References <HtaCJ-11yy-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Thu, Oct 26, 2023 at 03:39:23PM +0200, Hans wrote:
> Hi folks, 
> 
> is there a very easy way, if I want to install packages from trixie oder sid 
> into my bookworm installation?

That will depend very much on the package.

1. If you try a naive install, the package will pull in its
   dependencies. If those are very fundamental (think libc,
   for example), that will wreak havoc in your system.

   Most people will tell you not to do that (you will create
   a FrankenDebian [1], the horrors!). I have actually been
   doing that for a while. If you try:

   - be prepared to learn a lot
   - always have a plan B for the case an upgrade renders
     your system useless
   - ask here, but please, don't complain :)

2. A significantly less traumatic option would be to see whether
   the package version you are after is in backports [2]. You say
   you are on bookworm, so this [2a] would be relevant to you.

3. In case (2) fails, you can still try to build your package
   from source. Debian makes that as easy as possible for you:
   in a nutshell: download your source package, install the
   building machinery (build-essential, possibly dpkg-dev, the
   package's build dependencies, change into the package's
   "debian" subdir, and issue there the magic incantation
   "dpkg-buildpackage -uc -us" or thereabouts [3].

   Of course, that might fail, because the build dependencies
   can't be satisfied by your bookworm or something.

Of course, I left out a lot :)

Cheers

[1] https://wiki.debian.org/DontBreakDebian
[2] https://backports.debian.org/
[2a] https://backports.debian.org/bookworm-backports/overview/
[3] https://www.debian.org/doc/manuals/maint-guide/build.en.html

-- 
t

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

EASY way to install packages from trixie/sid to stable? Hans <hans.ullrich@loop.de> - 2023-10-26 17:40 +0200
  Re: EASY way to install packages from trixie/sid to stable? "Alexander V. Makartsev" <avbetev@gmail.com> - 2023-10-26 18:40 +0200
    Re: EASY way to install packages from trixie/sid to stable? Michael Kjörling <2695bd53d63c@ewoof.net> - 2023-10-26 19:10 +0200
        Which Virtual Manager? Was: EASY way to install packages from trixie/sid to  stable? Hans <hans.ullrich@loop.de> - 2023-10-26 19:30 +0200
        Re: Which Virtual Manager? Michael Kjörling <2695bd53d63c@ewoof.net> - 2023-10-26 19:50 +0200
          Re: Which Virtual Manager? Hans <hans.ullrich@loop.de> - 2023-10-26 20:10 +0200
        Re: Which Virtual Manager? Was: EASY way to install packages from  trixie/sid to stable? Jeffrey Walton <noloader@gmail.com> - 2023-10-26 21:20 +0200
          Re: Which Virtual Manager? Was: EASY way to install packages from  trixie/sid to stable? "Andrew M.A. Cater" <amacater@einval.com> - 2023-10-26 21:30 +0200
            Re: Which Virtual Manager? Was: EASY way to install packages from  trixie/sid to stable? The Wanderer <wanderer@fastmail.fm> - 2023-10-27 11:20 +0200
              Re: Which Virtual Manager? Was: EASY way to install packages from  trixie/sid to stable? "Andrew M.A. Cater" <amacater@einval.com> - 2023-10-27 19:40 +0200
              Re: Which Virtual Manager? Was: EASY way to install packages from  trixie/sid to stable? The Wanderer <wanderer@fastmail.fm> - 2023-10-27 21:10 +0200
                Re: Which Virtual Manager? Was: EASY way to install packages from  trixie/sid to stable? Max Nikulin <manikulin@gmail.com> - 2023-10-28 06:30 +0200
                Re: Which Virtual Manager? Was: EASY way to install packages from  trixie/sid to stable? The Wanderer <wanderer@fastmail.fm> - 2023-10-28 12:40 +0200
                Re: Which Virtual Manager? Michael Kjörling <2695bd53d63c@ewoof.net> - 2023-10-28 14:20 +0200
              Re: Which Virtual Manager? Was: EASY way to install packages from  trixie/sid to stable? Charles Curley <charlescurley@charlescurley.com> - 2023-10-27 22:20 +0200
  Re: EASY way to install packages from trixie/sid to stable? <tomas@tuxteam.de> - 2023-10-26 18:40 +0200
  Re: EASY way to install packages from trixie/sid to stable? exceptbees <exceptbees@proton.me> - 2023-10-26 19:30 +0200
  Re: EASY way to install packages from trixie/sid to stable? Peter Hillier-Brook <phb@hbsys.plus.com> - 2023-10-26 21:50 +0200

csiph-web