How to get latest package from testing?

Help with issues regarding installation of Debian

How to get latest package from testing?

Postby TBarth » 2019-09-04 09:52

Hello,
I ve already read this documentation https://wiki.debian.org/Backports#Finding_backports to configure backports. I tried to get the lastest stable clamav version from testing on Debian Buster, but it doesnt work. Here (https://packages.debian.org/search?keyw ... ection=all) you can see, that the newer version 0.101.4 is listed in testing. So I activated backports in the source list and tried to install clamav:

/etc/apt/sources.list
## backport
deb http://deb.debian.org/debian buster-backports main contrib non-free


aptitude update

aptitude -t buster-backports install clamav
clamav is already installed at the requested version (0.101.2+dfsg-1)
clamav is already installed at the requested version (0.101.2+dfsg-1)

But I dont get the newer version. What do I have forgotten or misunderstood here?
TBarth
 
Posts: 5
Joined: 2014-04-21 13:23

Re: How to get latest package from testing?

Postby None1975 » 2019-09-04 11:06

Hello. If you want, you can check buster-backports packages list. Or, you can bacport package by yourself. Here link:
https://wiki.debian.org/SimpleBackportCreation
OS: Debian Buster / WM: Awesome
Debian Wiki | DontBreakDebian, My config files in github
User avatar
None1975
 
Posts: 922
Joined: 2015-11-29 18:23
Location: Lithuania, Vilnius

Re: How to get latest package from testing?

Postby TBarth » 2019-09-04 12:40

After the installation of the packaging tools for building a private backport I get this list for clamav. The version 0.101.2 is on Buster
Code: Select all
rmadison clamav --architecture amd64
clamav     | 0.100.0+dfsg-0+deb8u1  | oldoldstable               | amd64
clamav     | 0.100.3+dfsg-0+deb9u1  | oldstable                  | amd64
clamav     | 0.100.3+dfsg-0+deb9u1  | stretch-updates            | amd64
clamav     | 0.101.2+dfsg-1         | stable                     | amd64
clamav     | 0.101.4+dfsg-0+deb9u1  | oldstable-proposed-updates | amd64
clamav     | 0.101.4+dfsg-0+deb10u1 | proposed-updates           | amd64
clamav     | 0.101.4+dfsg-1         | testing                    | amd64
clamav     | 0.101.4+dfsg-1         | unstable                   | amd64
root@mx2 ~ # cd /opt/


The manual says to add sid to the source.list. I would add testing to the list.

Code: Select all
# some mirrors
deb http://asi-fs-n.contabo.net/debian buster main non-free contrib
deb http://security.debian.org/debian-security buster/updates main contrib non-free
deb-src http://security.debian.org/debian-security buster/updates main contrib non-free
deb http://asi-fs-n.contabo.net/debian buster-updates main contrib non-free
deb-src http://asi-fs-n.contabo.net/debian buster-updates main contrib non-free

#backport
deb http://deb.debian.org/debian buster-backports main contrib non-free

#Would that be correct???
deb http://deb.debian.org/debian testing main contrib non-free


and then the commands to get the source for clamav?
Code: Select all
aptitude update
apt source -t testing clamav


But what will happen when I update/upgrade my system (aptitude update && aptitude safe-upgrade) Would I get a complete testing system?
TBarth
 
Posts: 5
Joined: 2014-04-21 13:23

Re: How to get latest package from testing?

Postby None1975 » 2019-09-04 14:31

TBarth wrote:But what will happen when I update/upgrade my system (aptitude update && aptitude safe-upgrade) Would I get a complete testing system?

You can use apt-pinning...
OS: Debian Buster / WM: Awesome
Debian Wiki | DontBreakDebian, My config files in github
User avatar
None1975
 
Posts: 922
Joined: 2015-11-29 18:23
Location: Lithuania, Vilnius

Re: How to get latest package from testing?

Postby TBarth » 2019-09-04 15:00

None1975 wrote:
TBarth wrote:But what will happen when I update/upgrade my system (aptitude update && aptitude safe-upgrade) Would I get a complete testing system?

You can use apt-pinning...


Thanks for the advise, but it seems to be too experimental. The Debian -Team gives warnings for apt pinning ("Seriously, don't do this. Doing this will break Debian and leave you with a system that doesn't work and can't be fixed. Use Backports instead! ", https://wiki.debian.org/AptPreferences)
TBarth
 
Posts: 5
Joined: 2014-04-21 13:23

Re: How to get latest package from testing?

Postby stevepusser » 2019-09-04 19:44

The version you want is already built and waiting in Buster's proposed-updates section, and will be updated in Buster when 10.1 is released. You could add the proposed-updates repo stanza to your sources and get it early, though.

Code: Select all
deb http://httpredir.debian.org/debian buster-proposed-updates main


But let us know if you still want to know how to do personal backports. I find it easier myself to get most upstream source packages manually from packages.debian.org than it is to edit my sources several times.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Calibre 3.48.0, QMPlay2 19.09.03, wine-staging 4.16, Telegram-desktop 1.8.8, Pale Moon 28.7.1, Waterfox 56.2.14
User avatar
stevepusser
 
Posts: 11098
Joined: 2009-10-06 05:53


Return to Installation

Who is online

Users browsing this forum: No registered users and 10 guests

fashionable