You are not logged in.

#1 2010-08-21 15:47:04

Hesam
Member
Registered: 2010-02-14
Posts: 24

Pacman not updating! Help!

In the past 3-4 weeks whenever I execute pacman -Syu it says everything is up to date. This is really strange since from the time I installed Arch up to 3-4 weeks ago every 3-4 days there was a a package or two that needed upgrading. This sudden drop got me worried so I added a number of new servers to /etc/pacman.d/mirrorlist to see what happens. After doing so now I get an error message: failed retrieving file core.db.tar.gz from ... plus similar ones for community and extra. I have tried pacman -Syy but the output does not change.

Offline

#2 2010-08-21 15:54:42

schen
Member
Registered: 2009-06-06
Posts: 468

Re: Pacman not updating! Help!

What mirror do you use? Post your  /etc/pacman.d/mirrorlist  and pacman.conf.

Offline

#3 2010-08-21 16:07:28

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Pacman not updating! Help!

Offline

#4 2010-08-21 16:31:29

Hesam
Member
Registered: 2010-02-14
Posts: 24

Re: Pacman not updating! Help!

Offline

#5 2010-08-21 16:32:32

Hesam
Member
Registered: 2010-02-14
Posts: 24

Re: Pacman not updating! Help!

schen wrote:

What mirror do you use? Post your  /etc/pacman.d/mirrorlist  and pacman.conf.

And this is my pacman.conf:

#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
HoldPkg     = pacman glibc
# If upgrades are available for these packages they will be asked for first
SyncFirst   = pacman
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#XferCommand = /usr/bin/curl %u > %o
#CleanMethod = KeepInstalled

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options (all disabled by default)
#UseSyslog
#ShowSize
#UseDelta
#TotalDownload

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

#[testing]
## Add your preferred servers here, they will be used first
#Include = /etc/pacman.d/mirrorlist

[core]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist

[extra]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist

#[community-testing]
## Add your preferred servers here, they will be used first
#Include = /etc/pacman.d/mirrorlist

[community]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#Server = file:///home/custompkgs

#[archlinuxfr]
#Server = http://repo.archlinux.fr/x86_64

Offline

#6 2010-08-21 16:33:19

Hesam
Member
Registered: 2010-02-14
Posts: 24

Re: Pacman not updating! Help!

karol wrote:

I already did that it won't work!

Offline

#7 2010-08-21 16:36:07

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Pacman not updating! Help!

It seems that you have not merged the pacman.conf with pacman.conf.pacnew files since you don't have the

Architecture = auto

line in your pacman.conf.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#8 2010-08-21 16:40:59

Hesam
Member
Registered: 2010-02-14
Posts: 24

Re: Pacman not updating! Help!

Inxsible wrote:

It seems that you have not merged the pacman.conf with pacman.conf.pacnew files since you don't have the

Architecture = auto

line in your pacman.conf.

Yes I have that extra file you mention. How do I merge them?

Offline

#9 2010-08-21 16:44:25

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Pacman not updating! Help!

Hesam wrote:

Yes I have that extra file you mention. How do I merge them?

Ummm... copy paste .

Or you can rename pacman.conf.pacnew to pacman.conf -- unless you have some custom settings in pacman.conf in which case you might want to copy those over as well.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#10 2010-08-21 16:45:43

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Pacman not updating! Help!

Hesam wrote:
Inxsible wrote:

It seems that you have not merged the pacman.conf with pacman.conf.pacnew files since you don't have the

Architecture = auto

line in your pacman.conf.

Yes I have that extra file you mention. How do I merge them?

Just add that extra line to your old pacman.conf.

Offline

#11 2010-08-21 17:00:46

Hesam
Member
Registered: 2010-02-14
Posts: 24

Re: Pacman not updating! Help!

I added the line and I still get the same result.

Offline

#12 2010-08-21 17:09:34

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Pacman not updating! Help!

Vimdiff or some other diff tool fit the job better imho. Merge your config files completely, then try again.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#13 2010-08-21 17:45:57

Hesam
Member
Registered: 2010-02-14
Posts: 24

Re: Pacman not updating! Help!

.:B:. wrote:

Vimdiff or some other diff tool fit the job better imho. Merge your config files completely, then try again.

Did that still no help :(

Offline

#14 2010-08-21 18:04:18

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Pacman not updating! Help!

Try running pacman with -v or --debug, and see if that helps any.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#15 2010-08-21 18:35:44

schen
Member
Registered: 2009-06-06
Posts: 468

Re: Pacman not updating! Help!

Hesam wrote:
schen wrote:

What mirror do you use? Post your  /etc/pacman.d/mirrorlist  and pacman.conf.

And this is my pacman.conf:
....snip

You haven't specified your server under the repos.

Last edited by Inxsible (2010-08-21 18:36:58)

Offline

#16 2010-08-21 18:38:23

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Pacman not updating! Help!

schen wrote:

You haven't specified your server under the repos.

schen, when quoting someone try to snip off certain things so that the thread is readable especially if the quoted post is very long. Also, he has the include mirrorlist, so I don't think that should be a problem as long as he has atleast 1 working server uncommented in the mirrorlist.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#17 2010-08-22 03:27:44

nixIT
Member
Registered: 2010-01-13
Posts: 528

Re: Pacman not updating! Help!

Guys, sorry to jump in, but I am having the same problem, pacman reports no updates.  I merged my /etc/pacman.conf and /etc/pacman.conf.pacnew files and still am reporting no updates.

Any ideas?

--nixIT


ASRock X570 PG VELOCITA AM4 AMD X570  | AMD Ryzen 5900x | 128GB G.SKILL RipjawsV  | ASRock Radeon RX 6700 XT Challenger D

Offline

#18 2010-08-22 05:18:51

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: Pacman not updating! Help!

If you merged the files correctly, then I would try changing mirrors (even if you think your current choices are fine).

Offline

#19 2010-08-22 07:15:40

JackH79
Member
From: Australia
Registered: 2009-06-18
Posts: 663
Website

Re: Pacman not updating! Help!

Long shot, but are any of you guys using another libalpm/makepkg wrapper that use their own configuration file, such as clyde and use pacman as an alias to called it? Just asking, because the same happened to me once. I'd completely forgotten to have clyde installed.

Offline

#20 2010-08-22 15:22:22

smyp
Member
Registered: 2008-08-20
Posts: 9

Re: Pacman not updating! Help!

I too had the same issue, but after merging pacman.conf *and* changing the mirror it works again.

Offline

#21 2010-08-23 00:06:51

nixIT
Member
Registered: 2010-01-13
Posts: 528

Re: Pacman not updating! Help!

that did it for me too, I changed my mirrorlist to random mirrors and BAM, it's now updating.  Thanx for helping.

Is there a reason why this happens?

--nixIT


ASRock X570 PG VELOCITA AM4 AMD X570  | AMD Ryzen 5900x | 128GB G.SKILL RipjawsV  | ASRock Radeon RX 6700 XT Challenger D

Offline

#22 2010-08-23 00:26:18

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Pacman not updating! Help!

nixIT wrote:

Is there a reason why this happens?

See karol's post at the top of the thread...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#23 2010-08-25 07:11:31

absolutevoid
Member
From: Keralam, India
Registered: 2009-08-12
Posts: 78
Website

Re: Pacman not updating! Help!

I had the same problem. This is how, I overcame this:

Downloaded reflector-2010.08.24.1-1-any.pkg.tar.xz

# wget -c http://xyne.archlinux.ca/repos/xyne-any/reflector-2010.08.24.1-1-any.pkg.tar.xz
# pacman -U reflector-2010.08.24.1-1-any.pkg.tar.xz
# cd /etc/pacman.d
# mv mirrorlist mirrorlist.backup
# rm mirrorlist
# rm mirrorlist.pacnew
# reflector -l 5 -r -o /etc/pacman.d/mirrorlist
# pacman -Suy

BTW, mark the topic as [SOLVED] by editing the first entry.

Last edited by absolutevoid (2010-08-25 07:59:31)


Everything void is absolute and everything absolute is void.

Offline

#24 2014-01-19 07:43:44

pvkiniyan
Member
Registered: 2014-01-04
Posts: 3

Re: Pacman not updating! Help!

pacman -Syyu solved mine...

Offline

#25 2014-01-19 08:54:57

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Pacman not updating! Help!

pvkiniyan, you have been necrobumping threads which is against our forum rules. Please abide by the rules or you will be banned. This is already the 3rd thread you have necrobumped.

Consider this your final warning...


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

Board footer

Powered by FluxBB