DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
However, when I run apt-get update followed by dist-upgrade, will the libreoffice get updated automatically? Also will apt-cache search find packages from backports repo also? Thanks for your help.
The link that you gave ( https://sites.google.com/a/demonkuty...debianpackages ) is very interesting. Is this a good way to have the best of all versions: stable, testing and unstable? Can one just setup in this manner (without using names like squeeze, wheezy etc) and one may have a distro which upgrades regularly (except during freeze periods)? Or should one use this only for an occassional application? What is the best method to have latest libreoffice on debian stable?
Is this a good way to have the best of all versions: stable, testing and unstable?
If your meaning is mix packages from Stable, Testing and Unstable, the answer is definitely not. Do not mix Stable with other repositories, except backports.
However, when I run apt-get update followed by dist-upgrade, will the libreoffice get updated automatically? Also will apt-cache search find packages from backports repo also? Thanks for your help.
Hi rng,
I suspect that the author of the wiki you linked used the word "pinning" like "mixing stable with testing and unstable" (there's also a disclaimer there): as far as I know, it perfectly makes sense to pin packages from the backports repository.
Code:
deb ftp://ftp.ca.debian.org/debian stable main
deb ftp://ftp.ca.debian.org/debian-security stable/updates main
deb ftp://ftp.ca.debian.org/debian-backports stable-backports main
This should set apt to automatically update libreoffice from the backports repository, while all other packages would stick to stable. [Edit] It seems actually that apt's default behavior in squeeze is quite conservative regarding backports: even without a preferences file I get the same upgrade as with the settings above (see also caravel's post below).
Regarding backports in general, installing them on Debian stable should be done on an occasional basis and for single packages you need: using them extensively might give you problems with dependencies (they are compiled for stable but they're still packages from testing). This is the official version:
Regarding generic vs. specific release names, using the generic names lets your system to be ready for upgrade when a new stable is released and your lists are updated, while with specific names you stick to your current release, until you edit the sources list. I'm not sure if an automatic upgrade to the next stable release is always the safest way: you have to be aware of many things and read the distribution-specific upgrade notes. This would be for a squeeze-to-wheezy upgrade:
The backports repo is not set to do automatic upgrades, so normal upgrade or dist-upgrade will not upgrade the whole system to backports. As others have hinted, you should not just upgrade everything to backports as it was never intended to be used as a complete distribution.
Thanks of a detailed information. I realize that backports cannot be used as a complete distro (unlike stable, testing, unstable or experimental). It cannot even be used to extend debian-stable, since packages from backports will not be regularly upgraded with apt-get upgrade or dist-upgrade commands.
Thanks of a detailed information. I realize that backports cannot be used as a complete distro (unlike stable, testing, unstable or experimental). It cannot even be used to extend debian-stable, since packages from backports will not be regularly upgraded with apt-get upgrade or dist-upgrade commands.
Well, experimental is not a complete system, and that is exactly the point of backports, to extend debian stable. And yes, an update/upgrade will pull updates to packages installed from backports.
an update/upgrade will pull updates to packages installed from backports
caravel
Quote:
The backports repo is not set to do automatic upgrades, so normal upgrade or dist-upgrade will not upgrade the whole system to backports.
Philip Lacroix
Quote:
This should set apt to automatically update libreoffice from the backports repository, while all other packages would stick to stable. [Edit] It seems actually that apt's default behavior in squeeze is quite conservative regarding backports: even without a preferences file I get the same upgrade.
Ok. So if I install libreoffice from backports and run apt-get upgrade or dist-upgrade, libreoffice will get updated from backports and remaining system will get upgraded from stable repositories. This will occur even without a preference file.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.