Cannot install libuser due to /etc/libuser.conf conflict

Forum Forums New users New Users and General Questions Cannot install libuser due to /etc/libuser.conf conflict

  • This topic has 3 replies, 3 voices, and was last updated Sep 3-9:59 am by anticapitalista.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #40850
    Anonymous

      Hi,

      I have recently installed antiX on a PC and as it’s based on debian I was hoping I will be able to manage the machine using debops (an Ansible-based host management framework). This framework however requires me to install the libuser package which fails reporting a conflict for the /etc/libuser.conf file:

      
      $ LC_ALL=C sudo apt install libuser
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      The following packages were automatically installed and are no longer required:
        gconf-service gconf2-common libboost-python1.67.0 libexiv2-14 libgconf-2-4 libgnome-keyring-common libgnome-keyring0 libgtksourceview2.0-0 libgtksourceview2.0-common
        libgtop-2.0-11 libgtop2-common libpango1.0-0 libpangox-1.0-0 libqt5designer5 libqt5help5 libqt5script5 libqt5test5 libxklavier16 ndiswrapper ndiswrapper-utils-1.9
        python3-distro-info unattended-upgrades
      Use 'sudo apt autoremove' to remove them.
      The following NEW packages will be installed:
        libuser
      0 upgraded, 1 newly installed, 0 to remove and 28 not upgraded.
      1 not fully installed or removed.
      Need to get 0 B/273 kB of archives.
      After this operation, 2052 kB of additional disk space will be used.
      (Reading database ... 148760 files and directories currently installed.)
      Preparing to unpack .../libuser_1%3a0.62~dfsg-0.1_i386.deb ...
      Unpacking libuser (1:0.62~dfsg-0.1) ...
      dpkg: error processing archive /var/cache/apt/archives/libuser_1%3a0.62~dfsg-0.1_i386.deb (--unpack):
       trying to overwrite '/etc/libuser.conf', which is also in package desktop-defaults-core-antix 0.6.5
      dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
      Errors were encountered while processing:
       /var/cache/apt/archives/libuser_1%3a0.62~dfsg-0.1_i386.deb
      E: Sub-process /usr/bin/dpkg returned an error code (1)
      enki@gauss:~
      $
      

      The /etc/libuser.conf file is indeed owned by the desktop-defaults-core-antix package:

      
      $ dpkg -L package desktop-defaults-core-antix
      dpkg-query: pakiet "package" nie jest zainstalowany
      
      /.
      /etc
      /etc/X11
      /etc/X11/xorg.conf.d
      /etc/X11/xorg.conf.d/synaptics.conf
      /etc/X11/xorg.conf.in
      /etc/init.d
      /etc/init.d/umountnfs-alternative.sh
      /etc/libuser.conf
      /etc/modprobe.d
      /etc/modprobe.d/hang-on-shutdown.conf
      /etc/modprobe.d/i915-power-saving.conf
      /etc/modprobe.d/iwlwifi-no-blink.conf
      /etc/skel
      /etc/skel/.Xresources
      /etc/skel/.config
      /etc/skel/.config/htop
      /etc/skel/.config/htop/htoprc
      /etc/skel/.config/xresources.d
      /etc/skel/.config/xresources.d/xcalc
      /etc/skel/.config/xresources.d/xcalc/xcalc.conf
      /etc/skel/.config/xresources.d/xcolours
      /etc/skel/.config/xresources.d/xcolours/antix.conf
      /etc/skel/.config/xresources.d/xcolours/zenburn.conf
      /etc/skel/.conkyrc
      /etc/skel/.conkyrc-lua
      /etc/skel/.nanorc
      /etc/skel/.xinitrc-custom
      /etc/udev
      /etc/udev/rules.d
      /etc/udev/rules.d/61-optical-polling-rules.rules
      /etc/udev/rules.d/80-net-name-slot.rules
      /etc/udev/rules.d/80-net-setup-link.rules
      /etc/udev/rules.d/90-fstab-automount.rules
      /etc/udev/rules.d/90-usb-semiauto.rules
      /root
      /root/.config
      /root/.config/htop
      /root/.config/htop/htoprc
      /usr
      /usr/local
      /usr/local/bin
      /usr/local/bin/conky-colors
      /usr/sbin
      /usr/sbin/autologin
      /usr/share
      /usr/share/X11
      /usr/share/X11/xkb
      /usr/share/X11/xkb/symbols
      /usr/share/X11/xkb/symbols/br-abnt2
      /usr/share/X11/xorg.conf.d
      /usr/share/X11/xorg.conf.d/20-thinkpad.conf
      /usr/share/doc
      /usr/share/doc/desktop-defaults-core-antix
      /usr/share/doc/desktop-defaults-core-antix/changelog.gz
      /usr/share/doc/desktop-defaults-core-antix/copyright
      /usr/share/keymaps
      /usr/share/keymaps/i386
      /usr/share/keymaps/i386/azerty
      /usr/share/keymaps/i386/qwerty
      /usr/share/keymaps/i386/qwertz
      /usr/share/keymaps/i386/azerty/be.kmap.gz
      /usr/share/keymaps/i386/qwerty/br.kmap.gz
      /usr/share/keymaps/i386/qwerty/cz.kmap.gz
      /usr/share/keymaps/i386/qwerty/gb.kmap.gz
      /usr/share/keymaps/i386/qwerty/is.kmap.gz
      /usr/share/keymaps/i386/qwerty/jp.kmap.gz
      /usr/share/keymaps/i386/qwerty/lv.kmap.gz
      /usr/share/keymaps/i386/qwerty/pt.kmap.gz
      /usr/share/keymaps/i386/qwerty/se.kmap.gz
      /usr/share/keymaps/i386/qwerty/sk.kmap.gz
      /usr/share/keymaps/i386/qwerty/tr.kmap.gz
      /usr/share/keymaps/i386/qwertz/hr.kmap.gz
      /usr/share/keymaps/i386/qwertz/si.kmap.gz
      Użyj dpkg --contents (= dpkg-deb --contents), aby sprawdzić zawartość pakietu.
      enki@gauss:~
      $
      

      but it’s empty on my system:

      
      $ cat /etc/libuser.conf
      enki@gauss:~
      $
      

      Why is it installed by the default antix installation when libuser is not? Why isn’t it treated as a normal config file with dpkg asking me whether I want to update it? How to fix this?

      Mandatory inxi output:

      
      root@gauss:~# inxi -Fxz
      System:    Host: gauss Kernel: 4.9.212-antix.1-486-smp i686 bits: 32 compiler: gcc v: 8.3.0 Console: tty 0
                 Distro: antiX-19.2_386-full Hannie Schaft 27 March 2020 base: Debian GNU/Linux 10 (buster)
      Machine:   Type: Laptop System: Dell product: OptiPlex SX280 v: N/A serial: <filter>
                 Mobo: Dell model: 0D8695 serial: <filter> BIOS: Dell v: A09 date: 03/07/2007
      CPU:       Topology: Single Core model: Intel Pentium 4 bits: 32 type: MT arch: Netburst Smithfield rev: 1 L2 cache: 1024 KiB
                 flags: nx pae sse sse2 sse3 bogomips: 11172
                 Speed: 2793 MHz min/max: N/A Core speeds (MHz): 1: 2793 2: 2793
      Graphics:  Device-1: Intel 82915G/GV/910GL Integrated Graphics vendor: Dell driver: N/A bus ID: 00:02.0
                 Display: server: X.org 1.20.4 driver: vesa tty: 173x43
                 Message: Advanced graphics data unavailable in console for root.
      Audio:     Device-1: Intel 82801FB/FBM/FR/FW/FRW AC97 Audio vendor: Dell Optiplex GX280 driver: snd_intel8x0 v: kernel
                 bus ID: 00:1e.2
                 Sound Server: ALSA v: k4.9.212-antix.1-486-smp
      Network:   Device-1: Broadcom Limited NetXtreme BCM5751 Gigabit Ethernet PCI Express vendor: Dell Optiplex GX280 driver: tg3
                 v: 3.137 port: e8a0 bus ID: 02:00.0
                 IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
      Drives:    Local Storage: total: 465.76 GiB used: 3.56 GiB (0.8%)
                 ID-1: /dev/sda vendor: Seagate model: ST500DM002-1BD142 size: 465.76 GiB
      Partition: ID-1: / size: 455.45 GiB used: 3.56 GiB (0.8%) fs: ext4 dev: /dev/sda1
                 ID-2: swap-1 size: 2.00 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda2
      Sensors:   Message: No sensors data was found. Is sensors configured?
      Info:      Processes: 139 Uptime: 42m Memory: 990.8 MiB used: 143.7 MiB (14.5%) Init: SysVinit runlevel: 5 Compilers:
                 gcc: 8.3.0 Shell: bash v: 5.0.3 inxi: 3.0.36
      
      
      root@gauss:~# inxi -r
      Repos:     Active apt repos in: /etc/apt/sources.list
                 1: deb http://deb.debian.org/debian buster main contrib non-free
                 2: deb http://deb.debian.org/debian buster-updates main contrib non-free
                 3: deb http://deb.debian.org/debian buster-backports main contrib non-free
                 4: deb http://security.debian.org/ buster/updates main contrib non-free
                 Active apt repos in: /etc/apt/sources.list.d/antix.list
                 1: deb http://ftp.icm.edu.pl/pub/Linux/dist/antix-workspace/antix/buster buster main nonfree nosystemd
                 Active apt repos in: /etc/apt/sources.list.d/buster-backports.list
                 1: deb http://deb.debian.org/debian buster-backports main contrib non-free
                 Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
                 1: deb http://ftp.pl.debian.org/debian/ buster-updates main contrib non-free
                 Active apt repos in: /etc/apt/sources.list.d/debian.list
                 1: deb http://ftp.pl.debian.org/debian/ buster main contrib non-free
                 2: deb http://security.debian.org/ buster/updates main contrib non-free
                 No active apt repos in: /etc/apt/sources.list.d/onion.list
                 No active apt repos in: /etc/apt/sources.list.d/various.list
      root@gauss:~#
      
      #41013
      Member
      Xecure
        Helpful
        Up
        0
        ::

        EDIT: the dev has fixed the desktop-defaults-core-antix package (see next reply).

        Thanks, anticapitalista, for the quick fix.

        • This reply was modified 2 years, 8 months ago by Xecure.

        antiX Live system enthusiast.
        General Live Boot Parameters for antiX.

        #41015
        Forum Admin
        anticapitalista
          Helpful
          Up
          0
          ::

          /etc/libuser.conf file removed from desktop-defaults-core-antix package.

          Should hit the repos soon.

          Philosophers have interpreted the world in many ways; the point is to change it.

          antiX with runit - leaner and meaner.

          #41055
          Forum Admin
          anticapitalista
            Helpful
            Up
            0
            ::

            You should be able to install libuser now without issue.

            apt install libuser
            Reading package lists... Done
            Building dependency tree       
            Reading state information... Done
            The following additional packages will be installed:
              libuser1
            The following NEW packages will be installed:
              libuser libuser1
            0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
            Need to get 363 kB of archives.
            After this operation, 2,326 kB of additional disk space will be used.
            Do you want to continue? [Y/n] 
            Get:1 http://debian.ipacct.com/debian buster/main amd64 libuser1 amd64 1:0.62~dfsg-0.1 [90.1 kB]
            Get:2 http://debian.ipacct.com/debian buster/main amd64 libuser amd64 1:0.62~dfsg-0.1 [273 kB]
            Fetched 363 kB in 1s (332 kB/s)  
            Selecting previously unselected package libuser1.
            (Reading database ... 265290 files and directories currently installed.)
            Preparing to unpack .../libuser1_1%3a0.62~dfsg-0.1_amd64.deb ...
            Unpacking libuser1 (1:0.62~dfsg-0.1) ...
            Selecting previously unselected package libuser.
            Preparing to unpack .../libuser_1%3a0.62~dfsg-0.1_amd64.deb ...
            Unpacking libuser (1:0.62~dfsg-0.1) ...
            Setting up libuser1 (1:0.62~dfsg-0.1) ...
            Setting up libuser (1:0.62~dfsg-0.1) ...
            Installing new version of config file /etc/libuser.conf ...
            Processing triggers for man-db (2.8.5-2) ...
            Processing triggers for libc-bin (2.28-10) ...

            Philosophers have interpreted the world in many ways; the point is to change it.

            antiX with runit - leaner and meaner.

          Viewing 4 posts - 1 through 4 (of 4 total)
          • You must be logged in to reply to this topic.