[pacman-dev] Fun little bug- pacman3 fails to remove flex and words packages correctly

Dan McGee dpmcgee at gmail.com
Thu Jan 18 11:38:38 EST 2007


With new stderr output:

$ sudo pacman3 -S flex words
resolving dependencies... done.
looking for inter-conflicts... done.

Targets: flex-2.5.33-1 words-1.0-4
Total Package Size:   5.0 MB

Proceed with installation? [Y/n] y
checking package integrity... done.
checking for file conflicts (2/2)                 [#######################] 100%
(1/2) installing flex                             [#######################] 100%
(2/2) installing words                            [#######################] 100%
==> Determining which 'words' file to use in /usr/share/dict
==> Setting 'words' link to /usr/share/dict/usa

$ sudo pacman3 -R flex words
checking dependencies... done.
error: cannot remove file usr/share/dict/words: No such file or directory
error: cannot remove file usr/share/dict/usa: No such file or directory
error: cannot remove file usr/share/dict/spanish: No such file or directory
error: cannot remove file usr/share/dict/ngerman: No such file or directory
error: cannot remove file usr/share/dict/italian: No such file or directory
error: cannot remove file usr/share/dict/german: No such file or directory
error: cannot remove file usr/share/dict/french: No such file or directory
error: cannot remove file usr/share/dict/finnish: No such file or directory
error: cannot remove file usr/share/dict/catalan: No such file or directory
error: cannot remove file usr/share/dict/british: No such file or directory
(1/2) removing words                              [#######################] 100%
error: cannot remove file usr/share/locale/zh_CN/LC_MESSAGES/flex.mo:
No such file or directory
error: cannot remove file usr/share/locale/vi/LC_MESSAGES/flex.mo: No
such file or directory
error: cannot remove file usr/share/locale/tr/LC_MESSAGES/flex.mo: No
such file or directory
error: cannot remove file usr/share/locale/sv/LC_MESSAGES/flex.mo: No
such file or directory
error: cannot remove file usr/share/locale/ru/LC_MESSAGES/flex.mo: No
such file or directory
error: cannot remove file usr/share/locale/ro/LC_MESSAGES/flex.mo: No
such file or directory
error: cannot remove file usr/share/locale/pt_BR/LC_MESSAGES/flex.mo:
No such file or directory
error: cannot remove file usr/share/locale/pl/LC_MESSAGES/flex.mo: No
such file or directory
error: cannot remove file usr/share/locale/nl/LC_MESSAGES/flex.mo: No
such file or directory
error: cannot remove file usr/share/locale/ko/LC_MESSAGES/flex.mo: No
such file or directory
error: cannot remove file usr/share/locale/ga/LC_MESSAGES/flex.mo: No
such file or directory
error: cannot remove file usr/share/locale/fr/LC_MESSAGES/flex.mo: No
such file or directory
error: cannot remove file usr/share/locale/es/LC_MESSAGES/flex.mo: No
such file or directory
error: cannot remove file usr/share/locale/de/LC_MESSAGES/flex.mo: No
such file or directory
error: cannot remove file usr/share/locale/da/LC_MESSAGES/flex.mo: No
such file or directory
error: cannot remove file usr/share/locale/ca/LC_MESSAGES/flex.mo: No
such file or directory
error: cannot remove file usr/man/man1/flex.1.gz: No such file or directory
error: cannot remove file usr/lib/libfl.a: No such file or directory
error: cannot remove file usr/include/FlexLexer.h: No such file or directory
error: cannot remove file usr/bin/lex: No such file or directory
error: cannot remove file usr/bin/flex: No such file or directory
(2/2) removing flex                               [#######################] 100%

$ sudo pacman3 -S flex words
resolving dependencies... done.
looking for inter-conflicts... done.

Targets: flex-2.5.33-1 words-1.0-4
Total Package Size:   5.0 MB

Proceed with installation? [Y/n] y
checking package integrity... done.
checking for file conflicts (2/2)                 [#######################] 100%
error: could not prepare transaction
error: failed to commit transaction (conflicting files)
flex: /usr/bin/flex exists in filesystemflex: /usr/bin/lex exists in
filesystemflex: /usr/include/FlexLexer.h exists in filesystemflex:
/usr/lib/libfl.a exists in filesystemflex: /usr/man/man1/flex.1.gz
exists in filesystemflex: /usr/share/locale/ca/LC_MESSAGES/flex.mo
exists in filesystemflex: /usr/share/locale/da/LC_MESSAGES/flex.mo
exists in filesystemflex: /usr/share/locale/de/LC_MESSAGES/flex.mo
exists in filesystemflex: /usr/share/locale/es/LC_MESSAGES/flex.mo
exists in filesystemflex: /usr/share/locale/fr/LC_MESSAGES/flex.mo
exists in filesystemflex: /usr/share/locale/ga/LC_MESSAGES/flex.mo
exists in filesystemflex: /usr/share/locale/ko/LC_MESSAGES/flex.mo
exists in filesystemflex: /usr/share/locale/nl/LC_MESSAGES/flex.mo
exists in filesystemflex: /usr/share/locale/pl/LC_MESSAGES/flex.mo
exists in filesystemflex: /usr/share/locale/pt_BR/LC_MESSAGES/flex.mo
exists in filesystemflex: /usr/share/locale/ro/LC_MESSAGES/flex.mo
exists in filesystemflex: /usr/share/locale/ru/LC_MESSAGES/flex.mo
exists in filesystemflex: /usr/share/locale/sv/LC_MESSAGES/flex.mo
exists in filesystemflex: /usr/share/locale/tr/LC_MESSAGES/flex.mo
exists in filesystemflex: /usr/share/locale/vi/LC_MESSAGES/flex.mo
exists in filesystemflex: /usr/share/locale/zh_CN/LC_MESSAGES/flex.mo
exists in filesystemwords: /usr/share/dict/british exists in
filesystemwords: /usr/share/dict/catalan exists in filesystemwords:
/usr/share/dict/finnish exists in filesystemwords:
/usr/share/dict/french exists in filesystemwords:
/usr/share/dict/german exists in filesystemwords:
/usr/share/dict/italian exists in filesystemwords:
/usr/share/dict/ngerman exists in filesystemwords:
/usr/share/dict/spanish exists in filesystemwords: /usr/share/dict/usa
exists in filesystemwords: /usr/share/dict/words exists in filesystem
errors occurred, no packages were upgraded.

$ ls -la /usr/share/dict/
total 23012
drwxr-xr-x   2 root root    4096 2007-01-18 11:35 .
drwxr-xr-x 131 root root    4096 2007-01-18 11:33 ..
-rw-r--r--   1 root root  617300 2004-09-06 09:15 british
-rw-r--r--   1 root root 3565935 2004-09-06 09:15 catalan
-rw-r--r--   1 root root  529871 2006-05-31 00:45 cracklib-small
-rw-r--r--   1 root root 9996241 2004-09-06 09:15 finnish
-rw-r--r--   1 root root 1464402 2004-09-06 09:15 french
-rw-r--r--   1 root root  951917 2004-09-06 09:15 german
-rw-r--r--   1 root root 1243660 2004-09-06 09:15 italian
-rw-r--r--   1 root root 3874019 2004-09-06 09:15 ngerman
-rw-r--r--   1 root root  835265 2004-09-06 09:15 spanish
-rw-r--r--   1 root root  408969 2004-09-06 09:15 usa
lrwxrwxrwx   1 root root       5 2007-01-18 11:35 words -> ./usa




More information about the pacman-dev mailing list