[Cupt-devel] Bug#670772: [cupt] Cupt should set the lock when creating a snapshot.
Karol Kozłowski
karoldom at myopera.com
Sat Apr 28 20:28:21 UTC 2012
Package: cupt
Version: 2.5.2
Severity: minor
Hello.
When you create a snapshot 'cupt' should set the lock to
another program could not remove packages.
In the following example, create a snapshot
failed because the 'aptitude' can remove the package.
Example:
cupt> snapshot save test
dpkg-deb: building package `acpi' in `./acpi_1.6-1_i386.deb'.
[...]
###at another terminal
#LANG=C aptitude remove ytree
The following packages will be REMOVED:
ytree
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 223 kB will be freed.
(Reading database ... 128147 files and directories currently installed.)
Removing ytree ...
Processing triggers for man-db ...
Processing triggers for menu ...
###
[...]
dpkg-deb: building package `xzgv' in `./xzgv_0.9+svn40-1_i386.deb'.
dpkg-deb: building package `yash' in `./yash_2.30-1_i386.deb'.
dpkg-repack: Fatal Error: Package ytree not fully installed
E: the command 'dpkg-repack --arch=i386 ytree' failed: exit code '1'
E: failed to repack the package 'ytree'
E: unable to construct the system snapshot 'test'
E: error performing the command 'snapshot'
cupt>
More information about the Cupt-devel
mailing list