Project

General

Profile

Actions

User story #2732

open

Be able to remove and reinstall a server

Added by Gonéri Le Bouder over 12 years ago. Updated 3 months ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Packaging
Target version:
-
UX impact:
Suggestion strength:
Advise - This would make Rudder significantly better | easier | simpler
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Medium
Name check:
Fix check:
Regression:

Description

Currently all server packages don't remove properly their files and a reinstallation can be problematic.

dpkg -P rudder-reports doesn't purge everything

root@srv00015:/var# dpkg -P rudder-reports
(Reading database ... 24129 files and directories currently installed.)
Removing rudder-reports ...
root@srv00015:/var# dpkg -i ./cache/apt/archives/rudder-reports_2.3.8-squeeze0_all.deb
Selecting previously deselected package rudder-reports.
(Reading database ... 24125 files and directories currently installed.)
Unpacking rudder-reports (from .../rudder-reports_2.3.8-squeeze0_all.deb) ...
Setting up rudder-reports (2.3.8-squeeze0) ...
Reloading enhanced syslogd: rsyslogd.
rudder database alreadys exists - not creating

Related issues 2 (0 open2 closed)

Related to Rudder - Bug #1645: after purge of rudder-agent package, some files not removed + new version of promises.cf not applied on package upgradeRejectedMatthieu CERDA2011-08-24Actions
Related to Rudder - Bug #3145: directory '/opt' not empty so not removed.Rejected2013-01-07Actions
Actions #1

Updated by Jonathan CLARKE over 12 years ago

  • Assignee changed from Jonathan CLARKE to Nicolas PERRON
  • Priority changed from N/A to 4
  • Target version set to 2.4.0~beta4

Oops. This should be fixed by adding a command to remove the database from postrm (or prerm?).

Thanks Gonéri. Which do you think is best, prerm or postrm for this?

Actions #2

Updated by Gonéri Le Bouder over 12 years ago

http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html

It depends on what tool you plan to do purge the last files.

Actions #3

Updated by Jonathan CLARKE over 12 years ago

  • Status changed from New to 2
  • Assignee changed from Nicolas PERRON to Jonathan CLARKE
  • Target version changed from 2.4.0~beta4 to 2.4.0~beta5
Actions #4

Updated by Jonathan CLARKE over 12 years ago

  • Target version changed from 2.4.0~beta5 to 2.4.0~rc1
Actions #5

Updated by Jonathan CLARKE over 12 years ago

  • Target version changed from 2.4.0~rc1 to 2.4.0~rc2
Actions #6

Updated by Nicolas PERRON over 12 years ago

  • Target version changed from 2.4.0~rc2 to 2.4.0~rc1
Actions #7

Updated by Nicolas PERRON about 12 years ago

  • Target version changed from 2.4.0~rc1 to 2.4.0~rc2

This ticket have to be postponed to 2.4.0~rc2

Actions #8

Updated by François ARMAND about 12 years ago

  • Target version changed from 2.4.0~rc2 to 61
Actions #9

Updated by François ARMAND about 12 years ago

  • Status changed from 2 to 8
Actions #10

Updated by Jonathan CLARKE about 12 years ago

  • Assignee deleted (Jonathan CLARKE)
Actions #11

Updated by François ARMAND about 12 years ago

  • Target version changed from 61 to 2.4.2
Actions #12

Updated by Nicolas PERRON almost 12 years ago

  • Target version changed from 2.4.2 to 2.4.3
Actions #13

Updated by François ARMAND almost 12 years ago

  • Assignee set to Matthieu CERDA
Actions #14

Updated by Matthieu CERDA almost 12 years ago

  • Target version changed from 2.4.3 to 2.4.4
Actions #15

Updated by Nicolas PERRON almost 12 years ago

  • Project changed from Rudder to 34
  • Category deleted (11)
Actions #16

Updated by Nicolas PERRON almost 12 years ago

  • Target version changed from 2.4.4 to 2.4.5
Actions #17

Updated by Nicolas PERRON over 11 years ago

  • Target version changed from 2.4.5 to 2.4.6
Actions #18

Updated by Nicolas PERRON over 11 years ago

  • Target version changed from 2.4.6 to 2.4.7
Actions #19

Updated by Nicolas PERRON over 11 years ago

  • Target version changed from 2.4.7 to 2.4.8
Actions #20

Updated by Nicolas PERRON over 11 years ago

  • Target version changed from 2.4.8 to 2.4.9
Actions #21

Updated by Jonathan CLARKE over 11 years ago

  • Assignee changed from Matthieu CERDA to Jonathan CLARKE
Actions #22

Updated by Nicolas PERRON about 11 years ago

  • Target version changed from 2.4.9 to 2.4.10
Actions #23

Updated by Nicolas PERRON about 11 years ago

  • Target version changed from 2.4.10 to 2.4.11
Actions #24

Updated by Nicolas PERRON about 11 years ago

  • Target version changed from 2.4.11 to 2.4.12
Actions #25

Updated by Nicolas PERRON about 11 years ago

  • Target version changed from 2.4.12 to 2.4.13
Actions #26

Updated by Vincent MEMBRÉ almost 11 years ago

  • Target version changed from 2.4.13 to 2.6.11

Since version 2.4 is not maintained anymore, retageting this issue to 2.6

Actions #27

Updated by Vincent MEMBRÉ almost 11 years ago

  • Target version changed from 2.6.11 to 2.6.12
Actions #28

Updated by Vincent MEMBRÉ almost 11 years ago

  • Target version changed from 2.6.12 to 2.6.13
Actions #29

Updated by Vincent MEMBRÉ over 10 years ago

  • Target version changed from 2.6.13 to 2.6.14
Actions #30

Updated by Jonathan CLARKE over 10 years ago

  • Target version changed from 2.6.14 to 2.6.16
Actions #31

Updated by Jonathan CLARKE over 10 years ago

  • Target version changed from 2.6.16 to 2.6.17
Actions #32

Updated by Nicolas PERRON over 10 years ago

  • Target version changed from 2.6.17 to 2.6.18
Actions #33

Updated by Matthieu CERDA about 10 years ago

  • Target version changed from 2.6.18 to 2.6.19
Actions #34

Updated by Vincent MEMBRÉ about 10 years ago

  • Target version changed from 2.6.19 to 2.6.20
Actions #35

Updated by François ARMAND almost 10 years ago

  • Target version changed from 2.6.20 to 2.10.10
Actions #36

Updated by Vincent MEMBRÉ almost 10 years ago

  • Target version changed from 2.10.10 to 2.10.11
Actions #37

Updated by Vincent MEMBRÉ almost 10 years ago

  • Target version changed from 2.10.11 to 2.10.12
Actions #38

Updated by Benoît PECCATTE almost 10 years ago

  • Project changed from 34 to Rudder
  • Category set to Packaging
Actions #39

Updated by Vincent MEMBRÉ almost 10 years ago

  • Target version changed from 2.10.12 to 2.10.13
Actions #40

Updated by Benoît PECCATTE over 9 years ago

  • Status changed from 8 to New
Actions #41

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 2.10.13 to 2.10.14
Actions #42

Updated by Benoît PECCATTE over 9 years ago

  • Assignee deleted (Jonathan CLARKE)
Actions #43

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 2.10.14 to 2.10.15
Actions #44

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 2.10.15 to 2.10.16
Actions #45

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 2.10.16 to 2.10.17
Actions #46

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 2.10.17 to 2.10.18
Actions #47

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.10.18 to 2.10.19
Actions #48

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.10.19 to 2.10.20
Actions #49

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.10.20 to 2.11.18
Actions #50

Updated by Vincent MEMBRÉ almost 9 years ago

  • Target version changed from 2.11.18 to 2.11.19
Actions #51

Updated by Vincent MEMBRÉ almost 9 years ago

  • Target version changed from 2.11.19 to 2.11.20
Actions #52

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.20 to 2.11.21
Actions #53

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.21 to 2.11.22
Actions #54

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.22 to 2.11.23
Actions #55

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.23 to 2.11.24
Actions #56

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.24 to 308
Actions #57

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 308 to 3.1.14
Actions #58

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 3.1.14 to 3.1.15
Actions #59

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 3.1.15 to 3.1.16
Actions #60

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 3.1.16 to 3.1.17
Actions #61

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 3.1.17 to 3.1.18
Actions #62

Updated by Vincent MEMBRÉ almost 8 years ago

  • Target version changed from 3.1.18 to 3.1.19
Actions #63

Updated by François ARMAND over 7 years ago

  • Severity set to Minor - inconvenience | misleading | easy workaround
  • User visibility set to Operational - other Techniques | Technique editor | Rudder settings
Actions #64

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.19 to 3.1.20
  • Priority set to 0
Actions #65

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.20 to 3.1.21
Actions #66

Updated by François ARMAND over 7 years ago

  • Priority changed from 0 to 17
Actions #67

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.21 to 3.1.22
Actions #68

Updated by Benoît PECCATTE over 7 years ago

  • Priority changed from 17 to 32
Actions #69

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.22 to 3.1.23
Actions #70

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.23 to 3.1.24
Actions #71

Updated by Vincent MEMBRÉ about 7 years ago

  • Target version changed from 3.1.24 to 3.1.25
Actions #72

Updated by Vincent MEMBRÉ about 7 years ago

  • Target version changed from 3.1.25 to 387
Actions #73

Updated by Vincent MEMBRÉ about 7 years ago

  • Target version changed from 387 to 4.1.10
Actions #74

Updated by Vincent MEMBRÉ almost 7 years ago

  • Target version changed from 4.1.10 to 4.1.11
Actions #75

Updated by Vincent MEMBRÉ over 6 years ago

  • Target version changed from 4.1.11 to 4.1.12
Actions #76

Updated by Vincent MEMBRÉ over 6 years ago

  • Target version changed from 4.1.12 to 4.1.13
Actions #77

Updated by Vincent MEMBRÉ over 6 years ago

  • Target version changed from 4.1.13 to 4.1.14
Actions #78

Updated by Benoît PECCATTE over 6 years ago

  • Target version changed from 4.1.14 to 4.1.15
Actions #79

Updated by Vincent MEMBRÉ about 6 years ago

  • Target version changed from 4.1.15 to 4.1.16
Actions #80

Updated by Vincent MEMBRÉ about 6 years ago

  • Target version changed from 4.1.16 to 4.1.17
Actions #81

Updated by Vincent MEMBRÉ about 6 years ago

  • Target version changed from 4.1.17 to 4.1.18
  • Priority changed from 32 to 0
Actions #82

Updated by Vincent MEMBRÉ almost 6 years ago

  • Target version changed from 4.1.18 to 4.1.19
Actions #83

Updated by Alexis Mousset almost 6 years ago

  • Target version changed from 4.1.19 to 4.1.20
Actions #84

Updated by Alexis Mousset over 5 years ago

  • Target version changed from 4.1.20 to 588
Actions #85

Updated by Alexis Mousset over 5 years ago

  • Target version changed from 588 to 5.0.13
Actions #86

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 5.0.13 to 5.0.14
Actions #87

Updated by Vincent MEMBRÉ about 5 years ago

  • Target version changed from 5.0.14 to 5.0.15
Actions #88

Updated by François ARMAND about 5 years ago

  • Effort required set to Very Small

Very small to check if it's still true

Actions #89

Updated by Benoît PECCATTE about 5 years ago

  • Tracker changed from Bug to User story
  • Subject changed from dpkg -P rudder-reports doesn't purge everything to Be able to remove and reinstall a server
  • Description updated (diff)
  • Severity deleted (Minor - inconvenience | misleading | easy workaround)
  • Effort required changed from Very Small to Medium
  • Priority deleted (0)
  • Suggestion strength set to Advise - This would make Rudder significantly better | easier | simpler
Actions #90

Updated by Vincent MEMBRÉ about 5 years ago

  • Target version changed from 5.0.15 to 5.0.16
Actions #91

Updated by Alexis Mousset almost 5 years ago

  • Target version changed from 5.0.16 to 5.0.17
Actions #92

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 5.0.17 to 5.0.18
Actions #93

Updated by Benoît PECCATTE over 4 years ago

  • Target version changed from 5.0.18 to 6.2.0~beta1
Actions #94

Updated by Vincent MEMBRÉ about 4 years ago

  • Target version changed from 6.2.0~beta1 to 6.2.0~rc1
Actions #95

Updated by François ARMAND about 4 years ago

  • Target version deleted (6.2.0~rc1)
Actions #96

Updated by François ARMAND almost 3 years ago

  • Status changed from New to Resolved

This is now ok.

Actions #97

Updated by Alexis Mousset almost 3 years ago

  • Status changed from Resolved to New

I don't think it is, even the agent does not uninstall properly.

Actions #98

Updated by François ARMAND 3 months ago

  • Priority changed from 4 to N/A
Actions

Also available in: Atom PDF