Debian Bug report logs - #836211
dpkg: Cannot upgrade some packages on overlayfs: Invalid cross-device link

version graph

Package: linux; Maintainer for linux is Debian Kernel Team <[email protected]>;

Affects: dpkg

Reported by: Felipe Sateler <[email protected]>

Date: Wed, 31 Aug 2016 15:18:06 UTC

Severity: normal

Tags: upstream

Found in versions 4.12.6-1, 4.6.4-1

Forwarded to [email protected]

Full log


Message #35 received at [email protected] (full text, mbox, reply):

Received: (at 836211) by bugs.debian.org; 2 Sep 2016 14:46:46 +0000
From [email protected] Fri Sep 02 14:46:46 2016
X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02
	(2014-02-07) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-7.9 required=4.0 tests=BAYES_00,DIGITS_LETTERS,
	FOURLA,FROMDEVELOPER,HAS_BUG_NUMBER,HEADER_FROM_DIFFERENT_DOMAINS,
	MURPHY_DRUGS_REL8,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS,URIBL_CNKR
	autolearn=ham autolearn_force=no version=3.4.0-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 18; hammy, 150; neutral, 167; spammy,
	0. spammytokens: hammytokens:0.000-+--H*r:e35, 0.000-+--H*RU:e35,
	0.000-+--Hx-spam-relays-external:e35, 0.000-+--H*F:U*hertzog,
	0.000-+--H*rp:U*raphael
Return-path: <[email protected]>
Received: from mail.vm.ouaza.com ([2001:bc8:31a0:100:1::1])
	by buxtehude.debian.org with esmtp (Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1bfpjy-0000Y5-0Y
	for [email protected]; Fri, 02 Sep 2016 14:46:46 +0000
Received: from x230-buxy.home.ouaza.com (unknown [IPv6:2a01:e35:8a8d:92d0:19ff:210f:d952:f99f])
	by mail.vm.ouaza.com (Postfix) with ESMTPSA id EEA6A2039D;
	Fri,  2 Sep 2016 16:46:44 +0200 (CEST)
Received: by x230-buxy.home.ouaza.com (Postfix, from userid 1000)
	id 352B9D22735; Fri,  2 Sep 2016 16:46:44 +0200 (CEST)
Date: Fri, 2 Sep 2016 16:46:44 +0200
From: Raphael Hertzog <[email protected]>
To: Felipe Sateler <[email protected]>, [email protected]
Subject: Re: Bug#836211: dpkg: Cannot upgrade some packages on overlayfs:
 Invalid cross-device link
Message-ID: <[email protected]>
References: <147265657047.31705.7496372748096616425.reportbug@felipepc>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="fn2yquq2sno6kdii"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <147265657047.31705.7496372748096616425.reportbug@felipepc>
User-Agent: NeoMutt/ (1.7.0)
X-Virus-Scanned: clamav-milter 0.99.2 at mail
X-Virus-Status: Clean
[Message part 1 (text/plain, inline)]
Hi,

On Wed, 31 Aug 2016, Felipe Sateler wrote:
> I don't know what the correct workaround should be.

Just for the record, the attached patch is what we use in Kali
to work-around this problem. It works but it's not going to be merged in
Debian because we really want a fix at the overlayfs level instead
(and this is just a hack relying on "mv" to copy the whole-directory).

I post it just in case other derivatives have a similar need.

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Support Debian LTS: http://www.freexian.com/services/debian-lts.html
Learn to master Debian: http://debian-handbook.info/get/
[patch (text/plain, attachment)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Mon May 12 02:49:42 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.