dskvr / opkg

Automatically exported from code.google.com/p/opkg
0 stars 0 forks source link

Upgrading package the old files are deleted #96

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
First of all, thank you.

I'm having this issue:

What steps will reproduce the problem?

1. Generate ipkg package with 2 files (/usr/bin/foo & /usr/bin/foo2) and 
install succesfully in the system. Control's file content version is "1"

2. Generate package with 1 file (/usr/bin/foo2) and in control's file I put "2" 
as version

3. When I install the second package (is an upgrade of the first one) the file 
(/usr/bin/foo2) is upgraded  succesfully but the first file (/usr/bin/foo) is 
deleted.

What is the expected output? What do you see instead?

I expected only the update of the "foo2" file, but not the erasing of "foo" file

How can I do the upgrade of "foo2" file but without erase "foo" file ?

Original issue reported on code.google.com by grace...@gmail.com on 8 Nov 2012 at 4:30

GoogleCodeExporter commented 8 years ago
This is how package managers work. The old package is replaced by the new 
package. You'll get the same behaviour from rpm, deb, etc.

Original comment by paul.betafive on 24 Jul 2013 at 7:39

GoogleCodeExporter commented 8 years ago

Original comment by paul.betafive on 1 Aug 2013 at 10:03