[Çözüldü] openoffice.org-hyphenation-en-us.postinst problemi

Başlatan helluri, 16 Haziran 2009 - 20:52:01

« önceki - sonraki »

0 Üyeler ve 1 Ziyaretçi konuyu incelemekte.

helluri



sudo dpkg --configure -a
Setting up openoffice.org-hyphenation-en-us (2.4-2ubuntu1) ...
/var/lib/dpkg/info/openoffice.org-hyphenation-en-us.postinst: 6: update-openoffice-dicts: not found
dpkg: error processing openoffice.org-hyphenation-en-us (--configure):
subprocess post-installation script returned error exit status 127
Errors were encountered while processing:
openoffice.org-hyphenation-en-us


şöyle bir sorunum var.
bahsi geçen paketi synapticten kaldıramıyorum, yeniden yükleyemiyorum. crash report veriyor.
ne yapabilirim?
teşekkürler

ironic


sudo mv /var/lib/dpkg/info/openoffice.org-hyphenation-en-us.postinst /var/lib/dpkg/info/openoffice.org-hyphenation-en-us.postinst.bak

sudo apt-get install --reinstall openoffice.org-hyphenation


kaynak

helluri

sudo apt-get install --reinstall openoffice.org-hyphenation
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libclucene0ldbl libqimageblitz4 dvgrab swh-plugins kdenlive-data librdf0
  kdebase-runtime-data-common libmlt++1 libboost-program-options1.35.0
  kdelibs5 libservlet2.4-java kde-icons-oxygen libexiv2-5 librasqal1 libsox1
  inigo libakonadiprivate1 libsoprano4 redland-utils kdelibs5-data ffmpeg
  libavfilter0 recordmydesktop libstreamanalyzer0 libsox-fmt-base libplasma3
  kdepimlibs5 kdelibs-bin libsox-fmt-alsa libpq5 libhsqldb-java libstreams0
  exiv2 libmlt-data soprano-daemon kdebase-runtime-data kdepimlibs-data
  libmlt1 libavdevice52
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  dictionaries-common
Suggested packages:
  ispell emacsen-common jed-extra
The following packages will be REMOVED:
  openoffice.org-hyphenation-en-us
The following NEW packages will be installed:
  dictionaries-common openoffice.org-hyphenation
0 upgraded, 2 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B/621kB of archives.
After this operation, 1720kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
Info: dictionaries-common/default-wordlist is already set to
      [american (American English)]. Preserving it.
(Reading database ... 135692 files and directories currently installed.)
Removing openoffice.org-hyphenation-en-us ...
/var/lib/dpkg/info/openoffice.org-hyphenation-en-us.postrm: 6: update-openoffice-dicts: not found
dpkg: error processing openoffice.org-hyphenation-en-us (--remove):
subprocess post-removal script returned error exit status 127
Errors were encountered while processing:
openoffice.org-hyphenation-en-us
E: Sub-process /usr/bin/dpkg returned an error code (1)


teşekkürler, fakat çözülmedi sanırım

ironic

Aldığınız hatayı kaynağa uyarlayarak düzenlemiştim. Bende sorunsuz işlem bitti. Şu komutlarla deneyin.

sudo apt-get autoremove

sudo mv /var/lib/dpkg/info/openoffice.org-hyphenation.postrm /var/lib/dpkg/info/openoffice.org-hyphenation.postrm.bak

sudo apt-get install --reinstall openoffice.org-hyphenation

helluri

sudo apt-get install --reinstall openoffice.org-hyphenation
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libclucene0ldbl libqimageblitz4 dvgrab swh-plugins kdenlive-data librdf0
  kdebase-runtime-data-common libmlt++1 libboost-program-options1.35.0
  kdelibs5 libservlet2.4-java kde-icons-oxygen libexiv2-5 librasqal1 libsox1
  inigo libakonadiprivate1 libsoprano4 redland-utils kdelibs5-data ffmpeg
  libavfilter0 recordmydesktop libstreamanalyzer0 libsox-fmt-base libplasma3
  kdepimlibs5 kdelibs-bin libsox-fmt-alsa libpq5 libhsqldb-java libstreams0
  exiv2 libmlt-data soprano-daemon kdebase-runtime-data kdepimlibs-data
  libmlt1 libavdevice52
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  dictionaries-common
Suggested packages:
  ispell emacsen-common jed-extra
The following packages will be REMOVED:
  openoffice.org-hyphenation-en-us
The following NEW packages will be installed:
  dictionaries-common openoffice.org-hyphenation
0 upgraded, 2 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B/621kB of archives.
After this operation, 1720kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
Info: dictionaries-common/default-wordlist is already set to
      [american (American English)]. Preserving it.
(Reading database ... 135692 files and directories currently installed.)
Removing openoffice.org-hyphenation-en-us ...
/var/lib/dpkg/info/openoffice.org-hyphenation-en-us.postrm: 6: update-openoffice-dicts: not found
dpkg: error processing openoffice.org-hyphenation-en-us (--remove):
subprocess post-removal script returned error exit status 127
Errors were encountered while processing:
openoffice.org-hyphenation-en-us
E: Sub-process /usr/bin/dpkg returned an error code (1)


hayır olmuyor  :'(

ironic

komutları verdiğim sırayla girin. Birinci komut artık gerek olmayan paketleri kaldıracak. Şu an hepsi verdiğiniz çıktı da duruyor.

helluri

Alıntı Yapkomutları verdiğim sırayla girin. Birinci komut artık gerek olmayan paketleri kaldıracak. Şu an hepsi verdiğiniz çıktı da duruyor.
öyle yapmıştım zaten, teşekkürler
uzun olmasın diye koymamıştım ama..
şimdi vereyim.

@-laptop:~$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  openoffice.org-hyphenation-en-us
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 188kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 126428 files and directories currently installed.)
Removing openoffice.org-hyphenation-en-us ...
/var/lib/dpkg/info/openoffice.org-hyphenation-en-us.postrm: 6: update-openoffice-dicts: not found
dpkg: error processing openoffice.org-hyphenation-en-us (--remove):
subprocess post-removal script returned error exit status 127
Errors were encountered while processing:
openoffice.org-hyphenation-en-us
E: Sub-process /usr/bin/dpkg returned an error code (1)
@-laptop:~$ sudo mv /var/lib/dpkg/info/openoffice.org-hyphenation.postrm /var/lib/dpkg/info/openoffice.org-hyphenation.postrm.bak
@-laptop:~$ sudo apt-get install --reinstall openoffice.org-hyphenation
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  dictionaries-common
Suggested packages:
  ispell emacsen-common jed-extra
The following packages will be REMOVED:
  openoffice.org-hyphenation-en-us
The following NEW packages will be installed:
  dictionaries-common openoffice.org-hyphenation
0 upgraded, 2 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B/621kB of archives.
After this operation, 1720kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
Info: dictionaries-common/default-wordlist is already set to
      [american (American English)]. Preserving it.
(Reading database ... 126428 files and directories currently installed.)
Removing openoffice.org-hyphenation-en-us ...
/var/lib/dpkg/info/openoffice.org-hyphenation-en-us.postrm: 6: update-openoffice-dicts: not found
dpkg: error processing openoffice.org-hyphenation-en-us (--remove):
subprocess post-removal script returned error exit status 127
Errors were encountered while processing:
openoffice.org-hyphenation-en-us
E: Sub-process /usr/bin/dpkg returned an error code (1)



Mesaj tekrarı yüzünden mesajınız birleştirildi. Bu mesajın gönderim tarihi : 16 Haziran 2009 - 19:39:40



Mesaj tekrarı yüzünden mesajınız birleştirildi. Bu mesajın gönderim tarihi : 16 Haziran 2009 - 21:40:08

zaten ilk kodda hata veriyor sanırım

ironic

İkinci komuttan başlayın o zaman. Bu sorun ile ilgili hata kaydı bile açılmış ama henüz hiçbir ses çıkmamış.

helluri

Alıntı Yapİkinci komuttan başlayın o zaman
yine olmuyor. aynı şeyler..

yanlız ben şu an hiçbir program yükleyemiyorum..

bytan

Çıktısı nedir?

dpkg -l | grep -v ^ii
Umut en büyük kötülüktür; işkenceyi uzatır. - F.N.


Bir şey ne ise odur, bu kadar. Öyleyse, iki şey arasında bağdaşıklık varsa, bu aralarında iletişim kuruyorlar demek değildir.
"... kavrayışını bilgi ile derinleştir ..."
PF @ ST

helluri

dpkg -l | grep -v ^ii
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                                       Version                                   Description
+++-==========================================-=========================================-============================================
rc  aspell-en                                  6.0-0-5.1                                 English dictionary for GNU Aspell
rc  dictionaries-common                        1.0.0ubuntu1                              Common utilities for spelling dictionary too
rc  ffmpeg                                     3:0.svn20090303-1ubuntu6                  multimedia player, server and encoder
rc  hunspell-en-us                             20070829-2ubuntu1                         English_american dictionary for hunspell
rc  kdebase-runtime-data                       4:4.2.2-0ubuntu1                          shared data files for the KDE 4 base runtime
rc  kdelibs5                                   4:4.2.2-0ubuntu5                          core libraries for all KDE 4 applications
rc  kdelibs5-data                              4:4.2.2-0ubuntu5                          core shared data for all KDE 4 applications
rc  kdenlive                                   0.7.3-0ubuntu2                            a non-linear video editor
rc  kdenlive-data                              0.7.3-0ubuntu2                            a non-linear video editor (data files)
rc  kdepimlibs5                                4:4.2.2-0ubuntu1                          core libraries for KDE PIM 4 applications
rc  kdesudo                                    3.4.1-0ubuntu1                            sudo frontend for KDE4
rc  kolourpaint4                               4:4.2.2-0ubuntu2                          simple image editor for KDE 4
rc  ksnapshot                                  4:4.2.2-0ubuntu2                          screen capture tool for KDE 4
rc  language-support-translations-en           1:9.04+20090401                           Additional translations metapackage for Engl
rc  language-support-writing-en                1:8.10+20080904                           Writing aids metapackage for English
rc  libakonadiprivate1                         1.1.1-0ubuntu3                            libraries for the Akonadi PIM storage servic
rc  libavdevice52                              3:0.svn20090303-1ubuntu6                  ffmpeg device handling library
rc  libavfilter0                               3:0.svn20090303-1ubuntu6                  ffmpeg video filtering library
rc  libboost-program-options1.35.0             1.35.0-8ubuntu5                           program options library for C++
rc  libclucene0ldbl                            0.9.20-3                                  library for full-featured text search engine
rc  libexiv2-5                                 0.18-1ubuntu1                             EXIF/IPTC metadata manipulation library
rc  libhsqldb-java                             1.8.0.10-1ubuntu1                         Java SQL database engine
rc  libmlt++1                                  0.3.8-0ubuntu1                            MLT multimedia framework C++ wrapper (runtim
rc  libmlt1                                    0.3.8-0ubuntu2                            multimedia framework (runtime)
rc  libplasma3                                 4:4.2.2-0ubuntu5                          library for the KDE 4 Plasma desktop
rc  libpq5                                     8.3.7-1                                   PostgreSQL C client library
rc  libqimageblitz4                            1:0.0.4-4                                 QImageBlitz image effects library
rc  librasqal1                                 0.9.16-1                                  Rasqal RDF query library
rc  librdf0                                    1.0.8-1                                   Redland Resource Description Framework (RDF)
rc  libsoprano4                                2.2.2+dfsg.1-1ubuntu1                     libraries for the Soprano RDF framework
rc  libsox1                                    14.2.0-1                                  SoX library of audio effects and processing
rc  libstreamanalyzer0                         0.6.4-0ubuntu2                            streamanalyzer library for Strigi Desktop Se
rc  libstreams0                                0.6.4-0ubuntu2                            streams library for for Strigi Desktop Searc
rc  myspell-en-au                              2.1-3.1                                   English_australian dictionary for myspell
rc  myspell-en-gb                              1:3.0.1-8ubuntu1                          English_british dictionary for myspell
rc  myspell-en-za                              1:3.0.1-8ubuntu1                          English_southafrican dictionary for myspell
rc  openoffice.org-base                        1:3.1.0-3ubuntu2~jaunty1                  full-featured office productivity suite -- d
rc  openoffice.org-calc                        1:3.1.0-3ubuntu2~jaunty1                  full-featured office productivity suite -- s
rc  openoffice.org-common                      1:3.1.0-3ubuntu2~jaunty1                  full-featured office productivity suite -- a
rc  openoffice.org-core                        1:3.1.0-3ubuntu2~jaunty1                  full-featured office productivity suite -- a
rc  openoffice.org-draw                        1:3.1.0-3ubuntu2~jaunty1                  full-featured office productivity suite -- d
rc  openoffice.org-filter-binfilter            1:3.1.0-3ubuntu2~jaunty1                  full-featured office productivity suite -- l
rc  openoffice.org-hyphenation                 0.3                                       Hyphenation patterns for OpenOffice.org
rH  openoffice.org-hyphenation-en-us           2.4-2ubuntu1                              US English hyphenation patterns for OpenOffi
rc  openoffice.org-impress                     1:3.1.0-3ubuntu2~jaunty1                  full-featured office productivity suite -- p
rc  openoffice.org-math                        1:3.1.0-3ubuntu2~jaunty1                  full-featured office productivity suite -- e
rc  openoffice.org-writer                      1:3.1.0-3ubuntu2~jaunty1                  full-featured office productivity suite -- w
rc  ubuntu-tweak                               0.4.7.1-1~jaunty1                         An application designed to config Ubuntu eas
rc  wbritish                                   6-2.3                                     British English dictionary words for /usr/sh
rc  yakuake                                    2.9.4-0ubuntu1                            a Quake-style terminal emulator based on KDE

bytan

rc olarak belirtilenler, sistemden  kaldırılan fakat yapılandırma dosyaları (config..) hala sistemde bulunanlar paketler. rH ise bizim sorunlu pakedimiz. Aşağıdaki komutla kaldırmayı deneyebiliriz:

sudo dpkg --purge remove openoffice.org-hyphenation-en-us
Umut en büyük kötülüktür; işkenceyi uzatır. - F.N.


Bir şey ne ise odur, bu kadar. Öyleyse, iki şey arasında bağdaşıklık varsa, bu aralarında iletişim kuruyorlar demek değildir.
"... kavrayışını bilgi ile derinleştir ..."
PF @ ST

helluri

sudo dpkg --purge remove openoffice.org-hyphenation-en-us
[sudo] password for ahmet:
dpkg - warning: ignoring request to remove remove which isn't installed.
(Reading database ... 126428 files and directories currently installed.)
Removing openoffice.org-hyphenation-en-us ...
/var/lib/dpkg/info/openoffice.org-hyphenation-en-us.postrm: 6: update-openoffice-dicts: not found
dpkg: error processing openoffice.org-hyphenation-en-us (--purge):
subprocess post-removal script returned error exit status 127
Errors were encountered while processing:
openoffice.org-hyphenation-en-us

yine olmadı sanırım?

bytan

Yukarıda bir yedeğini aldığın için direk dosya üzerinde oynama yapabiliriz:

sudo gedit /var/lib/dpkg/info/openoffice.org-hyphenation-en-us.postrm

Dosyanın içeriği aşağıdaki gibi bir şey olmalı:

Alıntı Yap
#!/bin/sh
set -e
# Automatically added by installdeb-myspell
if [ "$1" = "remove" ]; then
    update-openoffice-dicts
fi
# End automatically added section

Şu hale getirip kaydet:

Alıntı Yap#!/bin/sh
set -e
exit 0

İçerisine yazılmasını engelleyelim:

sudo chattr +a /var/lib/dpkg/info/openoffice.org-hyphenation-en-us.postrm

Son olarak tekrar kaldırmayı dene. Bakalım sistemden çıkacak mı..
Umut en büyük kötülüktür; işkenceyi uzatır. - F.N.


Bir şey ne ise odur, bu kadar. Öyleyse, iki şey arasında bağdaşıklık varsa, bu aralarında iletişim kuruyorlar demek değildir.
"... kavrayışını bilgi ile derinleştir ..."
PF @ ST

helluri

malesef yine olmadı.
içeriği verdiğiniz gibi değiştirdim ama aynı hata..

bytan

Hiç bir paket kuramıyor dedin ama yine de son bir deneme yapalım. Aşağıdaki pakedi kurabiliyor musun veya kurulu ise yeniden kurulum yapabiliyor musun?


sudo apt-get install dictionaries-common
sudo apt-get install --reinstall dictionaries-common
Umut en büyük kötülüktür; işkenceyi uzatır. - F.N.


Bir şey ne ise odur, bu kadar. Öyleyse, iki şey arasında bağdaşıklık varsa, bu aralarında iletişim kuruyorlar demek değildir.
"... kavrayışını bilgi ile derinleştir ..."
PF @ ST

helluri

@bytan
bu paketler kuruldu.

ben program ekle - kaldırdan kuramıyordum. ama komut satırıyla kurabildim..
program ekle - kaldır da paket işaretleyemiyordum. neyse..

sudo apt-get install dictionaries-common
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  ispell emacsen-common jed-extra
The following NEW packages will be installed:
  dictionaries-common
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/281kB of archives.
After this operation, 1020kB of additional disk space will be used.
Preconfiguring packages ...
Info: dictionaries-common/default-wordlist is already set to
      [american (American English)]. Preserving it.
Selecting previously deselected package dictionaries-common.
(Reading database ... 126429 files and directories currently installed.)
Unpacking dictionaries-common (from .../dictionaries-common_1.0.0ubuntu1_all.deb) ...
Adding `diversion of /usr/share/dict/words to /usr/share/dict/words.pre-dictionaries-common by dictionaries-common'
Processing triggers for man-db ...
Setting up dictionaries-common (1.0.0ubuntu1) ...

@-laptop:~$ sudo apt-get install --reinstall dictionaries-common
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0B/281kB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
(Reading database ... 126495 files and directories currently installed.)
Preparing to replace dictionaries-common 1.0.0ubuntu1 (using .../dictionaries-common_1.0.0ubuntu1_all.deb) ...
Leaving `diversion of /usr/share/dict/words to /usr/share/dict/words.pre-dictionaries-common by dictionaries-common'
Unpacking replacement dictionaries-common ...
Processing triggers for man-db ...
Setting up dictionaries-common (1.0.0ubuntu1) ...

bytan

Güzel. Şu an sorunlu pakedi kaldırabiliyor musun peki?
Umut en büyük kötülüktür; işkenceyi uzatır. - F.N.


Bir şey ne ise odur, bu kadar. Öyleyse, iki şey arasında bağdaşıklık varsa, bu aralarında iletişim kuruyorlar demek değildir.
"... kavrayışını bilgi ile derinleştir ..."
PF @ ST

helluri

hayır.
sudo dpkg --purge remove openoffice.org-hyphenation-en-us
dpkg - warning: ignoring request to remove remove which isn't installed.
(Reading database ... 126494 files and directories currently installed.)
Removing openoffice.org-hyphenation-en-us ...
Purging configuration files for openoffice.org-hyphenation-en-us ...
dpkg: error processing openoffice.org-hyphenation-en-us (--purge):
can't remove old postrm script: Operation not permitted
Errors were encountered while processing:
openoffice.org-hyphenation-en-us

bytan

Yedek aldığın dosyayı yerine koyalım ve sonrasında tekrar deneyelim:

sudo mv /var/lib/dpkg/info/openoffice.org-hyphenation-en-us.postinst.bak  /var/lib/dpkg/info/openoffice.org-hyphenation-en-us.postinst
sudo dpkg --purge openoffice.org-hyphenation-en-us
sudo apt-get install -f
sudo apt-get remove openoffice.org-hyphenation-en-us
Umut en büyük kötülüktür; işkenceyi uzatır. - F.N.


Bir şey ne ise odur, bu kadar. Öyleyse, iki şey arasında bağdaşıklık varsa, bu aralarında iletişim kuruyorlar demek değildir.
"... kavrayışını bilgi ile derinleştir ..."
PF @ ST

helluri

Alıntı YapYedek aldığın dosyayı yerine koyalım ve sonrasında tekrar deneyelim:
bunu yapamıyorum. dosyayı eski haline getirmeye çalışınca aşağıdaki uyarıyı alıyorum.
You do not have the permissions necessary to save the file. Please check that you typed the location correctly and try again.

bytan

Doğrudur. Yazma hakkına kapatmıştık, tekrar açalım:

sudo chattr -a /var/lib/dpkg/info/openoffice.org-hyphenation-en-us.postinst
Umut en büyük kötülüktür; işkenceyi uzatır. - F.N.


Bir şey ne ise odur, bu kadar. Öyleyse, iki şey arasında bağdaşıklık varsa, bu aralarında iletişim kuruyorlar demek değildir.
"... kavrayışını bilgi ile derinleştir ..."
PF @ ST

helluri

sudo chattr -a /var/lib/dpkg/info/openoffice.org-hyphenation-en-us.postinst
chattr: No such file or directory while trying to stat /var/lib/dpkg/info/openoffice.org-hyphenation-en-us.postinst

açamadım sanırım..

bytan

Dosya isimlerini yanlış yazmışım. Kusura bakma. Doğrusu şu şekilde olacak:

sudo chattr -a /var/lib/dpkg/info/openoffice.org-hyphenation.postrm
sudo mv /var/lib/dpkg/info/openoffice.org-hyphenation.postrm.bak /var/lib/dpkg/info/openoffice.org-hyphenation.postrm
Umut en büyük kötülüktür; işkenceyi uzatır. - F.N.


Bir şey ne ise odur, bu kadar. Öyleyse, iki şey arasında bağdaşıklık varsa, bu aralarında iletişim kuruyorlar demek değildir.
"... kavrayışını bilgi ile derinleştir ..."
PF @ ST

helluri

est.
yanlız hala olmadı.
sudo chattr -a /var/lib/dpkg/info/openoffice.org-hyphenation.postrm
@-laptop:~$ sudo mv /var/lib/dpkg/info/openoffice.org-hyphenation.postrm.bak /var/lib/dpkg/info/openoffice.org-hyphenation.postrm
mv: cannot stat `/var/lib/dpkg/info/openoffice.org-hyphenation.postrm.bak': No such file or directory