You are not logged in.

#1 2009-01-02 02:08:22

varaahan
Member
From: Chennai , India
Registered: 2006-05-29
Posts: 145

Error in installing packages

I tried to install digikam but pacman returned "Errors occurred, no packages were upgraded."
How to find the errors ?


Linux learner and admirer - ALWAYS
Regd Linux User : 431318

Offline

#2 2009-01-02 02:09:50

djnm
Member
From: USA
Registered: 2008-12-21
Posts: 78

Re: Error in installing packages

check /var/log/pacman.log if pacman does not output them


br0tat0chip in #archlinux and on freenode

Offline

#3 2009-01-02 02:52:37

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

Re: Error in installing packages

The errors are actually printed to the screen...

Offline

#4 2009-01-02 16:18:19

varaahan
Member
From: Chennai , India
Registered: 2006-05-29
Posts: 145

Re: Error in installing packages

cat /var/log/pacman.log does not give any tangible result.
The o/p of pacman is quite long and unsuitable for post.
I find no errors reported but for the last error msg.


Linux learner and admirer - ALWAYS
Regd Linux User : 431318

Offline

#5 2009-01-02 16:22:48

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Re: Error in installing packages

Post the error from pacman I will clean up output :-)


Mr Green

Offline

#6 2009-01-02 16:23:46

tdy
Member
From: Sacremende
Registered: 2008-12-14
Posts: 440

Re: Error in installing packages

varaahan wrote:

The o/p of pacman is quite long and unsuitable for post.

Use "code" tags and it should be fine.

Offline

#7 2009-01-02 16:31:16

varaahan
Member
From: Chennai , India
Registered: 2006-05-29
Posts: 145

Re: Error in installing packages

The o/p of /var/log/pacmna.log for current day is:

[2008-12-30 18:56] removed esd (0.2.38-3)
[2009-01-02 07:35] synchronizing package lists
[2009-01-02 21:45] synchronizing package lists
[2009-01-02 21:48] upgraded alsa-lib (1.0.16-1 -> 1.0.18-1)
[2009-01-02 21:48] installed esound (0.2.41-1)

I could not copy the error msgs on pacman -S digikam .


Linux learner and admirer - ALWAYS
Regd Linux User : 431318

Offline

#8 2009-01-02 16:37:08

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

Re: Error in installing packages

We can not help without the output...  The actual cause of the error will be in there.

Offline

#9 2009-01-02 16:37:45

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Re: Error in installing packages

how about pacman -S digikam > error.txt ? then post error.txt


Mr Green

Offline

#10 2009-01-02 16:41:45

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

Re: Error in installing packages

Mr Green wrote:

how about pacman -S digikam > error.txt ? then post error.txt

Try  "pacman -S digikam &> error.txt" so stderr gets pointed to the file too.

Offline

#11 2009-01-02 16:47:49

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Re: Error in installing packages

ooops :-)


Mr Green

Offline

#12 2009-01-03 13:02:39

varaahan
Member
From: Chennai , India
Registered: 2006-05-29
Posts: 145

Re: Error in installing packages

bash-3.2# pacman -S digikam>error.txt
Proceed with installation? [Y/n] y
error: failed to commit transaction (conflicting files)


Linux learner and admirer - ALWAYS
Regd Linux User : 431318

Offline

#13 2009-01-03 13:30:58

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Re: Error in installing packages

try using

pacman -S digikam &> error.txt

without any error we cannot help you


Mr Green

Offline

#14 2009-01-03 13:44:24

varaahan
Member
From: Chennai , India
Registered: 2006-05-29
Posts: 145

Re: Error in installing packages

That makes the shell hang.
No o/p is obtained.


Linux learner and admirer - ALWAYS
Regd Linux User : 431318

Offline

#15 2009-01-03 13:54:14

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

Re: Error in installing packages

Add a noconfirm there:

pacman -S --noconfirm digikam &> error.txt

Offline

#16 2009-01-07 16:24:47

varaahan
Member
From: Chennai , India
Registered: 2006-05-29
Posts: 145

Re: Error in installing packages

That returns nothing and returned to bash.

[sridhar@myhost ~]$ su
Password:
bash-3.2# pacman -S --noconfirm digikam &> error.txt
bash-3.2#


Linux learner and admirer - ALWAYS
Regd Linux User : 431318

Offline

#17 2009-01-07 16:36:56

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

Re: Error in installing packages

OK......   what is in error.txt?

Offline

#18 2009-01-07 16:42:11

andre.ramaciotti
Member
From: Brazil
Registered: 2007-04-06
Posts: 649

Re: Error in installing packages

Now put the content of error.txt here between code tags

edit: Allan was quicker... I shouldn't open so many tabs at the same time tongue

Last edited by andre.ramaciotti (2009-01-07 16:42:53)


(lambda ())

Offline

#19 2009-01-08 02:01:56

varaahan
Member
From: Chennai , India
Registered: 2006-05-29
Posts: 145

Re: Error in installing packages

contents of error.txt is:


resolving dependencies...
looking for inter-conflicts...
Proceed with installation? [Y/n]


Linux learner and admirer - ALWAYS
Regd Linux User : 431318

Offline

#20 2009-01-08 04:06:26

SamC
Member
From: Calgary
Registered: 2008-05-13
Posts: 611
Website

Re: Error in installing packages

varaahan: Are you sure it ran with --noconfirm?

Offline

#21 2009-01-08 04:10:04

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

Re: Error in installing packages

Post the whole output.  You should have a targets line, information about the download size, etc...

Offline

#22 2009-01-08 14:53:19

varaahan
Member
From: Chennai , India
Registered: 2006-05-29
Posts: 145

Re: Error in installing packages

That's a whole long file, yet I append it here.

resolving dependencies...
looking for inter-conflicts...
Proceed with installation? [Y/n]
Targets: kdelibs3-3.5.10-2  libxvmc-1.0.4-1  xine-lib-1.1.15-4 
         kaffeine-0.8.7-1 

Total Download Size:    0.00 MB
Total Installed Size:   83.39 MB

checking package integrity...
checking for file conflicts...
error: failed to commit transaction (conflicting files)
error: could not prepare transaction

Note :
I could not post the full file content since that is not possible. So I had to edit the relevant portitons only. The file size is about 465 Kb.

bash-3.2# ls -al /home/sridhar/error.txt
-rw-r--r-- 1 root root 476461 Jan  8 07:23 /home/sridhar/error.txt

Hope this helps !


Linux learner and admirer - ALWAYS
Regd Linux User : 431318

Offline

#23 2009-01-08 15:00:48

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Re: Error in installing packages

Email the file as an attachment to me I will take a look at it


Mr Green

Offline

#24 2009-01-08 15:02:26

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

Re: Error in installing packages

varaahan wrote:

error: failed to commit transaction (conflicting files)
error: could not prepare transaction

That is the relevant line...  but you cut out what is actually conflicting so we can not help you.

Offline

#25 2009-01-09 13:16:44

varaahan
Member
From: Chennai , India
Registered: 2006-05-29
Posts: 145

Re: Error in installing packages

Mr Green :

The file could not be copied to the email .
If I have the personal email , I can send it.


Linux learner and admirer - ALWAYS
Regd Linux User : 431318

Offline

Board footer

Powered by FluxBB