Problem description: binary package libreoffice4.0-debian-menus.deb downloaded from http://download.documentfoundation.org/libreoffice/stable/ does not have the correct name in control file (at least for x86-32bit version). Steps to reproduce: 1. Place all deb files in an APT repository.... 2. Update the repository (apt-ftparchive) and the machine's package list (apt-get update) 3. Try apt-get install libreoffice4.0-debian-menus Current behavior: libreoffice4.0-debian-menus package unknown (in fact the package real name is libreoffice-debian-menus). Expected behavior: since there is a file libreoffice4.0-debian-menus_nnn.deb one expects to have a package with that name. Solutions: A) Preferred by me: Take the .deb file and extract it, correct the DEBIAN/control file and rebuild the package again. mkdir dest dpkg --extract <deb_file> dest dpkg --control <deb_file> mv DEBIAN dest edit dest/DEBIAN/control and change package name to "libreoffice4.0-debian-menus" dpkg --build dest mv <deb_file> other_name dpkg-name dest.deb B) Alternate quick fix Rename the deb file to the same package name that has in the control metadata. dpkg-name <libreoffice4.0-debian-menus deb file> Operating System: Debian Version: 4.0.0.3 release Last worked in: 3.6.2.2 release
This bug does not manifest itself if you install the packages with dpkg -i *.deb as suggested by the documents and different howtos that have appeared. However it gets annoying if you try to automate the install with an apt repository such as my case for my Debian Squeeze. So I lower the importance to low/minor although the fix is also quite trivial.
This has been fixed in the last 4.1.0 RC as the bug #67031. *** This bug has been marked as a duplicate of bug 67031 ***