You are not logged in.
Hi I received the following error when trying to do a pacmatic -Syu upgrade this morning. Any ideas how I can resolve this?
Recent ML chatter: jack(1)
:: Synchronizing package databases...
core 103.0 KiB 50.7K/s 00:02 [######################] 100%
extra 1439.0 KiB 73.8K/s 00:20 [######################] 100%
community 1989.3 KiB 108K/s 00:18 [######################] 100%
multilib 106.9 KiB 72.1K/s 00:01 [######################] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...
Packages (9): akonadi-1.10.2-1 fontforge-20120731_b-5 gnutls-3.2.2-2
ibus-1.5.3-1 linux-3.10.3-1 meld-1.7.4-1
mkinitcpio-busybox-1.21.1-1 nodejs-0.10.15-1
virtuoso-base-6.1.7-1
Total Download Size: 63.43 MiB
Total Installed Size: 150.84 MiB
Net Upgrade Size: 2.29 MiB
:: Proceed with installation? [Y/n] Y
:: Retrieving packages ...
linux-3.10.3-1-x86_64 46.2 MiB 94.4K/s 08:22 [######################] 100%
mkinitcpio-busybox-... 150.7 KiB 47.0K/s 00:03 [######################] 100%
akonadi-1.10.2-1-x86_64 741.0 KiB 51.8K/s 00:14 [######################] 100%
fontforge-20120731_... 4.0 MiB 88.2K/s 00:46 [######################] 100%
gnutls-3.2.2-2-x86_64 1935.5 KiB 51.2K/s 00:38 [######################] 100%
ibus-1.5.3-1-x86_64 795.9 KiB 60.5K/s 00:13 [######################] 100%
meld-1.7.4-1-any 464.2 KiB 75.4K/s 00:06 [######################] 100%
virtuoso-base-6.1.7... 6.2 MiB 37.4K/s 02:49 [######################] 100%
nodejs-0.10.15-1-x86_64 3.0 MiB 105K/s 00:29 [######################] 100%
(9/9) checking keys in keyring [######################] 100%
(9/9) checking package integrity [######################] 100%
(9/9) loading package files [######################] 100%
(9/9) checking for file conflicts [######################] 100%
error: failed to commit transaction (conflicting files)
nodejs: /usr/lib/node_modules/npm/node_modules/node-gyp/gyp/data/win/large-pdb-shim.cc exists in filesystem
nodejs: /usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSUtil.py exists in filesystem
nodejs: /usr/lib/node_modules/npm/node_modules/read/rs.js exists in filesystem
Errors occurred, no packages were upgraded.
No pacnew files to update.
Offline
Offline
Thanks, I managed to fix it, but not exactly in the manner provided at the link. Here's what I did -
1. mv the below offending files into old.<filename>
nodejs: /usr/lib/node_modules/npm/node_modules/node-gyp/gyp/data/win/large-pdb-shim.cc exists in filesystem
nodejs: /usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSUtil.py exists in filesystem
nodejs: /usr/lib/node_modules/npm/node_modules/read/rs.js exists in filesystem
2. remove the nodejs package with
#pacmatic -R nodejs
3. Ran pacmatic -Syyu nodejs
4. Cleaned-up the temporary old.<filename> with sudo rm
Success!
Hope this helps someone.
Offline
Or just
1) mv /usr/lib/node_modules to /usr/lib/node_modules.old
2) make the upgrade
3) check both directories, if there is difference decide what to do with it.
4) delete.old dir
xps13@late2015x16gbx512g
Offline