Re: updateinfo and -S option
Panu Matilainen <[email protected]> Sat, 18 Sep 2004 17:35:05 +0300 (EEST)
| Newsgroups | gmane.linux.conectiva.apt-rpm |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 17 Sep 2004, Rob van der Heij wrote: > Gustavo Niemeyer wrote: > > >The right way to do this is to include a new API to transit > >meta-information from the backend. And at that point you're > >right, I never got to it. My fault. > > > > > Another reason to give up my attempt to bring back the code from the 0.3 > level (also found it is too hard for me to do). > > I can hardly claim I used it a lot, not having noticed that the option > was gone. Initially I played with it to put the top of the --changelog > into the file, but that made little sense (because that is compared to > the previous level, not the installed level...) My renewed interest > was for security fixes to stuff an 'install before' date into the > repository, and maybe the CVE reference. Having "show changelog delta" after an update would be nice. Oh and that *could* be done with the Lua interface by doing rpm -q --changelog <pkgs> before and after the transaction and diffing the output. The problem with that is that it's not accessible from Synaptic without abusing the config system to store the changelogs temporarily which is .. um, ugly :) > > There's also 3 fields empty in the output of 'apt-get -s upgrade' as > shown here: > Inst net-tools [1.60-163] (1.60-230 Unknown:Unknown/Unknown) > Inst reiserfs [3.6.2-25] (3.6.9-31 Unknown:Unknown/Unknown) > Inst textutils [2.1-24] (2.1-65 Unknown:Unknown/Unknown) > Conf attr (2.4.2-49 Unknown:Unknown/Unknown) > Conf acl (2.0.19-42 Unknown:Unknown/Unknown) > Conf pam (104:0.76-32.itcs Unknown:Unknown/Unknown) > Would it be easier to put the data from the updateinfo file into these > fields, or can I fill them in some way? They're not empty fields, the contents come from the repositorys release* files which genbasedir creates with 'Unknown' initially and you need to manually change the values to something more-or-less meaningful. For example on my FC2 box: [root@chip pmatilai]# apt-get -s upgrade Reading Package Lists... Done Building Dependency Tree... Done The following packages will be upgraded kudzu (1.1.62-1 => 1.1.68.2-1) 1 upgraded, 0 newly installed, 0 removed and 0 not upgraded. Inst kudzu [1.1.62-1] (1.1.68.2-1 Fedora Extras:2/stable) Conf kudzu (1.1.68.2-1 Fedora Extras:2/stable) - Panu -