You are not logged in.
Pages: 1
How do I install 'patch'
pacman -S patch
does not work
[jasin@kermit ~]$ sudo pacman -S patch
Password:
error: 'patch': not found in sync db
Last edited by jacko (2007-12-12 16:03:15)
Offline
Hm, that should work - patch is part of the [core] repo. Have you tried a different mirror?
Offline
I will try another mirror...
Offline
no, I tried another mirror and when I do
pacman -Syu
only community and extra are ever d/l'd, my terminal window looks like this, why is core always up to date, but yet I can't find patch when issuing the pacman -S patch command?
Here is the output of the terminal
[jasin@kermit ~]$ sudo mousepad /etc/pacman.d/community
[jasin@kermit ~]$ sudo mousepad /etc/pacman.d/core
[jasin@kermit ~]$ sudo mousepad /etc/pacman.d/extra
[jasin@kermit ~]$ sudo mousepad /etc/pacman.conf
[jasin@kermit ~]$ pac -Syu
:: Synchronizing package databases...
core is up to date
extra 306.2K 87.6K/s 00:00:03 [#####################] 100%
community 325.3K 104.5K/s 00:00:03 [#####################] 100%
local database is up to date
Checking for package upgrades...
no upgrades found
[jasin@kermit ~]$ sudo pacman -S patch
error: 'patch': not found in sync db
as u can see I updated the mirrors, and then did a sync upgrade command, but only extra and community are the only ones that ever d/l anything, seems core is always up to date.
pacman has become really frustrating for me lately.
Offline
[jasin@kermit ~]$ sudo pacman -Syu
:: Synchronizing package databases...
error: failed retrieving file 'core.db.tar.gz' from ftp.nethat.com : Not logged in
error: failed to synchronize core: Not logged in
error: failed retrieving file 'extra.db.tar.gz' from ftp.nethat.com : Not logged in
error: failed to synchronize extra: Not logged in
error: failed retrieving file 'community.db.tar.gz' from ftp.nethat.com : Not logged in
error: failed to synchronize community: Not logged in
error: failed to synchronize any databases
here is the output of another mirror... ???
on to the next one in the list
Offline
I just checked the main DBs for core - 'patch' is there. If you try pacman -Syy does it appear?
Offline
finally a mirror that works. Patch is installed
But, now I have a huge question. Why do u have mirrors in the list that do not have up to date programs and that only work half the time? Or is there something I am missing? Could it be these mirrors are broken and no one realizes it?
I tried 3 mirrors before I finally got one to work and d/l the core repository so it was updated and then 'patch' installed perfectly.
Last edited by jacko (2007-12-12 16:35:54)
Offline
Aside from nethat, what other mirrors did you try? We can look into this
Offline
#Server = ftp://ftp.nethat.com/pub/linux/archlinux/community/os/x86_64
#Server = ftp://locke.suu.edu/linux/dist/archlinux/community/os/x86_64
#Server = ftp://mirrors.unixheads.org/archlinux/community/os/x86_64
#Server = ftp://ftp-linux.cc.gatech.edu/pub/linux/distributions/archlinux/community/os/x86_64
#Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/community/os/x86_64
#Server = http://mirrors.easynews.com/linux/archlinux/community/os/x86_64
#Server = ftp://ftp.ibiblio.org/pub/linux/distributions/archlinux/community/os/x86_64
#Server = ftp://ftp.archlinux.org/community/os/x86_64
this is the list I work from, the following are broken for me...
#1 - broken
#2 - is working currently
#3 - broken
#4 - broken
#5 - not tried
#6 - broken
#7 - slow for me, untested by me fully
#8 - throttled, I try to never use to save bandwidth
1,2,3,4,6 are the ones I have tried to use the most and 2 is the only one so far that has not failed, YET!!!! with that said
2 works perfectly for now
1 u know my problem here
3 get errors when I try d/l
4 seems to work but wouldn't let me d/l patch, says it was not in the db
6 same as 3, errors
Last edited by jacko (2007-12-12 16:44:22)
Offline
I'm not sure you did anything wrong, but it's a bit strange that you are talking about a core package, and then show the list of community mirrors.
You also always changed the core list, and then refreshed the db with pacman -Sy (-Syy to force), before trying pacman -S patch, right ?
Btw, you can try connecting directly to the mirrors, using any ftp/http clients, so with a web broswer for example.
nethat indeed asks for a login (maybe it's a known one?), but the other mirrors seem to be available, and should work.
I just tried installing patch from mirrors.unixheads.org and it worked.
pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))
Offline
I didn't do anything but change the list of mirrors I was using and then re-issued the command
pac -Syu
None of them worked without error until I tried the second one on my list. When I did the above command that time it d/l'd updates for all the repositories and it found 4 programs to update. Once this happen I knew I found a good mirror and then tried
pac -S patch
and it installed. That leads me to believe every other mirror I tried is broken in some way, do u not agree?
Offline
I am not trying to make a mountain out of a mole hill. This is my experience, take it with a grain of salt for I am still learning a lot when it comes to linux.
the problem was that gatech mirror was not updating my core repository.
I did not get a chance to try this command out on gatech mirror
pac -Syy
As for the other mirrors, I get other errors that it won't even connect or it can't find the tar.gz file to d/l.
If u want a full report I will start at the top of my list and c&p every output of every mirror here when issuing the pac -Syy command.
Offline
It could be that some of the mirrors are:
a) not syncing properly
b) not syncing at all
c) no longer active
We get requests to add mirrors, but we almost never get requests from the mirrors themselves to be removed...they just stop mirroring.
If someone were to compile a list of consistently non-working mirrors, and submit them to the bugtracker, we can surely remove the mirror from the list. However, 'consistently non-working' is key. if a mirror doesn't work for a day, when they were having problems, we wouldn't want to remove them prematurely.
It looks like nethat isn't working (requiring password), but the others seem functional.
I see no problems with the unixheads mirror, for instance.
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
I set up my pacman.conf like this...
[core]
#Server = ftp://locke.suu.edu/linux/dist/archlinux/core/os/x86_64
#Server = ftp://mirrors.unixheads.org/archlinux/core/os/x86_64
#Server = ftp://ftp-linux.cc.gatech.edu/pub/linux/distributions/archlinux/core/$
#Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/core/os/x86_64
#Server = http://mirrors.easynews.com/linux/archlinux/core/os/x86_64
#Server = ftp://ftp.ibiblio.org/pub/linux/distributions/archlinux/core/os/x86_64
Server = ftp://ftp.archlinux.org/core/os/x86_64
Include = /etc/pacman.d/core
[extra]
#Server = ftp://locke.suu.edu/linux/dist/archlinux/core/os/x86_64
#Server = ftp://mirrors.unixheads.org/archlinux/core/os/x86_64
#Server = ftp://ftp-linux.cc.gatech.edu/pub/linux/distributions/archlinux/core/$
#Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/core/os/x86_64
#Server = http://mirrors.easynews.com/linux/archlinux/core/os/x86_64
#Server = ftp://ftp.ibiblio.org/pub/linux/distributions/archlinux/core/os/x86_64
Server = ftp://ftp.archlinux.org/core/os/x86_64
Include = /etc/pacman.d/extra
[community]
#Server = ftp://locke.suu.edu/linux/dist/archlinux/core/os/x86_64
#Server = ftp://mirrors.unixheads.org/archlinux/core/os/x86_64
#Server = ftp://ftp-linux.cc.gatech.edu/pub/linux/distributions/archlinux/core/$
#Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/core/os/x86_64
#Server = http://mirrors.easynews.com/linux/archlinux/core/os/x86_64
#Server = ftp://ftp.ibiblio.org/pub/linux/distributions/archlinux/core/os/x86_64
Server = ftp://ftp.archlinux.org/core/os/x86_64
Include = /etc/pacman.d/community
left the /etc/pacman.d/* files alone and setup with the only working mirror for me which is...
#Server = ftp://locke.suu.edu/linux/dist/archlinux/core/os/x86_64
Then in pacman.conf I commented out each server except for the one I wanted to try and then issued this command.
pac -Syy
these where my results. Now is it just me or is something else wrong?
[jasin@kermit ~]$ pac -Syy
:: Synchronizing package databases...
core 22.9K 38.7K/s 00:00:01 [#####################] 100%
error: failed retrieving file 'extra.db.tar.gz' from mirrors.unixheads.org : File unavailable (e.g., file not found, no access)
extra 303.8K 109.9K/s 00:00:03 [#####################] 100%
error: failed retrieving file 'community.db.tar.gz' from mirrors.unixheads.org : File unavailable (e.g., file not found, no access)
community 327.7K 145.4K/s 00:00:02 [#####################] 100%
local database is up to date
[jasin@kermit ~]$ pac -Syy
:: Synchronizing package databases...
error: failed retrieving file 'core.db.tar.gz' from ftp-linux.cc.gatech.edu : File unavailable (e.g., file not found, no access)
core 22.9K 35.0K/s 00:00:01 [#####################] 100%
error: failed retrieving file 'extra.db.tar.gz' from ftp-linux.cc.gatech.edu : File unavailable (e.g., file not found, no access)
extra 303.8K 129.5K/s 00:00:02 [#####################] 100%
error: failed retrieving file 'community.db.tar.gz' from ftp-linux.cc.gatech.edu : File unavailable (e.g., file not found, no access)
community 327.7K 138.0K/s 00:00:02 [#####################] 100%
local database is up to date
[jasin@kermit ~]$ pac -Syy
:: Synchronizing package databases...
core 22.9K 69.7K/s 00:00:00 [#####################] 100%
error: failed retrieving file 'extra.db.tar.gz' from mirror.cs.vt.edu : File unavailable (e.g., file not found, no access)
extra 303.8K 125.4K/s 00:00:02 [#####################] 100%
error: failed retrieving file 'community.db.tar.gz' from mirror.cs.vt.edu : File unavailable (e.g., file not found, no access)
community 327.7K 133.1K/s 00:00:02 [#####################] 100%
local database is up to date
[jasin@kermit ~]$ pac -Syy
:: Synchronizing package databases...
core 22.9K 35.2K/s 00:00:01 [#####################] 100%
error: failed retrieving file 'extra.db.tar.gz' from mirrors.easynews.com : Not Found
extra 303.8K 147.1K/s 00:00:02 [#####################] 100%
error: failed retrieving file 'community.db.tar.gz' from mirrors.easynews.com : Not Found
community 327.7K 147.9K/s 00:00:02 [#####################] 100%
local database is up to date
[jasin@kermit ~]$ pac -Syy
:: Synchronizing package databases...
core 22.9K 29.1K/s 00:00:01 [#####################] 100%
error: failed retrieving file 'extra.db.tar.gz' from ftp.ibiblio.org : File unavailable (e.g., file not found, no access)
extra 303.8K 124.7K/s 00:00:02 [#####################] 100%
error: failed retrieving file 'community.db.tar.gz' from ftp.ibiblio.org : File unavailable (e.g., file not found, no access)
community 327.7K 129.1K/s 00:00:03 [#####################] 100%
local database is up to date
[jasin@kermit ~]$ pac -Syy
:: Synchronizing package databases...
core 22.9K 42.6K/s 00:00:01 [#####################] 100%
error: failed retrieving file 'extra.db.tar.gz' from ftp.archlinux.org : File unavailable (e.g., file not found, no access)
extra 303.8K 124.7K/s 00:00:02 [#####################] 100%
error: failed retrieving file 'community.db.tar.gz' from ftp.archlinux.org : File unavailable (e.g., file not found, no access)
community 327.7K 156.2K/s 00:00:02 [#####################] 100%
local database is up to date
Offline
I can't even d/l from archlinux.org server. Take a look at the last pac -Syy command.
and just to make sure yaourt isn't at fault here is pacman output.
[jasin@kermit ~]$ sudo pacman -Syy
:: Synchronizing package databases...
core 22.9K 46.1K/s 00:00:00 [#####################] 100%
error: failed retrieving file 'extra.db.tar.gz' from ftp.archlinux.org : File unavailable (e.g., file not found, no access)
extra 303.8K 129.8K/s 00:00:02 [#####################] 100%
error: failed retrieving file 'community.db.tar.gz' from ftp.archlinux.org : File unavailable (e.g., file not found, no access)
community 327.7K 125.7K/s 00:00:03 [#####################] 100%
local database is up to date
Last edited by jacko (2007-12-13 17:44:36)
Offline
That's because you've got core URLS for everything except core. Fix your pacman.conf then retry the test.
[community]
#Server = ftp://locke.suu.edu/linux/dist/archlinux/core/os/x86_64
#Server = ftp://mirrors.unixheads.org/archlinux/core/os/x86_64
#Server = ftp://ftp-linux.cc.gatech.edu/pub/linux/distributions/archlinux/core/$
#Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/core/os/x86_64
#Server = http://mirrors.easynews.com/linux/archlinux/core/os/x86_64
#Server = ftp://ftp.ibiblio.org/pub/linux/distributions/archlinux/core/os/x86_64
Server = ftp://ftp.archlinux.org/core/os/x86_64
Include = /etc/pacman.d/community
Everywhere it says 'core' there should say 'community'
Offline
I knew it had to be something simple.
ok, I am on board now, nethat is the only mirror that will not work for because I need a login. That is now deleted.
My typo's get me into a lot of trouble.
Now I have one more problem and was wondering what I can do about this... it has to do with pacget, if I disable pacget aria2 seems to work fine. Any thoughts on how to fix a Size mismatch error? is there some file I need to delete?
[#1 SIZE:0B/324.3KiB(0%) CN:1 SPD:0.00KiB/s]
2007-12-13 14:15:31 ERROR - CUID#4 - Download aborted. URI=ftp://locke.suu.edu/linux/dist/archlinux/community/os/x86_64/community.db.tar.gz
2007-12-13 14:15:31 ERROR - exception: Size mismatch Expected:332,179 Actual:335,603
[#1 SIZE:0B/324.3KiB(0%) CN:0 SPD:0.00KiB/s]
Download Results:
idx|stat|path/URI
===+====+======================================================================
1|ERR |ftp://locke.suu.edu/linux/dist/archlinux/community/os/x86_64/community.db.tar.gz
Last edited by jacko (2007-12-13 19:21:07)
Offline
I knew it had to be something simple.
ok, I am on board now, nethat is the only mirror that will not work for because I need a login. That is now deleted.
My typo's get me into a lot of trouble.
Now I have one more problem and was wondering what I can do about this... it has to do with pacget, if I disable pacget aria2 seems to work fine. Any thoughts on how to fix a Size mismatch error? is there some file I need to delete?
I'm guessing the size mismatch is cos the mirrors aren't synced. it's trying to get the file from multiple mirrors? a file like this which is updated frequently, but not synced across the mirrors as often, should probably only use one server I think.
Simpler/Faster downloads with error recovery - http://www.metalinker.org/
Offline
Now I have one more problem and was wondering what I can do about this... it has to do with pacget, if I disable pacget aria2 seems to work fine. Any thoughts on how to fix a Size mismatch error? is there some file I need to delete?
answer from aria2 author:
By: t-tujikawa
If file size is unknown, then aria2 first connect one server and get file size.
After that aria2 connects other available servers.
In each connection, aria2 compares it and the file size returned by newly connected
server and drop connection if the comparison fails.
If file size is known, for example, using size tag in Metalink XML, aria2 uses
it as a valid file size.
If the arch linux user didn't use Metalink, I think the user probably used 2
URLs and they were not synced.
Simpler/Faster downloads with error recovery - http://www.metalinker.org/
Offline
Pages: 1