Re: dnf should not update debuginfo if not updating packgages
On Sat, 05 Nov 2016 05:20:10 +0100, Kevin Kofler wrote: > Because -debuginfo is per SRPM, not per subpackage, so you can need the > -debuginfo without having all subpackages (or even the main package) > installed. There could be for example: Conflicts: %{name} != %{version}-%{release} But that has other problems. There were multiple Bugs filed for this issue many years ago. The problem is *-debuginfo.rpm is currently produced just by simple macros in /usr/lib/rpm/macros but that does not work well for all the cases. It would be best to have specific DNF *-debuginfo.rpm handling which should be possible with DNF now. With YUM its maintainers always rejected any such filed Bugs. One of the problems is that the main vs. debuginfo repos are commonly out of sync. So the basic question is whether it is better to update the main package ASAP (such as because it is an urgent security fix) breaking its debugging or whether it is better to wait till even its up to date *-debuginfo.rpm is available. Either case has serious drawbacks. Then there are also options of giving up on *-debuginfo.rpm installation and use some "debug info server" instead but that has never been implemented: https://fedoraproject.org/wiki/Features/DebuginfoFS Jan ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Re: dnf should not update debuginfo if not updating packgages
Pedro Alves wrote: > On 11/03/2016 03:08 PM, Sérgio Basto wrote: >> On Qui, 2016-11-03 at 06:57 -0400, Neal Becker wrote: > >>> > So we updated debuginfo, but didn't install the corresponding >>> > packages. >>> > That seems like a bug. >> it isn't a bug , debuginfo packages doesn't require same version of >> counter part and vice-versa . > > Why's that? I'm occasionally bitten by this. Because -debuginfo is per SRPM, not per subpackage, so you can need the -debuginfo without having all subpackages (or even the main package) installed. Kevin Kofler ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Re: dnf should not update debuginfo if not updating packgages
On Sex, 2016-11-04 at 10:12 +, Pedro Alves wrote: > On 11/03/2016 03:08 PM, Sérgio Basto wrote: > > > > On Qui, 2016-11-03 at 06:57 -0400, Neal Becker wrote: > > > > > > > > > > > > > So we updated debuginfo, but didn't install the corresponding > > > > packages. > > > > That seems like a bug. > > it isn't a bug , debuginfo packages doesn't require same version of > > counter part and vice-versa . > Why's that? I'm occasionally bitten by this. It has always been like that, for example I haven't zzuf installed and I can install zzuf-debuginfo . dnf debuginfo-install zzuf.x86_64 Installing: glibc-debuginfo glibc-debuginfo-common nss-softokn-debuginfo zzuf-debuginfo So, at least, is a problem on generation of debuginfo packages , not dnf or yum > Thanks, > Pedro Alves > ___ > devel mailing list -- devel@lists.fedoraproject.org > To unsubscribe send an email to devel-le...@lists.fedoraproject.org -- Sérgio M. B. ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Re: dnf should not update debuginfo if not updating packgages
On 11/03/2016 04:08 PM, Sérgio Basto wrote: On Qui, 2016-11-03 at 06:57 -0400, Neal Becker wrote: So we updated debuginfo, but didn't install the corresponding packages. That seems like a bug. it isn't a bug , debuginfo packages doesn't require same version of counter part and vice-versa . I do not share this view, but consider this to be a bug in dnf. Ralf ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Re: dnf should not update debuginfo if not updating packgages
On 11/03/2016 03:08 PM, Sérgio Basto wrote: > On Qui, 2016-11-03 at 06:57 -0400, Neal Becker wrote: >> > So we updated debuginfo, but didn't install the corresponding >> > packages. >> > That seems like a bug. > it isn't a bug , debuginfo packages doesn't require same version of > counter part and vice-versa . Why's that? I'm occasionally bitten by this. Thanks, Pedro Alves ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Re: dnf should not update debuginfo if not updating packgages
On Qui, 2016-11-03 at 06:57 -0400, Neal Becker wrote: > sudo dnf update > ... > updates 77 k > mercurial-debuginfo x86_64 4.0- > 1.fc24 > ... > nbecker-mercurial-3 190 k > Skipping packages with broken dependencies: > mercurial x86_64 4.0- > 1.fc24 > nbecker-mercurial-3 3.6 M > mercurial-hgk x86_64 4.0- > 1.fc24 > nbecker-mercurial-3 55 k > > Transaction Summary > = > > Upgrade 23 Packages > Skip 2 Packages > > So we updated debuginfo, but didn't install the corresponding > packages. > That seems like a bug. it isn't a bug , debuginfo packages doesn't require same version of counter part and vice-versa . -- Sérgio M. B. ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org