Jump to content

upgrade xenial to bionic on orange pi pc


caro3

Recommended Posts

Hi,

I tried the release upgrade from xenial to bionic on the orange pi pc.

Commands:

sudo apt install update-manager-core
sudo do-release-upgrade

But the upgrade failed:

 

orange@orangepipc:~$ sudo apt install -f
Reading package lists... Done
Building aml-0-2 lp-solve python3-lxml python3-pycurl
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 512 not upgraded.
orange@orangepipc:~$ sudo apt update && sudo apt dist-upgrade && sudo apt autoremove && sudo apt autoclean  
Hit:1 http://ports.ubuntu.com bionic InRelease
Hit:2 http://ports.ubuntu.com bionic-security InRelease
Hit:3 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:4 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:5 http://ports.ubuntu.com bionic-updates InRelease                  
Get:6 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74,6 kB]
Hit:7 http://ports.ubuntu.com bionic-backports InRelease                            
Fetched 74,6 kB in 4s (17,3 kB/s)                                                   
Error: Timeout was reached
Reading package lists... Done
Building dependency tree       
Reading state information... Done
512 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  alsa-base breeze-icon-theme docbook-xml docbook-xsl evolution-data-server-common fonts-freefont-ttf g++-5 gcj-5-jre-lib gdebi-core gir1.2-gnomekeyring-1.0 gir1.2-javascriptcoregtk-3.0 gir1.2-soup-2.4
  gir1.2-webkit-3.0 gnome-icon-theme-symbolic gsettings-ubuntu-schemas gtk3-engines-unico imagemagick-common indicator-common indicator-sound indicator-sound-gtk2 inputattach kate-data katepart kde-runtime
  kde-runtime-data kde-style-breeze kde-style-breeze-qt4 kdelibs-bin kdelibs5-data kdelibs5-plugins kdoctools kwayland-data libasprintf0v5 libass5 libattica0.4 libaudio2 libavcodec-ffmpeg56 libavdevice-ffmpeg56
  libavfilter-ffmpeg5 libavformat-ffmpeg56 libavresample-ffmpeg2 libavutil-ffmpeg54 libbind9-140 libbluray1 libboost-date-time1.58.0 libboost-iostreams1.58.0 libboost-python1.58.0 libcamel-1.2-54
  libcamel-1.2-61 libcapnp-0.5.3 libcapnp-0.6.1 libcdio-cdda1 libcdio-paranoia1 libcdio13 libck-connector0 libcolamd2 libcolamd2.9.1 libdbusmenu-qt2 libdlrestrictions1 libdns162 libebackend-1.2-10
  libebook-1.2-16 libebook-contacts-1.2-2 libedata-book-1.2-25 libedataserver-1.2-21 libedataserver-1.2-23 libenca0 libevent-2.0-5 libgcj-common libgcj16 libgdbm3 libgee-0.8-2 libgeoclue0 libglew1.13
  libgnome2-0 libgnome2-bin libgpgme++2v5 libguess1 libhunspell-1.3-0 libical1a libicu55 libido-0.1-0 libido3-0.1-0 libilmbase12 libindicator7 libisc160 libisccc140 libisccfg140 libjasper1
  libjavascriptcoregtk-3.0-0 libkactivities6 libkatepartinterfaces4 libkcmutils4 libkde3support4 libkdeclarative5 libkdecore5 libkdesu5 libkdeui5 libkdewebkit5 libkdnssd4 libkemoticons4 libkexiv2-11v5
  libkexiv2-data libkf5style5 libkf5waylandclient5 libkfile4 libkhtml5 libkio5 libkjsapi4 libkjsembed4 libkmediaplayer4 libknewstuff3-4 libknotifyconfig4 libkntlm4 libkparts4 libkprintutils4 libkpty4
  libkrosscore4 libktexteditor4 libkxmlrpcclient4 liblwres141 libmate-menu2 libmirclient9 libmircommon7 libmircore1 libmirprotobuf3 libmng2 libmodplug1 libmpfr4 libnm-glib-vpn1 libnm-glib4 libnm-gtk-common
  libnm-gtk0 libnm-util2 libnma-common libntrack-qt4-1 libntrack0 libokularcore7 libopencv-core2.4v5 libopencv-imgproc2.4v5 libopenexr22 libopenjpeg5 libpackagekit-glib2-16 libpcre16-3 libphonenumber7
  libphonon4 libplasma3 libpolkit-qt-1-1 libpoppler-qt4-4 libpoppler58 libpostproc-ffmpeg53 libprotobuf-lite9v5 libprotobuf10 libpython3.5 libqca2 libqimageblitz4 libqmobipocket1 libqt4-dbus libqt4-declarative
  libqt4-designer libqt4-network libqt4-opengl libqt4-qt3support libqt4-script libqt4-sql libqt4-svg libqt4-xml libqt4-xmlpatterns libqtcore4 libqtdbus4 libqtgui4 libqtwebkit4 libraw15 libschroedinger-1.0-0
  libsodium18 libsolid4 libstdc++-5-dev libstreamanalyzer0v5 libstreams0v5 libsuitesparseconfig4.4.6 libsuitesparseconfig5 libswresample-ffmpeg1 libswscale-ffmpeg3 libthreadweaver4 liburl-dispatcher1
  libva-wayland1 libva-x11-1 libva1 libvpx3 libwebkitgtk-3.0-0 libwebp5 libwebpdemux1 libwebrtc-audio-processing-0 libx264-148 libx265-79 libxapian22v5 libxfont1 libxml2-utils linux-sound-base lp-solve
  lubuntu-artwork-16-04 mate-menus ntrack-module-libnl-0 oxygen5-icon-theme phonon phonon-backend-gstreamer phonon-backend-gstreamer-common plasma-scriptengine-javascript printer-driver-pnm2ppa python-mate-menu
  python3-debian python3-lxml python3-packagekit python3-polib python3-pycurl python3-xkit qdbus qtchooser qtcore4-l10n sgml-base sgml-data ubuntu-drivers-common xml-core zlib1g-dev
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  packagekit-backend-aptcc
The following NEW packages will be installed:
  apport apport-gtk brasero-common btrfs-progs cpp-7 dvd+rw-tools fonts-ubuntu g++-7 gcc-7 gcc-7-base gdisk gir1.2-wnck-3.0 gnome-desktop3-data growisofs indicator-common kinit kio kpackagetool5 kwayland-data
  liba52-0.7.4 libaa1 libaccounts-glib0 libaccounts-qt5-1 libaio1 libaribb24-0 libasan4 libbasicusageenvironment1 libblockdev-fs2 libblockdev-loop2 libblockdev-part-err2 libblockdev-part2 libblockdev-swap2
  libblockdev-utils2 libblockdev2 libboost-python1.65.1 libbrasero-media3-1 libburn4 libcamel-1.2-61 libcapnp-0.6.1 libcddb2 libcilkrts5 libcolamd2 libdbusmenu-qt5-2 libdca0 libdee-1.0-4 libdvbpsi10 libebml4v5
  libedataserver-1.2-23 libevent-2.1-6 libexo-2-0 libfaad2 libfastjson4 libgcc-7-dev libgmime-3.0-0 libgnome-desktop-3-17 libgnomekbd-common libgnomekbd8 libgpgme++2v5 libgroupsock8 libgtop-2.0-11 libip6tc0
  libiptc0 libirs160 libisl19 libisofs6 libjte1 libkaccounts1 libkate1 libkf5activities5 libkf5archive5 libkf5attica5 libkf5bookmarks-data libkf5bookmarks5 libkf5completion-data libkf5completion5 libkf5crash5
  libkf5dbusaddons-data libkf5dbusaddons5 libkf5declarative-data libkf5declarative5 libkf5doctools5 libkf5globalaccel-data libkf5globalaccel5 libkf5jobwidgets-data libkf5jobwidgets5 libkf5js5 libkf5jsapi5
  libkf5kexiv2-15.0.0 libkf5kiocore5 libkf5kiontlm5 libkf5kiowidgets5 libkf5notifications-data libkf5notifications5 libkf5package-data libkf5package5 libkf5parts-data libkf5parts5 libkf5pty-data libkf5pty5
  libkf5purpose-bin libkf5purpose5 libkf5quickaddons5 libkf5service-bin libkf5service-data libkf5service5 libkf5solid5 libkf5solid5-data libkf5sonnet5-data libkf5sonnetcore5 libkf5sonnetui5
  libkf5textwidgets-data libkf5textwidgets5 libkf5threadweaver5 libkf5wallet-bin libkf5wallet-data libkf5wallet5 libkf5waylandclient5 libkf5xmlgui-bin libkf5xmlgui-data libkf5xmlgui5 libkwalletbackend5-5
  liblirc-client0 liblivemedia62 libluajit-5.1-2 libluajit-5.1-common libmad0 libmagic-mgc libmarkdown2 libmatroska6v5 libmicrodns0 libmpcdec6 libmpeg2-4 libmpfr6 libnautilus-extension1a libnfs11 libntfs-3g88
  libokular5core8 libopenmpt-modplug1 libparted-fs-resize0 libphonenumber7 libphonon4qt5-4 libplacebo4 libpoppler-qt5-1 libpq5 libprotobuf-lite10 libprotobuf10 libqca-qt5-2 libqmobipocket2 libqt5printsupport5
  libqt5qml5 libqt5quick5 libqt5texttospeech5 libraw16 libresid-builder0c2a libsdl-image1.2 libshout3 libsidplay2 libsignon-qt5-1 libssh2-1 libstdc++-7-dev libsuitesparseconfig5 libteamdctl0
  libtotem-plparser-common libtotem-plparser18 libunique-1.0-0 libunity-protocol-private0 libunity-scopes-json-def-desktop libunity9 libupnp6 libusageenvironment3 libvlc5 libvlccore9 libvulkan1 libwnck-3-0
  libwnck-3-common libxapp1 libxcb-xv0 libxtables12 lubuntu-artwork-18-04 lxhotkey-core lxhotkey-gtk mate-polkit mate-polkit-common netplan.io nplan openbox-lxde-session phonon4qt5 phonon4qt5-backend-vlc
  powermgmt-base python-mate-menu python3-apport python3-asn1crypto python3-cffi-backend python3-cryptography python3-distro-info python3-httplib2 python3-keyring python3-launchpadlib python3-lazr.restfulclient
  python3-lazr.uri python3-oauth python3-problem-report python3-requests-unixsocket python3-secretstorage python3-simplejson python3-wadllib python3-yaml python3-zope.interface
  qml-module-org-kde-kquickcontrolsaddons qml-module-qtquick-dialogs qml-module-qtquick-privatewidgets qml-module-qtquick2 qml-module-ubuntu-onlineaccounts qtdeclarative5-qtquick2-plugin ubuntu-advantage-tools
  vlc-data vlc-plugin-base vlc-plugin-video-output xapps-common xserver-xorg-input-libinput xserver-xorg-video-qxl xxd
The following packages will be upgraded:
  accountsservice alsa-utils anacron autoconf automake autotools-dev avahi-autoipd binfmt-support bluez-tools breeze-icon-theme bridge-utils btrfs-tools build-essential chromium-browser
  chromium-codecs-ffmpeg-extra cinnamon-desktop-data command-not-found command-not-found-data cpp cpp-5 cpufrequtils crda cups-pk-helper desktop-file-utils device-tree-compiler dialog dnsmasq-base dnsutils
  docbook-xml docbook-xsl dosfstools eject ethtool evince evince-common evolution-data-server-common evtest exo-utils expect f2fs-tools f3 fake-hwclock fbi fbset figlet file firefox fonts-freefont-ttf fping
  fuse g++ g++-5 galculator gawk gcc gcc-5 gcc-5-base gcc-6-base gdebi-core geany geany-common genisoimage gettext-base gir1.2-javascriptcoregtk-3.0 gir1.2-soup-2.4 gir1.2-webkit-3.0 gnome-keyring gpicview
  groff-base gsettings-ubuntu-schemas gsfonts gstreamer1.0-plugins-base gstreamer1.0-pulseaudio gthumb gthumb-data gtk2-engines gtk2-engines-murrine gtk2-engines-xfce gvfs gvfs-backends gvfs-common gvfs-daemons
  gvfs-fuse gvfs-libs haveged hddtemp hdparm hexchat hexchat-common hostapd html2text htop ifenslave im-config indicator-sound indicator-sound-gtk2 inputattach inxi iotop iozone3 iperf3 iptables iputils-arping
  iputils-ping isc-dhcp-common iw kate-data katepart kde-runtime kde-runtime-data kde-style-breeze kde-style-breeze-qt4 kdelibs-bin kdelibs5-data kdelibs5-plugins kdoctools keyutils language-pack-de
  language-pack-de-base language-selector-common language-selector-gnome laptop-detect leafpad less libaccountsservice0 libarchive13 libasan2 libasprintf0v5 libatasmart4 libatkmm-1.6-1v5 libatm1 libatomic1
  libcairomm-1.0-1v5 libcanberra-gtk0 libcanberra-gtk3-0 libcc1-0 libcdparanoia0 libcinnamon-desktop4 libclutter-1.0-0 libclutter-gtk-1.0-0 libcogl-pango20 libcogl-path20 libcpufreq0 libdbusmenu-gtk4
  libdbusmenu-qt2 libdjvulibre-text libdjvulibre21 libdlrestrictions1 libebackend-1.2-10 libebook-contacts-1.2-2 libedata-book-1.2-25 libenca0 libestr0 libevdocument3-4 libevview3-3 libexempi3 libexiv2-14
  libexo-1-0 libexo-common libexo-helpers libf2fs0 libfam0 libfftw3-single3 libfm-data libfm-extra4 libfm-gtk-data libfm-gtk4 libfm-modules libfm4 libfuse2 libgarcon-1-0 libgarcon-common libgcc-5-dev
  libgconfmm-2.6-1v5 libgdata-common libgdata22 libgee-0.8-2 libgeoclue0 libgimp2.0 libglibmm-2.4-1v5 libgoa-1.0-0b libgoa-1.0-common libgpm2 libgtkmm-2.4-1v5 libgtkmm-3.0-1v5 libgtop2-common libgxps2
  libhavege1 libido3-0.1-0 libimobiledevice6 libindicator7 libiperf0 libisl15 libiw30 libjpeg-turbo8 libkactivities6 libkatepartinterfaces4 libkcmutils4 libkde3support4 libkdeclarative5 libkdecore5 libkdesu5
  libkdeui5 libkdewebkit5 libkdnssd4 libkemoticons4 libkeybinder-3.0-0 libkf5auth-data libkf5auth5 libkf5codecs-data libkf5codecs5 libkf5config-data libkf5configcore5 libkf5configgui5 libkf5configwidgets-data
  libkf5configwidgets5 libkf5coreaddons-data libkf5coreaddons5 libkf5guiaddons5 libkf5i18n-data libkf5i18n5 libkf5iconthemes-data libkf5iconthemes5 libkf5itemviews-data libkf5itemviews5 libkf5style5
  libkf5widgetsaddons-data libkf5widgetsaddons5 libkf5windowsystem-data libkf5windowsystem5 libkfile4 libkhtml5 libkio5 libkjsapi4 libkjsembed4 libkmediaplayer4 libknewstuff3-4 libknotifyconfig4 libkntlm4
  libkparts4 libkpathsea6 libkprintutils4 libkpty4 libkrosscore4 libktexteditor4 libkxmlrpcclient4 libleveldb1v5 liblightdm-gobject-1-0 libmagic1 libmate-desktop-2-17 libmate-menu2 libmate-panel-applet-4-1
  libmatedict6 libmatekbd-common libmatekbd4 libmatemixer-common libmatemixer0 libmenu-cache-bin libmenu-cache3 libmirclient9 libmircommon7 libmircore1 libmirprotobuf3 libmm-glib0 libmodplug1 libmpc3
  libmtp-common libmtp9 libmysqlclient20 libndp0 libnemo-extension1 libnetfilter-conntrack3 libnewt0.52 libnfsidmap2 libnih1 libnl-3-200 libnl-3-dev libnl-genl-3-200 libnl-genl-3-dev libnl-route-3-200
  libnm-glib-vpn1 libnm-glib4 libnm-gtk0 libnm-util2 libnm0 libnma0 libnotify-bin liboauth0 libopenexr22 libopts25 libpam-gnome-keyring libpangomm-1.4-1v5 libparted2 libpci3 libpcre16-3 libpcsclite1 libphonon4
  libpipeline1 libpkcs11-helper1 libplasma3 libplist3 libplymouth4 libpolkit-qt-1-1 libpolkit-qt5-1-1 libpoppler-glib8 libqca2 libqimageblitz4 libqtwebkit4 libsasl2-modules libsdl1.2debian libsigsegv2 libsolid4
  libspectre1 libss2 libssl-dev libssl1.0.0 libstdc++-5-dev libstreamanalyzer0v5 libstreams0v5 libsysfs2 libtag1v5 libtag1v5-vanilla libtcl8.6 libthreadweaver4 libthunarx-2-0 libtirpc1 libubsan0 libudisks2-0
  libunity-api0 libupower-glib3 liburl-dispatcher1 libusb-0.1-4 libusbmuxd4 libustr-1.0-1 libvisual-0.4-0 libvte-common libvte9 libwnck-common libwnck22 libxfce4ui-1-0 libxfce4ui-utils libxklavier16
  libxml2-utils libxres1 lightdm lightdm-gtk-greeter linux-firmware linux-libc-dev logrotate lp-solve lubuntu-artwork lubuntu-artwork-16-04 lubuntu-core lubuntu-default-settings lubuntu-lxpanel-icons
  lxappearance lxde lxde-common lxde-core lxde-icon-theme lxdm lxmenu-data lxpanel lxpanel-data lxsession lxsession-data lxsession-edit lxsession-logout lxtask lxterminal m4 man-db mate-desktop-common
  mate-menus mate-settings-daemon mate-settings-daemon-common mate-utils mate-utils-common mawk multiarch-support mysql-common nano ncurses-term nemo nemo-data net-tools netcat-openbsd network-manager
  network-manager-gnome network-manager-openvpn network-manager-openvpn-gnome nfs-common nodm ntfs-3g ntp okular openssh-client openssh-server openssh-sftp-server openvpn orage oxygen-icon-theme
  oxygen5-icon-theme p11-kit packagekit paprefs parted pasystray pavucontrol pavumeter pciutils pcmanfm phonon phonon-backend-gstreamer phonon-backend-gstreamer-common plasma-scriptengine-javascript plymouth
  plymouth-label plymouth-theme-lubuntu-logo plymouth-theme-lubuntu-text plymouth-theme-ubuntu-text policykit-1 policykit-1-gnome printer-driver-pnm2ppa profile-sync-daemon pv python-cairo python-gi
  python-gobject python-gobject-2 python-gtk2 python-pyexiv2 python3-commandnotfound python3-debian python3-distupgrade python3-polib python3-update-manager qemu-user resolvconf rfkill rpcbind rsync rsyslog
  screen sgml-base stress sudo sysbench sysfsutils sysstat tcl-expect thunar thunar-data thunderbird toilet toilet-fonts ttf-ubuntu-font-family u-boot-tools ubuntu-drivers-common ubuntu-mate-welcome
  ubuntu-minimal ubuntu-release-upgrader-core udisks2 unattended-upgrades unicode-data unzip update-manager-core ureadahead usbutils vim vim-common vim-runtime vim-tiny vlan wget whiptail wireless-regdb
  wireless-tools wpasupplicant x11-apps x11-session-utils x11-xserver-utils xarchiver xauth xbacklight xdg-utils xfce4 xfce4-appfinder xfce4-panel xfce4-pulseaudio-plugin xfce4-session xfce4-settings
  xfce4-terminal xfdesktop4 xfdesktop4-data xfonts-utils xfwm4 xinetd xinit xinput xml-core xorg xorg-docs-core xournal xsane xsane-common xserver-xorg xserver-xorg-input-all xserver-xorg-video-all zenity
  zenity-common zip
512 upgraded, 222 newly installed, 1 to remove and 0 not upgraded.
Need to get 0 B/441 MB of archives.
After this operation, 200 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 126306 files and directories currently installed.)
Preparing to unpack .../policykit-1_0.105-20ubuntu0.18.04.1_armhf.deb ...
Failed to get properties: Connection timed out
dpkg: error processing archive /var/cache/apt/archives/policykit-1_0.105-20ubuntu0.18.04.1_armhf.deb (--unpack):
 new policykit-1 package pre-installation script subprocess returned error exit status 1
Failed to reload daemon: Failed to activate service 'org.freedesktop.systemd1': timed out
Errors were encountered while processing:
 /var/cache/apt/archives/policykit-1_0.105-20ubuntu0.18.04.1_armhf.deb
Error: Timeout was reached
E: Sub-process /usr/bin/dpkg returned an error code (1)
orange@orangepipc:~$ sudo systemctl restart systemd-logind
Failed to restart systemd-logind.service: Connection timed out
See system logs and 'systemctl status systemd-logind.service' for details.
orange@orangepipc:~$ 

 

The apt upgrade returned an error ...

 

orange@orangepipc:~$ sudo apt install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  alsa-base breeze-icon-theme docbook-xml docbook-xsl evolution-data-server-common fonts-freefont-ttf g++-5 gcj-5-jre-lib gir1.2-gnomekeyring-1.0 gir1.2-javascriptcoregtk-3.0 gir1.2-soup-2.4 gir1.2-webkit-3.0
  gnome-icon-theme-symbolic gsettings-ubuntu-schemas gtk3-engines-unico imagemagick-common indicator-common indicator-sound indicator-sound-gtk2 inputattach kate-data katepart kde-runtime kde-runtime-data
  kde-style-breeze kde-style-breeze-qt4 kdelibs-bin kdelibs5-data kdelibs5-plugins kdoctools kwayland-data libappstream4 libasprintf0v5 libass5 libattica0.4 libaudio2 libavcodec-ffmpeg56 libavdevice-ffmpeg56
  libavfilter-ffmpeg5 libavformat-ffmpeg56 libavresample-ffmpeg2 libavutil-ffmpeg54 libbind9-140 libbluray1 libboost-date-time1.58.0 libboost-iostreams1.58.0 libboost-python1.58.0 libcamel-1.2-54
  libcamel-1.2-61 libcapnp-0.5.3 libcapnp-0.6.1 libcdio-cdda1 libcdio-paranoia1 libcdio13 libck-connector0 libcolamd2 libcolamd2.9.1 libdbusmenu-qt2 libdlrestrictions1 libdns162 libebackend-1.2-10
  libebook-1.2-16 libebook-contacts-1.2-2 libedata-book-1.2-25 libedataserver-1.2-21 libedataserver-1.2-23 libenca0 libevent-2.0-5 libgcj-common libgcj16 libgdbm3 libgee-0.8-2 libgeoclue0 libglew1.13
  libgnome2-0 libgnome2-bin libgpgme++2v5 libguess1 libhunspell-1.3-0 libical1a libicu55 libido-0.1-0 libido3-0.1-0 libilmbase12 libindicator7 libisc160 libisccc140 libisccfg140 libjasper1
  libjavascriptcoregtk-3.0-0 libkactivities6 libkatepartinterfaces4 libkcmutils4 libkde3support4 libkdeclarative5 libkdecore5 libkdesu5 libkdeui5 libkdewebkit5 libkdnssd4 libkemoticons4 libkexiv2-11v5
  libkexiv2-data libkf5style5 libkf5waylandclient5 libkfile4 libkhtml5 libkio5 libkjsapi4 libkjsembed4 libkmediaplayer4 libknewstuff3-4 libknotifyconfig4 libkntlm4 libkparts4 libkprintutils4 libkpty4
  libkrosscore4 libktexteditor4 libkxmlrpcclient4 liblwres141 libmate-menu2 libmirclient9 libmircommon7 libmircore1 libmirprotobuf3 libmng2 libmodplug1 libmpfr4 libnm-glib-vpn1 libnm-glib4 libnm-gtk-common
  libnm-gtk0 libnm-util2 libnma-common libntrack-qt4-1 libntrack0 libokularcore7 libopencv-core2.4v5 libopencv-imgproc2.4v5 libopenexr22 libopenjpeg5 libpcre16-3 libphonenumber7 libphonon4 libplasma3
  libpolkit-qt-1-1 libpoppler-qt4-4 libpoppler58 libpostproc-ffmpeg53 libprotobuf-lite9v5 libprotobuf10 libpython3.5 libqca2 libqimageblitz4 libqmobipocket1 libqt4-dbus libqt4-declarative libqt4-designer
  libqt4-network libqt4-opengl libqt4-qt3support libqt4-script libqt4-sql libqt4-svg libqt4-xml libqt4-xmlpatterns libqtcore4 libqtdbus4 libqtgui4 libqtwebkit4 libraw15 libschroedinger-1.0-0 libsodium18
  libsolid4 libstdc++-5-dev libstemmer0d libstreamanalyzer0v5 libstreams0v5 libsuitesparseconfig4.4.6 libsuitesparseconfig5 libswresample-ffmpeg1 libswscale-ffmpeg3 libthreadweaver4 liburl-dispatcher1
  libva-wayland1 libva-x11-1 libva1 libvpx3 libwebkitgtk-3.0-0 libwebp5 libwebpdemux1 libwebrtc-audio-processing-0 libx264-148 libx265-79 libxapian22v5 libxfont1 libxml2-utils linux-sound-base lp-solve
  lubuntu-artwork-16-04 mate-menus ntrack-module-libnl-0 oxygen5-icon-theme phonon phonon-backend-gstreamer phonon-backend-gstreamer-common plasma-scriptengine-javascript printer-driver-pnm2ppa python-mate-menu
  python3-lxml python3-polib python3-pycurl python3-xkit qdbus qtchooser qtcore4-l10n sgml-base sgml-data ubuntu-drivers-common xml-core zlib1g-dev
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  haveged rpcbind sysfsutils
Suggested packages:
  apparmor
The following packages will be upgraded:
  haveged rpcbind sysfsutils
3 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
729 not fully installed or removed.
Need to get 0 B/76,7 kB of archives.
After this operation, 22,5 kB disk space will be freed.
Do you want to continue? [Y/n] Y
Setting up libfuse2:armhf (2.9.7-1ubuntu1) ...
Setting up fuse (2.9.7-1ubuntu1) ...
update-initramfs: deferring update (trigger activated)
Setting up libsigsegv2:armhf (2.12-1) ...
Setting up multiarch-support (2.27-3ubuntu1) ...
(Reading database ... 141691 files and directories currently installed.)
Preparing to unpack .../rpcbind_0.2.3-0.6_armhf.deb ...
Failed to reload daemon: Failed to activate service 'org.freedesktop.systemd1': timed out
Failed to retrieve unit state: Connection timed out
Failed to stop rpcbind.service: Connection timed out
See system logs and 'systemctl status rpcbind.service' for details.
Failed to get load state of rpcbind.service: Connection timed out
invoke-rc.d: initscript rpcbind, action "stop" failed.
dpkg: warning: old rpcbind package pre-removal script subprocess returned error exit status 1
dpkg: trying script from the new package instead ...
Failed to reload daemon: Failed to activate service 'org.freedesktop.systemd1': timed out
Failed to retrieve unit state: Connection timed out
Failed to stop rpcbind.service: Connection timed out
See system logs and 'systemctl status rpcbind.service' for details.
Failed to get load state of rpcbind.service: Failed to activate service 'org.freedesktop.systemd1': timed out
invoke-rc.d: initscript rpcbind, action "stop" failed.
dpkg: error processing archive /var/cache/apt/archives/rpcbind_0.2.3-0.6_armhf.deb (--unpack):
 new rpcbind package pre-removal script subprocess returned error exit status 1
Failed to reload daemon: Failed to activate service 'org.freedesktop.systemd1': timed out
Failed to reload daemon: Failed to activate service 'org.freedesktop.systemd1': timed out
Failed to retrieve unit state: Failed to activate service 'org.freedesktop.systemd1': timed out
Failed to start rpcbind.service: Connection timed out
See system logs and 'systemctl status rpcbind.service' for details.
invoke-rc.d: initscript rpcbind, action "start" failed.
Failed to get properties: Connection timed out
dpkg: error while cleaning up:
 installed rpcbind package post-installation script subprocess returned error exit status 1
Preparing to unpack .../haveged_1.9.1-6_armhf.deb ...
Failed to reload daemon: Failed to activate service 'org.freedesktop.systemd1': timed out
Failed to retrieve unit state: Connection timed out
Failed to stop haveged.service: Connection timed out
See system logs and 'systemctl status haveged.service' for details.
Failed to get load state of haveged.service: Connection timed out
invoke-rc.d: initscript haveged, action "stop" failed.
dpkg: warning: old haveged package pre-removal script subprocess returned error exit status 1
dpkg: trying script from the new package instead ...
Failed to reload daemon: Failed to activate service 'org.freedesktop.systemd1': timed out
Failed to retrieve unit state: Connection timed out
Failed to stop haveged.service: Connection timed out
See system logs and 'systemctl status haveged.service' for details.
Failed to get load state of haveged.service: Connection timed out
invoke-rc.d: initscript haveged, action "stop" failed.
dpkg: error processing archive /var/cache/apt/archives/haveged_1.9.1-6_armhf.deb (--unpack):
 new haveged package pre-removal script subprocess returned error exit status 1
Failed to reload daemon: Failed to activate service 'org.freedesktop.systemd1': timed out
Failed to reload daemon: Failed to activate service 'org.freedesktop.systemd1': timed out
Failed to retrieve unit state: Failed to activate service 'org.freedesktop.systemd1': timed out
Failed to start haveged.service: Connection timed out
See system logs and 'systemctl status haveged.service' for details.
invoke-rc.d: initscript haveged, action "start" failed.
Failed to get properties: Connection timed out
dpkg: error while cleaning up:
 installed haveged package post-installation script subprocess returned error exit status 1
Preparing to unpack .../sysfsutils_2.1.0+repack-4build1_armhf.deb ...
Failed to reload daemon: Failed to activate service 'org.freedesktop.systemd1': timed out
Failed to retrieve unit state: Connection timed out
Failed to stop sysfsutils.service: Connection timed out
See system logs and 'systemctl status sysfsutils.service' for details.
Failed to get load state of sysfsutils.service: Connection timed out
invoke-rc.d: initscript sysfsutils, action "stop" failed.
dpkg: warning: old sysfsutils package pre-removal script subprocess returned error exit status 1
dpkg: trying script from the new package instead ...
Failed to reload daemon: Failed to activate service 'org.freedesktop.systemd1': timed out
Failed to retrieve unit state: Connection timed out
Failed to stop sysfsutils.service: Connection timed out
See system logs and 'systemctl status sysfsutils.service' for details.
Failed to get load state of sysfsutils.service: Connection timed out
invoke-rc.d: initscript sysfsutils, action "stop" failed.
dpkg: error processing archive /var/cache/apt/archives/sysfsutils_2.1.0+repack-4build1_armhf.deb (--unpack):
 new sysfsutils package pre-removal script subprocess returned error exit status 1
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Failed to reload daemon: Failed to activate service 'org.freedesktop.systemd1': timed out
Failed to reload daemon: Failed to activate service 'org.freedesktop.systemd1': timed out
Failed to retrieve unit state: Connection timed out
Failed to start sysfsutils.service: Connection timed out
See system logs and 'systemctl status sysfsutils.service' for details.
invoke-rc.d: initscript sysfsutils, action "start" failed.
Failed to get properties: Connection timed out
dpkg: error while cleaning up:
 installed sysfsutils package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/rpcbind_0.2.3-0.6_armhf.deb
 /var/cache/apt/archives/haveged_1.9.1-6_armhf.deb
 /var/cache/apt/archives/sysfsutils_2.1.0+repack-4build1_armhf.deb
Error: Timeout was reached
E: Sub-process /usr/bin/dpkg returned an error code (1)

 

How can I solve this?

 

... otherwise I need to reinstall.

 

Regards

Link to comment
Share on other sites

@Igor

I don't know, maybe someone here has experience updating this device.

Updated a few other devices 64Bit devices from xenial to bionic without a problem, it must be an Ubuntu arm problem or something related to the armbian version.

 

dpkg --configure -a

 

Was running endless with several error messages ... I decided to reflash the system, it should be faster and promising.

Link to comment
Share on other sites

23 minutes ago, caro3 said:

I don't know, maybe someone here has experience updating this device.


Ubuntu is not the most reliable thing around and you have to be lucky also on x86 systems. I always start with a next clean LTS version when this time comes. 

In the ARM world, problems are just added. Our kernels are userspace independent and some are simply too old for Bionic or Stretch. Upgrades in such cases are destined for failure even no errors will be popped out during distribution upgrade.

 

24 minutes ago, caro3 said:

I decided to reflash the system, it should be faster and promising.


This is the recommended way. You will save yourself a lot of time!

Link to comment
Share on other sites

18 minutes ago, caro3 said:

I noticed, that the orangepi mac address changed with the clean ubuntu bionic


Armbian is not without issues, but the best what you can get. We work hard every day, that you don't notice more problems. Try to build your own image from raw material, www.kernel.org / www.ubuntu.com you will be surprised how much things won't work.

Link to comment
Share on other sites

@Igor

Sorry, I did not mean to blame the project (if so understood), was just surprised, because the mac is usually hardware related.

 

I am really happy to have armbian on this device and I appreciate your and all other supporters for there hard work!

 

Link to comment
Share on other sites

31 minutes ago, caro3 said:

was just surprised, because the mac is usually hardware related.


Those cheap boards don't give you much space. We were/are fixing such problems in userspace this way: 

https://github.com/armbian/build/blob/master/packages/bsp/common/usr/lib/armbian/armbian-firstrun#L66-L116

 

This way should be possible now:

https://blogs.gnome.org/thaller/2016/08/26/mac-address-spoofing-in-networkmanager-1-4-0/

 

 

1 hour ago, caro3 said:

Debian stretch would be more reliable?


Currently, yes. It is more matured than Bionic. I am using it on my Notebook and most of my servers rather than Ubuntu. And because of Ubuntu's crap called SNAP.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines