Η εντολή --force-all
υπάρχει (και δεν την συστήνω ποτέ αν δεν είναι τα 3 πακέτα που αναφέρω):
- Κώδικας: Επιλογή όλων
$ dpkg --force-help
dpkg forcing options - control behaviour when problems found:
warn but continue: --force-<thing>,<thing>,...
stop with error: --refuse-<thing>,<thing>,... | --no-force-<thing>,...
Forcing things:
[!] all Set all force options
[*] downgrade Replace a package with a lower version
configure-any Configure any package which may help this one
hold Process incidental packages even when on hold
not-root Try to (de)install things even when not root
bad-path PATH is missing important programs, problems likely
bad-verify Install a package even if it fails authenticity check
overwrite Overwrite a file from one package with another
overwrite-diverted Overwrite a diverted file with an undiverted version
[!] overwrite-dir Overwrite one package's directory with another's file
[!] unsafe-io Do not perform safe I/O operations when unpacking
[!] confnew Always use the new config files, don't prompt
[!] confold Always use the old config files, don't prompt
[!] confdef Use the default option for new config files if one
is available, don't prompt. If no default can be found,
you will be prompted unless one of the confold or
confnew options is also given
[!] confmiss Always install missing config files
[!] confask Offer to replace config files with no new versions
[!] architecture Process even packages with wrong or no architecture
[!] breaks Install even if it would break another package
[!] conflicts Allow installation of conflicting packages
[!] depends Turn all dependency problems into warnings
[!] depends-version Turn dependency version problems into warnings
[!] remove-reinstreq Remove packages which require installation
[!] remove-essential Remove an essential package
WARNING - use of options marked [!] can seriously damage your installation.
Forcing options marked [*] are enabled by default.
- Κώδικας: Επιλογή όλων
$ sudo dpkg -P --force-all ubuntu-minimal
[sudo] password for savvas:
(Reading database ... 248122 files and directories currently installed.)
Removing ubuntu-minimal ...
panoss έγραψε:
Πως τό καταφερα αυτό αφού έχω να ασχοληθώ με το ubuntu (είτε εγκατάσταση είτε απεγκατάσταση) κάτι μήνες, από τότε που έβαλα το puppy. Δηλαδή, εδώ και μήνες έχω να εγκαταστήσω κάτι στο ubuntu, αλλα δούλευε. ΜΙΑ ΧΑΡΑ.
Μια φορα το μηνα (και αν) έμπαινα στο ubuntu να δω μερικά πράγματα.
Μη με ρωτάς, τόσο Σέρλοκ Χολμς δεν είμαι.

Εγώ σου δίνω απλά τι βλέπω από αυτά που μου δίνουν οι εντολές. Και το σύστημα είναι πολύ μπερδεμένο. Τεσπα, συνεχίζουμε μέχρι εξαντλήσεως.

Ας δοκιμάσουμε να λύσουμε το πρόβλημα με το apt. Θα επανεγκαταστήσουμε μερικά σημαντικά πακέτα:
Μέρος Α + οι παρακάτω εντολές:
- Κώδικας: Επιλογή όλων
dpkg --force-help
wget http://security.ubuntu.com/ubuntu/pool/main/a/apt/apt_0.8.13.2ubuntu4.3_amd64.deb -O apt_0.8.13.2ubuntu4.3_amd64.deb
wget http://de.archive.ubuntu.com/ubuntu/pool/main/d/dpkg/dpkg_1.16.0~ubuntu7.1_amd64.deb -O dpkg_1.16.0~ubuntu7.1_amd64.debw
wget http://de.archive.ubuntu.com/ubuntu/pool/main/g/gnupg/gpgv_1.4.11-3ubuntu1_amd64.deb -O gpgv_1.4.11-3ubuntu1_amd64.deb
wget http://de.archive.ubuntu.com/ubuntu/pool/main/g/gnupg/gnupg_1.4.11-3ubuntu1_amd64.deb -O gnupg_1.4.11-3ubuntu1_amd64.deb
dpkg --configure -a
dpkg -i apt_0.8.13.2ubuntu4.3_amd64.deb dpkg_1.16.0~ubuntu7.1_amd64.deb gpgv_1.4.11-3ubuntu1_amd64.deb gnupg_1.4.11-3ubuntu1_amd64.deb
dpkg -i --force-overwrite apt_0.8.13.2ubuntu4.3_amd64.deb dpkg_1.16.0~ubuntu7.1_amd64.deb gpgv_1.4.11-3ubuntu1_amd64.deb gnupg_1.4.11-3ubuntu1_amd64.deb
apt-get update
apt-get -o Dpkg::Options::="--force-overwrite" --reinstall install gpgv
apt-get update
apt-get -o Dpkg::Options::="--force-overwrite" --reinstall install apt libapt-pkg4.11 ubuntu-keyring gnupg gpgv zlib1g command-not-found dpkg
Προχώρησε ακόμη κι αν σου δίνει σφάλματα. Μην ξεχάσεις να δώσεις το αποτέλεσμα των εντολών όπως έκανες μέχρι τώρα!