data Posted February 2, 2019 Posted February 2, 2019 When trying to upgrade, I get the following error: root@orangepilite2:~# apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: armbian-firmware 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/5,755 kB of archives. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] (Reading database ... 38292 files and directories currently installed.) Preparing to unpack .../armbian-firmware_5.74.190202_all.deb ... Unpacking armbian-firmware (5.74.190202) over (5.72.190122) ... dpkg: error processing archive /var/cache/apt/archives/armbian-firmware_5.74.190202_all.deb (--unpack): trying to overwrite '/lib/firmware/regulatory.db', which is also in package wireless-regdb 2018.05.09-0ubuntu1~18.04.1 dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/armbian-firmware_5.74.190202_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1) root@orangepilite2:~# So it seems there is a duplicate regulatory.db - in the firmware as well as in wireless-regdb
sfx2000 Posted February 2, 2019 Posted February 2, 2019 in the ubuntu repo's, there's the wireless-crda package
data Posted February 3, 2019 Author Posted February 3, 2019 Well, yes. I just wanted to know which one should be kept. So after removing by apt remove wireless-regdb I could install armbian-firmware
guidol Posted February 3, 2019 Posted February 3, 2019 15 hours ago, sfx2000 said: in the ubuntu repo's, there's the wireless-crda package in the debian image it was missing and @igor added it with a commit:
Igor Posted February 3, 2019 Posted February 3, 2019 This should do https://github.com/armbian/build/commit/0ec0f39aaa2350e8ae40a3d130cba20c2168f84a
Recommended Posts