[Bug 154982] Re: extended_states is modified even if --dry-run is used
** Changed in: apt (Debian) Status: New = 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/154982 Title: extended_states is modified even if --dry-run is used To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/154982/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 154982] Re: extended_states is modified even if --dry-run is used
This was fixed in apt version 0.7.22, which means that versions from Karmic onwards will have this patch. Marked Fix Released. ** Changed in: apt (Ubuntu) Status: Triaged = Fix Released -- extended_states is modified even if --dry-run is used https://bugs.launchpad.net/bugs/154982 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 154982] Re: extended_states is modified even if --dry-run is used
** Tags added: jaunty -- extended_states is modified even if --dry-run is used https://bugs.launchpad.net/bugs/154982 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 154982] Re: extended_states is modified even if --dry-run is used
Thank you Gregory, marking Triaged, Medium. This should now be fixable and hopefully should be in the repos soon. I'll let the developers take it from here then, thank you. ** Changed in: apt (Ubuntu) Importance: Undecided = Medium ** Changed in: apt (Ubuntu) Status: Incomplete = Triaged ** Description changed: + + I can now confirm that the simple one line patch + previously mentioned, offered by David Kalnischkies + in Debian bug #433007 fixes this problem. + === + Binary package hint: apt I ran apt-get -s install on packages that had been Auto-Installed, and apt-get modified the Auto-Installed state (from 1 to 0). According to the man page, this should be a simulation and no system information should be changed. Here's a transcript of my attempt to first remove a package and then mark it's brothers as not-auto-installed. Everything I did was with the -s flag, but still the state changed. r...@tesla 752# apt-get -s remove openoffice.org-calc Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: openoffice.org-impress openoffice.org-draw libservlet2.4-java openoffice.org-math libhsqldb-java openoffice.org-base Use 'apt-get autoremove' to remove them. The following packages will be REMOVED: openoffice.org openoffice.org-calc 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. Remv openoffice.org [1:2.3.0-1ubuntu5] Remv openoffice.org-calc [1:2.3.0-1ubuntu5] r...@tesla 753# apt-get -s install openoffice.org-impress openoffice.org-draw libservlet2.4-java openoffice.org-math libhsqldb-java openoffice.org-base Reading package lists... Done Building dependency tree Reading state information... Done openoffice.org-impress is already the newest version. openoffice.org-impress set to manual installed. openoffice.org-draw is already the newest version. openoffice.org-draw set to manual installed. libservlet2.4-java is already the newest version. libservlet2.4-java set to manual installed. openoffice.org-math is already the newest version. openoffice.org-math set to manual installed. libhsqldb-java is already the newest version. libhsqldb-java set to manual installed. openoffice.org-base is already the newest version. openoffice.org-base set to manual installed. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. r...@tesla 754# apt-get -s remove openoffice.org-calc Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: openoffice.org openoffice.org-calc 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. Remv openoffice.org [1:2.3.0-1ubuntu5] Remv openoffice.org-calc [1:2.3.0-1ubuntu5] r...@tesla 755# egrep -A 1 openoffice.org-impress|openoffice.org-draw|libservlet2.4-java|openoffice.org-math|libhsqldb-java|openoffice.org-base /var/lib/apt/extended_states Package: libhsqldb-java Auto-Installed: 0 -- Package: openoffice.org-impress Auto-Installed: 0 -- Package: openoffice.org-draw Auto-Installed: 0 -- Package: libservlet2.4-java Auto-Installed: 0 -- Package: openoffice.org-math Auto-Installed: 0 -- Package: openoffice.org-base Auto-Installed: 0 ** Bug watch added: Debian Bug tracker #433007 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=433007 -- extended_states is modified even if --dry-run is used https://bugs.launchpad.net/bugs/154982 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 154982] Re: extended_states is modified even if --dry-run is used
Changing LP to watch the patch not the bug ** Changed in: apt (Debian) Remote watch: Debian Bug tracker #498799 = Debian Bug tracker #433007 -- extended_states is modified even if --dry-run is used https://bugs.launchpad.net/bugs/154982 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 154982] Re: extended_states is modified even if --dry-run is used
** Changed in: apt (Debian) Status: Unknown = New -- extended_states is modified even if --dry-run is used https://bugs.launchpad.net/bugs/154982 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 154982] Re: extended_states is modified even if --dry-run is used
I can now confirm that the simple one line patch previously mentioned, offered by David Kalnischkies in Debian bug #433007, fixes my complaint in all affected Ubuntu releases from jaunty back to feisty. And also in Debian Lenny. -- extended_states is modified even if --dry-run is used https://bugs.launchpad.net/bugs/154982 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 154982] Re: extended_states is modified even if --dry-run is used
Strange. The upstream bug report states that this was fixed in 0.7.15. Both Jaunty and the development release of Karmic both use version 0.7.20.2ubuntu6: * apt-pkg/packagemanager.cc, apt-pkg/deb/dpkgpm.cc: - move the state file writting into the Go() implementation of dpkgpm (closes: #498799) It may be worth putting a note on the upstream bug that this doesn't appear fixed. -- extended_states is modified even if --dry-run is used https://bugs.launchpad.net/bugs/154982 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 154982] Re: extended_states is modified even if --dry-run is used
This is probably a duplicate of an open Debian bug, #433007. One gentleman posted a patch on 19 May 2009. Their test mechanism is different from mine, so I'll try out the patch on a jaunty install. -- extended_states is modified even if --dry-run is used https://bugs.launchpad.net/bugs/154982 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 154982] Re: extended_states is modified even if --dry-run is used
This bug is still present in all Ubuntu versions from feisty through jaunty, as well as Debian Lenny. Dapper's apt appears to be too old to support the extended_states file. Ubuntu Ubuntu Apt Dry-Run Release CodeName Version Bug? --- - --- 6.06.2 dapper 0.6.43.3ubuntu3.1 n/a 7.04 feisty 0.6.46.4ubuntu10Yes 7.10 gutsy 0.7.6ubuntu14.1 Yes 8.04.2 hardy 0.7.9ubuntu17.2 Yes 8.10 intrepid 0.7.14ubuntu6.1 Yes 9.04 jaunty 0.7.20.2ubuntu6 Yes Also tested and present in Debian Lenny (apt version 0.7.20.2+lenny1) -- extended_states is modified even if --dry-run is used https://bugs.launchpad.net/bugs/154982 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 154982] Re: extended_states is modified even if --dry-run is used
Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue for you. Can you try with the latest Ubuntu release? Thanks in advance. ** Changed in: apt (Ubuntu) Status: New = Incomplete -- extended_states is modified even if --dry-run is used https://bugs.launchpad.net/bugs/154982 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 154982] Re: extended_states is modified even if --dry-run is used
** Bug watch added: Debian Bug tracker #498799 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=498799 ** Also affects: apt (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=498799 Importance: Unknown Status: Unknown -- extended_states is modified even if --dry-run is used https://bugs.launchpad.net/bugs/154982 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs