You are not logged in.
Pages: 1
hi. I have not used or updated this system in months. I updated the mirror list, new keys, etc but when I try to update pacman I get:
[luser@(none) pacman.d]$ sudo pacman -S pacman
resolving dependencies...
looking for inter-conflicts...
Targets (7): bash-4.2.045-5 filesystem-2013.05-2 glibc-2.18-5 libarchive-3.1.2-2
linux-api-headers-3.10.6-1 lzo2-2.06-1 pacman-4.1.2-1
Total Installed Size: 45.44 MiB
Net Upgrade Size: -3.01 MiB
Proceed with installation? [Y/n]
(7/7) checking package integrity [####################################] 100%
(7/7) loading package files [####################################] 100%
(7/7) checking for file conflicts [####################################] 100%
error: failed to commit transaction (conflicting files)
filesystem: /bin exists in filesystem
filesystem: /sbin exists in filesystem
filesystem: /usr/sbin exists in filesystem
Errors occurred, no packages were upgraded.
----
what files are conflicting? How to fix this?
Offline
First, don't do partial upgrades - ever.
Second, thank pacman for failing to allow you to do this partial upgrade, as if you had done it, you'd be really screwed.
Third, read the news, or what is almost certainly the longest thread in the pacman/upgrade subforum (perhaps the longest in all subforums).
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Binaries move to /usr/bin requiring update intervention
https://www.archlinux.org/news/binaries … ervention/
Read the website.
Offline
I did read this news post. I dont understand what they mean, "FIX" Fix it how?
Fix any non-official packages with files in /bin, /sbin or /usr/sbin to put those files in /usr/bin.
Offline
By modifying the PKGBUILD.
Offline
Where do I find the PKGBUILD file?
Offline
Where do I find the PKGBUILD file?
The packages you installed yourself, from AUR for instance.
1) Fix any non-official packages with files in /bin, /sbin or /usr/sbin to put those files in /usr/bin.
The list of packages that are not in a repo that need to be fixed can be generated using:$ pacman -Qqo /bin /sbin /usr/sbin | pacman -Qm -
Offline
The AUR packages might be already fixed, you just need to compile and install the new versions.
Offline
archlady, you need to figure it out yourself
this may help though https://mailman.archlinux.org/pipermail … 22625.html
Offline
karol, Yeah right, might, but not all.... for instance; arno-iptables-firewall
Always check the pkgbuild, is just a good rule of thumb.
Last edited by qinohe (2013-09-26 17:24:02)
Offline
ok, so in looking at this I have the following:
[luser@(none) pacman.d]$ sudo pacman -Qqo /bin /sbin /usr/sbin | pacman -Qm -
[sudo] password for luser:
error: cannot determine ownership of directory '/bin'
error: cannot determine ownership of directory '/sbin'
error: cannot determine ownership of directory '/usr/sbin'
cacheclean 2.1-5
ccsm 0.8.4-3
compiz-bcop 0.8.8-2
compiz-core 0.8.8-3
compiz-decorator-gtk 0.8.8-3
compiz-decorator-kde 0.8.8-3
compiz-fusion-plugins-extra 0.8.8-2
compiz-fusion-plugins-main 0.8.8-2
compizconfig-python 0.8.4-4
consolekit 0.4.6-4
dbus-core 1.6.8-1
emerald 0.8.8-2
emerald-themes 0.6.0-4
fusion-icon 1:0.1-1
gigolo 0.4.1-2
gnuradio 3.5.3-0
gqrx 1.9.237-1
gr-baz-git 20120609-1
gr-osmosdr-git 20120612-1
hamlib 1.2.15-2
hsqldb-java 1:1.8.0.10-2
initscripts 2012.09.2-2
khrplatform-devel 8.0.4-3
libcompizconfig 0.8.8-2
libegl 8.0.4-3
libgbm 8.0.4-3
libgl 8.0.4-3
libglapi 8.0.4-3
libgles 8.0.4-3
libmysqlclient 5.5.28-1
libsoup-gnome 2.38.1-1
libuhd 3.4.2-1
libwebkit3 1.8.3-1
mysql 5.5.28-1
mysql-clients 5.5.28-1
pyatspi 2.4.0-1
python2-distribute 0.6.28-1
qt 4.8.3-4
qwt5 5.2.2-1
rtl-sdr-git 20120923-1
sysvinit 2.88-8
terminal 0.4.8-2
ttf-ms-fonts 2.0-9
This is quite a number of files. Where do I go to 'Fix' them?
Offline
Where do I go to 'Fix' them?
This sounds funny
Offline
The AUR packages might be already fixed, you just need to compile and install the new versions.
As Karol already indicated, most, if not all the ones you listed have either been updated in the AUR, or should just be removed.
Ask when you get stuck following the instructions, not when you haven't even tried yet.
EDIT: have you not yet converted to systemd? When was the last full update?
EDIT2: From a further review of that list, it looks like it's been a very long time since you last updated (you say months, but it looks like months in the double digits!) - there may not be a feasible way to update at this point. I'd suggest getting the new installation iso and reinstalling the root filesystem. You can leave your home partition alone, so your data and most configs will be in tact.
Last edited by Trilby (2013-09-26 18:16:37)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Where do I go to 'Fix' them?
This sounds funny
If you don't have anything constructive to post, refrain: https://wiki.archlinux.org/index.php/Fo … mpty_Posts
Offline
For those that are helpful, thank you. So I looked for the PKGBUILD files by:
sudo find / -name PKGBUILD -type f -print
[sudo] password for luser:
/home/luser/package-query/PKGBUILD
/home/luser/yaourt/PKGBUILD
/home/luser/Downloads/gigolo/PKGBUILD
I edited the three PKGBUILD files identified and could not find any references to /bin /sbin or /usr/sbin in any of them.
I dont know what this means: "EDIT: have you not yet converted to systemd? When was the last full update?"
Last full update was many months ago.
Offline
I suggest you reinstall Arch and keep it updated from now on.
It will probably be faster and surely simpler. Create the list of the packages you have installed so you know what to install on your new system. Backup your settings and data.
Offline
Packages from the AUR are unsupported, so it is your responsibility to manage them. This means rebuilding them whenever the supported packages they depend on are updated, or there is other significant change, such as the move to /usr/bin.
You also seem to be running several deprecated packages (consolekit and sysvinit): if you wish to keep using them, again, it is your responsibility to deal with the impacts of using unsupported software.
Offline
Thanks most everyone for the help. I will try to re-install. The GNU Radio packages are the real killers. Some of them have not been updated in a long long time and the only way to make it work is to use deprecated packages.
Offline
They are not marked as outdated? And they properly use "DESTDIR" in the Makefile install directive. So they should work just fine after a rebuild.
Once you reinstall the system, just reinstall those gnuradio aur packages and they should work. If they don't, open a thread in the AUR subforum and we can help with that.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Pages: 1