Juan RP
7fc8ee8231
xbps-bin: check for EEXIST when installing a pkg.
2012-02-18 16:15:54 +01:00
Juan RP
36ae5709e4
xbps-bin: dry-run: add binary pkg filename prop to the output.
2012-02-05 14:56:18 +01:00
Juan RP
3afa3ba93b
xbps-bin: new dry-run mode (-n) for (auto)update, (auto)remove and install targets.
2012-02-03 14:53:28 +01:00
Juan RP
1a73b93d63
Calculate properly required/freed size in transactions.
2012-01-25 04:56:54 +01:00
Juan RP
abb0d260b9
xbps-bin: the install target gains suppor for installing best pkg available.
2012-01-25 02:14:04 +01:00
Juan RP
9becfc29d2
xbps-bin: fix pkgpattern to install new pkgs.
2012-01-24 20:48:54 +01:00
Juan RP
791f1d40b2
xbps_handle: remove debug, install_*, syslog_enabled members.
...
Replaced by definitions that can be set to xbps_handle::flags.
2012-01-22 10:52:35 +01:00
Juan RP
a166d6a2a3
Simplify xbps_transaction_prepare()/commit() and related API changes.
...
- xbps_handle::transd -> new member with transaction dictionary.
- xbps_transaction_prepare: returns an int.
- xbps_transaction_commit: doesn't need any arg now.
- xbps_repository_pool_sync: doesn't need any arg now.
- xbps_pkgdb_update: removed xbps_handle * arg.
- xbps_transaction_missingdeps_get: removed, missing_deps array is in
xbps_handle::transd("missing_deps") array object.
2012-01-22 10:00:46 +01:00
Juan RP
3b7491d29b
Merged purge code in remove, configurable transaction regpkgdb flushing.
...
See the NEWS file for info.
2011-12-24 01:05:26 +01:00
Juan RP
a5d9eb9853
xbps-bin: it's possible to reinstall any pkg with '-f' option.
2011-12-20 16:08:23 +01:00
Juan RP
79fd316f8e
xbps-bin: formatting fixes for transaction printfs.
2011-12-18 01:10:24 +01:00
Juan RP
3ffb44f6fe
xbps-bin: move remove code into transaction.c::remove_pkg().
2011-11-27 09:59:39 +01:00
Juan RP
6229e06a67
xbps-bin: fix a broken condition.
2011-11-27 09:29:13 +01:00
Juan RP
9d731ffe09
Introduce xbps_transaction_remove_pkg() and use it for xbps-bin(8).
2011-11-27 09:05:18 +01:00
Juan RP
0ff0aee226
libxbps: added xbps_transaction_autoremove_pkgs(bool purge).
...
This is to add package orphans into the transaction dictionary.
2011-11-25 11:20:03 +01:00
Juan RP
bbfd2813b2
libxbps: renamed xbps_repository_{install,update}_xxx to xbps_transaction_xxx.
2011-11-25 10:12:03 +01:00