Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Upgrade problem with 5.20 on Xenial

Featured Replies

Hi,

 

I have received an upgrade notification.

While applying changes, I received this message for 1 package (out of 5).

 

(Reading database ... 73767 files and directories currently installed.)
Preparing to unpack .../armbian-tools-xenial_5.20_armhf.deb ...
Unpacking armbian-tools-xenial (5.20) over (5.14) ...
dpkg: error processing archive /var/cache/apt/archives/armbian-tools-xenial_5.20_armhf.deb (--unpack):
 trying to overwrite '/etc/init.d/brcm40183-patch', which is also in package linux-xenial-root-orangepilite 5.16
Processing triggers for systemd (229-4ubuntu8) ...
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
 /var/cache/apt/archives/armbian-tools-xenial_5.20_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

 

Now, I have 4 packages partially installed and one not installed.

 

I have not rebooted the device.

What should I do?

 

Note: It is on an Orange Pi Lite.

 

Thanks in advance for your help.

 

Jean-Dominique.

I would give 'sudo apt-get install -f' a try and then reboot (see also this)

 
 
SOLVED !!!
 
after dist-upgrade and before of reboot :
 
sudo apt-get install -f
 
be happy
 
thanks to
 
Igor and tkaiser
  • Author

Thanks for the answer. But I still have an error.

 

root@orangepilite:~# sudo apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up armbian-firmware (5.20) ...
Setting up linux-headers-sun8i (5.20) ...
Compiling headers - please wait ...
Setting up linux-image-sun8i (5.20) ...
update-initramfs: Generating /boot/initrd.img-3.4.112-sun8i
Setting up linux-u-boot-orangepilite-default (5.20) ...

 

root@orangepilite:~# apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  armbian-tools-xenial
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/15,2 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 73767 files and directories currently installed.)
Preparing to unpack .../armbian-tools-xenial_5.20_armhf.deb ...
Unpacking armbian-tools-xenial (5.20) over (5.14) ...
dpkg: error processing archive /var/cache/apt/archives/armbian-tools-xenial_5.20_armhf.deb (--unpack):
 trying to overwrite '/etc/init.d/brcm40183-patch', which is also in package linux-xenial-root-orangepilite 5.16
Processing triggers for systemd (229-4ubuntu8) ...
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
 /var/cache/apt/archives/armbian-tools-xenial_5.20_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

 

Still not yet rebooted

  • Author

Thanks for this second response. Something has changed, because we get "which is also in... xenial 5.20" instead of "... pilite 5.16".

But I still get an error.

Also, I wonder why we receive a "get .... pilite 5.16" instead of "pilite 5.20". Are you sure that the correct version is available?

 

root@orangepilite:~# dpkg -r linux-xenial-root-orangepilite
(Reading database ... 73767 files and directories currently installed.)
Removing linux-xenial-root-orangepilite (5.16) ...
Processing triggers for initramfs-tools (0.122ubuntu8.1) ...
update-initramfs: Generating /boot/initrd.img-3.4.112-sun8i
Processing triggers for systemd (229-4ubuntu8) ...
Processing triggers for ureadahead (0.100.0-19) ...
root@orangepilite:~# apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
root@orangepilite:~# apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  armbian-tools-xenial
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/15,2 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 73684 files and directories currently installed.)
Preparing to unpack .../armbian-tools-xenial_5.20_armhf.deb ...
Unpacking armbian-tools-xenial (5.20) over (5.14) ...
Processing triggers for systemd (229-4ubuntu8) ...
Processing triggers for ureadahead (0.100.0-19) ...
Setting up armbian-tools-xenial (5.20) ...
root@orangepilite:~# apt-get install linux-xenial-root-orangepilite
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  linux-xenial-root-orangepilite
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 372 kB of archives.
After this operation, 1 024 B of additional disk space will be used.
Get:1 http://apt.armbian.comxenial/main armhf linux-xenial-root-orangepilite armhf 5.16 [372 kB]
Fetched 372 kB in 0s (400 kB/s)                         
Selecting previously unselected package linux-xenial-root-orangepilite.
(Reading database ... 73678 files and directories currently installed.)
Preparing to unpack .../linux-xenial-root-orangepilite_5.16_armhf.deb ...
Unpacking linux-xenial-root-orangepilite (5.16) ...
dpkg: error processing archive /var/cache/apt/archives/linux-xenial-root-orangepilite_5.16_armhf.deb (--unpack):
 trying to overwrite '/etc/default/brcm40183', which is also in package armbian-tools-xenial 5.20
Processing triggers for initramfs-tools (0.122ubuntu8.1) ...
update-initramfs: Generating /boot/initrd.img-3.4.112-sun8i
Errors were encountered while processing:
 /var/cache/apt/archives/linux-xenial-root-orangepilite_5.16_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

 

Device still not rebooted.

  • Author

Far better with 5.20 :) :

root@orangepilite:~# apt-get --reinstall install linux-xenial-root-orangepilite
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  linux-xenial-root-orangepilite
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 360 kB of archives.
After this operation, 1 024 B of additional disk space will be used.
Get:1 http://apt.armbian.comxenial/main armhf linux-xenial-root-orangepilite armhf 5.20 [360 kB]
Fetched 360 kB in 2s (131 kB/s)
(Reading database ... 73678 files and directories currently installed.)
Preparing to unpack .../linux-xenial-root-orangepilite_5.20_armhf.deb ...
Unpacking linux-xenial-root-orangepilite (5.20) ...
Processing triggers for initramfs-tools (0.122ubuntu8.1) ...
update-initramfs: Generating /boot/initrd.img-3.4.112-sun8i
Processing triggers for systemd (229-4ubuntu8) ...
Processing triggers for ureadahead (0.100.0-19) ...
Setting up linux-xenial-root-orangepilite (5.20) ...
Processing triggers for initramfs-tools (0.122ubuntu8.1) ...
update-initramfs: Generating /boot/initrd.img-3.4.112-sun8i

 

Rebooted. OK.

 

Thanks x N… You can close the topic.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.