RexOps / repositorio

Tool to administrate linux repositories
http://www.repositor.io/
55 stars 18 forks source link

Can't use string ("") as an ARRAY ref while "strict refs" in use at #45

Open Prajithp opened 8 years ago

Prajithp commented 8 years ago

Configuration:

RepositoryRoot = /var/www/html/repo/

# how often a failed download should be retried.
DownloadRetryCount = 3

# specify repo tag style. either TopDir (default) or BottomDir
TagStyle = TopDir

LogFile = /var/log/repositorio.log
LogFileLevel = info

<Repository linuxmint-rosa-amd64-main>
  url       = http://packages.linuxmint.com
  local     = linuxmint-rosa-amd64-main/linuxmint
  type      = Apt
  arch      = amd64
  dist      = rosa
  component = main
</Repository>

Command:

repositorio --mirror --repo=linuxmint-rosa-amd64-main

Output:

97/99 http://packages.linuxmint.com/dists/rosa/universe/Contents-amd64.gz
98/99 http://packages.linuxmint.com/dists/rosa/multiverse/Contents-amd64
_download_binary_file: http://packages.linuxmint.com/dists/rosa/multiverse/Contents-amd64 failed with status: 404 Not Found
_download_binary_file: http://packages.linuxmint.com/dists/rosa/multiverse/Contents-amd64 retrying
_download_binary_file: http://packages.linuxmint.com/dists/rosa/multiverse/Contents-amd64 failed with status: 404 Not Found
_download_binary_file: http://packages.linuxmint.com/dists/rosa/multiverse/Contents-amd64 retrying
_download_binary_file: http://packages.linuxmint.com/dists/rosa/multiverse/Contents-amd64 failed with status: 404 Not Found
_download_binary_file: http://packages.linuxmint.com/dists/rosa/multiverse/Contents-amd64 retrying
_download_binary_file: http://packages.linuxmint.com/dists/rosa/multiverse/Contents-amd64 failed with status: 404 Not Found
_download_binary_file: http://packages.linuxmint.com/dists/rosa/multiverse/Contents-amd64 failed and exhausted all retries.
Can't find the url: http://packages.linuxmint.com/dists/rosa/multiverse/Contents-amd64. This should be no problem.
_download_binary_file: http://packages.linuxmint.com/dists/rosa/multiverse/Contents-amd64 failed and exhausted all retries. at /usr/local/bin/repositorio line 71.

99/99 http://packages.linuxmint.com/dists/rosa/multiverse/Contents-amd64.gz
Can't use string ("") as an ARRAY ref while "strict refs" in use at /usr/local/share/perl5/Rex/Repositorio/Repository/Apt.pm line 387.

Installed via bootstrap script.

[root@server ~]# repositorio --help
repositorio started.
repositorio: 1.2.1

Any idea why I'm getting this error while initializing linux mint repo?