how to update only a program from a different repository?

New to Debian (Or Linux in general)? Ask your questions here!

how to update only a program from a different repository?

Postby freespirit » 2017-05-03 19:20

i'm running stretch but i wanna use the latest firefox version, so i followed this https://mozilla.debian.net/ adding this repository and installing latest firefox version then i've put an # before experimental repository for dont break my debian with a daily full upgrade, but i'd like to know if there is a way for setting my system to use the experimental repository for update only firefox when i " apt update && apt dist-upgrade" without have to manually edit the sources file when a newer firefox version is released
freespirit
 
Posts: 40
Joined: 2016-12-22 19:57


Re: how to update only a program from a different repository

Postby 4D696B65 » 2017-05-03 19:32

Nothing will upgrade to experimental unless you explicitly ask for it.

https://wiki.debian.org/DebianExperimental
User avatar
4D696B65
 
Posts: 1966
Joined: 2009-06-28 06:09

Re: how to update only a program from a different repository

Postby freespirit » 2017-05-03 19:52

so i dont need to comment the experimental repository on sources list as i understood

but is still possible make it possible to update just firefox when i just dist-upgrade or not?
if the pinning works this procedure is correct?

make a new file /etc/apt/preferences with inside this

Code: Select all
Package: firefox
Pin: release a=experimental
Pin-Priority: 900


or i have to do something else?

the final purpose when apt dist-upgrade is to stay with stretch but not for firefox, i'd like to automatically download the latest version
freespirit
 
Posts: 40
Joined: 2016-12-22 19:57

Re: how to update only a program from a different repository

Postby 4D696B65 » 2017-05-03 20:01

freespirit wrote:so i dont need to comment the experimental repository on sources list as i understood

but is still possible make it possible to update just firefox when i just dist-upgrade or not?
if the pinning works this procedure is correct?

make a new file /etc/apt/preferences with inside this

Code: Select all
Package: firefox
Pin: release a=experimental
Pin-Priority: 900


or i have to do something else?

That is correct while stretch is testing.

freespirit wrote:the final purpose when apt dist-upgrade is to stay with stretch but not for firefox, i'd like to automatically download the latest version

No, when stretch becomes stable you may need to get firefox from backports not experimental.
User avatar
4D696B65
 
Posts: 1966
Joined: 2009-06-28 06:09

Re: how to update only a program from a different repository

Postby freespirit » 2017-05-03 20:09

4D696B65 wrote:
freespirit wrote:so i dont need to comment the experimental repository on sources list as i understood

but is still possible make it possible to update just firefox when i just dist-upgrade or not?
if the pinning works this procedure is correct?

make a new file /etc/apt/preferences with inside this

Code: Select all
Package: firefox
Pin: release a=experimental
Pin-Priority: 900


or i have to do something else?

That is correct while stretch is testing.

freespirit wrote:the final purpose when apt dist-upgrade is to stay with stretch but not for firefox, i'd like to automatically download the latest version

No, when stretch becomes stable you may need to get firefox from backports not experimental.


i've read stretch will be stable soon, then i think i will wait for the backports, when backports will be avalaible i just need to add to sources.list, then firefox will be automatically updated or i have to set up something else?
actually my firefox version is from experimental repos, when backports will be available do you suggest to me to unistall it before to update from backports or just update when the newer version will be avalaible on the backports repos?
freespirit
 
Posts: 40
Joined: 2016-12-22 19:57


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable