<div dir="ltr">It is quite interesting how an update concerning security may end up in 'updates' repo. So it seems that apt-show-versions handles this correctly, so I will rely on it.<div><br></div><div>Thank to all for answers.<br><div><br></div><div><br></div><div><br><div class="gmail_quote"><div dir="ltr">пн, 18 янв. 2016 г. в 4:18, Tom H <<a href="mailto:tomh0665@gmail.com" target="_blank">tomh0665@gmail.com</a>>:<br></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sun, Jan 17, 2016 at 9:32 PM, Лев Тен <<a href="mailto:l.ten@reg.ru" target="_blank">l.ten@reg.ru</a>> wrote:<br>
><br>
> I am running Ubuntu 14.04.3 LTS some servers and I wonder if someone have<br>
> noticed a difference in output of two utilities in subject concerning<br>
> security updates, for example today I noticed a bunch of packages that<br>
> apt-show-version marked as trusty-security, while apt-get upgrade show them<br>
> as trusty-updates.<br>
><br>
> For example:<br>
><br>
> root@server1:~# apt-get dist-upgrade -s | grep python-samba | grep Inst<br>
> Inst python-samba [2:4.1.6+dfsg-1ubuntu2.14.04.8]<br>
> (2:4.1.6+dfsg-1ubuntu2.14.04.11 Ubuntu:14.04/trusty-updates [amd64]) []<br>
><br>
> root@server1:~# apt-show-versions | grep python-samba<br>
> python-samba:amd64/trusty-security 2:4.1.6+dfsg-1ubuntu2.14.04.8 upgradeable<br>
> to 2:4.1.6+dfsg-1ubuntu2.14.04.11<br>
<br>
I don't have access to a 14.04 system at the moment to check myself<br>
but it's better to run "apt-cache policy python-samba" to check on<br>
installed and installable packages.<br>
<br>
I changed the sources.list of a 16.04 box to pull in 14.04 packages<br>
and ran "apt-get update", so ignore the "Installed" and "Candidate"<br>
lines below. :)<br>
<br>
th@localhost:~$ apt-cache policy python-samba<br>
python-samba:<br>
  Installed: 2:4.3.3+dfsg-1ubuntu1<br>
  Candidate: 2:4.3.3+dfsg-1ubuntu1<br>
  Version table:<br>
 *** 2:4.3.3+dfsg-1ubuntu1 100<br>
        100 /var/lib/dpkg/status<br>
     2:4.1.6+dfsg-1ubuntu2.14.04.11 500<br>
        500 <a href="http://security.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://security.ubuntu.com/ubuntu</a> trusty-security/main<br>
amd64 Packages<br>
        500 <a href="http://uk.archive.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://uk.archive.ubuntu.com/ubuntu</a> trusty-updates/main<br>
amd64 Packages<br>
     2:4.1.6+dfsg-1ubuntu2 500<br>
        500 <a href="http://uk.archive.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://uk.archive.ubuntu.com/ubuntu</a> trusty/main amd64 Packages<br>
<br>
So both trusty-security and trusty-updates provide<br>
"2:4.3.3+dfsg-1ubuntu1". It's not the first time that I see this or<br>
apt-get installing from -updates rather than -security but it's never<br>
bothered me.<br>
<br>
I also downloaded the Packages.gz of -security and -updates and they<br>
both (unsurprisingly) provide the same package:<br>
<br>
th@localhost:/tmp/zzDown$ gzip -dc trusty-security-Packages.gz | grep<br>
-A23 'Package: python-samba' | awk 'FNR==1 || FNR==9 || FNR==12<br>
{print}'<br>
Package: python-samba<br>
Version: 2:4.1.6+dfsg-1ubuntu2.14.04.11<br>
Filename: pool/main/s/samba/python-samba_4.1.6+dfsg-1ubuntu2.14.04.11_amd64.deb<br>
<br>
th@localhost:/tmp/zzDown$ gzip -dc trusty-updates-Packages.gz | grep<br>
-A23 'Package: python-samba' | awk 'FNR==1 || FNR==9 || FNR==12<br>
{print}'<br>
Package: python-samba<br>
Version: 2:4.1.6+dfsg-1ubuntu2.14.04.11<br>
Filename: pool/main/s/samba/python-samba_4.1.6+dfsg-1ubuntu2.14.04.11_amd64.deb<br>
<br>
--<br>
ubuntu-users mailing list<br>
<a href="mailto:ubuntu-users@lists.ubuntu.com" target="_blank">ubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br>
</blockquote></div></div></div></div><div dir="ltr">-- <br></div><div dir="ltr"><div><br></div><div>Спасибо! <a>http://spasibo.reg.ru</a></div><div><br></div><div>С уважением, Тен Лев</div><div>Системный администратор SRS | Регистратор доменных имен <a>REG.RU</a></div><div>Телефон: +7 (495) 580-11-11, доб. 459</div><div>Эл. почта: <a>l.ten@reg.ru</a> | <a>http://www.reg.ru</a> | <a>http://рег.рф</a></div><div><br></div><div><div>Thank you!</div><div>Best regards, Lev Ten<br></div><div><font face="arial" size="2">SRS system administrator | <a>REG.RU</a> Domain Names Registrar</font></div><div>Phone: +7 (495) 580-11-11, доб. 459</div><div>E-mail: <a>l.ten@reg.ru</a> | <a>http://www.reg.ru</a> | <a>http://рег.рф</a></div></div></div>