emacs22-common-non-dfsg fails to install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
emacs22-non-dfsg (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
There is a conflict with emacs22+common:
krank% sudo aptitude install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
The following NEW packages will be installed:
emacs22-
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/3712kB of archives. After unpacking 4207kB will be used.
Do you want to continue? [Y/n/?]
(Reading database ... 189397 files and directories currently installed.)
Unpacking emacs22-
dpkg: error processing /var/cache/
trying to overwrite `/usr/share/
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
krank% dpkg -l emacs22\*
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Description
+++-===
un emacs22 <none> (no description available)
ii emacs22-bin-comm 22.1-0ubuntu5 The GNU Emacs editor's shared, architecture depe
ii emacs22-common 22.1-0ubuntu5 The GNU Emacs editor's common infrastructure
in emacs22-common-n <none> (no description available)
ii emacs22-el 22.1-0ubuntu5 GNU Emacs LISP (.el) files
ii emacs22-gtk 22.1-0ubuntu5 The GNU Emacs editor (with GTK+ 2.x support)
un emacs22-nox <none> (no description available)
ProblemType: Bug
Architecture: amd64
Date: Fri Oct 12 08:44:29 2007
Dependencies:
DistroRelease: Ubuntu 7.10
Package: emacs22-
PackageArchitec
SourcePackage: emacs22-non-dfsg
Uname: Linux krank 2.6.22-14-generic #1 SMP Wed Oct 10 05:28:36 GMT 2007 x86_64 GNU/Linux
I experienced the same thing. I forced installation with
dpkg -i --force-overwrite /var/cache/ apt/archives/ emacs22- common- non-dfsg_ <version> .deb
After this, neither `apt-get check' nor synaptic complained about inconsistencies or broken packages.