Re: rpm loses %configs

2016-04-20 Thread Jeff Johnson

On Apr 19, 2016, at 4:59 PM, Elan Ruusamäe wrote:

> i'm pretty sure this has happened before, just did not payed attention
> 

I believe you. Meanwhile ...

> so, if i use --nodeps rpm forgets it has to put .rpmnew?
> and instead no config files left on the original path (mv -i would had said 
> that file is there)
> 

RPM verifies dependency assertions and then installs files from packages.

Adding --nodeps disables dependency assertion verification, while %config file 
resolution
(like renaming to *.rpmnew) is computed while installing.

These actions are largely indpendent of each other, based on different
package data.

Something else is going on imho.

> there are no %file %config changes between the versions in the transaction
> 

And the %config  file resolution in rpm has not changed in many years, like
all of this century.

> don't want to re-test this, but seems like it
> 

I cannot do engineering based on anecdotal inattention to details.

The minimum necessary information necessary for a rpm bug report about %config 
needs
a reproducer with rpm, not poldek, using -vv to output the %config file 
renaming computed by
rpmlib and a clear statement of what specific behavior you are claiming that is
broken.

hth

73 de Jeff

___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


rpm loses %configs

2016-04-19 Thread Elan Ruusamäe

i'm pretty sure this has happened before, just did not payed attention

so, if i use --nodeps rpm forgets it has to put .rpmnew?
and instead no config files left on the original path (mv -i would had 
said that file is there)


there are no %file %config changes between the versions in the transaction

don't want to re-test this, but seems like it


wintersunset / # poldek -s /home/glen/rpm/pld/packages/RPMS/ -u eventum
Loading [dir]/home/glen/rpm/RPMS/pld/...
14 packages read
Processing dependencies...
eventum-3.0.10-1.88.g58096f4.1.9.noarch obsoleted by eventum-3.0.12-1.noarch
  greedy upgrade eventum-irc-3.0.10-1.88.g58096f4.1.9.noarch to 
3.0.12-1.noarch (unresolved eventum = 3.0.10-1.88.g58096f4.1.9)
   eventum-irc-3.0.10-1.88.g58096f4.1.9.noarch obsoleted by 
eventum-irc-3.0.12-1.noarch
  greedy upgrade eventum-mail-download-3.0.10-1.88.g58096f4.1.9.noarch 
to 3.0.12-1.noarch (unresolved eventum = 3.0.10-1.88.g58096f4.1.9)
   eventum-mail-download-3.0.10-1.88.g58096f4.1.9.noarch obsoleted by 
eventum-mail-download-3.0.12-1.noarch
  greedy upgrade eventum-mail-queue-3.0.10-1.88.g58096f4.1.9.noarch to 
3.0.12-1.noarch (unresolved eventum = 3.0.10-1.88.g58096f4.1.9)
   eventum-mail-queue-3.0.10-1.88.g58096f4.1.9.noarch obsoleted by 
eventum-mail-queue-3.0.12-1.noarch
  greedy upgrade eventum-monitor-3.0.10-1.88.g58096f4.1.9.noarch to 
3.0.12-1.noarch (unresolved eventum = 3.0.10-1.88.g58096f4.1.9)
   eventum-monitor-3.0.10-1.88.g58096f4.1.9.noarch obsoleted by 
eventum-monitor-3.0.12-1.noarch
  greedy upgrade eventum-reminder-3.0.10-1.88.g58096f4.1.9.noarch to 
3.0.12-1.noarch (unresolved eventum = 3.0.10-1.88.g58096f4.1.9)
   eventum-reminder-3.0.10-1.88.g58096f4.1.9.noarch obsoleted by 
eventum-reminder-3.0.12-1.noarch
  greedy upgrade eventum-router-postfix-3.0.10-1.88.g58096f4.1.9.noarch 
to 3.0.12-1.noarch (unresolved eventum = 3.0.10-1.88.g58096f4.1.9)
   eventum-router-postfix-3.0.10-1.88.g58096f4.1.9.noarch obsoleted by 
eventum-router-postfix-3.0.12-1.noarch
  greedy upgrade eventum-setup-3.0.10-1.88.g58096f4.1.9.noarch to 
3.0.12-1.noarch (unresolved eventum = 3.0.10-1.88.g58096f4.1.9)
   eventum-setup-3.0.10-1.88.g58096f4.1.9.noarch obsoleted by 
eventum-setup-3.0.12-1.noarch

There are 8 packages to install (7 marked by dependencies), 8 to remove:
I eventum-3.0.12-1.noarch
D eventum-irc-3.0.12-1.noarch eventum-mail-download-3.0.12-1.noarch 
eventum-mail-queue-3.0.12-1.noarch
D eventum-monitor-3.0.12-1.noarch  eventum-reminder-3.0.12-1.noarch 
eventum-router-postfix-3.0.12-1.noarch

D eventum-setup-3.0.12-1.noarch
R eventum-3.0.10-1.88.g58096f4.1.9.noarch 
eventum-irc-3.0.10-1.88.g58096f4.1.9.noarch
R eventum-mail-download-3.0.10-1.88.g58096f4.1.9.noarch 
eventum-mail-queue-3.0.10-1.88.g58096f4.1.9.noarch
R eventum-monitor-3.0.10-1.88.g58096f4.1.9.noarch 
eventum-reminder-3.0.10-1.88.g58096f4.1.9.noarch
R eventum-router-postfix-3.0.10-1.88.g58096f4.1.9.noarch 
eventum-setup-3.0.10-1.88.g58096f4.1.9.noarch

This operation will use 4.4KB of disk space.
Need to get 1.3MB of archives.
Executing pm-command.sh --upgrade -vh --root / --define 
_check_dirname_deps 0...

error: Failed dependencies:
eventum >= 3.1 is needed by (installed) 
eventum-workflow-3.1-0.4.noarch


wintersunset / # poldek -s /home/glen/rpm/pld/packages/RPMS/ -u eventum  
--nodeps

Loading [dir]/home/glen/rpm/RPMS/pld/...
14 packages read
Processing dependencies...
eventum-3.0.10-1.88.g58096f4.1.9.noarch obsoleted by eventum-3.0.12-1.noarch
  greedy upgrade eventum-irc-3.0.10-1.88.g58096f4.1.9.noarch to 
3.0.12-1.noarch (unresolved eventum = 3.0.10-1.88.g58096f4.1.9)
   eventum-irc-3.0.10-1.88.g58096f4.1.9.noarch obsoleted by 
eventum-irc-3.0.12-1.noarch
  greedy upgrade eventum-mail-download-3.0.10-1.88.g58096f4.1.9.noarch 
to 3.0.12-1.noarch (unresolved eventum = 3.0.10-1.88.g58096f4.1.9)
   eventum-mail-download-3.0.10-1.88.g58096f4.1.9.noarch obsoleted by 
eventum-mail-download-3.0.12-1.noarch
  greedy upgrade eventum-mail-queue-3.0.10-1.88.g58096f4.1.9.noarch to 
3.0.12-1.noarch (unresolved eventum = 3.0.10-1.88.g58096f4.1.9)
   eventum-mail-queue-3.0.10-1.88.g58096f4.1.9.noarch obsoleted by 
eventum-mail-queue-3.0.12-1.noarch
  greedy upgrade eventum-monitor-3.0.10-1.88.g58096f4.1.9.noarch to 
3.0.12-1.noarch (unresolved eventum = 3.0.10-1.88.g58096f4.1.9)
   eventum-monitor-3.0.10-1.88.g58096f4.1.9.noarch obsoleted by 
eventum-monitor-3.0.12-1.noarch
  greedy upgrade eventum-reminder-3.0.10-1.88.g58096f4.1.9.noarch to 
3.0.12-1.noarch (unresolved eventum = 3.0.10-1.88.g58096f4.1.9)
   eventum-reminder-3.0.10-1.88.g58096f4.1.9.noarch obsoleted by 
eventum-reminder-3.0.12-1.noarch
  greedy upgrade eventum-router-postfix-3.0.10-1.88.g58096f4.1.9.noarch 
to 3.0.12-1.noarch (unresolved eventum = 3.0.10-1.88.g58096f4.1.9)
   eventum-router-postfix-3.0.10-1.88.g58096f4.1.9.noarch obsoleted by 
eventum-router-postfix-3.0.12-1.noarch
  greedy upgrade eventum-setup-3.0.10-1.88.g58096f4.1.9.noarch to 
3.0.12-1.noarch