Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian Development (http://www.linux-archive.org/debian-development/)
-   -   Bug#632322: libudev0: missing copyright file (http://www.linux-archive.org/debian-development/550771-bug-632322-libudev0-missing-copyright-file.html)

07-11-2011 01:10 AM

Bug#632322: libudev0: missing copyright file
 
On Jul 01, Sven Joachim <svenjoac@gmx.de> wrote:

> The copyright file is present in the udev package instead, but libudev0
> does not depend on udev.
No, actually it is there. The problem is that, after fixing #632321,
this happens:

libudev0 is upgraded

udev preinst is run
[/usr/share/doc/udev is deleted by preinst to fix #632321]
udev is unpacked
[/usr/share/doc/udev is created again as a symlink to libudev0]
old files of udev are deleted
[/usr/share/doc/udev/changelog.gz etc are deleted, but thanks to the
symlink these are actually libudev0's files and the only copy]

I do not know how to solve this, so I am Cc'in debian-devel...

--
ciao,
Marco

Sven Joachim 07-11-2011 04:44 AM

Bug#632322: libudev0: missing copyright file
 
On 2011-07-11 03:10 +0200, Marco d'Itri wrote:

> On Jul 01, Sven Joachim <svenjoac@gmx.de> wrote:
>
>> The copyright file is present in the udev package instead, but libudev0
>> does not depend on udev.
> No, actually it is there. The problem is that, after fixing #632321,
> this happens:
>
> libudev0 is upgraded
>
> udev preinst is run
> [/usr/share/doc/udev is deleted by preinst to fix #632321]

You should do the symlink conversion in the postinst instead when the
directory is supposed to be empty.

> udev is unpacked
> [/usr/share/doc/udev is created again as a symlink to libudev0]
> old files of udev are deleted
> [/usr/share/doc/udev/changelog.gz etc are deleted, but thanks to the
> symlink these are actually libudev0's files and the only copy]

The real problem is that udev _also_ ships
/usr/share/doc/libudev0/copyright and has an unversioned Replaces on
libudev0. That's why "dpkg -L libudev0" does not list the file.

Regards,
Sven


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 871uxxbf3v.fsf@turtle.gmx.de">http://lists.debian.org/871uxxbf3v.fsf@turtle.gmx.de

Ian Jackson 07-11-2011 03:00 PM

Bug#632322: libudev0: missing copyright file
 
Sven Joachim writes ("Re: Bug#632322: libudev0: missing copyright file"):
> The real problem is that udev _also_ ships
> /usr/share/doc/libudev0/copyright and has an unversioned Replaces on
> libudev0. That's why "dpkg -L libudev0" does not list the file.

An unversioned Replaces should only be used against an old and
deprecated package. So that Replaces is wrong.

Ian.


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 19995.4092.820633.833260@chiark.greenend.org.uk">h ttp://lists.debian.org/19995.4092.820633.833260@chiark.greenend.org.uk

07-11-2011 03:06 PM

Bug#632322: libudev0: missing copyright file
 
On Jul 11, Ian Jackson <ijackson@chiark.greenend.org.uk> wrote:

> Sven Joachim writes ("Re: Bug#632322: libudev0: missing copyright file"):
> > The real problem is that udev _also_ ships
> > /usr/share/doc/libudev0/copyright and has an unversioned Replaces on
> > libudev0. That's why "dpkg -L libudev0" does not list the file.
No, I had fixed that too but it did not help either.
Manually creating the symlink in postinst worked.

> An unversioned Replaces should only be used against an old and
> deprecated package. So that Replaces is wrong.
It must be very old, because I cannot find any references to it in the
changelog. I will try removing it in the next upload.

--
ciao,
Marco


All times are GMT. The time now is 12:15 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.