scrollup
Pisilinux logo

Pisi yenilenebilir paketler (Updates) hatası

Fuad T
24-04-2019 07:39 #1
$ pisi lu --debug
DEBUG: InstallDB initialized in 0.00883603096008.
DEBUG: PackageDB initialized in 0.0594100952148.
DEBUG: RepoDB initialized in 0.000389814376831.
System error. Program terminated.
<class 'piksemel.ParseError'>:
Please use 'pisi help' for general help.

Traceback:
  File "/usr/bin/pisi", line 84, in <module>
    cli.run_command()
  File "/usr/lib/pisilinux/pisi/cli/pisicli.py", line 144, in run_command
    self.command.run()
  File "/usr/lib/pisilinux/pisi/cli/listupgrades.py", line 53, in run
    upgradable_pkgs = pisi.api.list_upgradable()
  File "/usr/lib/pisilinux/pisi/api.py", line 257, in list_upgradable
    upgradable = filter(is_upgradable, installdb.list_installed())
  File "/usr/lib/pisilinux/pisi/operations/upgrade.py", line 395, in is_upgradable
    (i_version, i_release, i_build, i_distro, i_distro_release) = installdb.get_version_and_distro_release(name)
  File "/usr/lib/pisilinux/pisi/db/installdb.py", line 172, in get_version_and_distro_release
    meta_doc = piksemel.parse(metadata_xml)

$ pisi lr
pisi [active]
   https://ciftlik.pisilinux.org/2.0/pisi-index.xml.xz
pisilife-2 [active]
   https://github.com/pisilinux/pisilife-2/raw/master/pisi-index.xml.xz

Pisi grafik uygulamasında da Updates seçeneği takılıp kalıyor.

Düzeltmek için ne yapabilirim?

ERKAN IŞIK
28-04-2019 15:11 #2
ana repomuz pisidir, pisilife2 yi pasif ederek bir deneyin
Fuad T
02-05-2019 07:27 #3
Yanıtınız için teşekkürler,
Ne yazık ki aynı sorun devam ediyor:

$ pisi lr
pisi [active]
   https://ciftlik.pisilinux.org/2.0/pisi-index.xml.xz
pisilife-2 [inactive]
   https://github.com/pisilinux/pisilife-2/raw/master/pisi-index.xml.xz
$ pisi lu --debug
DEBUG: InstallDB initialized in 0.00876402854919.
DEBUG: PackageDB initialized in 0.0561599731445.
DEBUG: RepoDB initialized in 0.000356912612915.
System error. Program terminated.
<class 'piksemel.ParseError'>:
Please use 'pisi help' for general help.

Traceback:
  File "/usr/bin/pisi", line 84, in <module>
    cli.run_command()
  File "/usr/lib/pisilinux/pisi/cli/pisicli.py", line 144, in run_command
    self.command.run()
  File "/usr/lib/pisilinux/pisi/cli/listupgrades.py", line 53, in run
    upgradable_pkgs = pisi.api.list_upgradable()
  File "/usr/lib/pisilinux/pisi/api.py", line 257, in list_upgradable
    upgradable = filter(is_upgradable, installdb.list_installed())
  File "/usr/lib/pisilinux/pisi/operations/upgrade.py", line 395, in is_upgradable
    (i_version, i_release, i_build, i_distro, i_distro_release) = installdb.get_version_and_distro_release(name)
  File "/usr/lib/pisilinux/pisi/db/installdb.py", line 172, in get_version_and_distro_release
    meta_doc = piksemel.parse(metadata_xml)

Fakat tesadüfen bu hatayı buldum, belki bunu çözersem durumu kurtarabilirim:

$ pisi li
ConsoleKit                        - A framework for defining and tracking users, login sessions, and seats
DirectFB                          - Thin library on top of the Linux framebuffer devices
GraphicsMagick                    - GraphicsMagick Image Processing System
ModemManager                      - A manager framework for mobile broadband modems
NetworkManager                    - Network connection manager powered by D-Bus and UDEV
Xaw3d                             - Replacement of the Xaw widget set that comes with X
a52dec                            - DVD ATSC A/52 streams decoder library
aalib                             - An ASCII-graphics Library
accountsservice                   - D-Bus Service to Manipulate User Account Information
acl                               - Access control list utilities
.
.
.
service-manager                   - System Service configuration GUI
sg3_utils                         - Utilities for devices that use SCSI command sets
sgml-common                       - Base ISO character entities and utilities for SGML
shadow                            - Kullanıcı hesaplarını düzenlemek için araçlar.
Program terminated.
File '/var/lib/pisi/package/shared-mime-info-1.10-6/metadata.xml' has invalid XML
Please use 'pisi help' for general help.

"shared-mime-info" paketi sorunlu

Kamil Atlı
02-05-2019 15:34 #4
Sorunlu paketleri, depo adresinizden, firefox ile indirip kurun yeniden,
sudo pisi cp
İle yapılandırılamamış olanlari yapılandırın,
Konsol ile kuracaksaniz,
sudo pisi it falanca --rei
Fuad T
04-05-2019 08:41 #5

shared-mime-info-1.10-6-p2-x86_64.pisi paketini indirip

sudo pisi it shared-mime-info --rei

denedim, fakat yine "File '/var/lib/pisi/package/shared-mime-info-1.10-6/metadata.xml' has invalid XML" hatası çıktı.


Bunun üzerine /var/lib/pisi/package/shared-mime-info-1.10-6/metadata.xml dosyanın geçekten bozuk olduğunu gördüm ve bunu backup'taki kopya ile değiştirdim. Şimdi pisi sorunsuz çalışıyor.


Yardımlarınız için çok teşekkürler