[can-not-install] file overwrite error

Bug #92944 reported by Michael Vogt
16
Affects Status Importance Assigned to Milestone
ltp (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: ltp-kernel-test.

Found the following problem during a install test:

Selecting previously deselected package ltp-kernel-test.
Unpacking ltp-kernel-test (from .../ltp-kernel-test_20060918-2ubuntu3_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/ltp-kernel-test_20060918-2ubuntu3_i386.deb (--unpack):
 trying to overwrite `/usr/lib/debian-test/tests/linux/runtest/syscalls', which is also in package ltp-commands-test
Selecting previously deselected package ltp-misc-test.

Tags: packaging

Related branches

Changed in ltp:
status: New → Confirmed
Revision history for this message
Martin Franco (mfranco-gmx) wrote :

removed syscalls from ltp-commands-test.
debdiff attached.

Changed in ltp:
assignee: nobody → mfranco-gmx
status: Confirmed → In Progress
Changed in ltp:
assignee: mfranco-gmx → nobody
status: In Progress → Confirmed
Revision history for this message
Rolf Leggewie (r0lf) wrote :

Kees, how does this look?

Changed in ltp:
assignee: nobody → keescook
importance: Undecided → High
status: Confirmed → In Progress
Revision history for this message
Kees Cook (kees) wrote :

Is this still a problem in Hardy?

Changed in ltp:
assignee: keescook → kirkland
assignee: kirkland → keescook
importance: High → Low
status: In Progress → Incomplete
Revision history for this message
Breathe (mrcaudevilla) wrote :

Yes, it's still a problem in Hardy

Revision history for this message
Breathe (mrcaudevilla) wrote :

It isn't the place to ask and it maybe a stupid question, but i can't find the file needed to patch... where is it??

Revision history for this message
Morten Kjeldgaard (mok0) wrote :

Look in "Bug attachments" in the menu to the left.

Revision history for this message
Breathe (mrcaudevilla) wrote :

Thanks for your reply, but i solved it using...

sudo dpkg --force-all /var/cache/apt/archives/ltp-kernel-test_20060918-2ubuntu3_i386.deb

The file that ltp-kernel-test is trying to overwrite `/usr/lib/debian-test/tests/linux/runtest/syscalls', which is also in package ltp-commands-test is exactly the same file. So it isn't any problem to execute this command.

What i meant with...

"It isn't the place to ask and it maybe a stupid question, but i can't find the file needed to patch... where is it??"

was, that i couldn't find the file the patch affects to... i cant find the file: "ltp-20080229/debian/ltp-commands-test.install"

Revision history for this message
Dimitrios Symeonidis (azimout) wrote :

You're right, as a matter of fact the tree extracted from http://archive.ubuntu.com/ubuntu/pool/universe/l/ltp/ltp_20080229.orig.tar.gz does not contain this file...

However, I do not confirm the bug: it installed without errors on my system with "sudo aptitude install ltp". I'm running hardy.

Revision history for this message
Breathe (mrcaudevilla) wrote :

You can't confirm the bug because you didn't installed the package that gives the problem... XD

The binary package which suffers fromt this bug is ltp-kernel-test and not ltp

So maybe the bug report should be modified a bit

Binary package hint: ltp-kernel-test

Found the following problem during a install test:

Selecting previously deselected package ltp-kernel-test.
Unpacking ltp-kernel-test (from .../ltp-kernel-test_20060918-2ubuntu3_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/ltp-kernel-test_20060918-2ubuntu3_i386.deb (--unpack):
 trying to overwrite `/usr/lib/debian-test/tests/linux/runtest/syscalls', which is also in package ltp-commands-test
Selecting previously deselected package ltp-misc-test.

description: updated
Revision history for this message
StefanPotyra (sistpoty) wrote :

Hi,

is this still a problem for intrepid? If so, can you provide a debdiff instead of a simple patch?
To fix hardy, you might want to take a look at https://wiki.ubuntu.com/StableReleaseUpdates.

unsubscribing ubuntu-universe-sponsors, as we can only sponsor debdiffs (patches should be handled by normal bug contacts).
If you have a debdiff, please resubsribe ubuntu-universe-sponsors (of course Kees could also take a look and upload it ;)).

Cheers,
   Stefan.

Revision history for this message
StefanPotyra (sistpoty) wrote :

P.S.: setting to confirmed/medium, as the log clearly shows.

Changed in ltp:
importance: Low → Medium
status: Incomplete → Confirmed
Changed in ltp:
assignee: kees → norsetto
status: Confirmed → In Progress
Revision history for this message
Cesare Tirabassi (norsetto) wrote :

The fix for this has been uploaded, but the packages seem to be pretty broken: for instance for the commands test most of the object files needed to properly run the tests are not installed so most of the tests fail.

Changed in ltp:
assignee: norsetto → nobody
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ltp - 20080229-0ubuntu3

---------------
ltp (20080229-0ubuntu3) intrepid; urgency=low

  * Fix file overwrite error (LP: #92944):
    remove /usr/lib/debian-test/tests/linux/runtest/syscalls from
    the ltp-commands-test package.
    Thanks to Martin Franco <email address hidden> for the patch.

 -- Cesare Tirabassi <email address hidden> Mon, 11 Aug 2008 12:46:01 +0200

Changed in ltp:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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