You are not logged in.

#1 2007-12-04 04:01:03

Taylor
Member
From: Clovis California USA
Registered: 2007-07-09
Posts: 49

[SOLVED]bash issue

When pacman tried to update bash, I got the following error and was not sure if I was supposed to delete /etc/profile.

:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
compiz-fusion is up to date
kdemod is up to date
:: Starting full system upgrade...
resolving dependencies... done.
looking for inter-conflicts... done.

Targets: bash-3.2.025-4 

Total Package Size:   0.40 MB

Proceed with installation? [Y/n] Y
checking package integrity... done.
cleaning up... done.
(1/1) checking for file conflicts                   [#####################] 100%
error: could not prepare transaction
error: failed to commit transaction (conflicting files)
bash: /etc/profile exists in filesystem

errors occurred, no packages were upgraded.

SOLUTION: sudo pacman -Sf bash

Last edited by Taylor (2007-12-04 04:30:41)

Offline

#2 2007-12-04 04:16:58

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,385
Website

Re: [SOLVED]bash issue

This is one of the few times when you are actually recommended to do "pacman -Sf bash".  See http://archlinux.org/news/369/

Offline

#3 2007-12-04 04:18:15

Taylor
Member
From: Clovis California USA
Registered: 2007-07-09
Posts: 49

Re: [SOLVED]bash issue

Allan wrote:

This is one of the few times when you are actually recommended to do "pacman -Sf bash".  See http://archlinux.org/news/369/

thanks, I forced it. smile

Offline

#4 2007-12-04 04:20:08

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: [SOLVED]bash issue

Last commit message for bash: "upgpkg: bash 3.2.025-4 /etc/profile was lost in the last commit"

Seems like the currently installed bash package didn't come with /etc/profile, that's why it complains now.

Either install with pacman -Sf bash or rename /etc/profile temporarily and run pacman -Syu again.

Edit: I'm getting old and slow...

Last edited by byte (2007-12-04 04:21:41)


1000

Offline

#5 2007-12-04 11:20:19

mykey
Member
From: out of the blue
Registered: 2007-03-02
Posts: 113

Re: [SOLVED]bash issue

byte wrote:

Edit: I'm getting old and slow...

magic fact (or here: fatal fact) is: these things simply work...and not only for the situation you use them in but they will manifest inside of you - you will indeed find yourself ever older and slower tongue

thanks for the hint regarding bash though wink

Offline

#6 2007-12-04 11:24:39

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,385
Website

Re: [SOLVED]bash issue

byte wrote:

Edit: I'm getting old and slow...

You think I'm fast, you should really check out kensai...
http://bbs.archlinux.org/viewtopic.php?id=40048

Offline

Board footer

Powered by FluxBB