rpm loses %configs

Elan Ruusamäe glen at pld-linux.org
Tue Apr 19 22:59:43 CEST 2016


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 (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 --nodeps --root / --define 
_check_dirname_deps 0...
Preparing... ########################################### [100%]
Repackaging...
    1:eventum-setup ########################################### [ 13%]
    2:eventum-router-postfix ########################################### 
[ 25%]
    3:eventum-reminder ########################################### [ 38%]
    4:eventum-monitor ########################################### [ 50%]
    5:eventum-mail-queue ########################################### [ 63%]
    6:eventum-mail-download ########################################### 
[ 75%]
    7:eventum-irc 
########################################################################################### 
7:eventum                ########################################### [ 88%]
Upgrading...
    1:eventum ########################################### [ 13%]
* Applying patch: 52 (52_support_to_null.sql)
* Your database is now up-to-date. Version 52
Stopping Apache 1.3 Web Server service.............................[ DONE ]
Stopping Apache Lingerd service....................................[ DONE ]
Starting Apache Lingerd service....................................[ DONE ]
Starting Apache 1.3 Web Server service.............................[ DONE ]
Reloading Apache 1.3 Web Server service............................[ DONE ]
Checking Lighttpd Web Server configuration.........................[ DONE ]
WARNING: found deprecated 'url.rewrite-final', convert to 
'url.rewrite-final' recommented, See http://redmine.lighttpd.net/issues/2379
Syntax OK
Reloading Lighttpd Web Server service..............................[ DONE ]
warning: /etc/cron.d/eventum-reminder saved as 
/etc/cron.d/eventum-reminder.rpmsave
warning: /etc/cron.d/eventum-monitor saved as 
/etc/cron.d/eventum-monitor.rpmsave
warning: /etc/cron.d/eventum-mail-queue saved as 
/etc/cron.d/eventum-mail-queue.rpmsave
Stopping Eventum IRC Bot service...................................No 
process in pidfile `/var/run/eventum/irc_bot.pid' found running; none 
killed.
                                                                    [ DONE ]
warning: /etc/webapps/eventum/irc_config.php saved as 
/etc/webapps/eventum/irc_config.php.rpmsave
    2:eventum-irc ########################################### [ 25%]
Run "/sbin/service eventum-irc start" to start Eventum IRC Bot.
    3:eventum-mail-download ########################################### 
[ 38%]
    4:eventum-mail-queue ########################################### [ 50%]
    5:eventum-monitor ########################################### [ 63%]
    6:eventum-reminder ########################################### [ 75%]
    7:eventum-router-postfix ########################################### 
[ 88%]
    8:eventum-setup ########################################### [100%]
[master 2048fd1] committing changes in /etc after poldek run
  5 files changed, 120 deletions(-)
  delete mode 100644 cron.d/eventum-mail-queue
  delete mode 100644 cron.d/eventum-monitor
  delete mode 100644 cron.d/eventum-reminder
  delete mode 100644 webapps/eventum/irc_config.php
wintersunset / # rpm -qf /etc/cron.d/eventum-reminder
eventum-reminder-3.0.12-1.noarch
wintersunset / # mv -bi /etc/cron.d/eventum-reminder.rpmsave 
/etc/cron.d/eventum-reminder
wintersunset / # mv -bi /etc/cron.d/eventum-monitor.rpmsave 
/etc/cron.d/eventum-monitor
wintersunset / # mv -bi /etc/cron.d/eventum-mail-queue.rpmsave 
/etc/cron.d/eventum-mail-queue
wintersunset / # rpm -qf /etc/webapps/eventum/irc_config.php
eventum-irc-3.0.12-1.noarch
wintersunset / # mv -bi /etc/webapps/eventum/irc_config.php.rpmsave 
/etc/webapps/eventum/irc_config.php


-- 
glen



More information about the pld-devel-en mailing list