On Vi, 24 iul 20, 08:37:52, daggs wrote: > Greetings, > > I want to upgrade these specific pkgs from stable to testing: > libvirt-clients/stable,now 5.0.0-4+deb10u1 amd64 [installed,upgradable to: > 6.4.0-2] > libvirt-daemon-system/stable,now 5.0.0-4+deb10u1 amd64 [installed,upgradable > to: 6.4.0-2] > libvirt-daemon/stable,now 5.0.0-4+deb10u1 amd64 [installed,upgradable to: > 6.4.0-2] > libvirt0/stable,now 5.0.0-4+deb10u1 amd64 [installed,upgradable to: 6.4.0-2] > qemu-kvm/stable,now 1:3.1+dfsg-8+deb10u6 amd64 [installed,upgradable to: > 1:5.0-6] Not available in buster-backports. Did you investigate why? The archives of the debian-backports list might be a good start.
> so I've updated my files as such: > # cat /etc/apt/preferences > Package: qemu-kvm > Pin: release o=Debian,a=testing > Pin-Priority: 900 > > Package: libvirt-clients > Pin: release o=Debian,a=testing > Pin-Priority: 900 > > Package: libvirt-daemon-system > Pin: release o=Debian,a=testing > Pin-Priority: 900 > > Package: libvirt-daemon > Pin: release o=Debian,a=testing > Pin-Priority: 900 > > Package: libvirt0 > Pin: release o=Debian,a=testing > Pin-Priority: 900 With only these pins the rest of testing is priority 500, same as stable. Probably not what you want. > # cat /etc/apt/sources.list > deb http://security.debian.org/debian-security buster/updates main > deb-src http://security.debian.org/debian-security buster/updates main > deb http://deb.debian.org/debian/ buster-updates main > deb-src http://deb.debian.org/debian/ buster-updates main > deb http://deb.debian.org/debian/ buster-backports main > deb-src http://deb.debian.org/debian/ buster-backports main > deb http://deb.debian.org/debian/ buster main non-free > deb-src http://deb.debian.org/debian/ buster main non-free > deb http://deb.debian.org/debian/ testing-updates main > deb http://deb.debian.org/debian/ testing main non-free > deb http://security.debian.org/debian-security testing-security main > > but when I issue upt-get upgrade, it looks like apt tries to upgrade > unrelated pkgs like lsb-release, lsof and grub. > is that expected? Most likely because testing now has the same priority as stable, 'apt policy' will tell. > I want to upgrade only these pkgs + it's deps. > what am I doing wrong? You are trying to mix releases - which is inherently dangerous - without a proper understanding of pinning and priorities. If you insist on doing that I would recommend you replicate the configuration for -backports. 1. pin 'testing' to 100 2. try installing the package you really need[*] with apt install -t PACKAGE1 PACKAGE2 Note: always check your pinning configuration with 'apt policy' and/or 'apt policy PACKAGE' (as applicable). If it breaks you get to keep all pieces :) [*] in general you shouldn't specify dependency packages explicitly, let APT handle that. Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser
signature.asc
Description: PGP signature