Until some days ago, everything worked fine here under
Code: Select all
Linux merciadriluca-station 3.2.0-4-686-pae #1 SMP Debian 3.2.86-1 i686 GNU/Linux
After
Code: Select all
apt-get update
Code: Select all
apt-get upgrade
Code: Select all
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
icedove iceowl-extension phonon-backend-vlc pitivi
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up samba (2:4.2.14+dfsg-0+deb8u5) ...
Job for smbd.service failed. See 'systemctl status smbd.service' and 'journalctl -xn' for details.
invoke-rc.d: initscript smbd, action "start" failed.
dpkg: error processing package samba (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of winbind:
winbind depends on samba (= 2:4.2.14+dfsg-0+deb8u5); however:
Package samba is not configured yet.
dpkg: error processing package winbind (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libnss-winbind:i386:
libnss-winbind:i386 depends on winbind (= 2:4.2.14+dfsg-0+deb8u5); however:
Package winbind is not configured yet.
dpkg: error processing package libnss-winbind:i386 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libpam-winbind:i386:
libpam-winbind:i386 depends on winbind (= 2:4.2.14+dfsg-0+deb8u5); however:
Package winbind is not configured yet.
dpkg: error processing package libpam-winbind:i386 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
samba
winbind
libnss-winbind:i386
libpam-winbind:i386
E: Sub-process /usr/bin/dpkg returned an error code (1)
Code: Select all
systemctl status -l smbd.service
● smbd.service - LSB: start Samba SMB/CIFS daemon (smbd)
Loaded: loaded (/etc/init.d/smbd)
Active: failed (Result: exit-code) since jeu 2017-05-04 23:30:27 CEST; 33s ago
Process: 3407 ExecStart=/etc/init.d/smbd start (code=exited, status=1/FAILURE)
mai 04 23:30:27 merciadriluca-station smbd[3407]: Starting SMB/CIFS daemon: smbd/usr/sbin/smbd: error while loading shared libraries: libcups.so.2: cannot open shared object file: No such file or directory
mai 04 23:30:27 merciadriluca-station smbd[3407]: failed!
mai 04 23:30:27 merciadriluca-station systemd[1]: smbd.service: control process exited, code=exited status=1
mai 04 23:30:27 merciadriluca-station systemd[1]: Failed to start LSB: start Samba SMB/CIFS daemon (smbd).
mai 04 23:30:27 merciadriluca-station systemd[1]: Unit smbd.service entered failed state.
Code: Select all
# find ./ | grep libcups.so
./usr/lib/i386-linux-gnu/libcups.so
Before fsck, ldconfig gave many I/O errors, but now it does not give any error.
Following packages are already installed:
Code: Select all
cups cups-driver-gutenprint hplip printer-driver-hpcups hplip-gui printer-driver-gutenprint printer-driver-hpcups printer-driver-postscript-hp
I wanted to reinstall libcups2, but making
Code: Select all
apt-get remove libcups2
Code: Select all
The following packages were automatically installed and are no longer required:
akonadi-backend-mysql akonadi-server asymptote-doc avidemux-common avidemux-plugins dvgrab extra-xdg-menus fairymax filezilla-common
fonts-cabin fonts-comfortaa fonts-crosextra-caladea fonts-crosextra-carlito fonts-ebgaramond fonts-ebgaramond-extra fonts-font-awesome
fonts-gfs-complutum fonts-gfs-gazis fonts-gfs-porson fonts-hosny-amiri fonts-inconsolata fonts-junicode fonts-lato fonts-lobster
fonts-lobstertwo fonts-oflb-asana-math fonts-opensymbol fonts-sil-gentium fonts-sil-gentium-basic gcj-4.7-base gcj-4.7-jre-headless
gcj-4.7-jre-lib geda-doc geda-gnetlist geda-gsymcheck geda-symbols geda-utils gir1.2-ges-1.0 gnash-common gnuchess gnuchess-book
gstreamer0.10-ffmpeg gstreamer0.10-gnonlin gstreamer0.10-plugins-ugly gstreamer1.0-gnonlin guile-1.8 guile-1.8-libs guile-2.0-libs
guile-cairo guile-g-wrap guile-gnome2-glib hal hal-info hoichess kde-baseapps-data kdenlive-data kdepimlibs-kio-plugins lame
latex-cjk-chinese-arphic-bkai00mp latex-cjk-chinese-arphic-bsmi00lp latex-cjk-chinese-arphic-gbsn00lp latex-cjk-chinese-arphic-gkai00mp
latex-cjk-japanese-wadalab lcdf-typetools libaften0 libaio1 libakonadi-kabc4 libakonadi-kcal4 libakonadi-kde4 libakonadi-kmime4
libakonadi-notes4 libakonadiprotocolinternals1 libatk1.0-dev libavcodec53 libavformat53 libbaloopim4 libboost-iostreams1.49.0
libboost-program-options1.49.0 libboost-program-options1.55.0 libboost-thread1.49.0 libc-ares2 libcairo-script-interpreter2
libcairo2-dev libcapi20-3 libcommon-sense-perl libdbusmenu-glib4 libdbusmenu-gtk3-4 libdbusmenu-gtk4 libdmtx0a libexo-common
libexo-helpers libexpat1-dev libfftw3-3 libfontconfig1-dev libfreetype6-dev libgcj13 libgd2-xpm libgdk-pixbuf2.0-dev libgeda-common
libgeda42 libges-1.0-0 libglib2.0-cil-dev libglib2.0-dev libgmp3c2 libgoocanvas-common libgphoto2-2 libgphoto2-port0 libgrantlee-core0
libgrantlee-gui0 libgtksourceview-3.0-common libgwrap-runtime2 libhal-storage1 libhal1 libhyphen0 libid3-3.8.3c2a libidl0 libilmbase-dev
libjasper-dev libjbig-dev libjpeg8-dev libjson-perl libjson-xs-perl libkabc4 libkalarmcal2 libkcal4 libkcalcore4 libkcalutils4
libkdecorations4abi2 libkdgantt2-0 libkgapi2-2 libkholidays4 libkimap4 libkldap4 libkleo4 libkmbox4 libkmime4 libknewstuff2-4 libkolab0
libkolabxml1 libkontactinterface4a libkpgp4 libkpimidentities4 libkpimtextedit4 libkpimutils4 libkprintutils4 libkresources4 libkrossui4
libktnef4 libmailtransport4 libmediastreamer-base3 libmicroblog4 libmlt-data libmotif-common libmsn0.3 libmythes-1.2-0
libopencv-core-dev libopencv-flann-dev libopencv-imgproc-dev libopencv-ml-dev libopencv-video-dev libopenexr-dev libopusfile0 liborbit2
libortp9 libosmesa6 libotr5 libpango1.0-dev libparted-fs-resize0 libpcre3-dev libpcrecpp0 libpixman-1-dev libpng12-dev libprison0
libqgpgme1 libqimageblitz4 libqjson0 libqrencode3 libquicktime2 libreoffice-common libreoffice-java-common libreoffice-style-galaxy
libreoffice-style-tango libsendlater4 libsmi2ldbl libstroke0 libsyndication4 libtext-csv-perl libtext-csv-xs-perl libtiff4-dev
libtiffxx0c2 libtinyxml2.6.2 libwireshark-data libwireshark5 libwiretap4 libwsutil4 libwxbase2.8-0 libwxbase3.0-0 libx264-124
libx264-130 libxcb-shm0-dev libxcomposite-dev libxcursor-dev libxerces-c3.1 libxfce4util-bin libxfce4util-common libxfce4util6
libxfconf-0-2 libxft-dev libxi-dev libxinerama-dev libxm4 libxrandr-dev libxrender-dev lilypond-doc lilypond-doc-html lilypond-doc-pdf
lp-solve mysql-server-core-5.5 pcb-common pcb-lesstif pfb2t1c2pfb psensor-common python-pyorbit python-xlib python-zope.interface
recordmydesktop swath swh-plugins ttf-adf-accanthis ttf-adf-gillius ttf-adf-universalis twolame uno-libs3 ure wine-compholio
wine-compholio-i386 wireshark-common x11proto-composite-dev x11proto-randr-dev x11proto-render-dev x11proto-xinerama-dev
xfce-keyboard-shortcuts xfconf xfonts-mathml xsltproc
Use 'apt-get autoremove' to remove them.
Code: Select all
The following packages will be REMOVED:
acroread acroread-data acroread-debian-files acroread-dictionary-en acroread-escript acroread-l10n-en acroread-plugins
adwaita-icon-theme akregator alacarte asymptote avidemux beid-mozilla-extension brasero brasero-cdrkit browser-plugin-gnash clamtk
cm-super cm-super-minimal context context-modules cups cups-browsed cups-bsd cups-client cups-core-drivers cups-daemon
cups-driver-gutenprint cups-filters cups-filters-core-drivers cups-pk-helper cups-ppdc dblatex dconf-editor default-jre
default-jre-headless dropbox dvipng easyspice easytag eid-mw eid-viewer emacs23 emacs24 enigmail eog epiphany-browser evince evolution
evolution-data-server evolution-plugins feynmf filezilla firefox-esr five-or-more flashplugin-nonfree foo2zjs foomatic-db-engine
four-in-a-row fragmaster frei0r-plugins galternatives gcj-4.7-jre gcj-4.9-jre gcj-jre gcr gdm3 geda geda-gattrib geda-gschem
geda-xgsch2pcb ghostscript ghostscript-x gimp gir1.2-appindicator3-0.1 gir1.2-caribou-1.0 gir1.2-clutter-1.0 gir1.2-clutter-gst-2.0
gir1.2-gcr-3 gir1.2-gkbd-3.0 gir1.2-gnomebluetooth-1.0 gir1.2-gnomedesktop-3.0 gir1.2-gtk-2.0 gir1.2-gtk-3.0 gir1.2-gtksource-3.0
gir1.2-mutter-3.0 gir1.2-nmgtk-1.0 gir1.2-panelapplet-4.0 gir1.2-peas-1.0 gir1.2-vte-2.90 gir1.2-wnck-3.0 gjs gkbd-capplet gksu gnash
gnome-applets gnome-bluetooth gnome-calculator gnome-chess gnome-codec-install gnome-control-center gnome-flashback gnome-icon-theme
gnome-icon-theme-symbolic gnome-keyring gnome-mahjongg gnome-media gnome-nibbles gnome-online-accounts gnome-orca gnome-packagekit
gnome-packagekit-session gnome-panel gnome-power-manager gnome-robots gnome-screensaver gnome-session gnome-session-bin
gnome-session-flashback gnome-settings-daemon gnome-shell gnome-system-monitor gnome-terminal gnome-tetravex gnome-themes-standard
gnome-themes-standard-data gnome-tweak-tool gnome-user-guide gnome-user-share google-talkplugin gparted gsmartcontrol gspiceui
gstreamer1.0-clutter gstreamer1.0-plugins-bad gtk-redshift guile-gnome2-gtk gvfs-backends gwave hitori hplip hplip-gui icedove
icedtea-6-jre-cacao icedtea-6-jre-jamvm icedtea-netx iceowl-extension iceweasel inkscape istanbul kde-runtime kdebase-runtime kdenlive
kdepim-runtime kerneloops kile kino konsole kopete latex-cjk-all latex-cjk-chinese latex-cjk-common latex-cjk-japanese latex-cjk-korean
latex-cjk-thai latex2html latexmk libakonadi-calendar4 libakonadi-contact4 libappindicator1 libappindicator3-1 libatk-wrapper-java-jni
libbeidpkcs11-0 libbeidpkcs11-bin libbonoboui2-0 libbrasero-media3-1 libcalendarsupport4 libcanberra-gtk-module libcanberra-gtk0
libcanberra-gtk3-0 libcanberra-gtk3-module libcaribou0 libchamplain-0.12-0 libchamplain-gtk-0.12-0 libcheese-gtk23 libcheese7
libclutter-1.0-0 libclutter-gst-2.0-0 libclutter-gtk-1.0-0 libcolord-gtk1 libcups2 libcups2-dev libcupscgi1 libcupsfilters1
libcupsimage2 libcupsmime1 libcupsppdc1 libcv-dev libcvaux-dev libeidviewer0 libevdocument3-4 libevolution libevview3-3 libexo-1-0
libgail-3-0 libgail-common libgail18 libgcj13-awt libgcj15-awt libgcr-ui-3-1 libgimp2.0 libgjs0e libgksu2-0 libglade2-0
libgnome-bluetooth13 libgnome-desktop-3-10 libgnomecanvas2-0 libgnomekbd4 libgnomekbd8 libgnomeui-0 libgoa-backend-1.0-1 libgoocanvas3
libgs9 libgtk-3-0 libgtk-3-bin libgtk-3-common libgtk2-perl libgtk2.0-0 libgtk2.0-0-dbg libgtk2.0-bin libgtk2.0-cil libgtk2.0-cil-dev
libgtk2.0-dev libgtkglext1 libgtkhtml-4.0-0 libgtkhtml-4.0-common libgtkhtml-editor-4.0-0 libgtkmm-2.4-1c2a libgtkmm-3.0-1
libgtksourceview-3.0-1 libgtkspell0 libgtkspell3-3-0 libgucharmap-2-90-7 libgweather-3-6 libincidenceeditorsng4 libindicator3-7
libindicator7 libkdepim4 libkdepimdbusinterfaces4 libkonq-common libkonq5abi1 libkopete4 libmailcommon4 libmailimporter4
libmessagecomposer4 libmessagecore4 libmessageviewer4 libmetacity-private2 libmlt++3 libmlt5 libmono-addins-gui0.2-cil libmutter0e
libnautilus-extension1a libnm-gtk0 libnotify1 libnss-winbind libopencv-calib3d-dev libopencv-calib3d2.4 libopencv-contrib-dev
libopencv-contrib2.4 libopencv-features2d-dev libopencv-features2d2.4 libopencv-gpu2.4 libopencv-highgui-dev libopencv-highgui2.4
libopencv-legacy-dev libopencv-legacy2.4 libopencv-objdetect-dev libopencv-objdetect2.4 libopencv-ocl2.4 libopencv-stitching2.4
libopencv-superres2.4 libopencv-ts2.4 libopencv-videostab2.4 libpam-winbind libpanel-applet-4-0 libpeas-1.0-0 libpimcommon4 libreoffice
libreoffice-avmedia-backend-gstreamer libreoffice-base libreoffice-base-core libreoffice-base-drivers libreoffice-calc libreoffice-core
libreoffice-draw libreoffice-evolution libreoffice-gnome libreoffice-gtk libreoffice-help-en-us libreoffice-impress libreoffice-math
libreoffice-officebean libreoffice-report-builder-bin libreoffice-sdbc-firebird libreoffice-sdbc-hsqldb libreoffice-writer
librhythmbox-core8 libsane-hpaio libsmbclient libspectre1 libtemplateparser4 libvte-2.90-9 libvte-2.91-0 libvte9 libwebkit2gtk-4.0-37
libwebkitgtk-1.0-0 libwebkitgtk-3.0-0 libwnck-3-0 libwxgtk2.8-0 libwxgtk3.0-0 libxfce4ui-1-0 libyelp0 lilypond lilypond-data luatex m-tx
meld melt metacity mousetweaks mozilla-acroread mplayer musixtex mutter mythes-en-us nautilus network-manager-gnome notification-daemon
nvidia-settings openjdk-6-jre openjdk-6-jre-headless openjdk-6-jre-lib openjdk-7-jre openjdk-7-jre-headless openoffice.org
openoffice.org-evolution openoffice.org-gnome openoffice.org-help-en-us openoffice.org-thesaurus-en-us pcb pcb-gtk pcsc-tools pgf phonon
phonon-backend-vlc pinentry-gtk2 pipelight-multi pitivi pmx policykit-1-gnome prerex printer-driver-brlaser printer-driver-c2050
printer-driver-c2esp printer-driver-dymo printer-driver-escpr printer-driver-foo2zjs printer-driver-gutenprint printer-driver-hpcups
printer-driver-pnm2ppa printer-driver-postscript-hp printer-driver-ptouch printer-driver-sag-gdi prosper ps2eps psensor pstoedit
purifyeps python-appindicator python-aptdaemon-gtk python-aptdaemon.gtk3widgets python-aptdaemon.gtkwidgets python-cups
python-cupshelpers python-glade2 python-gnome2 python-gtk2 python-notify python-opencv python-pygoocanvas python-samba python-smbc
python-vte python3-aptdaemon.gtk3widgets python3-pyatspi python3-uno samba samba-common-bin samba-dsdb-modules samba-libs simple-scan
smbclient software-properties-gtk synaptic system-config-printer system-config-printer-udev systemsettings tali tex4ht tex4ht-common
texlive texlive-base texlive-bibtex-extra texlive-binaries texlive-extra-utils texlive-font-utils texlive-fonts-extra
texlive-fonts-extra-doc texlive-fonts-recommended texlive-fonts-recommended-doc texlive-formats-extra texlive-full texlive-games
texlive-generic-extra texlive-generic-recommended texlive-humanities texlive-humanities-doc texlive-lang-african texlive-lang-arabic
texlive-lang-chinese texlive-lang-cjk texlive-lang-cyrillic texlive-lang-czechslovak texlive-lang-english texlive-lang-european
texlive-lang-french texlive-lang-german texlive-lang-greek texlive-lang-indic texlive-lang-italian texlive-lang-japanese
texlive-lang-korean texlive-lang-other texlive-lang-polish texlive-lang-portuguese texlive-lang-spanish texlive-latex-base
texlive-latex-base-doc texlive-latex-extra texlive-latex-extra-doc texlive-latex-recommended texlive-latex-recommended-doc
texlive-luatex texlive-math-extra texlive-metapost texlive-metapost-doc texlive-music texlive-omega texlive-pictures
texlive-pictures-doc texlive-plain-extra texlive-pstricks texlive-pstricks-doc texlive-publishers texlive-publishers-doc texlive-science
texlive-science-doc texlive-xetex tipa tomboy tracker-gui unison-gtk vim-gnome vim-gtk vlc vlc-nox vlc-plugin-notify vlc-plugin-pulse
vprerex winbind wireshark xboard xfburn xmind xournal xsane xsensors yelp zenity
1) How to get my HP back? Excerpt from /etc/cups/printers.conf:
Code: Select all
<DefaultPrinter HP-Officejet-Pro-l7500>
UUID urn:uuid:0d1a490f-f3e3-308b-6946-a5d056b9f493
Info HP Officejet Pro l7500
MakeModel HP Officejet Pro l7500, hpcups 3.12.6
DeviceURI socket://192.168.0.108:9100
State Idle
StateTime 1489934595
Type 8425484
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
3) How to get the libcups.so2 file back and link it? I assume that if I manage to get it I could try it through
Code: Select all
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/i386-linux-gnu/libcups.so.2
Code: Select all
export LD_LIBRARY_PATH
Code: Select all
ldconfig
It looks like not only the install (see above) is impacted but also many different elements such as (excerpt from /var/log/syslog when launching gnome system settings):
Code: Select all
gnome-control-center.desktop[3545]: gnome-control-center: error while loading shared libraries: libcups.so.2: cannot open shared object file: No such file or directory