ser@user-Precision-Tower-5810:~/Projects/openwrt$ **./scripts/feeds install -a**
Makefile:13: *** ERROR: The path to the OpenWrt directory must not include any spaces. Stop.
Cannot open './tmp/.packageinfo': No such file or directory
Can't open file './tmp/.targetinfo': No such file or directory
Ignoring feed 'packages' - index missing
Ignoring feed 'luci' - index missing
Ignoring feed 'routing' - index missing
what part of the error message was hard to interpret ?
I did the following process
Download and update the sources
git clone https://git.openwrt.org/openwrt/openwrt.git
cd openwrt
git pull
Select a specific code revision
git branch -a
git tag
git checkout v21.02.3
Update the feeds
./scripts/feeds update -a
For this install i get error i cant get the error all files are there
./scripts/feeds install -a
I just ran all your commands, the ./scripts/feeds install -a
works just fine.
[frollic@atlantis openwrt]$ git checkout v21.02.3
Note: switching to 'v21.02.3'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at 42a15ca378 OpenWrt v21.02.3: adjust config defaults
[frollic@atlantis openwrt]$ ./scripts/feeds update -a
Updating feed 'packages' from 'https://git.openwrt.org/feed/packages.git^78bcd00c13587571b5c79ed2fc3363aa674aaef7' ...
Cloning into './feeds/packages'...
remote: Enumerating objects: 178127, done.
remote: Counting objects: 100% (178127/178127), done.
remote: Compressing objects: 100% (74608/74608), done.
remote: Total 178127 (delta 103493), reused 167973 (delta 94505), pack-reused 0
Receiving objects: 100% (178127/178127), 48.65 MiB | 27.30 MiB/s, done.
Resolving deltas: 100% (103493/103493), done.
Switched to a new branch '78bcd00c13587571b5c79ed2fc3363aa674aaef7'
/hdc/sdf/openwrt
Create index file './feeds/packages.index'
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'proper-umask'... ok.
Checking 'gcc'... ok.
Checking 'working-gcc'... ok.
Checking 'g++'... ok.
Checking 'working-g++'... ok.
Checking 'ncurses'... ok.
Checking 'perl-data-dumper'... ok.
Checking 'perl-findbin'... ok.
Checking 'perl-file-copy'... ok.
Checking 'perl-file-compare'... ok.
Checking 'perl-thread-queue'... ok.
Checking 'tar'... ok.
Checking 'find'... ok.
Checking 'bash'... ok.
Checking 'xargs'... ok.
Checking 'patch'... ok.
Checking 'diff'... ok.
Checking 'cp'... ok.
Checking 'seq'... ok.
Checking 'awk'... ok.
Checking 'grep'... ok.
Checking 'egrep'... ok.
Checking 'getopt'... ok.
Checking 'stat'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'wget'... ok.
Checking 'perl'... ok.
Checking 'python2-cleanup'... ok.
Checking 'python'... ok.
Checking 'python3'... ok.
Checking 'python3-distutils'... ok.
Checking 'git'... ok.
Checking 'file'... ok.
Checking 'rsync'... ok.
Checking 'which'... ok.
Checking 'ldconfig-stub'... ok.
Collecting package info: feeds/packages/lang/python/python3-django-etesync-journCollecting package info: done
Collecting target info: done
Updating feed 'luci' from 'https://git.openwrt.org/project/luci.git^fe09ab990256d8b63e76cc1ab2435baef921b8b4' ...
Cloning into './feeds/luci'...
remote: Enumerating objects: 27344, done.
remote: Counting objects: 100% (27344/27344), done.
remote: Compressing objects: 100% (3406/3406), done.
remote: Total 374294 (delta 26512), reused 23895 (delta 23895), pack-reused 346950
Receiving objects: 100% (374294/374294), 154.59 MiB | 25.96 MiB/s, done.
Resolving deltas: 100% (219567/219567), done.
Switched to a new branch 'fe09ab990256d8b63e76cc1ab2435baef921b8b4'
/hdc/sdf/openwrt
Create index file './feeds/luci.index'
Collecting package info: done
Collecting target info: done
Updating feed 'routing' from 'https://git.openwrt.org/feed/routing.git^a0d61bddb3ce4ca54bd76af86c28f58feb6cc044' ...
Cloning into './feeds/routing'...
remote: Enumerating objects: 10702, done.
remote: Counting objects: 100% (10702/10702), done.
remote: Compressing objects: 100% (6247/6247), done.
remote: Total 10702 (delta 4837), reused 9102 (delta 3833), pack-reused 0
Receiving objects: 100% (10702/10702), 2.49 MiB | 13.73 MiB/s, done.
Resolving deltas: 100% (4837/4837), done.
Switched to a new branch 'a0d61bddb3ce4ca54bd76af86c28f58feb6cc044'
/hdc/sdf/openwrt
Create index file './feeds/routing.index'
Collecting package info: done
Collecting target info: done
Updating feed 'telephony' from 'https://git.openwrt.org/feed/telephony.git^0183c1adda0e7581698b0ea4bff7c08379acf447' ...
Cloning into './feeds/telephony'...
remote: Enumerating objects: 11224, done.
remote: Counting objects: 100% (11224/11224), done.
remote: Compressing objects: 100% (6687/6687), done.
remote: Total 11224 (delta 6307), reused 7871 (delta 4313), pack-reused 0
Receiving objects: 100% (11224/11224), 2.24 MiB | 3.44 MiB/s, done.
Resolving deltas: 100% (6307/6307), done.
Switched to a new branch '0183c1adda0e7581698b0ea4bff7c08379acf447'
/hdc/sdf/openwrt
Create index file './feeds/telephony.index'
Collecting package info: done
Collecting target info: done
[frollic@atlantis openwrt]$ ./scripts/feeds install -a
Collecting package info: done
Collecting target info: done
WARNING: Makefile 'package/utils/busybox/Makefile' has a dependency on 'libpam', which does not exist
WARNING: Makefile 'package/utils/busybox/Makefile' has a dependency on 'libpam', which does not exist
WARNING: Makefile 'package/utils/busybox/Makefile' has a build dependency on 'libpam', which does not exist
WARNING: Makefile 'package/boot/kexec-tools/Makefile' has a dependency on 'liblzma', which does not exist
WARNING: Makefile 'package/network/services/lldpd/Makefile' has a dependency on 'libnetsnmp', which does not exist
WARNING: Makefile 'package/utils/policycoreutils/Makefile' has a dependency on 'libpam', which does not exist
WARNING: Makefile 'package/utils/policycoreutils/Makefile' has a dependency on 'libpam', which does not exist
WARNING: Makefile 'package/utils/policycoreutils/Makefile' has a build dependency on 'libpam', which does not exist
Installing all packages from feed packages.
Installing package '2to3' from packages
....
Installing package 'yate' from telephony
[frollic@atlantis openwrt]$
Ok But still i got error i am installing openwrt v22.03.3
Makefile:13: *** ERROR: The path to the OpenWrt directory must not include any spaces. Stop.
since the script works as it should, the problem would seem to be on your end, and not with the script.
I can reproduce the error by doing
[frollic@atlantis sdf]$ mv openwrt " openwrt"
[frollic@atlantis sdf]$ cd " openwrt"
[frollic@atlantis openwrt]$ git checkout v21.02.3
HEAD is now at 42a15ca378 OpenWrt v21.02.3: adjust config defaults
[frollic@atlantis openwrt]$ ./scripts/feeds update -a
Updating feed 'packages' from 'https://git.openwrt.org/feed/packages.git^78bcd00c13587571b5c79ed2fc3363aa674aaef7' ...
Cloning into './feeds/packages'...
remote: Enumerating objects: 178127, done.
remote: Counting objects: 100% (178127/178127), done.
remote: Compressing objects: 100% (74608/74608), done.
remote: Total 178127 (delta 103492), reused 167974 (delta 94505), pack-reused 0
Receiving objects: 100% (178127/178127), 48.65 MiB | 20.59 MiB/s, done.
Resolving deltas: 100% (103492/103492), done.
Switched to a new branch '78bcd00c13587571b5c79ed2fc3363aa674aaef7'
/hdc/sdf/ openwrt
Create index file './feeds/packages.index'
Makefile:13: *** ERROR: The path to the OpenWrt directory must not include any spaces. Stop.
gmake: *** /hdc/sdf/: Is a directory. Stop.
gmake: *** /hdc/sdf/: Is a directory. Stop.
Updating feed 'luci' from 'https://git.openwrt.org/project/luci.git^fe09ab990256d8b63e76cc1ab2435baef921b8b4' ...
Cloning into './feeds/luci'...
remote: Enumerating objects: 27344, done.
remote: Counting objects: 100% (27344/27344), done.
remote: Compressing objects: 100% (3406/3406), done.
remote: Total 374294 (delta 26510), reused 23895 (delta 23895), pack-reused 346950
Receiving objects: 100% (374294/374294), 154.55 MiB | 34.67 MiB/s, done.
Resolving deltas: 100% (219565/219565), done.
Switched to a new branch 'fe09ab990256d8b63e76cc1ab2435baef921b8b4'
/hdc/sdf/ openwrt
Create index file './feeds/luci.index'
Makefile:13: *** ERROR: The path to the OpenWrt directory must not include any spaces. Stop.
gmake: *** /hdc/sdf/: Is a directory. Stop.
gmake: *** /hdc/sdf/: Is a directory. Stop.
Updating feed 'routing' from 'https://git.openwrt.org/feed/routing.git^a0d61bddb3ce4ca54bd76af86c28f58feb6cc044' ...
Cloning into './feeds/routing'...
remote: Enumerating objects: 10702, done.
remote: Counting objects: 100% (10702/10702), done.
remote: Compressing objects: 100% (6247/6247), done.
remote: Total 10702 (delta 4840), reused 9102 (delta 3833), pack-reused 0
Receiving objects: 100% (10702/10702), 2.49 MiB | 11.10 MiB/s, done.
Resolving deltas: 100% (4840/4840), done.
Switched to a new branch 'a0d61bddb3ce4ca54bd76af86c28f58feb6cc044'
/hdc/sdf/ openwrt
Create index file './feeds/routing.index'
Makefile:13: *** ERROR: The path to the OpenWrt directory must not include any spaces. Stop.
gmake: *** /hdc/sdf/: Is a directory. Stop.
gmake: *** /hdc/sdf/: Is a directory. Stop.
Updating feed 'telephony' from 'https://git.openwrt.org/feed/telephony.git^0183c1adda0e7581698b0ea4bff7c08379acf447' ...
Cloning into './feeds/telephony'...
remote: Enumerating objects: 11224, done.
remote: Counting objects: 100% (11224/11224), done.
remote: Compressing objects: 100% (6687/6687), done.
remote: Total 11224 (delta 6306), reused 7870 (delta 4313), pack-reused 0
Receiving objects: 100% (11224/11224), 2.26 MiB | 4.87 MiB/s, done.
Resolving deltas: 100% (6306/6306), done.
Switched to a new branch '0183c1adda0e7581698b0ea4bff7c08379acf447'
/hdc/sdf/ openwrt
Create index file './feeds/telephony.index'
Makefile:13: *** ERROR: The path to the OpenWrt directory must not include any spaces. Stop.
gmake: *** /hdc/sdf/: Is a directory. Stop.
gmake: *** /hdc/sdf/: Is a directory. Stop.
what does ~/Projects/openwrt expand to ?
Either the path to your git clone (the full path, from your rootfs) contains a space - or (if you're using WSL2) the PATH variable in your WSL2 environment does.
Solved .Thank you
so there was a space ?
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.