File conflicts while upgrading linux-raspberrypi on Rpi2

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

File conflicts while upgrading linux-raspberrypi on Rpi2

Postby enricostn » Thu Jun 23, 2016 10:21 am

Hi, I'm getting the following errors while upgrading.

I found this issue that seems related https://archlinuxarm.org/forum/viewtopic.php?f=31&t=7009&p=38594&hilit=conflicting+files+linux+raspberrypi#p38594

But the solution doesn't feel right to me, why should I need --force?

Would be nice to better understand the issue and spot the real problem. Any help/hint?

Thanks!

$this->bbcode_second_pass_code('', '
$ sudo pacman -Syu
[sudo] password for moo:
:: Synchronizing package databases...
core is up to date
extra is up to date
community 3.5 MiB 893K/s 00:04 [############################################################################] 100%
alarm is up to date
aur is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (3) linux-api-headers-4.5.5-1 linux-firmware-20160516.80d463b-1 linux-raspberrypi-4.4.13-2

Total Installed Size: 169.10 MiB
Net Upgrade Size: 31.09 MiB

:: Proceed with installation? [Y/n]
(3/3) checking keys in keyring [############################################################################] 100%
(3/3) checking package integrity [############################################################################] 100%
(3/3) loading package files [############################################################################] 100%
(3/3) checking for file conflicts [############################################################################] 100%
error: failed to commit transaction (conflicting files)
linux-raspberrypi: /boot/bcm2708-rpi-b-plus.dtb exists in filesystem
linux-raspberrypi: /boot/bcm2708-rpi-b.dtb exists in filesystem
linux-raspberrypi: /boot/bcm2708-rpi-cm.dtb exists in filesystem
linux-raspberrypi: /boot/kernel.img exists in filesystem
linux-raspberrypi: /boot/overlays/README exists in filesystem
linux-raspberrypi: /boot/overlays/ads7846.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/akkordion-iqdacplus.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/at86rf233.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/bmp085_i2c-sensor.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/dht11.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/dpi24.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/dwc-otg.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/dwc2.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/enc28j60.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/gpio-ir.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/gpio-poweroff.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/hifiberry-amp.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/hifiberry-dac.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/hifiberry-dacplus.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/hifiberry-digi.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/hy28a.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/hy28b.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/i2c-gpio.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/i2c-pwm-pca9685a.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/i2c-rtc.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/i2c0-bcm2708.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/i2c1-bcm2708.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/i2s-gpio28-31.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/i2s-mmap.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/iqaudio-dac.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/iqaudio-dacplus.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/lirc-rpi.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/mcp2515-can0.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/mcp2515-can1.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/mmc.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/mz61581.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/pi3-act-led.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/pi3-disable-bt.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/pi3-miniuart-bt.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/piscreen.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/piscreen2r.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/pitft22.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/pitft28-capacitive.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/pitft28-resistive.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/pps-gpio.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/pwm-2chan.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/pwm.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/qca7000.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/raspidac3.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/rpi-backlight.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/rpi-dac.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/rpi-display.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/rpi-ft5406.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/rpi-proto.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/rpi-sense.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/sdhost.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/sdio-1bit.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/sdio.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/sdtweak.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/smi-dev.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/smi-nand.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/smi.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/spi-gpio35-39.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/spi1-1cs.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/spi1-2cs.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/spi1-3cs.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/spi2-1cs.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/spi2-2cs.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/spi2-3cs.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/tinylcd35.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/uart1.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/vc4-kms-v3d.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/vga666.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/w1-gpio-pullup.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/w1-gpio.dtbo exists in filesystem
linux-raspberrypi: /boot/overlays/wittypi.dtbo exists in filesystem
Errors occurred, no packages were upgraded.
')
enricostn
 
Posts: 3
Joined: Thu Jun 23, 2016 8:44 am

Re: File conflicts while upgrading linux-raspberrypi on Rpi2

Postby cmsigler » Thu Jun 23, 2016 10:09 pm

Hi,

Been using Arch for a long time, but input from a true greybeard is always good.... WarheadsSE's instructions seem reasonable to me.

$this->bbcode_second_pass_code('', '$ pacman -Qo /boot/kernel.img')
shows "linux-raspberrypi" is the owner, and the same for all the other files??? (Mind you, I didn't realize pacman would complain about an old or mismatched file version/checksum/whatever installed in the file system.)

If so, using "--force" is OK if you are careful to follow all the instructions of WarheadsSE in that thread. HTH.

Clemmitt
- Raspberry Pi 3
- Odroid-C2
- Raspberry Pi Zero
cmsigler
 
Posts: 37
Joined: Wed May 25, 2016 6:01 pm


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 10 guests