Can i use this guide to install a package offline.
It looks that way to me, yes. Just be certain to make all the dependencies of the package that you’re installing’s dependencies are met.
Hope this helps!
Now open that textfile with an editor and delete all lines that are not URLs. Next, bring that list with you to a place where you have internet and either download the listed packages manually or run
wgetin an empty directory:
i’m facing problems in this part
http://kibo.remi.lu/stable/core/x86_64/m4-1.4.19-1-x86_64.pkg.tar.zst http://kibo.remi.lu/stable/core/x86_64/autoconf-2.71-1-any.pkg.tar.zst http://kibo.remi.lu/stable/core/x86_64/automake-1.16.5-1-any.pkg.tar.zst http://kibo.remi.lu/stable/core/x86_64/elfutils-0.185-1-x86_64.pkg.tar.zst http://kibo.remi.lu/stable/core/x86_64/binutils-2.36.1-3-x86_64.pkg.tar.zst http://kibo.remi.lu/stable/core/x86_64/bison-3.8.2-1-x86_64.pkg.tar.zst http://kibo.remi.lu/stable/core/x86_64/file-5.41-1-x86_64.pkg.tar.zst http://kibo.remi.lu/stable/core/x86_64/fakeroot-1.26-1-x86_64.pkg.tar.zst http://kibo.remi.lu/stable/core/x86_64/flex-2.6.4-3-x86_64.pkg.tar.xz http://kibo.remi.lu/stable/core/x86_64/libmpc-1.2.1-1-x86_64.pkg.tar.zst http://kibo.remi.lu/stable/core/x86_64/gcc-11.1.0-1-x86_64.pkg.tar.zst http://kibo.remi.lu/stable/extra/x86_64/gc-8.0.4-4-x86_64.pkg.tar.zst http://kibo.remi.lu/stable/extra/x86_64/guile-2.2.7-2-x86_64.pkg.tar.zst http://kibo.remi.lu/stable/core/x86_64/make-4.3-3-x86_64.pkg.tar.zst http://kibo.remi.lu/stable/core/x86_64/patch-2.7.6-8-x86_64.pkg.tar.xz http://kibo.remi.lu/stable/core/x86_64/pkgconf-1.8.0-1-x86_64.pkg.tar.zst
I’m getting the folloting error repeated many times
wget: unable to resolve host address ‘kibo.remi.lu’
For one thing that is not a manjaro mirror.
For another it seems unreachable here.
That error means your computer cannot connect too
kibo.remi.lu. This could be due to a DNS problem, a connection problem, the server being temporarily down or even being permanently down. None of which is anything you can control or change.
Wait a moment and try a bit later.
so how do i change my mirror i checked /etc/pacman.d/mirrorlist but it has two variables arch and repo but the script in wiki doesnt have those variables can you help me with this
are you sure arch mirrors are accesible from manjaro?
No, you dont want to use arch mirrors - but that mirror isnt listed on Arch or Manjaro … so I dont know what it is.
i tried Index of /os/linux/manjaro/stable/extra/x86_64
downloaded the databases and moved it to target computer but still getting same urls
i tried to download manually from the above link and then place it in location but trying to install gives following error
error: failed retrieving file 'gcc-11.1.0-1-x86_64.pkg.tar.zst' from kibo.remi.lu : Could not resolve host: kibo.remi.lu warning: too many errors from kibo.remi.lu, skipping for the remainder of this transaction error: failed retrieving file 'gcc-11.1.0-1-x86_64.pkg.tar.zst' from mirrors.serverhost.ro : Could not resolve host: mirrors.serverhost.ro warning: too many errors from mirrors.serverhost.ro, skipping for the remainder of this transaction error: failed retrieving file 'gcc-11.1.0-1-x86_64.pkg.tar.zst' from mirror.cedia.org.ec : Could not resolve host: mirror.cedia.org.ec warning: too many errors from mirror.cedia.org.ec, skipping for the remainder of this transaction error: failed retrieving file 'gcc-11.1.0-1-x86_64.pkg.tar.zst' from ftp.snt.utwente.nl : Could not resolve host: ftp.snt.utwente.nl warning: too many errors from ftp.snt.utwente.nl, skipping for the remainder of this transaction error: failed retrieving file 'gcc-11.1.0-1-x86_64.pkg.tar.zst' from mirror.netcologne.de : Could not resolve host: mirror.netcologne.de warning: too many errors from mirror.netcologne.de, skipping for the remainder of this transaction error: failed retrieving file 'gcc-11.1.0-1-x86_64.pkg.tar.zst' from mirrors.shuosc.org : Could not resolve host: mirrors.shuosc.org warning: too many errors from mirrors.shuosc.org, skipping for the remainder of this transaction error: failed retrieving file 'gcc-11.1.0-1-x86_64.pkg.tar.zst' from manjaro.melbourneitmirror.net : Could not resolve host: manjaro.melbourneitmirror.net warning: too many errors from manjaro.melbourneitmirror.net, skipping for the remainder of this transaction
sudo pacman -Sp base-devel --needed gives this output
file:///var/cache/pacman/pkg/m4-1.4.19-1-x86_64.pkg.tar.zst file:///var/cache/pacman/pkg/autoconf-2.71-1-any.pkg.tar.zst file:///var/cache/pacman/pkg/automake-1.16.5-1-any.pkg.tar.zst http://kibo.remi.lu/stable/core/x86_64/elfutils-0.185-1-x86_64.pkg.tar.zst file:///var/cache/pacman/pkg/binutils-2.36.1-3-x86_64.pkg.tar.zst file:///var/cache/pacman/pkg/bison-3.8.1-1-x86_64.pkg.tar.zst file:///var/cache/pacman/pkg/fakeroot-1.26-1-x86_64.pkg.tar.zst http://kibo.remi.lu/stable/core/x86_64/flex-2.6.4-3-x86_64.pkg.tar.xz file:///var/cache/pacman/pkg/libmpc-1.2.1-1-x86_64.pkg.tar.zst file:///var/cache/pacman/pkg/gcc-11.1.0-1-x86_64.pkg.tar.zst file:///var/cache/pacman/pkg/gc-8.0.4-4-x86_64.pkg.tar.zst file:///var/cache/pacman/pkg/guile-2.2.7-1-x86_64.pkg.tar.zst file:///var/cache/pacman/pkg/make-4.3-3-x86_64.pkg.tar.zst http://kibo.remi.lu/stable/core/x86_64/patch-2.7.6-8-x86_64.pkg.tar.xz file:///var/cache/pacman/pkg/pkgconf-1.8.0-1-x86_64.pkg.tar.zst
So the gcc is in the cache but its still trying to download it why?
I can do this in live boot right?
No - you cannot - why - because Manjaro is not Arch. The Arch wiki is a fantastic resource but you cannot apply everything to Manjaro on a one-to-one basis.
Please don’t waste forum resources as a platform for your experiments.
If you are on a learning tour - please keep on reading - and don’t ever mix arch mirrors with manjaro mirrors.
If you want to download a set of packages on one computer - copy the set of packages to another computer - you use pacman to do it
Create a folder to hold the package in question
Check if the package in question has dependencies and use pacman to fetch the packages and place them in the offline folder
pacman -S some-pkg-name --downloadonly --cachedir ~/offline
Copy the offline folder to usb …
When you get errors from your mirrorlist - then you should update your mirrorlist
sudo pacman-mirrors --continent && sudo pacman -Syyu
I assumed, my mistake I know, the original question was about an AUR package.
Anyway, @Thenujan, I just tested the not working link again, and indeed it does seem offline. There’s nothing you or me can do about it. Either it’s intentionally gone, in which case it might come back online. Or it’s not, in which case it’s up to the server administrator to fix it and bring it back if it’s only a temporary situation. If it’s permanent, there’s nothing to wait for. It’ll be gone.
Can you please clarify what i shouldn’t ask on the forums.
I think what you are saying is a contradiction to the answer i received on that question .
I mean - you are asking questions where it is obvious you haven’t understood the output.
Now that is a waste of forum resources
I doubt that
i know it couldn’t reach that address but my question why is it trying to reach a server that is down when it has other servers that are accesible
and the first one i clearly asked why it is trying to download the file when its in cache .But you haven’t even responded yet.
At you to change mirror with
kibo.remi.lu is set offline by manjaro)
it is trying to download the file when its in cache
file:///var/cache/pacman/pkg/m4-1.4.19-1-x86_64.pkg.tar.zst file:///var/cache/pacman/pkg/autoconf-2.71-1-any.pkg.tar.zst file:///var/cache/pacman/pkg/automake-1.16.5-1-any.pkg.tar.zst http://kibo.remi.lu/stable/core/x86_64/elfutils-0.185-1-x86_64.pkg.tar.zst 1 file:///var/cache/pacman/pkg/binutils-2.36.1-3-x86_64.pkg.tar.zst
- file://… == package is already in cache : not download
- http… == package (new version in database) is not in cache : to download
here you have a partial update: only the database is updated
pacman -Qqn | pacman -S --print -
please : forget pacman -U for an update
are you sure about that
error: failed retrieving file 'gcc-11.1.0-1-x86_64.pkg.tar.zst' from kibo.remi.lu : Could not resolve host: kibo.remi.lu
You cannot point pacman to
pacman -S file:///some/place/name.pkg.tar.zst
But you can point pacman to a specific package already present using
pacman -U /some/folder/with/packages/name-version-pkgrel.pkg.tar.zst
Or if you prefer prefixing with file:// but you still need to specify the exact filename
pacman -U file:///some/folder/with/packages/name-version-pkgrel.pkg.tar.zst
Or you can point pacman to the server url of this specific package
pacman -U http://server.uri/repo/name-version-pkgrel.pkg.tar.zst
If you want to install a complete package list without specifying versions - you need a repo - and this repo can be a location on your computer
BUT then you need an entry in your pacman.conf pointing to it and the repo name in pacman.conf AND a database with the same name as the repo containing info of which files and versions are provided by the repo.
I guess this is a continuation on your previous endeavour to create some sort of offline mirror to transport and apply the packages to remote system without internet connection.
You don’t even need the caddy server - but can use the system python to run a http server from the root of the repo copy - although you still need the repo definition in pacman.conf
python -m http.server
Let’s say you have a system which has all the desired packages available in the pacman cache.
Create a temporary working copy somewhere convenient e.g. ~/offline
cp /var/cache/pacman/pkg/* ~/offline
Then navigate to the offline folder
And create a database
repo-add ./offline.db.tar.gz *.pkg.tar.zst
Then add a repo to your pacman.conf
[offline] SigLevel = Optional TrustAll Server = file:///home/username/offline
Then execute to add the packages contained in the database to the local cache
Then install a package from the repo.
This works exacly the same way as an online repo - check the manual for further information
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.