You are not logged in.

#1 2013-03-17 21:02:40

NAU
Member
Registered: 2013-03-17
Posts: 5

Update fails

Hi all, I am new with Arch. Update fails, so any advice? Here is the output:


[nau@arch ~]$ uname -a
Linux arch 3.2.2-1-ARCH #1 SMP PREEMPT Thu Jan 26 08:28:27 UTC 2012 i686 Intel(R) Celeron(R) CPU E3300 @ 2.50GHz GenuineIntel GNU/Linux
[nau@arch ~]$ su
Password: 
[root@arch nau]# pacman -Syy
warning: config file /etc/pacman.conf, line 33: directive 'ShowSize' in section 'options' not recognized.
warning: database file for 'core' does not exist
warning: database file for 'extra' does not exist
warning: database file for 'community' does not exist
:: Synchronizing package databases...
 core                     105.0 KiB  40.2K/s 00:03 [----------------------] 100%
 extra                   1417.2 KiB   261K/s 00:05 [----------------------] 100%
 community               1952.0 KiB  65.0K/s 00:30 [----------------------] 100%
[root@arch nau]# pacman -Syu
warning: config file /etc/pacman.conf, line 33: directive 'ShowSize' in section 'options' not recognized.
:: Synchronizing package databases...
 core is up to date
error: failed retrieving file 'extra.db' from mirror.aarnet.edu.au : Failed connect to mirror.aarnet.edu.au:21; Bad file descriptor
 extra is up to date
 community is up to date
:: The following packages should be upgraded first :
    pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n] y

resolving dependencies...
looking for inter-conflicts...
:: util-linux and eject are in conflict. Remove eject? [y/N] y
:: gnupg and gnupg2 are in conflict. Remove gnupg2? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: gcc: requires gcc-libs=4.6.2-6
[root@arch nau]# 

Thanks!

Offline

#2 2013-03-17 21:04:59

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Update fails

You haven't even tried to debug this have you?

Offline

#3 2013-03-17 21:09:28

NAU
Member
Registered: 2013-03-17
Posts: 5

Re: Update fails

I am not debugger. So it is a bug?

Offline

#4 2013-03-17 21:19:19

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,737
Website

Re: Update fails

You're new to Arch, but are somehow approximately half a year out of date? How?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2013-03-17 21:26:30

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: Update fails

How old is your installation if you are new to arch? You can check it with the command "head /var/log/pacman.log" and read the date.
Edit: Google told me 3.2.2-1 is from around January 2012 yikes

Last edited by teateawhy (2013-03-17 21:27:56)

Offline

#6 2013-03-17 21:27:27

NAU
Member
Registered: 2013-03-17
Posts: 5

Re: Update fails

I downloaded ISO image approximately half a year ago and did the installation today.

Offline

#7 2013-03-17 21:28:59

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: Update fails

The best for you is to start a new installation using the latest iso.
https://www.archlinux.org/download/

Offline

#8 2013-03-17 21:29:22

masteryod
Member
Registered: 2010-05-19
Posts: 433

Re: Update fails

Yes it is a bug, it's called PEBKAC wink

NAU wrote:

warning: config file /etc/pacman.conf, line 33: directive 'ShowSize' in section 'options' not recognized.

You have option in /etc/pacman.conf that is not recognized i.e. "ShowSize" comment it out. Warning should dissapear. Read manual for pacman and see what's up with this. [edit] It's half year old pacman. This option was dropped and is no longer available if I remember correctly.

NAU wrote:

error: failed retrieving file 'extra.db' from mirror.aarnet.edu.au : Failed connect to mirror.aarnet.edu.au:21; Bad file descriptor

I'm not sure. First time evert see this. Try to change mirror. Read about mirrors

But the most interesting part is this:

NAU wrote:

:: util-linux and eject are in conflict. Remove eject? [y/N] y
:: gnupg and gnupg2 are in conflict. Remove gnupg2? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)

This means that some of the packages are in conflict. Usually is not that big of a deal and it's caused by some changes in packages or packages naming.
trying to solve the problem is debuging
In many cases is really not that hard, google would suffice

[edit]
I didn't notice:

NAU wrote:

Linux arch 3.2.2-1-ARCH #1 SMP PREEMPT Thu Jan 26 08:28:27 UTC 2012 i686 Intel(R) Celeron(R) CPU E3300 @ 2.50GHz GenuineIntel GNU/Linux

But it explain so much. And also this:

NAU wrote:

I downloaded ISO image approximately half a year ago and did the installation today.

You should know that half of a year is hell of a lot in Linux world, especially in Arch Linux world. You should always use most recent iso if possible. Also you should be warned that in Arch world is good to roll updates often (week or two is sane default, sometimes nothing big happens for three or four but many of us are doing updates on daily basis). If you leave your system for half year you can end up in situation where re-installation will be easier than trying to fix everything.

Last edited by masteryod (2013-03-17 22:14:54)

Offline

#9 2013-03-17 21:29:41

NAU
Member
Registered: 2013-03-17
Posts: 5

Re: Update fails

[root@arch nau]# head /var/log/pacman.log
[2013-03-17 21:18] Running 'pacman -Syy'
[2013-03-17 21:18] synchronizing package lists
[2013-03-17 21:19] Running 'pacman -Syu'
[2013-03-17 21:19] synchronizing package lists
[2013-03-17 21:39] Running 'pacman -S chromium'
[root@arch nau]#

Last edited by NAU (2013-03-17 21:30:31)

Offline

#10 2013-03-17 21:30:07

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,737
Website

Re: Update fails

Download the latest iso, it'll save you time and effort.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#11 2013-03-17 21:30:46

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: Update fails

teateawhy wrote:

The best for you is to start a new installation using the latest iso.
https://www.archlinux.org/download/


ᶘ ᵒᴥᵒᶅ

Offline

#12 2013-03-17 21:31:08

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: Update fails

The best for you is to start a new installation using the latest iso.
https://www.archlinux.org/download/

Offline

#13 2013-03-17 21:47:00

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: Update fails

^ this


ᶘ ᵒᴥᵒᶅ

Offline

#14 2013-03-17 21:48:44

NAU
Member
Registered: 2013-03-17
Posts: 5

Re: Update fails

I will see what to do. Probably will download the latest ISO.

Offline

Board footer

Powered by FluxBB