Install error: Duplicate Definition

Bug #882208 reported by Hein Gustavsen
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
jed-extra (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

When I install the jed-extra package, I get the following error and sl files are not compiled:

root@hein4:~# sudo apt-get install jed-extra
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  slang-gdbm slang-curl slang-sqlite slang-expat slang-wildcard
The following NEW packages will be installed:
  jed-extra
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/583 kB of archives.
After this operation, 2,421 kB of additional disk space will be used.
Selecting previously deselected package jed-extra.
(Reading database ... 310701 files and directories currently installed.)
Unpacking jed-extra (from .../jed-extra_2.5.6-1_all.deb) ...
Setting up jed-extra (2.5.6-1) ...
jed library path: /usr/share/jed/jed-extra/drop-in,/usr/share/jed/lib,/usr/share/slsh,/usr/share/jed/jed-extra,/usr/share/jed/jed-extra/utils
list_concat cannot be re-defined
Traceback: _autoload
/usr/share/jed/jed-extra/utils/ini.sl:79:<top-level>:Duplicate Definition
Traceback: evalbuffer
/usr/share/jed/jed-extra/make_ini.sl:625:update_ini:Duplicate Definition
  Local variables for update_ini:
        String_Type dir = "/usr/share/jed/jed-extra/utils"
        String_Type buf = "*scratch*"
/usr/share/jed/compile/jed-extra-preparse.sl:45:<top-level>:Duplicate Definition
root@hein4:~#

Description: Ubuntu 11.10
Release: 11.10

jed-extra:
  Installed: 2.5.6-1
  Candidate: 2.5.6-1
  Version table:
 *** 2.5.6-1 0
        500 http://no.archive.ubuntu.com/ubuntu/ oneiric/universe i386 Packages
        100 /var/lib/dpkg/status

Tags: patch
Revision history for this message
Hein Gustavsen (hein-gustavsen) wrote :

Same issue in Ubuntu 12.04 Beta. Both times, the system was upgraded from a previous version; 11.04 in this case.

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in jed-extra (Ubuntu):
status: New → Confirmed
Revision history for this message
Hein Gustavsen (hein-gustavsen) wrote :

Problem also exists in Kubuntu 12.04 Beta 2 64-bit.

Did a fresh desktop installation and run "apt-get jed-extra" from command line:

test@test-VirtualBox:~$ sudo apt-get install jed-extra
[sudo] password for test:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  jed jed-common libslang2-modules slsh
Suggested packages:
  gpm slang-gdbm dict slang-curl a2ps slang-sqlite slang-expat slang-wildcard
The following NEW packages will be installed:
  jed jed-common jed-extra libslang2-modules slsh
0 upgraded, 5 newly installed, 0 to remove and 472 not upgraded.
Need to get 1,403 kB of archives.
After this operation, 5,471 kB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://no.archive.ubuntu.com/ubuntu/ precise/universe libslang2-modules amd64 2.2.4-3ubuntu1 [67.8 kB]
Get:2 http://no.archive.ubuntu.com/ubuntu/ precise/universe slsh amd64 2.2.4-3ubuntu1 [114 kB]
Get:3 http://no.archive.ubuntu.com/ubuntu/ precise/universe jed-common all 1:0.99.19-2.1 [483 kB]
Get:4 http://no.archive.ubuntu.com/ubuntu/ precise/universe jed amd64 1:0.99.19-2.1 [154 kB]
Get:5 http://no.archive.ubuntu.com/ubuntu/ precise/universe jed-extra all 2.5.6-1 [583 kB]
Fetched 1,403 kB in 0s (3,139 kB/s)
Selecting previously unselected package libslang2-modules.
(Reading database ... 89148 files and directories currently installed.)
Unpacking libslang2-modules (from .../libslang2-modules_2.2.4-3ubuntu1_amd64.deb) ...
Selecting previously unselected package slsh.
Unpacking slsh (from .../slsh_2.2.4-3ubuntu1_amd64.deb) ...
Selecting previously unselected package jed-common.
Unpacking jed-common (from .../jed-common_1%3a0.99.19-2.1_all.deb) ...
Selecting previously unselected package jed.
Unpacking jed (from .../jed_1%3a0.99.19-2.1_amd64.deb) ...
Selecting previously unselected package jed-extra.
Unpacking jed-extra (from .../jed-extra_2.5.6-1_all.deb) ...
Processing triggers for man-db ...
Processing triggers for install-info ...
Setting up libslang2-modules (2.2.4-3ubuntu1) ...
Setting up slsh (2.2.4-3ubuntu1) ...
Setting up jed-common (1:0.99.19-2.1) ...
Running /usr/share/jed/compile/jed-common...done
Setting up jed (1:0.99.19-2.1) ...
update-alternatives: using /usr/bin/jed to provide /usr/bin/editor (editor) in auto mode.
update-alternatives: using /usr/bin/jed to provide /usr/bin/jed-script (jed-script) in auto mode.
Updating precompiled files...done
Setting up jed-extra (2.5.6-1) ...
jed library path: /usr/share/jed/jed-extra/drop-in,/usr/share/jed/lib,/usr/share/slsh,/usr/share/jed/jed-extra,/usr/share/jed/jed-extra/utils
list_concat cannot be re-defined
Traceback: _autoload
/usr/share/jed/jed-extra/utils/ini.sl:79:<top-level>:Duplicate Definition
Traceback: evalbuffer
/usr/share/jed/jed-extra/make_ini.sl:625:update_ini:Duplicate Definition
  Local variables for update_ini:
        String_Type dir = "/usr/share/jed/jed-extra/utils"
        String_Type buf = "*scratch*"
/usr/share/jed/compile/jed-extra-preparse.sl:45:<top-level>:Duplicate Definition
test@test-VirtualBox:~$

Revision history for this message
Hein Gustavsen (hein-gustavsen) wrote :
Revision history for this message
Hein Gustavsen (hein-gustavsen) wrote :
Revision history for this message
Hein Gustavsen (hein-gustavsen) wrote :
Revision history for this message
Hein Gustavsen (hein-gustavsen) wrote :

Run "dpkg-reconfigure jed-extra" after applying the above patches.

Revision history for this message
Hein Gustavsen (hein-gustavsen) wrote :

Download fixed package here:
http://packages.debian.org/wheezy/jed-extra

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "listing.sl.patch" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
Hein Gustavsen (hein-gustavsen) wrote :

This still happens for every fresh installation of Ubuntu 12.04 LTS I do and installing package from http://packages.debian.org/wheezy/jed-extra still works fine.

Revision history for this message
Hein Gustavsen (hein-gustavsen) wrote :

Works in Ubuntu 14.04

Changed in jed-extra (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.