[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2020-04-24 Thread Richard Anderson
* It is also there is a setting here that I overlooked.

should have been:

It is possible also there is a setting here that I overlooked.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2020-04-24 Thread Richard Anderson
This may or may not be an issue, but here are my observations. The order
of operations seems to be the cause of my issue with the additional
factor that the /boot partition size is unusually small compared to
recent Ubuntu installations.

Order of operations as follows:

1. unattended-install script is run
2. removes packages found in /etc/kernel/postinst.d/apt-auto-removal
3. Installs new kernel
4. creates new /etc/kernel/postinst.d/apt-auto-removal

At this point it does not remove any old packages after the new kernel
is installed. However, when unattended-install is run a second time it
will remove those packages. This seems like an awkward approach.
Ideally, the old kernel packages would get removed the first run of
unattended-install. I considered safety concerns in removing older
kernels after an update but then it still gets removed on a second run.
It is also there is a setting here that I overlooked.

I applied a work around in kernel/postinst.d/zzz_autoremove to simply
run apt-get autoremove -y a few seconds after unattended-install is
completed. This approach is not ideal but functional for this
potentially unique issue.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2020-04-21 Thread Richard Anderson
Is this still an issue?

I have Xenial installs where this occurs occasionally. I don't have much
information other than /boot partition fills where we will get alerts.
After logging in and running apt-get autoremove the space is cleared.

apt-mark showauto 'linux-image-.*'
Show 3 kernels, which I believe is normal. (currently 
linux-image-4.4.0-176-generic,linux-image-4.4.0-177-generic, 
linux-image-generic)

apt-mark showmanual 'linux-image-.*'
Does not show any results.

/etc/apt/apt.conf.d/50unattended-upgrades has the following uncommented:
Unattended-Upgrade::Allowed-Origins {
"${distro_id}:${distro_codename}-security";
"${distro_id}ESM:${distro_codename}";
};
Unattended-Upgrade::Remove-Unused-Dependencies "true";

unattended-upgrades 1.1ubuntu1.18.04.7~16.04.6

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2016-03-04 Thread Jarno Suni
However, if I do not run unattended-upgrades with --dry-run  before
running without it, automatic removing of unneeded packages works.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2016-03-04 Thread Jarno Suni
Mikko Pesari, oh the packages are not actually removed in Wily, either.
I was fooled by the output of the unattended-upgrades command.

costinel, you were right about --dry-run not removing the packages. I
corrected my bug report (bug #1544942).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2016-03-04 Thread Jarno Suni
As for bug #1544942,

It  is reported on Wily, which has newer version of unattended upgrades,
so it may behave differently.

I think command
/usr/bin/dpkg --status-fd 9 --force-depends --force-remove-essential --remove 
linux-headers-4.2.0-16-generic:amd64 linux-headers-4.2.0-16:all 
linux-image-extra-4.2.0-16-generic:amd64 linux-image-4.2.0-16-generic:amd64
that is shown in the output actually removes the packages since it does not 
have --no-act, --dry-run or --simulate.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2016-03-04 Thread Jarno Suni
costinel, In bug #1544942 I run with --dry-run two times and do not
compare outputs between with --dry-run and without it.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2016-03-04 Thread Mikko Pesari
Happens on Trusty and Xenial too. There are a few bug reports about it
marking kernels as manually installed. They may be related. Here's a
test case anyway:

Normal run:

# apt-get install lolcat
# apt-mark showmanual lolcat
lolcat
# apt-mark auto lolcat
lolcat set to automatically installed.
# unattended-upgrade
# dpkg -l lolcat
dpkg-query: no packages found matching lolcat

With --dry-run:

# apt-get install lolcat
# apt-mark showmanual lolcat
lolcat
# apt-mark auto lolcat
lolcat set to automatically installed.
# unattended-upgrade --dry-run
# dpkg -l lolcat
ii  lolcat ...
# apt-mark showmanual lolcat
lolcat

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2016-03-04 Thread Mikko Pesari
I tested on Precise. When running with --dry-run, unattended-upgrade
marks the autoremovable packages as manually installed. This prevents
them from being removed when running without --dry-run afterwards. Check
"apt-mark showmanual".

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2016-03-03 Thread costinel
and #1544942 does not say dry-run removes packages, but says the output
is different between with and without dry-run (which is something I also
observed but only the first run after the upgrade to latest precise
version of unattended-upgrades)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2016-03-03 Thread costinel
> the --dry-run removes the packages

no, it doesn't. #1544942 affects only one person, and in comment #64 you
can see that files on /boot are not removed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2016-03-03 Thread Jarno Suni
costinel, the --dry-run removes the packages, see Bug #1544942.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2016-03-03 Thread costinel
> have you made sure you manually set that option to 'true'?

also, if you pay attention to my pasted logs, THE FIRST TIME the updated 
version is run with -d --dry-run, it DOES mention wanting to remove kernels.
however the second time I run it, without --dry-run, it NO LONGER mentions 
removing packages!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2016-03-03 Thread costinel
here is another box

oot@wifi:~# eatmydata apt-get install unattended-upgrades
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  bsd-mailx
The following packages will be upgraded:
  unattended-upgrades
1 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
Need to get 24.8 kB of archives.
After this operation, 4,096 B of additional disk space will be used.
Get:1 http://ro.archive.ubuntu.com/ubuntu/ precise-updates/main 
unattended-upgrades all 0.76ubuntu1.2 [24.8 kB]
Fetched 24.8 kB in 0s (124 kB/s)
Reading changelogs... Done
apt-listchanges: Mailing root: apt-listchanges: changelogs for wifi
Preconfiguring packages ...
(Reading database ... 293592 files and directories currently installed.)
Preparing to replace unattended-upgrades 0.76ubuntu1.1 (using 
.../unattended-upgrades_0.76ubuntu1.2_all.deb) ...
Unpacking replacement unattended-upgrades ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up unattended-upgrades (0.76ubuntu1.2) ...
root@wifi:~# strace -etrace=file -f unattended-upgrades -d --dry-run > 
/var/tmp/firstrun.log 2>&1

cat /var/tmp/firstrun.log|pastebinit -b http://paste.ubuntu.com
http://paste.ubuntu.com/15273973/

root@wifi:~# ls /boot
abi-3.13.0-65-generic initrd.img-3.13.0-76-generic
abi-3.13.0-68-generic initrd.img-3.13.0-77-generic
abi-3.13.0-71-generic initrd.img-3.13.0-79-generic
abi-3.13.0-73-generic lost+found
abi-3.13.0-74-generic memtest86+.bin
abi-3.13.0-76-generic memtest86+_multiboot.bin
abi-3.13.0-77-generic System.map-3.13.0-65-generic
abi-3.13.0-79-generic System.map-3.13.0-68-generic
config-3.13.0-65-generic  System.map-3.13.0-71-generic
config-3.13.0-68-generic  System.map-3.13.0-73-generic
config-3.13.0-71-generic  System.map-3.13.0-74-generic
config-3.13.0-73-generic  System.map-3.13.0-76-generic
config-3.13.0-74-generic  System.map-3.13.0-77-generic
config-3.13.0-76-generic  System.map-3.13.0-79-generic
config-3.13.0-77-generic  vmlinuz-3.13.0-65-generic
config-3.13.0-79-generic  vmlinuz-3.13.0-68-generic
grub  vmlinuz-3.13.0-71-generic
initrd.img-3.13.0-65-generic  vmlinuz-3.13.0-73-generic
initrd.img-3.13.0-68-generic  vmlinuz-3.13.0-74-generic
initrd.img-3.13.0-71-generic  vmlinuz-3.13.0-76-generic
initrd.img-3.13.0-73-generic  vmlinuz-3.13.0-77-generic
initrd.img-3.13.0-74-generic  vmlinuz-3.13.0-79-generic

root@wifi:~# grep LTS /etc/motd
Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 3.13.0-77-generic x86_64)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2016-03-03 Thread costinel
> have you made sure you manually set that option to 'true'? It's
'false' by default.

yes,

root@mailhost:~# grep Dependencies /etc/apt/apt.conf.d/50unattended-upgrades
Unattended-Upgrade::Remove-Unused-Dependencies "true";


root@mailhost:~# ls -lht /etc/apt/apt.conf.d/50unattended-upgrades
-rw-r--r-- 1 root root 2.1K May  8  2013 
/etc/apt/apt.conf.d/50unattended-upgrades

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2016-03-03 Thread Alexander Skiba
@costinel: have you made sure you manually set that option to 'true'?
It's 'false' by default. For the record, this is what it looks like with
a completely fresh vagrant VM for Ubuntu Precise.

vagrant@vagrant-ubuntu-precise-64:~$ sudo unattended-upgrade --debug
Initial blacklisted packages:
Starting unattended upgrades script
Allowed origins are: ['o=Ubuntu,a=precise-security']
adjusting candidate version: ''
Checking: ca-certificates (["", 
""])
Checking: cpio (["", 
""])
Checking: libc-bin (["", 
""])
Checking: libc-dev-bin (["", 
""])
Checking: libc6 (["", 
""])
Checking: libc6-dev (["", 
""])
Checking: libgcrypt11 (["", 
""])
Checking: libgnutls26 (["", 
""])
Checking: libssl1.0.0 (["", 
""])
Checking: linux-headers-generic (["", ""])
Checking: linux-headers-virtual (["", ""])
Checking: linux-image-virtual (["", ""])
Checking: linux-libc-dev (["", 
""])
Checking: linux-virtual (["", 
""])
Checking: multiarch-support (["", ""])
Checking: openssl (["", 
""])
Checking: perl (["", 
""])
Checking: perl-base (["", 
""])
Checking: perl-modules (["", 
""])
pkgs that look like they should be upgraded: ca-certificates
cpio
libc-bin
libc-dev-bin
libc6
libc6-dev
libgcrypt11
libgnutls26
libssl1.0.0
linux-headers-generic
linux-headers-virtual
linux-image-virtual
linux-libc-dev
linux-virtual
multiarch-support
openssl
perl
perl-base
perl-modules
Fetched 0 B in 0s (0 B/s)
http://archive.ubuntu.com/ubuntu/pool/main/p/perl/perl_5.14.2-6ubuntu2.5_amd64.deb'
 ID:0 ErrorText: ''>
check_conffile_prompt('/var/cache/apt/archives/perl_5.14.2-6ubuntu2.5_amd64.deb')
found pkg: perl
http://archive.ubuntu.com/ubuntu/pool/main/p/perl/perl-base_5.14.2-6ubuntu2.5_amd64.deb'
 ID:0 ErrorText: ''>
check_conffile_prompt('/var/cache/apt/archives/perl-base_5.14.2-6ubuntu2.5_amd64.deb')
found pkg: perl-base
http://archive.ubuntu.com/ubuntu/pool/main/p/perl/perl-modules_5.14.2-6ubuntu2.5_all.deb'
 ID:0 ErrorText: ''>
check_conffile_prompt('/var/cache/apt/archives/perl-modules_5.14.2-6ubuntu2.5_all.deb')
found pkg: perl-modules
conffile line: /etc/perl/Net/libnet.cfg fb2946cae573b8ed3d654a180d458733
current md5: fb2946cae573b8ed3d654a180d458733
http://archive.ubuntu.com/ubuntu/pool/main/e/eglibc/libc-dev-bin_2.15-0ubuntu10.13_amd64.deb'
 ID:0 ErrorText: ''>
check_conffile_prompt('/var/cache/apt/archives/libc-dev-bin_2.15-0ubuntu10.13_amd64.deb')
found pkg: libc-dev-bin
http://archive.ubuntu.com/ubuntu/pool/main/e/eglibc/libc6-dev_2.15-0ubuntu10.13_amd64.deb'
 ID:0 ErrorText: ''>
check_conffile_prompt('/var/cache/apt/archives/libc6-dev_2.15-0ubuntu10.13_amd64.deb')
found pkg: libc6-dev
http://archive.ubuntu.com/ubuntu/pool/main/e/eglibc/libc-bin_2.15-0ubuntu10.13_amd64.deb'
 ID:0 ErrorText: ''>
check_conffile_prompt('/var/cache/apt/archives/libc-bin_2.15-0ubuntu10.13_amd64.deb')
found pkg: libc-bin
conffile line: /etc/gai.conf 629c0e2f8276b26c29b95f7ed53074d7
current md5: 629c0e2f8276b26c29b95f7ed53074d7
conffile line:  /etc/default/nss d6d5d6f621fb3ead2548076ce81e309c
current md5: d6d5d6f621fb3ead2548076ce81e309c
conffile line:  /etc/ld.so.conf.d/libc.conf d4d833fd095fb7b90e1bb4a547f16de6
current md5: d4d833fd095fb7b90e1bb4a547f16de6
conffile line:  /etc/bindresvport.blacklist d2d1b996add35b65f64a22e9c8413632
current md5: d2d1b996add35b65f64a22e9c8413632
http://archive.ubuntu.com/ubuntu/pool/main/e/eglibc/libc6_2.15-0ubuntu10.13_amd64.deb'
 ID:0 ErrorText: ''>
check_conffile_prompt('/var/cache/apt/archives/libc6_2.15-0ubuntu10.13_amd64.deb')
found pkg: libc6
conffile line: /etc/ld.so.conf.d/x86_64-linux-gnu.conf 
593ad12389ab2b6f952e7ede67b8fbbf
current md5: 593ad12389ab2b6f952e7ede67b8fbbf
http://archive.ubuntu.com/ubuntu/pool/main/l/linux/linux-libc-dev_3.2.0-99.139_amd64.deb'
 ID:0 ErrorText: ''>
check_conffile_prompt('/var/cache/apt/archives/linux-libc-dev_3.2.0-99.139_amd64.deb')
found pkg: linux-libc-dev
http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.0.0_1.0.1-4ubuntu5.35_amd64.deb'
 ID:0 ErrorText: ''>
check_conffile_prompt('/var/cache/apt/archives/libssl1.0.0_1.0.1-4ubuntu5.35_amd64.deb')
found pkg: libssl1.0.0
http://archive.ubuntu.com/ubuntu/pool/main/libg/libgcrypt11/libgcrypt11_1.5.0-3ubuntu0.5_amd64.deb'
 ID:0 ErrorText: ''>
check_conffile_prompt('/var/cache/apt/archives/libgcrypt11_1.5.0-3ubuntu0.5_amd64.deb')
found pkg: libgcrypt11
http://archive.ubuntu.com/ubuntu/pool/main/g/gnutls26/libgnutls26_2.12.14-5ubuntu3.12_amd64.deb'
 ID:0 ErrorText: ''>
check_conffile_prompt('/var/cache/apt/archives/libgnutls26_2.12.14-5ubuntu3.12_amd64.deb')
found pkg: libgnutls26
http://archive.ubuntu.com/ubuntu/pool/main/l/linux/linux-image-3.2.0-99-virtual_3.2.0-99.139_amd64.deb'
 ID:0 ErrorText: ''>
check_conffile_prompt('/var/cache/apt/archives/linux-image-3.2.0-99-virtual_3.2.0-99.139_amd64.deb')
http://archive.ubuntu.com/ubuntu/pool/main/e/eglibc/multiarch-support_2.15-0ubuntu10.13_amd64.deb'
 ID:0 ErrorText: ''>
check_conffile_prompt('/var/cache/apt/archives/multiarch-support_2.15-0ubuntu10.13_amd64.deb')
found pkg: 

[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2016-03-03 Thread costinel
worse, before running unattended-upgrades, apt-get autoremove showed
lots of kernels good for removal. after upgrading and running the new
unattended-upgrades, apt-get autoremove no longer lists these kernels at
fit for autoremove.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2016-03-03 Thread costinel
this bugs says "Precise Fix Released  Medium  Brian Murray  Edit"

apt-listchanges -a /var/cache/apt/archives/unattended-
upgrades_0.76ubuntu1.2_all.deb says

" unattended-upgrades (0.76ubuntu1.2) precise-proposed; urgency=medium

  * cherry pick fix for unused-dependencies removal. (LP: #1267059)

 -- Brian Murray   Fri, 11 Dec 2015 10:06:00 -0800"


first run

root@mailhost:/boot# unattended-upgrades -d --dry-run
Initial blacklisted packages:
Starting unattended upgrades script
Allowed origins are: ['o=Ubuntu,a=precise-security']
adjusting candidate version: ''
adjusting candidate version: ''
adjusting candidate version: ''
adjusting candidate version: ''
adjusting candidate version: ''
adjusting candidate version: ''
adjusting candidate version: ''
adjusting candidate version: ''
adjusting candidate version: ''
adjusting candidate version: ''
adjusting candidate version: ''
Checking: dosfstools ([""])
Checking: gdisk ([""])
Checking: libnvpair1 (["", ""])
Checking: libudev0 ([""])
Checking: libuutil1 (["", ""])
Checking: libzfs2 (["", ""])
Checking: libzpool2 (["", ""])
Checking: spl (["", ""])
Checking: spl-dkms (["", ""])
Checking: udev ([""])
Checking: upstart ([""])
Checking: x11-utils ([""])
Checking: zfs-dkms (["", ""])
Checking: zfs-doc (["", ""])
Checking: zfsutils (["", ""])
pkgs that look like they should be upgraded:
Fetched 0 B in 0s (0 B/s)
blacklist: []
InstCount=0 DelCount=0 BrokenCout=0
Option --dry-run given, *not* performing real actions
Packages that are upgraded:
adjusting candidate version: ''
adjusting candidate version: ''
adjusting candidate version: ''
adjusting candidate version: ''
adjusting candidate version: ''
adjusting candidate version: ''
adjusting candidate version: ''
adjusting candidate version: ''
adjusting candidate version: ''
adjusting candidate version: ''
adjusting candidate version: ''
marking linux-image-3.2.0-96-generic for remove
marking linux-image-3.2.0-82-generic for remove
marking python-aptdaemon for remove
marking libpolkit-backend-1-0 for remove
marking libck-connector0 for remove
marking linux-image-3.2.0-91-generic for remove
marking linux-image-3.2.0-83-generic for remove
marking linux-image-3.2.0-90-generic for remove
marking python-defer for remove
marking aptdaemon for remove
marking linux-image-3.2.0-84-generic for remove
marking linux-image-3.2.0-88-generic for remove
marking policykit-1 for remove
marking linux-image-3.2.0-97-generic for remove
marking linux-image-3.2.0-85-generic for remove
marking linux-image-3.2.0-95-generic for remove
marking linux-image-3.2.0-86-generic for remove
marking consolekit for remove
marking linux-image-3.2.0-94-generic for remove
marking python-pkg-resources for remove
marking linux-image-3.2.0-87-generic for remove
marking linux-image-3.2.0-93-generic for remove
marking libpam-ck-connector for remove
marking libpolkit-agent-1-0 for remove
marking linux-image-3.2.0-92-generic for remove
Packages that are auto removed: 'linux-image-3.2.0-96-generic 
linux-image-3.2.0-82-generic python-aptdaemon libpolkit-backend-1-0 
libck-connector0 linux-image-3.2.0-91-generic linux-image-3.2.0-83-generic 
linux-image-3.2.0-90-generic python-defer aptdaemon 
linux-image-3.2.0-84-generic linux-image-3.2.0-88-generic policykit-1 
linux-image-3.2.0-97-generic linux-image-3.2.0-85-generic 
linux-image-3.2.0-95-generic linux-image-3.2.0-86-generic consolekit 
linux-image-3.2.0-94-generic python-pkg-resources linux-image-3.2.0-87-generic 
linux-image-3.2.0-93-generic libpam-ck-connector libpolkit-agent-1-0 
linux-image-3.2.0-92-generic'
/usr/bin/dpkg --status-fd 6 --force-depends --force-remove-essential --remove 
aptdaemon:all python-aptdaemon:all policykit-1:amd64 consolekit:amd64 
libpam-ck-connector:amd64 libck-connector0:amd64 libpolkit-agent-1-0:amd64 
libpolkit-backend-1-0:amd64 linux-image-3.2.0-82-generic:amd64 
linux-image-3.2.0-83-generic:amd64 linux-image-3.2.0-84-generic:amd64 
linux-image-3.2.0-85-generic:amd64 linux-image-3.2.0-86-generic:amd64 
linux-image-3.2.0-87-generic:amd64 linux-image-3.2.0-88-generic:amd64 
linux-image-3.2.0-90-generic:amd64 linux-image-3.2.0-91-generic:amd64 
linux-image-3.2.0-92-generic:amd64 linux-image-3.2.0-93-generic:amd64 
linux-image-3.2.0-94-generic:amd64 linux-image-3.2.0-95-generic:amd64 
linux-image-3.2.0-96-generic:amd64 linux-image-3.2.0-97-generic:amd64 
python-defer:all python-pkg-resources:all
localepurge: Disk space freed in /usr/share/locale: 0 KiB
localepurge: Disk space freed in /usr/share/man: 0 KiB

Total disk space freed by localepurge: 0 KiB

Packages auto-removed
InstCount=0 DelCount=25 BrokenCount=0

however, second run without --dry-run:

root@mailhost:/boot# unattended-upgrades -d
Initial blacklisted packages:
Starting unattended upgrades script
Allowed origins are: ['o=Ubuntu,a=precise-security']
adjusting candidate version: ''
adjusting candidate version: ''
adjusting candidate version: ''
adjusting candidate version: ''
adjusting 

[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2016-02-09 Thread Jarno Suni
Peter Grandi, doesn't unattended-updgrades' automatic removal of new
unused dependencies take into account file "/etc/apt/apt.conf.d
/01autoremove-kernels"? `apt-get autoremove` does. BTW. I think
/etc/kernel/postinst.d/apt-auto-removal should be run during boot to
ensure that "/etc/apt/apt.conf.d/01autoremove-kernels" protects the
running kernel.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2016-02-08 Thread SeanBoran
Hi, 
I regularly have systems with /boot full due, I believe, to this issue and had 
an example this morning.

Manually running "apt-get autoremove" deleted kernels+headers for the
last 10 kernels or so. How can that be automated?

Above one refers to version .76ubuntu1.2, and I have 0.82.1ubuntu2.3 which 
sound newer.
have I missed something or are the fixes not yet mainstream in 14.04?
(Just noticed 0.82.1ubuntu2.4 is available too)

Or are the apt settings wrong perhaps:

Unattended-Upgrade::Mail "root@localhost";
Unattended-Upgrade::MailOnlyOnError "true";
Unattended-Upgrade::Automatic-Reboot "true";
Unattended-Upgrade::MinimalSteps "true";
Unattended-Upgrade::Remove-Unused-Dependencies "true";
# install patches automatically, update weekly, 
# wipe unused packages after 3 weeks. No report.
APT::Periodic::Enable "1";
APT::Periodic::Update-Package-Lists "7";
APT::Periodic::Download-Upgradeable-Packages "1";
APT::Periodic::AutocleanInterval "21";
APT::Periodic::Unattended-Upgrade "7";
APT::Periodic::Verbose "0";

Reading  https://wiki.debian.org/UnattendedUpgrades
https://help.ubuntu.com/lts/serverguide/automatic-updates.html did not
help much, are there better sources?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2016-02-08 Thread Alexander Skiba
@sean-boran, comment #57:

The fix is available in the trusty-updates repository. See this
changelog: http://changelogs.ubuntu.com/changelogs/pool/main/u
/unattended-upgrades/unattended-upgrades_0.82.1ubuntu2.4/changelog

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2016-01-29 Thread Guy Baconniere
# This will simulate the removal of useless packages linked to old kernels
dpkg --get-selections 'linux-*.*.*-*' | grep $'\t''install' | cut -f1 \
| grep -vF "$(uname -r | cut -d- -f1,2)" \
| grep -vF "$(dpkg --get-selections 'linux-*image*' \
| grep -E '^[^0-9]+'$'\t''install$' | cut -f1 | xargs -r apt-cache depends \
| grep -oE '[0-9.]+-[0-9]+' | sort -u)" | xargs -r apt-get --dry-run purge

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2016-01-06 Thread Launchpad Bug Tracker
This bug was fixed in the package unattended-upgrades - 0.76ubuntu1.2

---
unattended-upgrades (0.76ubuntu1.2) precise-proposed; urgency=medium

  * cherry pick fix for unused-dependencies removal. (LP: #1267059)

 -- Brian Murray   Fri, 11 Dec 2015 10:06:00 -0800

** Changed in: unattended-upgrades (Ubuntu Precise)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2015-12-22 Thread Peter Grandi
Note that this long story started from kernel upgrades, and so far
nobody has made an important point...

When you install a new kernel package,  you may want to remove all
previous versions indeed, *except* the one that is currently running.

Because if you remove the package for the currently running kernel, if
you add a new device or do anything that requires loading a module, that
will fail. This is because kernel modules by default require an exactly
matching kernel version, unlike shared objects or other stuff that gets
upgraded. A few other useful things will fail if a running kernel is not
matched by an installed package.

This would require extra logic to special-case the kernel packages for
this.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2015-12-18 Thread Felix Barbeira
I tested the version 0.76ubuntu1.2 on a couple of precise VMs and it
works fine on both of them:

root@:~# apt-get autoremove -s
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  linux-image-3.2.0-64-generic linux-image-3.2.0-74-generic 
linux-image-3.2.0-75-generic linux-image-3.2.0-77-generic 
linux-image-3.2.0-79-generic linux-image-3.2.0-80-generic 
linux-image-3.2.0-87-generic linux-image-3.2.0-88-generic
  linux-image-3.2.0-90-generic linux-image-3.2.0-91-generic 
linux-image-3.2.0-92-generic linux-image-3.2.0-94-generic
0 upgraded, 0 newly installed, 12 to remove and 9 not upgraded.
Remv linux-image-3.2.0-64-generic [3.2.0-64.97]
Remv linux-image-3.2.0-74-generic [3.2.0-74.109]
Remv linux-image-3.2.0-75-generic [3.2.0-75.110]
Remv linux-image-3.2.0-77-generic [3.2.0-77.114]
Remv linux-image-3.2.0-79-generic [3.2.0-79.115]
Remv linux-image-3.2.0-80-generic [3.2.0-80.116]
Remv linux-image-3.2.0-87-generic [3.2.0-87.125]
Remv linux-image-3.2.0-88-generic [3.2.0-88.126]
Remv linux-image-3.2.0-90-generic [3.2.0-90.128]
Remv linux-image-3.2.0-91-generic [3.2.0-91.129]
Remv linux-image-3.2.0-92-generic [3.2.0-92.131]
Remv linux-image-3.2.0-94-generic [3.2.0-94.134]
root@~#

This is the log of "unattended-upgrades":

2015-12-18 18:55:24,401 INFO Initial blacklisted packages:
2015-12-18 18:55:24,402 INFO Starting unattended upgrades script
2015-12-18 18:55:24,402 INFO Allowed origins are: 
['o=Ubuntu,a=precise-security']
2015-12-18 18:55:27,509 INFO Packages that are upgraded:
2015-12-18 18:55:29,601 INFO Packages that are auto removed: 
'linux-image-3.2.0-77-generic linux-image-3.2.0-79-generic 
linux-image-3.2.0-88-generic linux-image-3.2.0-91-generic 
linux-image-3.2.0-75-generic linux-image-3.2.0-94-generic 
linux-image-3.2.0-90-generic linux-image-3.2.0-74-generic 
linux-image-3.2.0-80-generic linux-image-3.2.0-64-generic 
linux-image-3.2.0-92-generic linux-image-3.2.0-87-generic'
2015-12-18 18:58:46,711 INFO Packages auto-removed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2015-12-18 Thread Felix Barbeira
** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2015-12-17 Thread Brian Murray
Hello Nils, or anyone else affected,

Accepted unattended-upgrades into precise-proposed. The package will
build now and be available at https://launchpad.net/ubuntu/+source
/unattended-upgrades/0.76ubuntu1.2 in a few hours, and then in the
-proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: unattended-upgrades (Ubuntu Precise)
   Status: In Progress => Fix Committed

** Tags removed: verification-done

** Tags added: verification-needed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2015-12-15 Thread Brian Murray
** Changed in: unattended-upgrades (Ubuntu Precise)
   Status: Triaged => In Progress

** Changed in: unattended-upgrades (Ubuntu Precise)
 Assignee: (unassigned) => Brian Murray (brian-murray)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2015-12-11 Thread Brian Murray
** Also affects: unattended-upgrades (Ubuntu Precise)
   Importance: Undecided
   Status: New

** Changed in: unattended-upgrades (Ubuntu Precise)
   Status: New => Triaged

** Changed in: unattended-upgrades (Ubuntu Precise)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2015-12-10 Thread Launchpad Bug Tracker
This bug was fixed in the package unattended-upgrades - 0.82.1ubuntu2.4

---
unattended-upgrades (0.82.1ubuntu2.4) trusty-proposed; urgency=medium

  * cherry pick fix for unused-dependencies removal (LP: #1267059)

 -- Michael Vogt   Thu, 03 Dec 2015 17:02:17
+0100

** Changed in: unattended-upgrades (Ubuntu Trusty)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2015-12-10 Thread Steve Brorens
Could someone with the permissions to do so *please* "Nominate this for
series" - tagging it as also applying to 12.04? - as per my comment #45.

I would, but appear not to have sufficient permission. (Oddly the
"Nominate this for series" option only shows while I'm logged out).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2015-12-07 Thread Christopher Heuer
** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2015-12-07 Thread Christopher Heuer
unattended-upgrades updated openssl this morning on two machines that I
set to use trusty-proposed, and old kernels were removed properly.
Changing status back and edited tag per comment #46.

** Changed in: unattended-upgrades (Ubuntu Trusty)
   Status: Confirmed => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2015-12-06 Thread Steve Brorens
It's just removed a kernel corrctly, so I've tagged as "confirmed"


** Changed in: unattended-upgrades (Ubuntu Trusty)
   Status: Fix Committed => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2015-12-06 Thread Steve Brorens
I'm sure that it's possible to "tag" this as also applying to Precise
(12.04) - but it's not clear to me how to do that. Could someone do so,
or point me to instructions? Thx

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2015-12-06 Thread Shane Synan
@Steve Brorens:  It's actually the little "Tags" section under the bug
description and right before the comments that needs edited.  Remove
'verification-needed' and add 'verification-done', and that should be
it!

If you can, you may want to change "Confirmed" back to "Fix Committed" -
that's for confirming the bug exists, not for confirming that a proposed
package fixed it.  "Fix Committed" means the fix is developed, but
hasn't yet passed testing.

Unfortunately, I'm not sure about how to mark this as also affecting
Precise.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2015-12-04 Thread Steve Brorens
Thanks, I've installed to one of our cloud servers as a test, and will see
if I can get authorisation to the same to some client test and dev servers
next week.

 - steve

BTW: I've popped a comment in bug 1516388

 (https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1516388)
because I have a few older servers with the same issue.

On Fri, Dec 4, 2015 at 5:33 AM, Michael Vogt 
wrote:

> I pushed a fix to trusty-proposed, please double check the git diff was
> a bit unclean. As much testing as possible is appreicated (work for me).
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1267059
>
> Title:
>   "Unattended-Upgrade::Remove-Unused-Dependencies" does not work
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2015-12-03 Thread Michael Vogt
** Patch added: "debdiff with the fix for trusty"
   
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+attachment/4529110/+files/unattended-upgrades_0.82.1ubuntu2.4.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2015-12-03 Thread Michael Vogt
I pushed a fix to trusty-proposed, please double check the git diff was
a bit unclean. As much testing as possible is appreicated (work for me).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2015-12-03 Thread Brian Murray
Hello Nils, or anyone else affected,

Accepted unattended-upgrades into trusty-proposed. The package will
build now and be available at https://launchpad.net/ubuntu/+source
/unattended-upgrades/0.82.1ubuntu2.4 in a few hours, and then in the
-proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: unattended-upgrades (Ubuntu Trusty)
   Status: Triaged => Fix Committed

** Tags added: verification-needed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2015-12-02 Thread Steve Brorens
It does indeed also apply to Precise (12.04 LTS ), I have clients with a
number of these having regular problems with this issue.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2015-12-01 Thread Nils Toedtmann
Nice to see that a LTS-killing bug is taken seriously (after 2 years).

What about Precise? It is affected and has still 1.5y to live.

(Though one might argue that any affected Precise machine must be either
dead or manually patched by now)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2015-11-30 Thread Alexander Skiba
Short version: backports won't work.

Slightly longer version: It's not in trusty-backports, it's not in 
vivid-(updates|backports), it is however in wily.
(Yes, I am aware that it's not an LTS and therefore not ideal, I have the same 
situation at work.) Information retrieved on 2015-11-30.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2015-11-30 Thread Steve Brorens
Just chipping in to say that it's very frustrating to see this marked
with a status of "Fix released".

Perhaps I'm misunderstanding what that implies, but:

 - all my servers running 14.04 LTS don't have the fix yet - and apparently 
won't get it unless I take action
 -  if I'm reading the above comments right, I have to add trusty-backports to 
get it (and it may not even *be* in there yet)

Very unsatisfactory and unclear.

I'm advising that for all our servers with this issue that we add the
simple "...running apt-get -y auto remove on a cron job..." fix
suggested above by Travis. That may be a hack, but seem to me to be
safer that enabling backports on production servers.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2015-11-30 Thread Brian Murray
** Also affects: unattended-upgrades (Ubuntu Trusty)
   Importance: Undecided
   Status: New

** Changed in: unattended-upgrades (Ubuntu Trusty)
   Status: New => Triaged

** Changed in: unattended-upgrades (Ubuntu Trusty)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2015-11-16 Thread Seth Arnold
mvo, is this suitable for an SRU? Thanks

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2015-11-15 Thread Jon Ribbens
Is there any news on this being added as a security update to trusty?
I'm beginning to wonder what "LTS" means if a bug that results in every
installation of Ubuntu sooner or later ceasing to receive security
updates does not get pushed out as part of the security updates.

(As someone else mentioned, "APT::Periodic::AutocleanInterval" does not
fix this, that is something completely different.)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2015-11-14 Thread Samuel Reed
This is causing us issues left and right. Has the backport come through
yet? We are still seeing servers fill up disks because of this bug.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

2015-11-14 Thread Mikko Pesari
For what it's worth; I've worked around this by installing the version
from wily on some trusty machines. So far so good. The machines upgrade
daily and old kernels and their headers are removed.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  "Unattended-Upgrade::Remove-Unused-Dependencies" does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: Unattended-Upgrade::Remove-Unused-Dependencies does not work

2015-07-27 Thread Nick Peelman
Would like to second that this get backported to Trusty and other
supported versions.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  Unattended-Upgrade::Remove-Unused-Dependencies does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: Unattended-Upgrade::Remove-Unused-Dependencies does not work

2015-07-23 Thread Alexander List
Did you even consider providing the fix via SRU?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  Unattended-Upgrade::Remove-Unused-Dependencies does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: Unattended-Upgrade::Remove-Unused-Dependencies does not work

2015-07-23 Thread Alexander List
So, there is a fix released, but it is still not in backports for
trusty... how does that help affected users?

Please backport the fix to all currently supported versions of Ubuntu,
and propose it for SRU. Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  Unattended-Upgrade::Remove-Unused-Dependencies does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: Unattended-Upgrade::Remove-Unused-Dependencies does not work

2015-06-19 Thread Michael Vogt
This is fixed, I plan to do a backport for 14.04 and 12.04 via the
trusty-backports, precise-backports mechanism.

** Changed in: unattended-upgrades (Ubuntu)
   Status: Triaged = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  Unattended-Upgrade::Remove-Unused-Dependencies does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: Unattended-Upgrade::Remove-Unused-Dependencies does not work

2015-05-26 Thread Guy Baconniere
I agree with @Jamiejellicoe this ticket should be rated as Security
issue (250) but we are close that (236)...

Having /boot full can lead to kernel, inird image or grub.conf corruption and 
on top of that it's blocking new security updates to be applied.

When /boot is full you cannot even purge old kernel before /boot has a minimum
disk space. So my workaround is to echo -n  /boot/initrd.img- some old 
kernel's inird images
so I have enough free space to cleanup old kernel, header, etc.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  Unattended-Upgrade::Remove-Unused-Dependencies does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: Unattended-Upgrade::Remove-Unused-Dependencies does not work

2015-05-26 Thread Travis Odom
GhostLyrics' upstream patch has been merged (https://github.com/mvo5
/unattended-upgrades/pull/6). Anyone know how/when this might flow into
Ubuntu and/or get backported?

Right now my servers are running apt-get -y autoremove on a cron job,
but I'd love to ditch that.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  Unattended-Upgrade::Remove-Unused-Dependencies does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: Unattended-Upgrade::Remove-Unused-Dependencies does not work

2015-05-12 Thread Alexander Skiba
In regard to #20:

I've submitted a pull request that *changes the default behavior* of
`Remove-Unused-Dependencies` to remove *all* orphaned packages, here:
https://github.com/mvo5/unattended-upgrades/pull/6/files (1 week as of
this comment)

I've not received any feedback on this yet, though - neither if it is
okay like this nor if I should've used another parameter for auto-
cleaning all orphaned packages.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  Unattended-Upgrade::Remove-Unused-Dependencies does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: Unattended-Upgrade::Remove-Unused-Dependencies does not work

2015-05-12 Thread Ingolf Becker
For some reason the unattended upgrades script is very picky about which
packages are to be removed. It tries to auto-remove only those packages
that have been made redundant by the current set of updates. However,
installing a new kernel does not make any previous kernel version
redundant automatically - a separate script (/etc/kernel/postinst.d/apt-
auto-removal) is run after kernel upgrades that marks all but the two
most recent kernels as 'auto-removable'.

I am not sure that the current behaviour can be described as expected or
intended - the original author clearly does not trust that what apt
thinks is unused (and therefore removable) is unused in reality. He is
trying to work around the possibility of having `apt-get auto-remove`
break running systems.

Really, there should be two changes: Change the documentation for
`Remove-Unused-Dependencies`, and adding a switch that will always
remove kernels that have been marked as `auto-removable`. For those
people that are happy to have `apt-get auto-remove` automatically, there
is the `APT::Periodic::AutocleanInterval` variable in
/etc/apt/apt.conf.d/10periodic. (Which should really be documented
too...)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  Unattended-Upgrade::Remove-Unused-Dependencies does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: Unattended-Upgrade::Remove-Unused-Dependencies does not work

2015-05-12 Thread Ingolf Becker
#20: Thanks for the github link.

#21: You are right, for some reason I thought that autoclean does
autoremove. You are not quite correct though: If you upgrade a package,
the list of dependencies may have changed and dependency may have been
dropped. This will then be no longer required, and should fall in that
difference of the two sets.

So really we need an additional switch that removes not only the
packages that have newly become auto-removable, but removes all auto-
removable packages. Which would then be equivalent to doing apt-get
autoremove.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  Unattended-Upgrade::Remove-Unused-Dependencies does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: Unattended-Upgrade::Remove-Unused-Dependencies does not work

2015-05-12 Thread Lars Heide
As there has been confusion about this apparently:

Marking the packages for upgrade

line 1194: mark_upgrade()

is not the same as upgrading them. The upgrade only happens after the
changes are commited:

line 392: res = cache.commit(install_progress=iprogress)

The output of is_auto_removable only changes after that AFAIK.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  Unattended-Upgrade::Remove-Unused-Dependencies does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: Unattended-Upgrade::Remove-Unused-Dependencies does not work

2015-05-12 Thread Lars Heide
APT::Periodic::AutocleanInterval is kinda documented in
/etc/cron.daily/apt

#  APT::Periodic::AutocleanInterval 0;
#  - Do apt-get autoclean every n-days (0=disable)

From what I read from the code, it does just that. According to the man
page autoclean clears out the local repository of retrieved package
files.

In what way is that equivalent to autoremove?

Besides: The original authors intent to auto-remove only those packages
that have been made redundant by the current set of updates fails.
Please see comment #7:

The author checks for auto-removable packages, then marks the new
packages as to install and then checks again for autoremovable
packages and then tries to remove the difference of those two sets. But
the two sets are always the same, the resulting set is therefore empty.
Without actually installing the new packages, the solver does not return
a different set of auto-removable packages.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  Unattended-Upgrade::Remove-Unused-Dependencies does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: Unattended-Upgrade::Remove-Unused-Dependencies does not work

2015-05-12 Thread Ingolf Becker
Thanks for the link - I didn't realise the code was based on github. I
don't think changing the default behaviour is the solution though - for
a proper auto-remove there is already a variable
`APT::Periodic::AutocleanInterval` in /etc/apt/apt.conf.d/10periodic
(from the update-notifier-common package). I think the most major issue
here is really the misleading documentation.

Basically: Everyone who found this issue and would like just  regular
auto removes of unused packaged: Set `APT::Periodic::AutocleanInterval
7` in /etc/apt/apt.conf.d/10periodic - then every 7 days, autoremove
is execucted.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  Unattended-Upgrade::Remove-Unused-Dependencies does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: Unattended-Upgrade::Remove-Unused-Dependencies does not work

2015-04-09 Thread Alexander Skiba
I've patched the packages for Precise, Trusty and Debian Wheezy.
Although it's been done in a very ugly and quite sloppy way I can
provide the patches.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  Unattended-Upgrade::Remove-Unused-Dependencies does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: Unattended-Upgrade::Remove-Unused-Dependencies does not work

2015-04-09 Thread Jamie
P.s. How is this bug not classed as a security risk? When /boot is full
no more security updates can be installed (when the owner of the machine
is lead to believe they are still being installed)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  Unattended-Upgrade::Remove-Unused-Dependencies does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: Unattended-Upgrade::Remove-Unused-Dependencies does not work

2015-04-09 Thread Jamie
This is ridiculous, why has this not been fixed yet?

I manage around 100 VM's and this problem is causing me serious
headaches. I simply haven't got time to go round manually autoremoving
old kernals and it would be foolish not to leave unattended security
updates on.

Just because there are only ~34 people who have bothered to write on
this thread does not mean that others with 13.04 or greater are not
affected, I think most will be eventually.

It is correct to say that the documentation is wrong; Unattended-Upgrade
::Remove-Unused-Dependencies true;  is not currently equivalent to
apt-get autoremove but that is the expected behaviour (I imagine most
people who install ubuntu don't want to have to consider how to remove
old kernals so this should be the default behaviour)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  Unattended-Upgrade::Remove-Unused-Dependencies does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: Unattended-Upgrade::Remove-Unused-Dependencies does not work

2015-04-09 Thread Nils Toedtmann
Each day this bug breaks more Ubuntu servers that do unattended-
upgrades, in particular cloud servers with 100GB rootfs. I alone have
a few dozens affected machines.

And it's not totally trivial for Admin Average to diagnose the inode
shortage, realize it's flooded with linux-headers packages, and to
convince apt-get (potentially stuck in 'broken dependancies') to clean
up.

I think this is more impartant than medium, at least for Precise/LTS.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  Unattended-Upgrade::Remove-Unused-Dependencies does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: Unattended-Upgrade::Remove-Unused-Dependencies does not work

2015-03-24 Thread JohnWashington
@Nathaniel: does http://packaging.ubuntu.com/html/fixing-a-bug.html
help?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  Unattended-Upgrade::Remove-Unused-Dependencies does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: Unattended-Upgrade::Remove-Unused-Dependencies does not work

2015-03-24 Thread Nathaniel W. Turner
This bug is serious (it causes filesystems to fill up on pretty much every 
production server that doesn't have a huge root fs).
It has a reasonable looking patch that fixes the problem.
I don't think there is anything to discuss other than: How do we get the fix 
into Ubuntu?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  Unattended-Upgrade::Remove-Unused-Dependencies does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: Unattended-Upgrade::Remove-Unused-Dependencies does not work

2015-03-23 Thread Apreche
I can confirm what Nils Toedtmann says. I discovered this bug precisely
because I encountered situation #1089195. This is a serious issue for
any production servers as you want them to get automatic security
updates, but running out of inodes will simply bring them down. I don't
know why this hasn't been fixed in over a year. It's an extremely
serious problem.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  Unattended-Upgrade::Remove-Unused-Dependencies does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: Unattended-Upgrade::Remove-Unused-Dependencies does not work

2015-03-23 Thread JohnWashington
Apreche: you say it's a serious issue, and I agree with you.  Allegedly,
if I look at the stats at the top of the page, this affects me and 34
other users.  Though I'm betting that's just the tip of the iceberg.

Informal discussions reveal that bugs need to have thousands indicating
it affects them before they're likely to get attention.  So either don't
hold your breath or find a way to get more visibility. :(

Or find a developer you can get interested?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  Unattended-Upgrade::Remove-Unused-Dependencies does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: Unattended-Upgrade::Remove-Unused-Dependencies does not work

2015-03-09 Thread Nils Toedtmann
Note that situation #1089195 is another possible outcome of this bug.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  Unattended-Upgrade::Remove-Unused-Dependencies does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: Unattended-Upgrade::Remove-Unused-Dependencies does not work

2015-01-19 Thread Chris Case
This is a pretty big issue, as installing Ubuntu server with the
defaults will always create a boot partition, and enabling automatic
updates (which is desirable from a security standpoint) means that every
few weeks kernel updates start failing because the old kernels haven't
been removed.

I would very much like to see what seems like a simple problem fixed.
This effects every single ubuntu VM at my work (of which we have about
80), and is incredibly annoying to have to deal with.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  Unattended-Upgrade::Remove-Unused-Dependencies does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: Unattended-Upgrade::Remove-Unused-Dependencies does not work

2015-01-15 Thread the2nd
same problem here. ubuntu 12.04.

is there any fix for this available?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  Unattended-Upgrade::Remove-Unused-Dependencies does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: Unattended-Upgrade::Remove-Unused-Dependencies does not work

2014-09-29 Thread urusha
Lars Heide, your patch works great for me, I think it should be applied
upstream. But some people may find differential behavior
(now_auto_removable-pkgs_auto_removable) safer. Then the right solution
may be: implementing logic described in #7 (in addition to patch from
#4) with adding new config option like Remove-Unused-Dependencies-
NewOnly.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  Unattended-Upgrade::Remove-Unused-Dependencies does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: Unattended-Upgrade::Remove-Unused-Dependencies does not work

2014-09-18 Thread Lars Heide
Actually I just saw that it is semi fixed in 14.04 in the way that

now_auto_removable-pkgs_auto_removable

now reads

now_auto_removable - pkgs_auto_removable

which is also wrong, as

now_auto_removable = set([pkg.name for pkg in cache
  if pkg.is_auto_removable])
and

pkgs_auto_removable = set([pkg.name for pkg in cache
   if pkg.is_auto_removable])

are apparently the same, therefore substracting them from each other is
always empty.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  Unattended-Upgrade::Remove-Unused-Dependencies does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: Unattended-Upgrade::Remove-Unused-Dependencies does not work

2014-09-18 Thread Lars Heide
I checked and apparently now_auto_removable and pkgs_auto_removable are
always the same, as is_auto_removable only returns different results
_after_ the packages have actually been upgraded. Just marking them does
apparently not change the output of is_auto_removable(). I tried to use
the ProblemResolver but I didn't get the output of is_auto_removable()
to change.

One possible solution is to actually upgrade the packages and then check
for autoremovability, then you can make it works as intended. My
original patch implemented only an autoremove (same as apt-get
autoremove).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  Unattended-Upgrade::Remove-Unused-Dependencies does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: Unattended-Upgrade::Remove-Unused-Dependencies does not work

2014-09-17 Thread Lars Heide
This thing seems to be broken in 2 ways (on 12.04 at least):

A) Its checking internally for the wrong variable ( 
now_auto_removable-pkgs_auto_removable instead of  now_auto_removable-pkgs) :
Do this and it will actually tell you the packages that are to be removed.

B) It does not actually remove the packages because there is no call to
cache.commit()

I have included a patch. I don't know if there is some intended
behaviour this is breaking though.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  Unattended-Upgrade::Remove-Unused-Dependencies does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: Unattended-Upgrade::Remove-Unused-Dependencies does not work

2014-09-17 Thread Lars Heide
** Patch added: correct variable and issue commit
   
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+attachment/4206463/+files/unattended-upgrade.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  Unattended-Upgrade::Remove-Unused-Dependencies does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: Unattended-Upgrade::Remove-Unused-Dependencies does not work

2014-09-17 Thread Ubuntu Foundations Team Bug Bot
The attachment correct variable and issue commit seems to be a patch.
If it isn't, please remove the patch flag from the attachment, remove
the patch tag, and if you are a member of the ~ubuntu-reviewers,
unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issues please contact him.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  Unattended-Upgrade::Remove-Unused-Dependencies does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: Unattended-Upgrade::Remove-Unused-Dependencies does not work

2014-09-17 Thread Brian Murray
** Tags added: trusty

** Changed in: unattended-upgrades (Ubuntu)
   Importance: Undecided = Medium

** Changed in: unattended-upgrades (Ubuntu)
 Assignee: (unassigned) = Michael Vogt (mvo)

** Changed in: unattended-upgrades (Ubuntu)
   Status: Confirmed = Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  Unattended-Upgrade::Remove-Unused-Dependencies does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: Unattended-Upgrade::Remove-Unused-Dependencies does not work

2014-06-24 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: unattended-upgrades (Ubuntu)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  Unattended-Upgrade::Remove-Unused-Dependencies does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: Unattended-Upgrade::Remove-Unused-Dependencies does not work

2014-01-09 Thread Brian Murray
** Tags added: precise

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  Unattended-Upgrade::Remove-Unused-Dependencies does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1267059] Re: Unattended-Upgrade::Remove-Unused-Dependencies does not work

2014-01-09 Thread Nils Toedtmann
I had a quick glance at /usr/bin/unattended-upgrade, and it looks like
that Unattended-Upgrade::Remove-Unused-Dependencies only autoremoves
dependancies that have become auto-removeable during *this* very run of
unattended-upgrade! Anything that had already been auto-removeable
before invokation of /usr/bin/unattended-upgrade will not get
autoremoved by unattended-upgrade.

(See lists pkgs_auto_removable set in line 706, now_auto_removable
set in line 817, and only their difference being autoremoved in line
819)

Is that correct?


If this is the intended functionality of 
Unattended-Upgrade::Remove-Unused-Dependencies, then this is not a bug with 
unattended-upgrade, but with its documentation. 
/etc/apt/apt.conf.d/50unattended-upgrades says

// Do automatic removal of new unused dependencies after the upgrade
// (equivalent to apt-get autoremove)
Unattended-Upgrade::Remove-Unused-Dependencies true;

But it's actually only equivalent to apt-get autoremove if there was
nothing to be autoremoved beforehand. That should be clarified.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1267059

Title:
  Unattended-Upgrade::Remove-Unused-Dependencies does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1267059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs