Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

How to get latest package from testing?

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
TBarth
Posts: 5
Joined: 2014-04-21 13:23

How to get latest package from testing?

#1 Post by TBarth »

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?

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1404
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 46 times
Been thanked: 68 times

Re: How to get latest package from testing?

#2 Post by None1975 »

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 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github

TBarth
Posts: 5
Joined: 2014-04-21 13:23

Re: How to get latest package from testing?

#3 Post by TBarth »

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?

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1404
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 46 times
Been thanked: 68 times

Re: How to get latest package from testing?

#4 Post by None1975 »

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 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github

TBarth
Posts: 5
Joined: 2014-04-21 13:23

Re: How to get latest package from testing?

#5 Post by TBarth »

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)

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: How to get latest package from testing?

#6 Post by stevepusser »

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.
MX Linux packager and developer

Post Reply