safaariman / pisi

Pardus package management system
Other
0 stars 1 forks source link

Pisi eklenmiş yerel depodan dosya çekemiyor #19

Open ertugerata opened 5 years ago

ertugerata commented 5 years ago
pisi lr
depo [active]
   /root/depo/pisi-index.xml.xz

pisi fc libgcc --debug
DEBUG: PackageDB initialized in 0.0031740665435791016.
DEBUG: RepoDB initialized in 0.00018644332885742188.
libgcc package found in depo repository
System error. Program terminated.
<class 'ValueError'>: unknown url type: '/root/depo/libgcc-8.2.0-1-p2-x86_64.pisi'
Please use 'pisi help' for general help.

Traceback:
  File "/usr/bin/pisi", line 85, in <module>
    cli.run_command()
  File "/usr/lib/python3.6/site-packages/pisi/cli/pisicli.py", line 146, in run_command
    self.command.run()
  File "/usr/lib/python3.6/site-packages/pisi/cli/fetch.py", line 65, in run
    pisi.api.fetch(self.args + runtime_dependencies, ctx.config.options.output_dir)
  File "/usr/lib/python3.6/site-packages/pisi/api.py", line 431, in fetch
    fetcher.fetch_url(url, path, ctx.ui.Progress)
  File "/usr/lib/python3.6/site-packages/pisi/fetcher.py", line 251, in fetch_url
    fetch.fetch()
  File "/usr/lib/python3.6/site-packages/pisi/fetcher.py", line 152, in fetch
    with contextlib.closing(urllib.request.urlopen(self.url.get_uri())) as fp:
  File "/usr/lib/python3.6/urllib/request.py", line 223, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.6/urllib/request.py", line 511, in open
    req = Request(fullurl, data)
  File "/usr/lib/python3.6/urllib/request.py", line 329, in __init__
    self.full_url = url
  File "/usr/lib/python3.6/urllib/request.py", line 355, in full_url
    self._parse()
  File "/usr/lib/python3.6/urllib/request.py", line 384, in _parse
    raise ValueError("unknown url type: %r" % self.full_url)
ertugerata commented 5 years ago

file parametresi ile depo eklenmiyor. yalnıca direk yolu göstererek depo eklenebiliyor.

 pisi ar deneme file://root/depo/pisi-index.xml.xz
Repo deneme added to system.
Updating repository: deneme
deneme repository could not be reached. Removing deneme from system.
Repo deneme removed from system.
b42f3ef0aa65 ~ # pisi ar deneme file:///root/depo/pisi-index.xml.xz
Repo deneme added to system.
Updating repository: deneme
deneme repository could not be reached. Removing deneme from system.
Repo deneme removed from system.