safaariman / pisi

Pardus package management system
Other
0 stars 1 forks source link

revdep-rebuild komutunun package diye bir seçeneğinin eklenmesi #11

Closed ertugerata closed 5 years ago

ertugerata commented 5 years ago

revdep-rebuild komutunun package diye bir seçeneği var o o paketi kaldırır isen neler kırıllır onu gösteriyor.

bu konu ile ilgili olarak şu an kullanımda olan pisi'de help çıktısı

revdep-rebuild --help
Usage: revdep-rebuild [options]

Options:
  -h, --help           show this help message and exit
  -f, --force          remove old revdep-rebuild files
  -n, --soname         recompile packages using library with SONAME instead of
                       broken library
                       (SONAME providing library must be present in the
                       system)
  -e, --soname-regexp  the same as --soname, but accepts regular expresions
  -p, --package        shows all reverse deps for PACKAGE (PACKAGE must be
                       installed in the system)

https://github.com/PisiLinuxNew/pisi/blob/master/scripts/revdep-rebuild mevcut pisi revdep-rebuild i

safaariman commented 5 years ago

Yenisini alıp Python 3 uyumlu yaptım. Tekrar deneyebilir misin abi?

ertugerata commented 5 years ago

Your pisi version is too old. diyor ? ayrıca altta başka bir hata daha var

revdep-rebuild -f

Collecting installed packages and files...
  done.

Collecting old paths info...
Your pisi version is too old.
  done.

Checking reverse dependencies...

Collecting system binaries and libraries...
  done. (/root/.revdep-rebuild.1_files)

Collecting complete LD_LIBRARY_PATH...
  done. (/root/.revdep-rebuild.2_ldpath)

Checking dynamic linking consistency...
Traceback (most recent call last):
  File "/usr/bin/revdep-rebuild", line 183, in <module>
    for line in out.split("\n"):
TypeError: a bytes-like object is required, not 'str'
ertugerata commented 5 years ago

son hali ile düzgün çalışıyor.