diff options
| author | picca <picca@web> | 2017-07-28 15:08:22 +0000 |
|---|---|---|
| committer | admin <admin@branchable.com> | 2017-07-28 15:08:22 +0000 |
| commit | e12514565659bde6fccc299828eae5a4953f9c5a (patch) | |
| tree | f72e218a9d6bc3b3f3f8d0adb8daf2ffbac7adc8 /doc | |
| parent | 0e964fed97090e3c3466b99a0380957c060f7141 (diff) | |
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/forum/host_to_deal_with_dpkg::options.mdwn | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/doc/forum/host_to_deal_with_dpkg::options.mdwn b/doc/forum/host_to_deal_with_dpkg::options.mdwn new file mode 100644 index 00000000..a6d74986 --- /dev/null +++ b/doc/forum/host_to_deal_with_dpkg::options.mdwn @@ -0,0 +1,39 @@ +Hello + +I try to create a distUpgrade property in order to migrate one of my computer from jessie -> stretch + +I started wit this + + distUpgrade :: String -> Property DebianLike + distUpgrade p = combineProperties ("apt " ++ p) $ props + & Apt.pendingConfigured + & Apt.runApt ["-y", "--force-yes", "-o", "Dpkg::Options::=\"--force-confnew\"", p] + `assume` MadeChange + +But when I try to use this + + ... + & distUpgrade dist-upgrade + + I get this error message + + Préconfiguration des paquets... + setting xserver-xorg-legacy/xwrapper/allowed_users from configuration file + dpkg: erreur: requiert une option d'action + + Utilisez « dpkg --help » pour obtenir de l'aide à propos de l'installation et la désinstallation des paquets [*] ; + Utilisez « apt » ou « aptitude » pour gérer les paquets de m1578 mis à jour, 376 nouvellement installés, 72 à enlever et 0 non mis à jour. + Il est nécessaire de prendre 0 o/1 458 Mo dans les archives. + +I checked that if I run this command on the command line it works + + apt-get -y --force-yes -o Dpkg::Options::="--force-confnew" dist-upgrade + +even If I write this it works + + apt-get -y --force-yes -o Dpkg::Options::=\"--force-confnew\" dist-upgrade + +So it seems to me that there is a problem with the runApt method or I missed something + +thanks + |
