Ask Your Question

How to install testing version of a package in debian

asked 2015-04-03 01:55:38 -0600

lefty gravatar image

I wonder how is it possible to install just a single package (+its dependencies) from testing repository of debian. It should be possible using a combination of pinning and holding. The rest of system should remain stable even after apt-get upgrade runs.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2015-04-03 17:08:21 -0600

updated 2015-04-04 09:13:03 -0600

The testing repository is listed in sources.list[.d]?, isn't it?

You can write your pin-rulez by yourself and distribute as a file-resource:

Package: mytestpackage
Pin: release a=tst
Pin-Priority: 1002

Or use the apt::pin type from the apt module.

And i don't know, but maybe the ensure-attribute of the proper package may also accept a regexp, but of course a version string ensure => 'testingversion42',.

edit flag offensive delete link more


Untested, but the manpage of aptitude states that installing package from another archive is accomplished with the syntax "$package/testing". eg. aptitude install bash/testing. but i'm unsure if the package type knows how to handle that.

far4d gravatar imagefar4d ( 2015-06-15 02:40:56 -0600 )edit

OK, now I'm in the exact same situation as you. My answer I gave here doesn't solve the problem.

Kai Burghardt gravatar imageKai Burghardt ( 2016-10-02 08:50:43 -0600 )edit

answered 2016-11-08 04:42:53 -0600

This tutorial might be helpful to you. It explains how to install individual packages on Debian.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-04-03 01:55:38 -0600

Seen: 361 times

Last updated: Apr 04 '15