[Nix-dev] Hash Collisions
Raahul Kumar
raahul.kumar at gmail.com
Tue Apr 8 05:11:03 CEST 2014
Thanks Marc, Kiril. Is there a way to create packages such that they don't
provide redundant files? It's a waste of bandwidth to download a file,
then be unable to use it because there is already a copy there. I guess
deduplication is what I am looking for.
The /run/current-system was a useful tip Marc.
Aloha,
RK.
On Tue, Apr 8, 2014 at 12:28 AM, Kirill Elagin <kirelagin at gmail.com> wrote:
> First of all, those are not hash collisions, obviously. If those were
> SHA-256 collisions, you'd already be famous =).
> Those are file collisions, and as you can see, this time the file in
> question is /share/man/man2/llistxattr.2.gz, it is provided
> by two packages: `man-pages` and `attr`. Since your output doesn't say
> that there is an error, those are not errors, just info.
> You can safely ignore those collisions.
>
> This module thing is also not an error, you can safely ignore it. Initrd
> is trying to load the module just in case, and if it
> fails, that's OK the module is just skipped.
>
>
> --
> Кирилл Елагин
>
>
> On Mon, Apr 7, 2014 at 5:48 PM, Thomas Bereknyei <tomberek at gmail.com>wrote:
>
>> I have seen these collisions as well, but I do not understand them. They
>> don't seem to have a detrimental effect on anything.
>>
>> -Tom
>>
>>
>> On Mon, Apr 7, 2014 at 4:28 AM, Raahul Kumar <raahul.kumar at gmail.com>wrote:
>>
>>> I just ran a nixos-rebuild switch --upgrade. I saw a whole bunch of
>>> hash collisions and some other error messages. How do I make them go away?
>>>
>>> collision between
>>> `/nix/store/fsymx7fx3bxhr2p1gprvzgdxhxyi77b1-kmod-16/sbin/modprobe' and
>>> `/nix/store/yccdr2mdj8yb7qm505bsam0wqbsqvck3-modprobe/sbin/modprobe' at
>>> /nix/store/9z6d76pz8rr7gci2n3igh5dqi7ac5xqj-builder.pl line 69.
>>>
>>> collision between
>>> `/nix/store/1qg2wkvvpnkjmdas5k7s0d9rc0ds2cy1-man-pages-3.63/share/man/man2/llistxattr.2.gz'
>>> and
>>> `/nix/store/1a08qk5q5vdfv13rwasbf4fqa2s26kx4-attr-2.4.47/share/man/man2/llistxattr.2.gz'
>>> at /nix/store/9z6d76pz8rr7gci2n3igh5dqi7ac5xqj-builder.pl line 69.
>>> collision between
>>> `/nix/store/1qg2wkvvpnkjmdas5k7s0d9rc0ds2cy1-man-pages-3.63/share/man/man2/lremovexattr.2.gz'
>>> and
>>> `/nix/store/1a08qk5q5vdfv13rwasbf4fqa2s26kx4-attr-2.4.47/share/man/man2/lremovexattr.2.gz'
>>> at /nix/store/9z6d76pz8rr7gci2n3igh5dqi7ac5xqj-builder.pl line 69.
>>> collision between
>>> `/nix/store/1qg2wkvvpnkjmdas5k7s0d9rc0ds2cy1-man-pages-3.63/share/man/man2/lsetxattr.2.gz'
>>> and
>>> `/nix/store/1a08qk5q5vdfv13rwasbf4fqa2s26kx4-attr-2.4.47/share/man/man2/lsetxattr.2.gz'
>>> at /nix/store/9z6d76pz8rr7gci2n3igh5dqi7ac5xqj-builder.pl line 69.
>>> collision between
>>> `/nix/store/26392g24x9d1si4f214ssdlb90nff2d9-network-manager-applet-0.9.8.8/share/glib-2.0/schemas/gschemas.compiled'
>>> and
>>> `/nix/store/iql54c5b8xr0q81mx255xivw72fcibmf-gst-plugins-bad-0.10.23/share/glib-2.0/schemas/gschemas.compiled'
>>> at /nix/store/9z6d76pz8rr7gci2n3igh5dqi7ac5xqj-builder.pl line 69.
>>>
>>>
>>> Second error message
>>>
>>> root module: scsi_wait_scan
>>> modprobe: FATAL: Module scsi_wait_scan not found.
>>>
>>> I don't even have any scsi hardware, so how do I make modprobe skip
>>> loading it.
>>> Aloha,
>>> RK.
>>>
>>> _______________________________________________
>>> nix-dev mailing list
>>> nix-dev at lists.science.uu.nl
>>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>>
>>>
>>
>> _______________________________________________
>> nix-dev mailing list
>> nix-dev at lists.science.uu.nl
>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20140408/71867d76/attachment.html
More information about the nix-dev
mailing list