Dependency hell

New to Debian (Or Linux in general)? Ask your questions here!

Re: Dependency hell

Postby silas2 » 2019-12-19 11:17

I ran that, with this output:
Code: Select all
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  gconf-service gconf2 gconf2-common libgconf-2-4
0 upgraded, 0 newly installed, 4 to remove and 1 not upgraded.
4 not fully installed or removed.
Remv gconf2 [3.2.6-5]
Remv gconf-service [3.2.6-5]
Remv libgconf-2-4 [3.2.6-5]
Remv gconf2-common [3.2.6-5]

+ an OS update went ok.
I just tried apt install searchmonkey ( i found it amongst the debian packages,) but i'm still getting the output listing loads of " dpkg: warning: files list file for package" + back to the
Code: Select all
dpkg: error processing package gconf2 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 gconf2-common
 gconf-service
 libgconf-2-4:amd64
 gconf2

silas2
 
Posts: 38
Joined: 2019-09-30 13:22

Re: Dependency hell

Postby L_V » 2019-12-19 11:33

Show this
Code: Select all
apt list gconf-service gconf2 gconf2-common libgconf-2-4

Try this
Code: Select all
apt-get reinstall gconf-service gconf2 gconf2-common libgconf-2-4
L_V
 
Posts: 1270
Joined: 2007-03-19 09:04

Re: Dependency hell

Postby silas2 » 2019-12-19 11:59

What d'you reckon?
Code: Select all
$ apt list gconf-service gconf2 gconf2-common libgconf-2-4
Listing... Done
gconf-service/stable,now 3.2.6-5 amd64 [installed,auto-removable]
gconf2-common/stable,now 3.2.6-5 all [installed,auto-removable]
gconf2/stable,now 3.2.6-5 amd64 [installed,auto-removable]
libgconf-2-4/stable,now 3.2.6-5 amd64 [installed,auto-removable]
silas@debian:~$ apt-get reinstall gconf-service gconf2 gconf2-common libgconf-2-4
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
silas@debian:~$ sudo apt-get reinstall gconf-service gconf2 gconf2-common libgconf-2-4
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 4 reinstalled, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
E: Internal Error, No file name for gconf-service:amd64

silas2
 
Posts: 38
Joined: 2019-09-30 13:22

Re: Dependency hell

Postby L_V » 2019-12-19 12:06

Code: Select all
# apt remove gconf-service gconf2 gconf2-common libgconf-2-4
L_V
 
Posts: 1270
Joined: 2007-03-19 09:04

Re: Dependency hell

Postby silas2 » 2019-12-19 14:11

Running that command i get this + a load more of the warnings about 'files list file' missing, but I can see loads of .list files....?
Code: Select all
dpkg: warning: files list file for package 'libwayland-client0:amd64' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libwayland-client0:i386' missing; assuming package has no files currently installed
(Reading database ... 5283 files and directories currently installed.)
Removing gconf2 (3.2.6-5) ...
Removing gconf-service (3.2.6-5) ...
dpkg: warning: while removing gconf-service, directory '/usr/share/dbus-1/services' not empty so not removed
Removing libgconf-2-4:amd64 (3.2.6-5) ...
Removing gconf2-common (3.2.6-5) ...

silas2
 
Posts: 38
Joined: 2019-09-30 13:22

Re: Dependency hell

Postby L_V » 2019-12-19 14:28

Code: Select all
# apt install -fs
L_V
 
Posts: 1270
Joined: 2007-03-19 09:04

Re: Dependency hell

Postby silas2 » 2019-12-19 14:43

Not a lot comes back....
Code: Select all
silas@debian:~$ sudo apt install -fs
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
silas@debian:~$
silas2
 
Posts: 38
Joined: 2019-09-30 13:22

Re: Dependency hell

Postby L_V » 2019-12-19 15:04

Well done.
L_V
 
Posts: 1270
Joined: 2007-03-19 09:04

Re: Dependency hell

Postby Head_on_a_Stick » 2019-12-19 16:15

Check for non-Debian packages with
Code: Select all
aptitude search '?narrow(?installed, !?origin(debian))'

Remove any you find.
User avatar
Head_on_a_Stick
 
Posts: 11218
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Dependency hell

Postby silas2 » 2019-12-19 16:36

Its a monster list:
Code: Select all
   dbeaver-ce                      - DBeaver Community                         
i   firmware-atheros                - Binary firmware for Atheros wireless cards
i   gcc-8-base:i386                 - GCC, the GNU Compiler Collection (base pac
i   google-chrome-stable            - The web browser from Google               
i   gstreamer1.0-plugins-base:i386  - GStreamer plugins from the "base" set     
i   hp-ppd                          - HP Postscript Printer Definition (PPD) fil
i   i965-va-driver:i386             - VAAPI driver for Intel G45 & HD Graphics f
i   intel-media-va-driver:i386      - VAAPI driver for the Intel GEN8+ Graphics
i   libaom0:i386                    - AV1 Video Codec Library                   
i   libasound2:i386                 - shared library for ALSA applications     
i   libasound2-plugins:i386         - ALSA library additional plugins           
i   libasyncns0:i386                - Asynchronous name service query library   
i   libatomic1:i386                 - support library providing __atomic built-i
i   libavahi-client3:i386           - Avahi client library                     
i   libavahi-common-data:i386       - Avahi common data files                   
i   libavahi-common3:i386           - Avahi common library                     
i   libavcodec58:i386               - FFmpeg library with de/encoders for audio/
i   libavresample4:i386             - FFmpeg compatibility library for resamplin
i   libavutil56:i386                - FFmpeg library with functions for simplify
i   libblkid1:i386                  - block device ID library                   
i   libbsd0:i386                    - utility functions from BSD systems - share
i   libc6:i386                      - GNU C Library: Shared libraries           
i   libcairo2:i386                  - Cairo 2D vector graphics library         
i   libcap2:i386                    - POSIX 1003.1e capabilities (library)     
i   libcapi20-3:i386                - ISDN utilities - CAPI support libraries   
i   libcdparanoia0:i386             - audio extraction tool for sampling CDs (li
i   libcodec2-0.8.1:i386            - Codec2 runtime library                   
i   libcom-err2:i386                - common error description library         
i   libcroco3:i386                  - Cascading Style Sheet (CSS) parsing and ma
i   libcrystalhd3:i386              - Crystal HD Video Decoder (shared library)
i   libcups2:i386                   - Common UNIX Printing System(tm) - Core lib
i   libdatrie1:i386                 - Double-array trie library                 
i   libdb5.3:i386                   - Berkeley v5.3 Database Libraries [runtime]
i   libdbus-1-3:i386                - simple interprocess messaging system (libr
i   libdrm-amdgpu1:i386             - Userspace interface to amdgpu-specific ker
i   libdrm-intel1:i386              - Userspace interface to intel-specific kern
i   libdrm-nouveau2:i386            - Userspace interface to nouveau-specific ke
i   libdrm-radeon1:i386             - Userspace interface to radeon-specific ker
i   libdrm2:i386                    - Userspace interface to kernel DRM services
i   libedit2:i386                   - BSD editline and history libraries       
i   libelf1:i386                    - library to read and write ELF files       
i   libexif12:i386                  - library to parse EXIF files               
i   libexpat1:i386                  - XML parsing C library - runtime library   
i   libffi6:i386                    - Foreign Function Interface library runtime
i   libflac8:i386                   - Free Lossless Audio Codec - runtime C libr
i   libfontconfig1:i386             - generic font configuration library - runti
i   libfreetype6:i386               - FreeType 2 font engine, shared library fil
i   libfribidi0:i386                - Free Implementation of the Unicode BiDi al
i   libgcc1:i386                    - GCC support library                       
i   libgcrypt20:i386                - LGPL Crypto library - runtime library     
i   libgd3:i386                     - GD Graphics Library                       
i   libgdk-pixbuf2.0-0:i386         - GDK Pixbuf library                       
i   libgl1:i386                     - Vendor neutral GL dispatch library -- lega
i   libgl1-mesa-dri:i386            - free implementation of the OpenGL API -- D
i   libglapi-mesa:i386              - free implementation of the GL API -- share
i   libglib2.0-0:i386               - GLib library of C routines               
i   libglu1-mesa:i386               - Mesa OpenGL utility library (GLU)         
i   libglvnd0:i386                  - Vendor neutral GL dispatch library       
i   libglx-mesa0:i386               - free implementation of the OpenGL API -- G
i   libglx0:i386                    - Vendor neutral GL dispatch library -- GLX
i   libgmp10:i386                   - Multiprecision arithmetic library         
i   libgnutls30:i386                - GNU TLS library - main runtime library   
i   libgomp1:i386                   - GCC OpenMP (GOMP) support library         
i   libgpg-error0:i386              - GnuPG development runtime library         
i   libgphoto2-6:i386               - gphoto2 digital camera library           
i   libgphoto2-port12:i386          - gphoto2 digital camera port library       
i   libgpm2:i386                    - General Purpose Mouse - shared library   
i   libgraphite2-3:i386             - Font rendering engine for Complex Scripts
i   libgsm1:i386                    - Shared libraries for GSM speech compressor
i   libgssapi-krb5-2:i386           - MIT Kerberos runtime libraries - krb5 GSS-
i   libgstreamer-plugins-base1.0-0: - GStreamer libraries from the "base" set   
i   libgstreamer1.0-0:i386          - Core GStreamer libraries and elements     
i   libharfbuzz0b:i386              - OpenType text shaping engine (shared libra
i   libhogweed4:i386                - low level cryptographic library (public-ke
i   libice6:i386                    - X11 Inter-Client Exchange library         
i   libicu63:i386                   - International Components for Unicode     
i   libidn2-0:i386                  - Internationalized domain names (IDNA2008/T
i   libigdgmm5:i386                 - Intel Graphics Memory Management Library -
i   libjack-jackd2-0:i386           - JACK Audio Connection Kit (libraries)     
i   libjbig0:i386                   - JBIGkit libraries                         
i   libjpeg62-turbo:i386            - libjpeg-turbo JPEG runtime library       
i   libk5crypto3:i386               - MIT Kerberos runtime libraries - Crypto Li
i   libkeyutils1:i386               - Linux Key Management Utilities (library) 
i   libkrb5-3:i386                  - MIT Kerberos runtime libraries           
i   libkrb5support0:i386            - MIT Kerberos runtime libraries - Support l
i   liblcms2-2:i386                 - Little CMS 2 color management library     
i   libldap-2.4-2:i386              - OpenLDAP libraries                       
i   libllvm7:i386                   - Modular compiler and toolchain technologie
i   libltdl7:i386                   - System independent dlopen wrapper for GNU
i   liblz4-1:i386                   - Fast LZ compression algorithm library - ru
i   liblzma5:i386                   - XZ-format compression library             
i   libmount1:i386                  - device mounting library                   
i   libmp3lame0:i386                - MP3 encoding library                     
i   libmpg123-0:i386                - MPEG layer 1/2/3 audio decoder (shared lib
i   libmysqlclient-dev              - MySQL development headers                 
i   libmysqlclient18                - MySQL shared client libraries             
i   libmysqlclient21                - MySQL shared client libraries             
i   libncurses6:i386                - shared libraries for terminal handling   
i   libnettle6:i386                 - low level cryptographic library (symmetric
i   libnuma1:i386                   - Libraries for controlling NUMA policy     
i   libodbc1:i386                   - ODBC library for Unix                     
i   libogg0:i386                    - Ogg bitstream library                     
i   libopenal1:i386                 - Software implementation of the OpenAL audi
i   libopenjp2-7:i386               - JPEG 2000 image compression/decompression
i   libopus0:i386                   - Opus codec runtime library               
i   liborc-0.4-0:i386               - Library of Optimized Inner Loops Runtime C
i   libosmesa6:i386                 - Mesa Off-screen rendering extension       
i   libp11-kit0:i386                - library for loading and coordinating acces
i   libpango-1.0-0:i386             - Layout and rendering of internationalized
i   libpangocairo-1.0-0:i386        - Layout and rendering of internationalized
i   libpangoft2-1.0-0:i386          - Layout and rendering of internationalized
i   libpcap0.8:i386                 - system interface for user-level packet cap
i   libpciaccess0:i386              - Generic PCI access library for X         
i   libpcre3:i386                   - Old Perl 5 Compatible Regular Expression L
i   libpixman-1-0:i386              - pixel-manipulation library for X and cairo
i   libpng16-16:i386                - PNG library - runtime (version 1.6)       
i   libpulse0:i386                  - PulseAudio client libraries               
i   librsvg2-2:i386                 - SAX-based renderer library for SVG files (
i   librsvg2-common:i386            - SAX-based renderer library for SVG files (
i   libsamplerate0:i386             - Audio sample rate conversion library     
i   libsasl2-2:i386                 - Cyrus SASL - authentication abstraction li
i   libsasl2-modules:i386           - Cyrus SASL - pluggable authentication modu
i   libsasl2-modules-db:i386        - Cyrus SASL - pluggable authentication modu
i   libsdl2-2.0-0:i386              - Simple DirectMedia Layer                 
i   libselinux1:i386                - SELinux runtime shared libraries         
i   libsensors5:i386                - library to read temperature/voltage/fan se
i   libshine3:i386                  - Fixed-point MP3 encoding library - runtime
i   libsm6:i386                     - X11 Session Management library           
i   libsnappy1v5:i386               - fast compression/decompression library   
i   libsndfile1:i386                - Library for reading/writing audio files   
i   libsndio7.0:i386                - Small audio and MIDI framework from OpenBS
i   libsoxr0:i386                   - High quality 1D sample-rate conversion lib
i   libspeex1:i386                  - The Speex codec runtime library           
i   libssl1.1:i386                  - Secure Sockets Layer toolkit - shared libr
i   libstdc++6:i386                 - GNU Standard C++ Library v3               
i   libswresample3:i386             - FFmpeg library for audio resampling, remat
i   libsystemd0:i386                - systemd utility library                   
i   libtasn1-6:i386                 - Manage ASN.1 structures (runtime)         
i   libthai0:i386                   - Thai language support library             
i   libtheora0:i386                 - Theora Video Compression Codec           
i   libtiff5:i386                   - Tag Image File Format (TIFF) library     
i   libtinfo6:i386                  - shared low-level terminfo library for term
i   libtwolame0:i386                - MPEG Audio Layer 2 encoding library       
i   libudev1:i386                   - libudev shared library                   
i   libunistring2:i386              - Unicode string library for C             
i   libusb-1.0-0:i386               - userspace USB programming library         
i   libuuid1:i386                   - Universally Unique ID library             
i   libv4l-0:i386                   - Collection of video4linux support librarie
i   libv4lconvert0:i386             - Video4linux frame format conversion librar
i   libva-drm2:i386                 - Video Acceleration (VA) API for Linux -- D
i   libva-x11-2:i386                - Video Acceleration (VA) API for Linux -- X
i   libva2:i386                     - Video Acceleration (VA) API for Linux -- r
i   libvdpau-va-gl1:i386            - VDPAU driver with OpenGL/VAAPI backend   
i   libvdpau1:i386                  - Video Decode and Presentation API for Unix
i   libvisual-0.4-0:i386            - audio visualization framework             
i   libvkd3d1:i386                  - Direct3D 12 to Vulkan translation - librar
i   libvorbis0a:i386                - decoder library for Vorbis General Audio C
i   libvorbisenc2:i386              - encoder library for Vorbis General Audio C
i   libvpx5:i386                    - VP8 and VP9 video codec (shared library) 
i   libvulkan1:i386                 - Vulkan loader library                     
i   libwavpack1:i386                - audio codec (lossy and lossless) - library
i   libwayland-client0:i386         - wayland compositor infrastructure - client
i   libwayland-cursor0:i386         - wayland compositor infrastructure - cursor
i   libwayland-egl1:i386            - wayland compositor infrastructure - EGL li
i   libwebp6:i386                   - Lossy compression of digital photographic
i   libwebpmux3:i386                - Lossy compression of digital photographic
i   libwine:i386                    - Windows API implementation - library     
i   libwine-development:i386        - Windows API implementation - library     
i   libwrap0:i386                   - Wietse Venema's TCP wrappers library     
i   libx11-6:i386                   - X11 client-side library                   
i   libx11-xcb1:i386                - Xlib/XCB interface library               
i   libx264-155:i386                - x264 video coding library                 
i   libx265-165:i386                - H.265/HEVC video stream encoder (shared li
i   libxau6:i386                    - X11 authorisation library                 
i   libxcb-dri2-0:i386              - X C Binding, dri2 extension               
i   libxcb-dri3-0:i386              - X C Binding, dri3 extension               
i   libxcb-glx0:i386                - X C Binding, glx extension               
i   libxcb-present0:i386            - X C Binding, present extension           
i   libxcb-render0:i386             - X C Binding, render extension             
i   libxcb-shm0:i386                - X C Binding, shm extension               
i   libxcb-sync1:i386               - X C Binding, sync extension               
i   libxcb-xfixes0:i386             - X C Binding, xfixes extension             
i   libxcb1:i386                    - X C Binding                               
i   libxcomposite1:i386             - X11 Composite extension library           
i   libxcursor1:i386                - X cursor management library               
i   libxdamage1:i386                - X11 damaged region extension library     
i   libxdmcp6:i386                  - X11 Display Manager Control Protocol libra
i   libxext6:i386                   - X11 miscellaneous extension library       
i   libxfixes3:i386                 - X11 miscellaneous 'fixes' extension librar
i   libxi6:i386                     - X11 Input extension library               
i   libxinerama1:i386               - X11 Xinerama extension library           
i   libxkbcommon0:i386              - library interface to the XKB compiler - sh
i   libxml2:i386                    - GNOME XML library                         
i   libxpm4:i386                    - X11 pixmap library                       
i   libxrandr2:i386                 - X11 RandR extension library               
i   libxrender1:i386                - X Rendering Extension client library     
i   libxshmfence1:i386              - X shared memory fences - shared library   
i   libxslt1.1:i386                 - XSLT 1.0 processing library - runtime libr
i   libxss1:i386                    - X11 Screen Saver extension library       
i   libxtst6:i386                   - X11 Testing -- Record extension library   
i   libxvidcore4:i386               - Open source MPEG-4 video codec (library) 
i   libxxf86vm1:i386                - X11 XFree86 video mode extension library 
i   libzstd1:i386                   - fast lossless compression algorithm       
i   libzvbi0:i386                   - Vertical Blanking Interval decoder (VBI) -
i   mesa-va-drivers:i386            - Mesa VA-API video acceleration drivers   
i   mesa-vdpau-drivers:i386         - Mesa VDPAU video acceleration drivers     
i   mysql-apt-config                - Auto configuration for MySQL APT Repo.   
i   mysql-client                    - MySQL Client meta package depending on lat
i   mysql-common                    - Common files shared between packages     
i   mysql-community-client          - MySQL Client                             
i   mysql-community-client-core     - MySQL Client Core Binaries               
i   mysql-community-server          - MySQL Server                             
i   mysql-community-server-core     - MySQL Server Core Binaires               
i   mysql-connector-java            - MySQL Connector/J                         
i   ocl-icd-libopencl1:i386         - Generic OpenCL ICD Loader                 
i   va-driver-all:i386              - Video Acceleration (VA) API -- driver meta
i   vdpau-driver-all:i386           - Video Decode and Presentation API for Unix
i   wine32:i386                     - Windows API implementation - 32-bit binary
i   wine32-development:i386         - Windows API implementation - 32-bit binary
i   zlib1g:i386                     - compression library - runtime 
silas2
 
Posts: 38
Joined: 2019-09-30 13:22

Re: Dependency hell

Postby Head_on_a_Stick » 2019-12-19 16:38

Yeah, reinstall.

EDIT: I suppose you could try
Code: Select all
# aptitude purge $(aptitude search '?narrow(?installed, !?origin(debian))'|awk '{print $2}')

It might work, you never know.

EDIT2: added awk to filter just the package names.
Last edited by Head_on_a_Stick on 2019-12-19 16:52, edited 1 time in total.
User avatar
Head_on_a_Stick
 
Posts: 11218
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Dependency hell

Postby silas2 » 2019-12-19 16:50

But , the good news is it seems to be ok at installing new software, i did a purge and reinstall of SearchMonkey, and its gone OK, except those warnings about the package lists, why does it do that ?
silas2
 
Posts: 38
Joined: 2019-09-30 13:22

Re: Dependency hell

Postby Head_on_a_Stick » 2019-12-19 16:52

silas2 wrote:But , the good news is it seems to be ok at installing new software

So far...
User avatar
Head_on_a_Stick
 
Posts: 11218
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Dependency hell

Postby L_V » 2019-12-19 17:00

silas2 wrote: its gone OK, except those warnings about the package lists, why does it do that ?
Warning is just warning, means some old configuration files are a bit lost in your dpkg system.
If you want to clean a bit more, you can check see:
Code: Select all
dpkg-query -l | egrep -v '^(ii|un|rc)' | sed '1,5d' | awk '{print $1,$2,$3}'
L_V
 
Posts: 1270
Joined: 2007-03-19 09:04

Re: Dependency hell

Postby silas2 » 2019-12-19 17:06

Just so I don't go on repeating this mistake, what would you do with apps like dbeaver/mysql google chrome even, etc which advertise a Debian download but aren't in the package.org?
Install them in local so they are quarantined?
Use a package manager like Snappy?
silas2
 
Posts: 38
Joined: 2019-09-30 13:22

PreviousNext

Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 7 guests

fashionable