[Bug 154982] Re: extended_states is modified even if --dry-run is used
Bug Watch Updater
154982 at bugs.launchpad.net
Wed Aug 10 18:43:23 UTC 2011
** Changed in: apt (Debian)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/154982
Title:
extended_states is modified even if --dry-run is used
Status in “apt” package in Ubuntu:
Fix Released
Status in “apt” package in Debian:
Fix Released
Bug description:
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.
root at 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]
root at 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.
root at 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]
root at 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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/154982/+subscriptions
More information about the foundations-bugs
mailing list