Jump to content

Software aktualisierung


Bastler

Recommended Posts

Naja ganz ohne Fehler geht es (zumindest im Moment) nicht. Er hat irgendwo ein Problem mit der Perl. Hier mal die Ausgabe:

root@red-brick:~# apt-get -f upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
Calculating upgrade... Done
The following packages will be upgraded:
  apache2 apache2-bin apache2-data apache2-utils apt apt-utils bsd-mailx bzip2 cgmanager console-setup console-setup-linux
  curl dbus dbus-x11 debconf-i18n debconf-utils dmsetup dnsmasq dnsmasq-base dpkg-dev fake-hwclock file fuse icu-devtools
  ifupdown initscripts keyboard-configuration libapache2-mod-php5 libapt-inst1.5 libapt-pkg4.12 libavahi-client-dev
  libavahi-client3 libavahi-common-data libavahi-common-dev libavahi-common3 libavahi-glib1 libavahi-gobject0 libavcodec-dev
  libavcodec56 libavformat-dev libavformat56 libavresample-dev libavresample2 libavutil-dev libavutil54 libbatik-java
  libblkid1 libbz2-1.0 libcap2-bin libcgmanager0 libcups2 libcupsfilters1 libcupsimage2 libcurl3 libcurl3-gnutls
  libcurl4-openssl-dev libcv-dev libcvaux-dev libdatetime-timezone-perl libdbus-1-3 libdbus-1-dev libdevmapper1.02.1
  libdpkg-perl libfuse2 libgcrypt11-dev libgcrypt20 libgcrypt20-dev libgnutls-deb0-28 libgnutls-openssl27 libgssapi-krb5-2
  libhighgui-dev libibverbs-dev libibverbs1 libicu-dev libicu52 libjavascriptcoregtk-1.0-0 libjavascriptcoregtk-3.0-0
  libjavascriptcoregtk-4.0-18 libjpeg-dev libjpeg62-turbo libjpeg62-turbo-dev libk5crypto3 libkrb5-3 libkrb5support0
  libldap-2.4-2 libmagic1 libmono-2.0-1 libmono-2.0-dev libmono-accessibility2.0-cil libmono-accessibility4.0-cil
  libmono-c5-1.1-cil libmono-cairo2.0-cil libmono-cairo4.0-cil libmono-cecil-private-cil libmono-cil-dev
  libmono-codecontracts4.0-cil libmono-compilerservices-symbolwriter4.0-cil libmono-corlib2.0-cil libmono-corlib4.0-cil
  libmono-corlib4.5-cil libmono-cscompmgd8.0-cil libmono-csharp4.0c-cil libmono-custommarshalers4.0-cil
  libmono-data-tds2.0-cil libmono-data-tds4.0-cil libmono-db2-1.0-cil libmono-debugger-soft2.0a-cil
  libmono-debugger-soft4.0a-cil libmono-entityframework-sqlserver6.0-cil libmono-entityframework6.0-cil libmono-http4.0-cil
  libmono-i18n-cjk4.0-cil libmono-i18n-mideast4.0-cil libmono-i18n-other4.0-cil libmono-i18n-rare4.0-cil
  libmono-i18n-west2.0-cil libmono-i18n-west4.0-cil libmono-i18n2.0-cil libmono-i18n4.0-all libmono-i18n4.0-cil
  libmono-ldap2.0-cil libmono-ldap4.0-cil libmono-management2.0-cil libmono-management4.0-cil
  libmono-messaging-rabbitmq2.0-cil libmono-messaging-rabbitmq4.0-cil libmono-messaging2.0-cil libmono-messaging4.0-cil
  libmono-microsoft-build-engine4.0-cil libmono-microsoft-build-framework4.0-cil libmono-microsoft-build-tasks-v4.0-4.0-cil
  libmono-microsoft-build-utilities-v4.0-4.0-cil libmono-microsoft-build2.0-cil libmono-microsoft-build4.0-cil
  libmono-microsoft-csharp4.0-cil libmono-microsoft-visualc10.0-cil libmono-microsoft-web-infrastructure1.0-cil
  libmono-microsoft8.0-cil libmono-npgsql2.0-cil libmono-npgsql4.0-cil libmono-opensystem-c4.0-cil libmono-oracle2.0-cil
  libmono-oracle4.0-cil libmono-parallel4.0-cil libmono-peapi2.0a-cil libmono-peapi4.0a-cil libmono-posix2.0-cil
  libmono-posix4.0-cil libmono-profiler libmono-rabbitmq2.0-cil libmono-rabbitmq4.0-cil libmono-relaxng2.0-cil
  libmono-relaxng4.0-cil libmono-security2.0-cil libmono-security4.0-cil libmono-sharpzip2.6-cil libmono-sharpzip2.84-cil
  libmono-sharpzip4.84-cil libmono-simd2.0-cil libmono-simd4.0-cil libmono-sqlite2.0-cil libmono-sqlite4.0-cil
  libmono-system-componentmodel-composition4.0-cil libmono-system-componentmodel-dataannotations4.0-cil
  libmono-system-configuration-install4.0-cil libmono-system-configuration4.0-cil libmono-system-core4.0-cil
  libmono-system-data-datasetextensions4.0-cil libmono-system-data-linq2.0-cil libmono-system-data-linq4.0-cil
  libmono-system-data-services-client4.0-cil libmono-system-data-services2.0-cil libmono-system-data-services4.0-cil
  libmono-system-data2.0-cil libmono-system-data4.0-cil libmono-system-design4.0-cil libmono-system-drawing-design4.0-cil
  libmono-system-drawing4.0-cil libmono-system-dynamic4.0-cil libmono-system-enterpriseservices4.0-cil
  libmono-system-identitymodel-selectors4.0-cil libmono-system-identitymodel4.0-cil
  libmono-system-io-compression-filesystem4.0-cil libmono-system-io-compression4.0-cil libmono-system-json-microsoft4.0-cil
  libmono-system-json2.0-cil libmono-system-json4.0-cil libmono-system-ldap-protocols4.0-cil libmono-system-ldap2.0-cil
  libmono-system-ldap4.0-cil libmono-system-management4.0-cil libmono-system-messaging2.0-cil
  libmono-system-messaging4.0-cil libmono-system-net-http-formatting4.0-cil libmono-system-net-http-webrequest4.0-cil
  libmono-system-net-http4.0-cil libmono-system-net2.0-cil libmono-system-net4.0-cil libmono-system-numerics4.0-cil
  libmono-system-reactive-core2.2-cil libmono-system-reactive-debugger2.2-cil libmono-system-reactive-experimental2.2-cil
  libmono-system-reactive-interfaces2.2-cil libmono-system-reactive-linq2.2-cil
  libmono-system-reactive-observable-aliases0.0-cil libmono-system-reactive-platformservices2.2-cil
  libmono-system-reactive-providers2.2-cil libmono-system-reactive-runtime-remoting2.2-cil
  libmono-system-reactive-windows-forms2.2-cil libmono-system-reactive-windows-threading2.2-cil
  libmono-system-runtime-caching4.0-cil libmono-system-runtime-durableinstancing4.0-cil
  libmono-system-runtime-serialization-formatters-soap4.0-cil libmono-system-runtime-serialization4.0-cil
  libmono-system-runtime2.0-cil libmono-system-runtime4.0-cil libmono-system-security4.0-cil
  libmono-system-servicemodel-activation4.0-cil libmono-system-servicemodel-discovery4.0-cil
  libmono-system-servicemodel-routing4.0-cil libmono-system-servicemodel-web4.0-cil libmono-system-servicemodel4.0a-cil
  libmono-system-serviceprocess4.0-cil libmono-system-threading-tasks-dataflow4.0-cil libmono-system-transactions4.0-cil
  libmono-system-web-abstractions4.0-cil libmono-system-web-applicationservices4.0-cil libmono-system-web-dynamicdata4.0-cil
  libmono-system-web-extensions-design4.0-cil libmono-system-web-extensions4.0-cil libmono-system-web-http-selfhost4.0-cil
  libmono-system-web-http-webhost4.0-cil libmono-system-web-http4.0-cil libmono-system-web-mvc1.0-cil
  libmono-system-web-mvc2.0-cil libmono-system-web-mvc3.0-cil libmono-system-web-razor2.0-cil
  libmono-system-web-routing4.0-cil libmono-system-web-services4.0-cil libmono-system-web-webpages-deployment2.0-cil
  libmono-system-web-webpages-razor2.0-cil libmono-system-web-webpages2.0-cil libmono-system-web2.0-cil
  libmono-system-web4.0-cil libmono-system-windows-forms-datavisualization4.0a-cil libmono-system-windows-forms4.0-cil
  libmono-system-windows4.0-cil libmono-system-xaml4.0-cil libmono-system-xml-linq4.0-cil
  libmono-system-xml-serialization4.0-cil libmono-system-xml4.0-cil libmono-system2.0-cil libmono-system4.0-cil
  libmono-tasklets2.0-cil libmono-tasklets4.0-cil libmono-wcf3.0a-cil libmono-web4.0-cil libmono-webbrowser2.0-cil
  libmono-webbrowser4.0-cil libmono-webmatrix-data4.0-cil libmono-windowsbase3.0-cil libmono-windowsbase4.0-cil
  libmono-winforms2.0-cil libmono-xbuild-tasks2.0-cil libmono-xbuild-tasks4.0-cil libmono2.0-cil libmonoboehm-2.0-1
  libmonoboehm-2.0-dev libmonosgen-2.0-1 libmount1 libmp3lame0 libmysqlclient-dev libmysqlclient18 libopencv-calib3d-dev
  libopencv-calib3d2.4 libopencv-contrib-dev libopencv-contrib2.4 libopencv-core-dev libopencv-core2.4 libopencv-dev
  libopencv-features2d-dev libopencv-features2d2.4 libopencv-flann-dev libopencv-flann2.4 libopencv-gpu-dev libopencv-gpu2.4
  libopencv-highgui-dev libopencv-highgui2.4 libopencv-imgproc-dev libopencv-imgproc2.4 libopencv-legacy-dev
  libopencv-legacy2.4 libopencv-ml-dev libopencv-ml2.4 libopencv-objdetect-dev libopencv-objdetect2.4 libopencv-ocl-dev
  libopencv-ocl2.4 libopencv-photo-dev libopencv-photo2.4 libopencv-stitching-dev libopencv-stitching2.4
  libopencv-superres-dev libopencv-superres2.4 libopencv-ts-dev libopencv-ts2.4 libopencv-video-dev libopencv-video2.4
  libopencv-videostab-dev libopencv-videostab2.4 libopencv2.4-java libopencv2.4-jni libpam-systemd libparted2 libpython-dev
  libpython-stdlib libqt4-core libqt4-dbus libqt4-declarative libqt4-designer libqt4-dev libqt4-dev-bin libqt4-gui
  libqt4-help libqt4-network libqt4-opengl libqt4-opengl-dev libqt4-qt3support libqt4-script libqt4-scripttools libqt4-sql
  libqt4-sql-sqlite libqt4-svg libqt4-test libqt4-xml libqt4-xmlpatterns libqtcore4 libqtdbus4 libqtgui4 librest-0.7-0
  librtmp1 libruby2.1 libsasl2-2 libsasl2-modules-db libsmartcols1 libsnmp-base libsnmp30 libsqlite3-0 libsqlite3-dev
  libssh2-1 libssl-dev libssl1.0.0 libswscale-dev libswscale3 libsystemd0 libtasn1-6 libtcl8.6 libtcltk-ruby libtiff5
  libtiff5-dev libtiffxx5 libudev-dev libudev1 libuuid1 libwebkit2gtk-4.0-37 libwebkitgtk-1.0-0 libwebkitgtk-1.0-common
  libwebkitgtk-3.0-0 libwebkitgtk-3.0-common libxfont1 libxml-libxml-perl mono-2.0-gac mono-2.0-service mono-4.0-gac
  mono-4.0-service mono-complete mono-csharp-shell mono-devel mono-dmcs mono-gac mono-gmcs mono-jay mono-mcs mono-runtime
  mono-runtime-common mono-runtime-sgen mono-utils mono-xbuild monodoc-base monodoc-manual multiarch-support mysql-common
  nodejs nodejs-dev ntp openjdk-7-jre openjdk-7-jre-headless openssh-client openssh-server openssh-sftp-server openssl
  parted patch perl perl-doc perl-modules php-pear php5 php5-cli php5-common php5-curl php5-gd php5-mcrypt php5-mysql
  php5-snmp php5-sqlite php5-xmlrpc python python-dev python-minimal python-opencv python-requests python3-debian
  python3-requests qdbus qt4-dev-tools qt4-linguist-tools qt4-qmake qtcore4-l10n ri ruby ruby-dev ruby-full ruby2.1
  ruby2.1-dev ruby2.1-doc ruby2.1-tcltk sqlite3 sudo systemd systemd-sysv sysv-rc sysvinit-utils task-desktop tasksel
  tasksel-data tcl8.6 tzdata tzdata-java u-boot-tools udev unattended-upgrades util-linux vim vim-common vim-runtime
  wpasupplicant
457 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
6 not fully installed or removed.
Need to get 0 B/239 MB of archives.
After this operation, 10.2 MB disk space will be freed.
Do you want to continue? [Y/n] Y
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 139359 files and directories currently installed.)
Preparing to unpack .../perl_5.20.2-3+deb8u1_armhf.deb ...
Unpacking perl (5.20.2-3+deb8u1) over (5.20.2-2) ...
dpkg: error processing archive /var/cache/apt/archives/perl_5.20.2-3+deb8u1_armhf.deb (--unpack):
trying to overwrite '/usr/bin/config_data', which is also in package libmodule-build-perl 0.421000-2
Processing triggers for man-db (2.7.0.2-5) ...
Errors were encountered while processing:
/var/cache/apt/archives/perl_5.20.2-3+deb8u1_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@red-brick:~#

 

Davon abgesehen läuft alles. Auch nach einem Reboot oder einem Kaltstart fährt der RED-Brick wieder hoch.

Link zu diesem Kommentar
Share on other sites

  • 2 weeks later...

Guten Tag zusammen,

 

ich habe genau das gleiche Problem mit dem updaten des RED Brick.

Wollte die neuen OpenHab Binding benutzen und bekomme folgenden Meldungen:

 

Installieren eines Bindings:

tf@red-brick:~$ sudo apt-get install openhab-addon-binding-zwave
Reading package lists... Done                                                   
Building dependency tree                                                        
Reading state information... Done                                               
You might want to run 'apt-get -f install' to correct these:                    
The following packages have unmet dependencies:                                 
perl : Depends: perl-base (= 5.20.2-2) but 5.20.2-3+deb8u1 is to be installed  
        Recommends: rename but it is not going to be installed                  
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).                                                                      

 

Wird "apt-get -f install" bzw. "apt-get upgrade" ausgeführt, erscheint der gleiche Fehler wie bei Bastler:

tf@red-brick:~$ sudo apt-get -f install                                    
Reading package lists... Done                                              
Building dependency tree                                                   
Reading state information... Done                                          
Correcting dependencies... Done                                            
The following extra packages will be installed:                            
  perl perl-modules                                                        
Suggested packages:                                                        
  libb-lint-perl libcpanplus-dist-build-perl libcpanplus-perl              
  libfile-checktree-perl liblog-message-simple-perl liblog-message-perl    
  libobject-accessor-perl                                                  
Recommended packages:                                                      
  rename libarchive-extract-perl libmodule-pluggable-perl libpod-latex-perl
  libterm-ui-perl libtext-soundex-perl libcgi-pm-perl                      
  libpackage-constants-perl                                                
The following packages will be upgraded:                                   
  perl perl-modules                                                        
2 upgraded, 0 newly installed, 0 to remove and 455 not upgraded.           
6 not fully installed or removed.                                          
Need to get 0 B/4,626 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 ... 139301 files and directories currently installed.)        
Preparing to unpack .../perl_5.20.2-3+deb8u1_armhf.deb ...                      
Unpacking perl (5.20.2-3+deb8u1) over (5.20.2-2) ...                            
dpkg: error processing archive /var/cache/apt/archives/perl_5.20.2-3+deb8u1_armh
f.deb (--unpack):                                                               
trying to overwrite '/usr/bin/config_data', which is also in package libmodule-
build-perl 0.421000-2                                                           
Processing triggers for man-db (2.7.0.2-5) ...                                  
Errors were encountered while processing:                                       
/var/cache/apt/archives/perl_5.20.2-3+deb8u1_armhf.deb                         
E: Sub-process /usr/bin/dpkg returned an error code (1)                         

 

Diese Pakete werden nicht installiert:

Desired=Unknown/Install/Remove/Purge/Hold                                       
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend  
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)                      
||/ Name                                                        Version         
                  Architecture Description                                      
+++-===========================================================-================
=================-============-=================================================
===============================================                                 
iU  libc-dev-bin                                                2.19-18         
                  armhf        GNU C Library: Development binaries              
iU  libc6-dev:armhf                                             2.19-18         
                  armhf        GNU C Library: Development Libraries and Header F
iles                                                                            
iU  libperl5.20                                                 5.20.2-3+deb8u1 
                  armhf        shared Perl library                              
iU  linux-libc-dev:armhf                                        3.16.7-ckt11-1  
                  armhf        Linux support headers for userspace development  
iU  locales                                                     2.19-18         
                  all          GNU C Library: National Language (locale) data [s
upport]                                                                         
iU  perl-base                                                   5.20.2-3+deb8u1 
                  armhf        minimal Perl system                              
tf@red-brick:~$ ^C                                                               

 

 

Hoffe das der Fehler bald gefunden wird :-)

 

gruß

Manuel

Link zu diesem Kommentar
Share on other sites

Da steht sich das perl Package mit einigen anderen Packages auf den Füssen. Ich denke, dass ist ein Bug im perl Package selbst.

 

In dieser Situation verweigert apt-get die Arbeit, weil es erst diese Problem beseitigt haben will.

 

Ich konnte das Problem reproduzieren und so auflösen:

 

sudo dpkg --purge cpanminus
sudo dpkg --purge liblocal-lib-perl
sudo dpkg --purge libmodule-build-perl
sudo dpkg --purge libjson-pp-perl
sudo dpkg --purge perl-doc
sudo apt-get -f install
sudo apt-get upgrade

 

Jetzt stehen sich systemd und systemd-shim im Weg:

 

sudo dpkg --purge systemd-shim
sudo apt-get -f install
sudo apt-get install systemd-shim
sudo apt-get upgrade

Link zu diesem Kommentar
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Gast
Reply to this topic...

×   Du hast formatierten Text eingefügt.   Formatierung jetzt entfernen

  Only 75 emoji are allowed.

×   Dein Link wurde automatisch eingebettet.   Einbetten rückgängig machen und als Link darstellen

×   Dein vorheriger Inhalt wurde wiederhergestellt.   Clear editor

×   Du kannst Bilder nicht direkt einfügen. Lade Bilder hoch oder lade sie von einer URL.

×
×
  • Neu erstellen...