[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Paket mit "dpkg" händisch aktualisieren



Hallo beisammen!

Verzeiht die Frage, aber bisher habe ich nur mit aptitude Pakete 
aktualisiert. :-)

Ich habe Debian testing (bitte nur Beiträge zur Fragebantwortung ;-) ) und mir 
die Quellen zu koffice von unstable geholt. Aus diesen Quellen habe ich mir 
nun nette Debian Pakete erstellt.

Nun die Frage: Kann ich einfach mit 

dpkg --install PAKET.deb

die koffice Pakete aktualisieren?

"man dpkg" sagt:

"dpkg -i | --install package_file...
 Install the package. If --recursive or -R option is specified, package_file 
must refer to a directory instead. 
 Installation consists of the following steps: 
 
1. Extract the control files of the new package. 
 
2. If another version of the same package was installed before the new 
installation, execute prerm script of the old package. 
 
3. Run preinst script, if provided by the package. 
 
4. Unpack the new files, and at the same time back up the old files, so that 
if something goes wrong, they can be restored. 
 
5. If another version of the same package was installed before the new 
installation, execute the postrm script of the old package. Note that this 
script is executed after the preinst script of the new package, because new 
files are written at the same time old files are removed. 
 
6. Configure the package. See --configure for detailed information about how 
this is done."

Ich verstehe dass so, dass dpkg mir automatisch eine aktuelle Paketversion zu 
installieren versucht. Ist das so richtig?

BTW: Was macht "dpkg --update-avail | --merge-avail Packages-file"?

Danke für Eure Antworten,
Leonhard.



Reply to: