You are not logged in.

#1 2008-04-24 12:06:05

EmyrB
Member
From: Wales, UK
Registered: 2006-09-04
Posts: 109

gpm: /usr/lib/libgpm.so.1 exists in filesystem

Hi all,

Ran pacman -Syu today and I get the following error: -

error: could not prepare transaction
error: failed to commit transaction (conflicting files)
gpm: /usr/lib/libgpm.so.1 exists in filesystem
Errors occurred, no packages were upgraded.

I tried a google search and a search of this forum but no results.

Any ideas?

Cheers

EmyrB


Proud Arch Linux User

Offline

#2 2008-04-24 12:14:01

toofishes
Developer
From: Chicago, IL
Registered: 2006-06-06
Posts: 602
Website

Re: gpm: /usr/lib/libgpm.so.1 exists in filesystem

Offline

#3 2008-04-24 12:27:47

EmyrB
Member
From: Wales, UK
Registered: 2006-09-04
Posts: 109

Re: gpm: /usr/lib/libgpm.so.1 exists in filesystem

Cheers for that toofishes. So how do I get around it? Do I delete it?

Cheers

EmyrB


Proud Arch Linux User

Offline

#4 2008-04-24 13:00:24

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: gpm: /usr/lib/libgpm.so.1 exists in filesystem

force the upgrade
man pacman


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#5 2008-04-24 13:54:05

bender02
Member
From: Germany
Registered: 2007-02-04
Posts: 1,328

Re: gpm: /usr/lib/libgpm.so.1 exists in filesystem

Next time, you could also try searching the bugtracker.
EDIT: No offense meant, I had to learn this as well smile

Last edited by bender02 (2008-04-24 14:09:20)

Offline

#6 2008-04-24 14:56:46

EmyrB
Member
From: Wales, UK
Registered: 2006-09-04
Posts: 109

Re: gpm: /usr/lib/libgpm.so.1 exists in filesystem

bender02 wrote:

Next time, you could also try searching the bugtracker.
EDIT: No offense meant, I had to learn this as well smile

No offense taken big_smile

Next time I will take a look, I just thought I'd borked up my system as usual wink lol


Proud Arch Linux User

Offline

#7 2008-04-24 17:15:29

toofishes
Developer
From: Chicago, IL
Registered: 2006-06-06
Posts: 602
Website

Re: gpm: /usr/lib/libgpm.so.1 exists in filesystem

dolby wrote:

force the upgrade
man pacman

I hate blanket advice like this without explanation. Forcing is not usually a good idea. Why not something more like this:
Since there is only one file that is conflicting, you can manually delete it and then try the upgrade again. If there were quite a few files that conflicted, you should be sure you know what you are doing and then pacman -Sf just that one package, and then your normal -Sy will work fine.

Offline

#8 2008-04-24 17:19:06

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: gpm: /usr/lib/libgpm.so.1 exists in filesystem

toofishes wrote:

Since there is only one file that is conflicting, you can manually delete it and then try the upgrade again. If there were quite a few files that conflicted, you should be sure you know what you are doing and then pacman -Sf just that one package, and then your normal -Sy will work fine.

Now, if some Arch users could learn that and repeat it to others, it would be ideal.


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#9 2008-04-24 19:18:34

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: gpm: /usr/lib/libgpm.so.1 exists in filesystem

toofishes wrote:
dolby wrote:

force the upgrade
man pacman

I hate blanket advice like this without explanation. Forcing is not usually a good idea. Why not something more like this:
Since there is only one file that is conflicting, you can manually delete it and then try the upgrade again. If there were quite a few files that conflicted, you should be sure you know what you are doing and then pacman -Sf just that one package, and then your normal -Sy will work fine.

i just rephrased what the maintainer of the package said on the mailing list http://archlinux.org/pipermail/arch-dev … 05907.html giving the two imo crucial pointers. users are responsible for maintaining their own system.


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#10 2008-05-04 08:14:05

gnu_D
Member
From: Macedonia
Registered: 2007-10-21
Posts: 46

Re: gpm: /usr/lib/libgpm.so.1 exists in filesystem

Hi, the deleting of the file /usr/lib/libgpm.so.1/usr/lib/libgpm.so.1 helped me to fix the system.


:: Python powered FOREVER ::

Offline

#11 2008-05-08 23:15:43

B-Con
Member
From: Frisco, TX
Registered: 2007-12-17
Posts: 549
Website

Re: gpm: /usr/lib/libgpm.so.1 exists in filesystem

If you want to trouble-shoot such a problem yourself:

$ pacman -Qo /usr/lib/libgpm.so.1

The file was unassociated with any package. This is obviously a bug.

$ls -l /usr/lib/libgpm.so.1
lrwxrwxrwx 1 root root 16 2008-02-01 13:45 /usr/lib/libgpm.so.1 -> libgpm.so.1.19.0

Turns out it's a symbolic link, not even a file.

Conclusion: Move the file and then perform the upgrade. After X time passes, you can likely consider safely deleting it.


- "Cryptographically secure linear feedback based shift registers" -- a phrase that'll get any party started.
- My AUR packages.
- I use i3 on my i7.

Offline

#12 2008-05-09 13:09:50

jonkristian
Member
From: Norway
Registered: 2007-03-09
Posts: 101
Website

Re: gpm: /usr/lib/libgpm.so.1 exists in filesystem

Why not do a pacman -Rd gpm and re-install after upgrade?


PROCRASTINATION
is like masturbation...it's good in the beginning, but in the end, you realize
you've just fkd yourself

Offline

#13 2008-05-09 14:38:32

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: gpm: /usr/lib/libgpm.so.1 exists in filesystem

jonkristian wrote:

Why not do a pacman -Rd gpm and re-install after upgrade?

B-Con wrote:

The file was unassociated with any package. This is obviously a bug.

So -Rd gpm won't remove the file.


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

Board footer

Powered by FluxBB