[SOLVED] File conflict after failed upgrade

This forum is for topics dealing with problems with software specifically in the ARMv6h repo.

[SOLVED] File conflict after failed upgrade

Postby Daviljoe193 » Sun Apr 10, 2016 4:46 pm

Tried to do a packer -Suy, and it returned a 404 after downloading the first package. Concerned, I ran packer -Suyy, and it only upgraded glib2. So I tried installing the packages that needed upgrading manually, and it gave a file conflict error. Since I only run my Raspberry Pi Zero headless, is it safe to run pacman with --force?
$this->bbcode_second_pass_code('', '[daviljoe193@rpi-arch ~]$ packer -Suy
[sudo] password for daviljoe193:
:: Synchronizing package databases...
core 169.2 KiB 769K/s 00:00 [######################] 100%
extra 2.3 MiB 1216K/s 00:02 [######################] 100%
community 3.4 MiB 2.81M/s 00:01 [######################] 100%
alarm is up to date
aur is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (8) glib-networking-2.48.0-1 glib2-2.48.0-1
gsettings-desktop-schemas-3.20.0-1 harfbuzz-1.2.6-1
libsoup-2.54.0.1-1 libxml2-2.9.3-2 mesa-11.2.0-1
mesa-libgl-11.2.0-1

Total Download Size: 7.60 MiB
Total Installed Size: 54.33 MiB
Net Upgrade Size: 0.49 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages...
glib2-2.48.0-1-armv6h 1995.7 KiB 5.91M/s 00:00 [######################] 100%
error: failed retrieving file 'gsettings-desktop-schemas-3.20.0-1-any.pkg.tar.xz' from mirror.archlinuxarm.org : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed retrieving file 'glib-networking-2.48.0-1-armv6h.pkg.tar.xz' from mirror.archlinuxarm.org : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed retrieving file 'harfbuzz-1.2.6-1-armv6h.pkg.tar.xz' from mirror.archlinuxarm.org : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed retrieving file 'libxml2-2.9.3-2-armv6h.pkg.tar.xz' from mirror.archlinuxarm.org : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed retrieving file 'libsoup-2.54.0.1-1-armv6h.pkg.tar.xz' from mirror.archlinuxarm.org : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed retrieving file 'mesa-11.2.0-1-armv6h.pkg.tar.xz' from mirror.archlinuxarm.org : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed retrieving file 'mesa-libgl-11.2.0-1-armv6h.pkg.tar.xz' from mirror.archlinuxarm.org : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.
:: Synchronizing aur database...

:: Starting full aur upgrade...
local database is up to date
[daviljoe193@rpi-arch ~]$ packer -Suyy
:: Synchronizing package databases...
core 169.2 KiB 1057K/s 00:00 [######################] 100%
extra 2.3 MiB 4.51M/s 00:01 [######################] 100%
community 3.4 MiB 9.65M/s 00:00 [######################] 100%
alarm 36.6 KiB 0.00B/s 00:00 [######################] 100%
aur 30.0 KiB 0.00B/s 00:00 [######################] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (1) glib2-2.48.0-1

Total Installed Size: 13.16 MiB
Net Upgrade Size: 0.19 MiB

:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [######################] 100%
(1/1) checking package integrity [######################] 100%
(1/1) loading package files [######################] 100%
(1/1) checking for file conflicts [######################] 100%
(1/1) checking available disk space [######################] 100%
:: Processing package changes...
(1/1) upgrading glib2 [######################] 100%
New optional dependencies for glib2
python: for gdbus-codegen and gtester-report [installed]
:: Synchronizing aur database...

:: Starting full aur upgrade...
local database is up to date
[daviljoe193@rpi-arch ~]$ packer -Suyy glib-networking-2.48.0-1 glib2-2.48.0-1
:: Synchronizing package databases...
core 169.2 KiB 677K/s 00:00 [######################] 100%
^Cxtra 800.1 KiB 769K/s 00:02 [#######---------------] 33%
Interrupt signal received


[daviljoe193@rpi-arch ~]$ ^C
[daviljoe193@rpi-arch ~]$ ^C
[daviljoe193@rpi-arch ~]$ packer -Suyy glib-networking gsettings-desktop-schemas harfbuzz glib2 libsoup libxml2 mesa
:: Synchronizing package databases...
core 169.2 KiB 1057K/s 00:00 [######################] 100%
extra 2.3 MiB 6.05M/s 00:00 [######################] 100%
community 3.4 MiB 1530K/s 00:02 [######################] 100%
alarm 36.6 KiB 0.00B/s 00:00 [######################] 100%
aur 30.0 KiB 2.93M/s 00:00 [######################] 100%
:: Starting full system upgrade...
warning: glib2: local (2.48.0-1) is newer than core (2.46.2-4)
there is nothing to do
:: Synchronizing aur database...

:: Starting full aur upgrade...
local database is up to date
[daviljoe193@rpi-arch ~]$ sudo pacman -Suyy glib-networking gsettings-desktop-schemas harfbuzz glib2 libsoup libxml2 mesa
:: Synchronizing package databases...
core 169.2 KiB 995K/s 00:00 [######################] 100%
extra 2.3 MiB 2.71M/s 00:01 [######################] 100%
community 3.4 MiB 5.20M/s 00:01 [######################] 100%
alarm 36.6 KiB 0.00B/s 00:00 [######################] 100%
aur 30.0 KiB 0.00B/s 00:00 [######################] 100%
warning: glib2-2.48.0-1 is up to date -- reinstalling
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (8) mesa-libgl-11.2.0-1 glib-networking-2.48.0-1 glib2-2.48.0-1
gsettings-desktop-schemas-3.20.0-1 harfbuzz-1.2.6-1
libsoup-2.54.0.1-1 libxml2-2.9.3-2 mesa-11.2.0-1

Total Download Size: 5.65 MiB
Total Installed Size: 54.33 MiB
Net Upgrade Size: 0.30 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages...
gsettings-desktop-s... 442.3 KiB 5.40M/s 00:00 [######################] 100%
glib-networking-2.4... 81.5 KiB 7.96M/s 00:00 [######################] 100%
harfbuzz-1.2.6-1-armv6h 276.7 KiB 6.76M/s 00:00 [######################] 100%
libxml2-2.9.3-2-armv6h 1129.9 KiB 5.81M/s 00:00 [######################] 100%
libsoup-2.54.0.1-1-... 481.1 KiB 6.71M/s 00:00 [######################] 100%
mesa-11.2.0-1-armv6h 3.3 MiB 6.85M/s 00:00 [######################] 100%
error: failed retrieving file 'mesa-libgl-11.2.0-1-armv6h.pkg.tar.xz' from mirror.archlinuxarm.org : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.
[daviljoe193@rpi-arch ~]$ sudo pacman -Suyy glib-networking gsettings-desktop-schemas harfbuzz glib2 libsoup libxml2 mesa
:: Synchronizing package databases...
core 169.2 KiB 736K/s 00:00 [######################] 100%
extra 2.3 MiB 1151K/s 00:02 [######################] 100%
community 3.4 MiB 2.54M/s 00:01 [######################] 100%
alarm 36.6 KiB 0.00B/s 00:00 [######################] 100%
aur 30.0 KiB 0.00B/s 00:00 [######################] 100%
warning: glib2-2.48.0-1 is up to date -- reinstalling
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (8) mesa-libgl-11.2.0-1 glib-networking-2.48.0-1 glib2-2.48.0-1
gsettings-desktop-schemas-3.20.0-1 harfbuzz-1.2.6-1
libsoup-2.54.0.1-1 libxml2-2.9.3-2 mesa-11.2.0-1

Total Download Size: 0.00 MiB
Total Installed Size: 54.33 MiB
Net Upgrade Size: 0.30 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages...
mesa-libgl-11.2.0-1... 4.7 KiB 234K/s 00:00 [######################] 100%
(8/8) checking keys in keyring [######################] 100%
(8/8) checking package integrity [######################] 100%
(8/8) loading package files [######################] 100%
(8/8) checking for file conflicts [######################] 100%
error: failed to commit transaction (conflicting files)
/usr/lib/pkgconfig/dri.pc exists in both 'mesa' and 'mesa-libgl'
/usr/lib/pkgconfig/gbm.pc exists in both 'mesa' and 'mesa-libgl'
/usr/lib/pkgconfig/osmesa.pc exists in both 'mesa' and 'mesa-libgl'
/usr/lib/pkgconfig/wayland-egl.pc exists in both 'mesa' and 'mesa-libgl'
Errors occurred, no packages were upgraded.')

EDIT: Fixed spelling errors.
REPOST: Scrolled down a bit too far, and accidentally posted in the ARMv6 hardware section instead of the ARMv6 software section.
Last edited by Daviljoe193 on Mon Apr 11, 2016 11:05 pm, edited 1 time in total.
Daviljoe193
 
Posts: 9
Joined: Fri Feb 19, 2016 10:05 pm

Re: File conflict after failed upgrade

Postby ivanhoe1024 » Sun Apr 10, 2016 5:14 pm

Hi there, I have the same problem... But mesa is requested by mesa-libgl, so it is supposed to have them both installed...
ivanhoe1024
 
Posts: 17
Joined: Mon Mar 03, 2014 10:12 pm

Re: File conflict after failed upgrade

Postby ivanhoe1024 » Sun Apr 10, 2016 6:04 pm

I asked on the IRC channel, the issue is known and already in the process of being fixed!

Yay for the ALARM developers! :D :D
ivanhoe1024
 
Posts: 17
Joined: Mon Mar 03, 2014 10:12 pm

Re: File conflict after failed upgrade

Postby Daviljoe193 » Sun Apr 10, 2016 6:58 pm

@ivanhoe1024 Woo! I'll just hold off upgrading my Pi 2 until the issue is resolved. Awesome to know it's getting worked on.
Daviljoe193
 
Posts: 9
Joined: Fri Feb 19, 2016 10:05 pm

Re: File conflict after failed upgrade

Postby Daviljoe193 » Mon Apr 11, 2016 11:05 pm

@ivanhoe1024 And after running the same pacman -Suyy with packages command (Ran it a few minutes before posting), everything installed without issue. Solved! Major thanks to ivanhoe1024, and of course, the ALARM devs. :D
$this->bbcode_second_pass_code('', '[daviljoe193@rpi-arch ~]$ sudo pacman -Suyy glib-networking gsettings-desktop-schemas harfbuzz glib2 libsoup libxml2 mesa
[sudo] password for daviljoe193:
:: Synchronizing package databases...
core 169.2 KiB 1128K/s 00:00 [######################] 100%
extra 2.3 MiB 992K/s 00:02 [######################] 100%
community 3.4 MiB 3.04M/s 00:01 [######################] 100%
alarm 36.6 KiB 0.00B/s 00:00 [######################] 100%
aur 30.0 KiB 0.00B/s 00:00 [######################] 100%
warning: glib2-2.48.0-1 is up to date -- reinstalling
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (11) fontconfig-2.11.95-1 mesa-libgl-11.2.0-1.1
python-setuptools-1:20.7.0-1 sqlite-3.12.1-1
glib-networking-2.48.0-1 glib2-2.48.0-1
gsettings-desktop-schemas-3.20.0-1 harfbuzz-1.2.6-1
libsoup-2.54.0.1-1 libxml2-2.9.3-2 mesa-11.2.0-1.1

Total Download Size: 5.15 MiB
Total Installed Size: 63.61 MiB
Net Upgrade Size: 0.31 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages...
sqlite-3.12.1-1-armv6h 926.0 KiB 1172K/s 00:01 [######################] 100%
mesa-11.2.0-1.1-armv6h 3.2 MiB 2.11M/s 00:02 [######################] 100%
fontconfig-2.11.95-... 784.2 KiB 6.38M/s 00:00 [######################] 100%
mesa-libgl-11.2.0-1... 5.8 KiB 0.00B/s 00:00 [######################] 100%
python-setuptools-1... 227.8 KiB 7.41M/s 00:00 [######################] 100%
(11/11) checking keys in keyring [######################] 100%
(11/11) checking package integrity [######################] 100%
(11/11) loading package files [######################] 100%
(11/11) checking for file conflicts [######################] 100%
(11/11) checking available disk space [######################] 100%
:: Processing package changes...
( 1/11) reinstalling glib2 [######################] 100%
( 2/11) upgrading gsettings-desktop-schemas [######################] 100%
( 3/11) upgrading glib-networking [######################] 100%
( 4/11) upgrading harfbuzz [######################] 100%
( 5/11) upgrading libxml2 [######################] 100%
( 6/11) upgrading sqlite [######################] 100%
( 7/11) upgrading libsoup [######################] 100%
( 8/11) upgrading mesa [######################] 100%
( 9/11) upgrading fontconfig [######################] 100%
updating font cache... done.
(10/11) upgrading mesa-libgl [######################] 100%
(11/11) upgrading python-setuptools [######################] 100%')
Daviljoe193
 
Posts: 9
Joined: Fri Feb 19, 2016 10:05 pm


Return to ARMv6h

Who is online

Users browsing this forum: No registered users and 5 guests

cron