A question about Debian Backports and LMDE 2

Archived topics about LMDE 1 and LMDE 2
Locked
crystalshadow

A question about Debian Backports and LMDE 2

Post by crystalshadow »

Does it work to add and use the debian backports repo in LMDE 2?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Monsta
Level 10
Level 10
Posts: 3071
Joined: Fri Aug 19, 2011 3:46 am

Re: A question about Debian Backports and LMDE 2

Post by Monsta »

Should work - if you mean jessie-backports (as LMDE 2 is based on Debian Jessie).
User avatar
xenopeek
Level 25
Level 25
Posts: 29606
Joined: Wed Jul 06, 2011 3:58 am

Re: A question about Debian Backports and LMDE 2

Post by xenopeek »

Yes this works fine. Be mindful to use it for applications only and not system libraries (as that could break other things). To enable backports create the file /etc/apt/sources.list.d/jessie-backports.list and put the following in it:

Code: Select all

deb http://http.debian.net/debian jessie-backports main
Then refresh your package index cache with (by clicking Refresh in Update Manager or running the command "apt update").

Note that the APT priority of backports is by default set such that you won't install packages from backports unless you explicitly do so. So adding backports to your system is perfectly safe as only the packages you explicitly install from it will get upgrades from it.

To explicitly install a package from backports you can use Synaptic Package Manager. Highlight the package you want to install from backports in the list then in the menu select Package>Force Version and select the version from jessie-backports. Alternatively you can use the following command (replace "package" with the name of the package to install):

Code: Select all

apt install -t jessie-backports package
Image
crystalshadow

Re: A question about Debian Backports and LMDE 2

Post by crystalshadow »

xenopeek wrote:Yes this works fine. Be mindful to use it for applications only and not system libraries (as that could break other things). To enable backports create the file /etc/apt/sources.list.d/jessie-backports.list and put the following in it:

Code: Select all

deb http://http.debian.net/debian jessie-backports main
Then refresh your package index cache with (by clicking Refresh in Update Manager or running the command "apt update").

Note that the APT priority of backports is by default set such that you won't install packages from backports unless you explicitly do so. So adding backports to your system is perfectly safe as only the packages you explicitly install from it will get upgrades from it.

To explicitly install a package from backports you can use Synaptic Package Manager. Highlight the package you want to install from backports in the list then in the menu select Package>Force Version and select the version from jessie-backports. Alternatively you can use the following command (replace "package" with the name of the package to install):

Code: Select all

apt install -t jessie-backports package
This worked fine, i just opened the

Code: Select all

/etc/apt/sources.list.d/jessie-backports.list
and paste

Code: Select all

deb http://http.debian.net/debian jessie-backports main
and it works.

Does an install from backports upgrade with the Mint update? or is it command upgrade with the backports package?
User avatar
xenopeek
Level 25
Level 25
Posts: 29606
Joined: Wed Jul 06, 2011 3:58 am

Re: A question about Debian Backports and LMDE 2

Post by xenopeek »

If you have installed a package explicitly from jessie-backports, it will henceforth receive upgrades from there through Update Manager.
Image
Locked

Return to “LMDE Archive”