You are not logged in.
It was almost a week since I last did a "pacman -Syu" on my system. Before that, I had read about depreciation of net-tools and have already modified my rc.conf to use the newer simple network setup. Everything was working fine. Even upgradation of the system (pacman -Syu) also worked fine last week.
I was out of town for a few days. So, when I came back on Sunday, I tried updating the system. Pacman found updates and downloaded them. But it failed when actually upgrading the packages. It gives the following error:
[vinay@arch ~]$ sudo pacman -Syu
Password:
:: Synchronizing package databases...
core 37.0K 44.9K/s 00:00:01 [######################] 100%
extra 465.7K 39.1K/s 00:00:12 [######################] 100%
community 441.9K 123.2K/s 00:00:04 [######################] 100%
multilib is up to date
archlinuxfr 24.7K 74.6K/s 00:00:00 [######################] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...
Targets (10): gdk-pixbuf2-2.23.4-1 gtk-update-icon-cache-2.24.5-2
gtk2-2.24.5-2 libmodplug-0.8.8.3-1 libxml++-2.34.1-1
libofx-0.9.4-1 net-tools-1.60-18 soprano-2.6.0-6
strigi-0.7.5-2 xdg-utils-1.1.0rc1-3
Total Download Size: 7.85 MB
Total Installed Size: 47.46 MB
Proceed with installation? [Y/n] y
:: Retrieving packages from extra...
gtk-update-icon-ca... 10.9K 22.1K/s 00:00:00 [######################] 100%
gtk2-2.24.5-2-x86_64 4.9M 60.9K/s 00:01:23 [######################] 100%
libmodplug-0.8.8.3... 145.8K 53.5K/s 00:00:03 [######################] 100%
libofx-0.9.4-1-x86_64 223.9K 60.2K/s 00:00:04 [######################] 100%
soprano-2.6.0-6-x86_64 2.0M 68.2K/s 00:00:30 [######################] 100%
strigi-0.7.5-2-x86_64 504.2K 75.7K/s 00:00:07 [######################] 100%
xdg-utils-1.1.0rc1... 46.3K 46.1K/s 00:00:01 [######################] 100%
(10/10) checking package integrity [######################] 100%
(10/10) checking for file conflicts [######################] 100%
error: failed to commit transaction (conflicting files)
net-tools: /bin/hostname exists in filesystem
net-tools: /usr/share/man/man1/hostname.1.gz exists in filesystem
Errors occurred, no packages were upgraded.As you can see it complains about /bin/hostname file existing in the filesystem and that causing problem for net-tools package. I'm not sure how or why this happened. The /bin/hostname is supposed to be available on the filesystem, right?
Since net-tools was depreciated in favour of netcfg, I tried removing net-tools. When I try that, it offers to remove netcfg package as well!
[vinay@arch ~]$ sudo pacman -Rcsu net-tools
Password:
checking dependencies...
Remove (2): netcfg-2.5.5-1 net-tools-1.60-16
Total Removed Size: 0.61 MB
Do you want to remove these packages? [Y/n] nWhat I did was to upgrade each package manually (excluding net-tools package). But this is cumbersome and tedious. I did a search on the forum and on internet and did not find other people with the same problem. So, is something wrong/corrupt on my arch installation?
If so, how do I fix it?
Thanks in advance,
Vinay V
Last edited by vinayv (2011-06-22 01:31:49)
Offline
Read stickies: https://bbs.archlinux.org/viewtopic.php?id=56373
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Thanks for the reply. I should have searched for a generic "exists in filesystem" rather than net-tools error specific "/bin/hostname exists in filesystem". I thought this was because of the recent move to netcfg from net-tools. Maybe I'm mistaken.
Anyway, thanks for pointing out that stikie to me. Let me try the suggestions in that post
Offline
I ran "pacman -Qo <file>" for both the files (/bin/hostname and /usr/share/man/man1/hostname.1.gz). It said no package owned both the files! I'm not sure why the error came up in that case..
Anyway, I ran "pacman -Sf net-tools" and the system seems fine now.
Offline