[Bug 884979] [NEW] purging a package for different architecture may delete files needed for the actual architecture
Párkányi, Balázs
884979 at bugs.launchpad.net
Tue Nov 1 22:36:06 UTC 2011
Public bug reported:
After installing adobe-flashplugin on my 64-bit system (11.10) I removed all the packages for i386 architecture. Then I purged them. After restarting the machine, the default Ubuntu session stopped working. I found that when I purged package libglib2.0-0:i386, dpkg deleted the file /usr/share/glib-2.0/schemas/gschemas.compiled. However it also belongs to libglib2.0-0. I supposed that the library missed this file, because after copying it back, my box started to work again.
I do not know, if it is a serious problem, but dpkg should handle these cases, when there are packages installed for different architectures. May hard linking the same files prevent unwanted deletion?
** Affects: dpkg (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/884979
Title:
purging a package for different architecture may delete files needed
for the actual architecture
Status in “dpkg” package in Ubuntu:
New
Bug description:
After installing adobe-flashplugin on my 64-bit system (11.10) I removed all the packages for i386 architecture. Then I purged them. After restarting the machine, the default Ubuntu session stopped working. I found that when I purged package libglib2.0-0:i386, dpkg deleted the file /usr/share/glib-2.0/schemas/gschemas.compiled. However it also belongs to libglib2.0-0. I supposed that the library missed this file, because after copying it back, my box started to work again.
I do not know, if it is a serious problem, but dpkg should handle these cases, when there are packages installed for different architectures. May hard linking the same files prevent unwanted deletion?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/884979/+subscriptions
More information about the foundations-bugs
mailing list