You are not logged in.

#1 2012-04-16 03:17:40

brainard52
Member
Registered: 2012-04-14
Posts: 18

[SOLVED]pacman update error - conflicting files

Whenever I run pacman, it says that pacman itself needs to be updated first. When I agree to update, it ends in an error;

glibc: /usr/bin/tzselect exists in filesystem
glibc: /usr/bin/zdump exists in filesystem
glibc: /usr/bin/zic exists in filesystem

Last edited by brainard52 (2012-04-17 01:38:45)


I beg your patience, as I'm an annoying noob.

"There is no one who loves pain itself, who seeks after it and wants to have it, simply because it is pain..."

Offline

#2 2012-04-16 03:28:23

dodo3773
Member
Registered: 2011-03-17
Posts: 820

Re: [SOLVED]pacman update error - conflicting files

I am pretty sure this solution has been posted a few times:

sudo pacman -S pacman

Or install the problem packages first and then update.
Make sure to search well before posting.

Offline

#3 2012-04-16 11:50:00

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

Re: [SOLVED]pacman update error - conflicting files

I think commenting out the SyncFirst option in pacman.conf fixes this until this option is removed altogether.

Last edited by karol (2012-04-16 11:50:14)

Offline

#4 2012-04-16 14:20:01

brainard52
Member
Registered: 2012-04-14
Posts: 18

Re: [SOLVED]pacman update error - conflicting files

You're saying that I need to install pacman manually then?


I beg your patience, as I'm an annoying noob.

"There is no one who loves pain itself, who seeks after it and wants to have it, simply because it is pain..."

Offline

#5 2012-04-16 15:05:50

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

Re: [SOLVED]pacman update error - conflicting files

brainard52 wrote:

You're saying that I need to install pacman manually then?

Depends what you mean 'manually'.

brainard52 wrote:

Whenever I run pacman, it says that pacman itself needs to be updated first. When I agree to update, it ends in an error;

And if you don't agree?

Offline

#6 2012-04-16 15:31:26

dodo3773
Member
Registered: 2011-03-17
Posts: 820

Re: [SOLVED]pacman update error - conflicting files

brainard52 wrote:

You're saying that I need to install pacman manually then?

What I am saying is install the pacman update first and then update your system. There are times when I have had to manually install dependencies first before building programs as well (regardless of Gnu / Linux distro; it is just necessary sometimes (automatic dependency handling is not perfect)). Make a mental note for future reference. Also please remember to mark this thread as solved if the above solution worked for you. In case you don't know how yet:    https://bbs.archlinux.org/viewtopic.php?pid=484809

Offline

#7 2012-04-16 16:39:57

brainard52
Member
Registered: 2012-04-14
Posts: 18

Re: [SOLVED]pacman update error - conflicting files

karol wrote:
brainard52 wrote:

You're saying that I need to install pacman manually then?

Depends what you mean 'manually'.

pacman -U [packagename]

karol wrote:
brainard52 wrote:

Whenever I run pacman, it says that pacman itself needs to be updated first. When I agree to update, it ends in an error;

And if you don't agree?

I haven't tried yet. I wasn't sure what would happen if I ignored the error.

dodo3773 wrote:

What I am saying is install the pacman update first and then update your system. There are times when I have had to manually install dependencies first before building programs as well (regardless of Gnu / Linux distro; it is just necessary sometimes (automatic dependency handling is not perfect)). Make a mental note for future reference. Also please remember to mark this thread as solved if the above solution worked for you. In case you don't know how yet:    https://bbs.archlinux.org/viewtopic.php?pid=484809

I haven't tried this yet. I'll get on it this afternoon when I have internet again. And yes, I know about marking a thread as solved. Thanks though.

Last edited by brainard52 (2012-04-16 16:42:17)


I beg your patience, as I'm an annoying noob.

"There is no one who loves pain itself, who seeks after it and wants to have it, simply because it is pain..."

Offline

#8 2012-04-16 16:47:30

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

Re: [SOLVED]pacman update error - conflicting files

brainard52 wrote:
karol wrote:
brainard52 wrote:

Whenever I run pacman, it says that pacman itself needs to be updated first. When I agree to update, it ends in an error;

And if you don't agree?

I haven't tried yet. I wasn't sure what would happen if I ignored the error.

If you update everything at the same time (as opposed to updating pacman first) you shouldn't be getting any errors.

Offline

#9 2012-04-16 20:08:22

brainard52
Member
Registered: 2012-04-14
Posts: 18

Re: [SOLVED]pacman update error - conflicting files

I used pacman -Syu. I didn't even think to try to bypass the updating pacman first. I'll try that first, then sudo pacman -S pacman, and after that, I'll install the update via pacman -U


I beg your patience, as I'm an annoying noob.

"There is no one who loves pain itself, who seeks after it and wants to have it, simply because it is pain..."

Offline

#10 2012-04-16 20:12:37

dodo3773
Member
Registered: 2011-03-17
Posts: 820

Re: [SOLVED]pacman update error - conflicting files

brainard52 wrote:

I used pacman -Syu. I didn't even think to try to bypass the updating pacman first. I'll try that first, then sudo pacman -S pacman, and after that, I'll install the update via pacman -U

No idea where you got the "pacman -U" idea from. That is for installing a local package that is already on  your machine. After you do pacman -S pacman just do a -Syu.

Last edited by dodo3773 (2012-04-16 20:12:52)

Offline

#11 2012-04-16 20:39:06

brainard52
Member
Registered: 2012-04-14
Posts: 18

Re: [SOLVED]pacman update error - conflicting files

pacman -S pacman results in my initial error and pacman -Syu bypassing the pacman update results in
filesystem: /etc/mtab exists in filesystem
initscripts: /etc/profile.d/locale.sh exists in filesystem

I tested pacman -Qo /etc/mtab and pacman -Qo /etc/profile.d/locale.sh and both came up as "error: No package owns *packagename*" . I also tried the same for the initial errors, and they came up as being owned by txdata 2012h-1. I tried pacman -Si tzdata and it says the ersion I have installed is 2012c-1, not 2012h-1.

will "pacman dep level - testdb, shared lib level - findbrokenpkgs or lddd" fix anything? I found it on the pacman rosetta.

EDIT: I fixed it. I figured that updating tzdata would fix the problem and it did. I then ran pacman -S pacman, and it updated that too. Now to update the rest of my system.

Last edited by brainard52 (2012-04-17 01:08:56)


I beg your patience, as I'm an annoying noob.

"There is no one who loves pain itself, who seeks after it and wants to have it, simply because it is pain..."

Offline

Board footer

Powered by FluxBB