missing required tag: "section"

Bug #1008678 reported by Redwolf on 2012-06-04
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
lxrandr (Ubuntu)
Medium
Unassigned

Bug Description

When updating menu data, console drops <missing required tag: "section">

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in lxrandr (Ubuntu):
status: New → Confirmed
kalehrl (kalehrl) wrote :

Hi
I'm using Lubuntu and when I added Lubuntu daily ppa for updating my pcmanfm and other packages, I started getting this error:

Processing triggers for menu ...
/usr/share/menu/lxrandr: missing required tag: "section"
Skipping file because of errors...

Please see attached the full log.

Download full text (3.4 KiB)

I also get the following Terminal output in Lubuntu 13.10 while running the razorqt desktop :

Uninstalling and reinstalling the menu package does not help in Lubuntu 13.10.

$ sudo apt-get install --reinstall menu
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 455 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://nl3.archive.ubuntu.com/ubuntu/ saucy/universe menu amd64 2.1.46ubuntu1 [455 kB]
Fetched 455 kB in 0s (1,003 kB/s)
(Reading database ... 239229 files and directories currently installed.)
Preparing to replace menu 2.1.46ubuntu1 (using .../menu_2.1.46ubuntu1_amd64.deb) ...
Unpacking replacement menu ...
Processing triggers for install-info ...
Processing triggers for man-db ...
Setting up menu (2.1.46ubuntu1) ...
Processing triggers for menu ...
/usr/share/menu/lxrandr: missing required tag: "section"
Skipping file because of errors...
$

$ sudo apt-get remove menu
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  bleachbit bum menu
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
After this operation, 4,270 kB disk space will be freed.
Do you want to continue [Y/n]? ^Culysses@ulysses-Latitude-E6500:~$ sudo apt-get purge menu
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  bleachbit* bum* menu*
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
After this operation, 4,270 kB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 239228 files and directories currently installed.)
Removing bleachbit ...
Purging configuration files for bleachbit ...
Removing bum ...
Removing menu ...
Purging configuration files for menu ...
Processing triggers for desktop-file-utils ...
Processing triggers for mime-support ...
Processing triggers for man-db ...
Processing triggers for install-info ...
$

$ sudo apt-get install menu bleachbit
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  menu-l10n
The following NEW packages will be installed:
  bleachbit menu
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 365 kB/820 kB of archives.
After this operation, 3,738 kB of additional disk space will be used.
Get:1 http://nl3.archive.ubuntu.com/ubuntu/ saucy/universe bleachbit all 0.9.6-1 [365 kB]
Fetched 365 kB in 0s (777 kB/s)
Selecting previously unselected package menu.
(Reading database ... 238846 files and directories currently installed.)
Unpacking menu (from .../menu_2.1.46ubuntu1_amd64.deb) ...
Selecting previously unselected package bleachbit.
Unpacking bleachbit (from .../bleachbit_0.9.6-1_all.deb) ...
Processing triggers for install-info ...
Processing triggers for man-db ...
Processing triggers for desktop-file-utils ...
Processing triggers for mime-support ...
Setting up menu (2.1.46ubuntu1) ...
Processing triggers for menu ...
/usr/shar...

Read more...

Offending change: https://bazaar.launchpad.net/~ubuntu-branches/ubuntu/trusty/lxrandr/trusty/revision/13#debian/menu

Example of working menu file (at a Debian system):

brother ~$ cat /usr/share/menu/lxrandr
?package(lxrandr):needs="X11" section="Applications/System/Monitoring"\
  title="LXRandR" longtitle="LXDE monitor configuration tool"\
  description="LXRandR is a GUI application for the Lightweight X11 Desktop Environment (LXDE). It's a very basic monitor config tool utilizing the X extension called RandR to change the screen resolution on the fly."\
  command="/usr/bin/lxrandr"

Yuv (yuv) wrote :

Trusty has been released and a sudo apt-get upgrade still yields the error message. This thing is really just a couple of lines to fix. The error has been known for months and the simple fix (comment #4, thank you very much) known for weeks. This kind of errors just make the users feel uncertain and give the software a bad reputation.

Can't somebody with write access to the repository simply fix it?

Alternatively, can't somebody who is responsible for the repository give the author of comment #4 repository write access to fix it?

It is totally ridiculous that such a simple oversight get carried on for month, tainting the trustwortiness of the software distribution as a whole.

Adolfo Jayme (fitojb) on 2014-08-24
Changed in lxrandr (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → Medium
LStranger (andrej-rep) wrote :

Debian menu is removed from lxrandr package, only XDG menu entry is in use now, so I think this issue may be closed.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers