Bug 61014 - : libreoffice4.0-debian-menus: wrong package name (lacks the 4.0 in control file)
Summary: : libreoffice4.0-debian-menus: wrong package name (lacks the 4.0 in control ...
Status: RESOLVED DUPLICATE of bug 67031
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Installation (show other bugs)
Version:
(earliest affected)
4.0.0.3 release
Hardware: Other Linux (All)
: low minor
Assignee: Petr Mladek
URL:
Whiteboard: BSA
Keywords: regression
Depends on:
Blocks:
 
Reported: 2013-02-17 18:09 UTC by Miguel Telleria de Esteban
Modified: 2013-09-18 15:48 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miguel Telleria de Esteban 2013-02-17 18:09:58 UTC
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
Comment 1 Miguel Telleria de Esteban 2013-02-17 18:13:43 UTC
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.
Comment 2 Petr Mladek 2013-09-18 15:48:24 UTC
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 ***