Failed to load the package list This is a serious problem. Try again later. If this problem appears again, please report an error to the developers.E:Malformed entry 1 in list file /etc/apt/sources.list.d/wine-obs.list (Suite), E:The list of sources

Asked by MTA on 2020-11-12

mt@mt-MS-7728:~$ sudo lshw
[sudo] password for mt:
mt-ms-7728
    description: Desktop Computer
    product: MS-7728 (To be filled by O.E.M.)
    vendor: MEDIONPC
    version: 2.0
    serial: To be filled by O.E.M.
    width: 64 bits
    capabilities: smbios-2.6 dmi-2.6 smp vsyscall32
    configuration: boot=normal chassis=desktop family=To be filled by O.E.M. sku=To be filled by O.E.M. uuid=00000000-0000-0000-0000-8C89A57D96F2
  *-core
       description: Motherboard
       product: MS-7728
       vendor: MEDIONPC
       physical id: 0
       version: 2.0
       serial: To be filled by O.E.M.
       slot: To be filled by O.E.M.
     *-firmware
          description: BIOS
          vendor: American Megatrends Inc.
          physical id: 0
          version: E7728MLN.208
          date: 08/15/2011
          size: 64KiB
          capacity: 1984KiB
          capabilities: pci upgrade shadowing cdboot bootselect socketedrom edd int13floppy720 int5printscreen int9keyboard int14serial int17printer acpi usb biosbootspecification
     *-cpu
          description: CPU
          product: Intel(R) Core(TM) i5-2320 CPU @ 3.00GHz
          vendor: Intel Corp.
          physical id: 4
          bus info: cpu@0
          version: Intel(R) Core(TM) i5-2320 CPU @ 3.00GHz
          serial: To Be Filled By O.E.M.
          slot: CPU 1
          size: 1600MHz
          capacity: 3800MHz
          width: 64 bits
          clock: 400MHz
          capabilities: x86-64 fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ht tm pbe syscall nx rdtscp constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt tsc_deadline_timer aes xsave avx lahf_lm epb pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm ida arat pln pts md_clear flush_l1d cpufreq
          configuration: cores=4 enabledcores=1
        *-cache:0
             description: L1 cache
             physical id: 5
             slot: L1-Cache
             size: 32KiB
             capacity: 32KiB
             capabilities: internal write-back unified
             configuration: level=1
        *-cache:1
             description: L2 cache
             physical id: 6
             slot: L2-Cache
             size: 256KiB
             capacity: 256KiB
             capabilities: internal varies unified
             configuration: level=2
        *-cache:2 DISABLED
             description: L3 cache
             physical id: 7
             slot: L3-Cache
             size: 6MiB
             capacity: 6MiB
             capabilities: internal unified
             configuration: level=3
     *-memory
          description: System Memory
          physical id: 2a
          slot: System board or motherboard
          size: 8GiB
        *-bank:0
             description: DIMM DDR3 Synchronous 1333 MHz (0,8 ns)
             product: M378B5273DH0-CH9
             vendor: Samsung
             physical id: 0
             serial: 6454DCF2
             slot: A1_DIMM0
             size: 4GiB
             width: 64 bits
             clock: 1333MHz (0.8ns)
        *-bank:1
             description: DIMM DDR3 Synchronous 1333 MHz (0,8 ns)
             product: Array1_PartNumber1
             vendor: A1_Manufacturer1
             physical id: 1
             serial: A1_SerNum1
             slot: A1_DIMM1
             size: 4GiB
             width: 64 bits
             clock: 1333MHz (0.8ns)
     *-pci
          description: Host bridge
          product: 2nd Generation Core Processor Family DRAM Controller
          vendor: Intel Corporation
          physical id: 100
          bus info: pci@0000:00:00.0
          version: 09
          width: 32 bits
          clock: 33MHz
          configuration: driver=snb_uncore
          resources: irq:0
        *-pci:0
             description: PCI bridge
             product: Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port
             vendor: Intel Corporation
             physical id: 1
             bus info: pci@0000:00:01.0
             version: 09
             width: 32 bits
             clock: 33MHz
             capabilities: pci pm msi pciexpress normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:24 ioport:e000(size=4096) memory:fe600000-fe6fffff ioport:c0000000(size=268435456)
           *-display
                description: VGA compatible controller
                product: Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM]
                vendor: Advanced Micro Devices, Inc. [AMD/ATI]
                physical id: 0
                bus info: pci@0000:01:00.0
                version: 00
                width: 64 bits
                clock: 33MHz
                capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
                configuration: driver=radeon latency=0
                resources: irq:38 memory:c0000000-cfffffff memory:fe620000-fe63ffff ioport:e000(size=256) memory:c0000-dffff
           *-multimedia
                description: Audio device
                product: Caicos HDMI Audio [Radeon HD 6450 / 7450/8450/8490 OEM / R5 230/235/235X OEM]
                vendor: Advanced Micro Devices, Inc. [AMD/ATI]
                physical id: 0.1
                bus info: pci@0000:01:00.1
                version: 00
                width: 64 bits
                clock: 33MHz
                capabilities: pm pciexpress msi bus_master cap_list
                configuration: driver=snd_hda_intel latency=0
                resources: irq:37 memory:fe640000-fe643fff
        *-communication
             description: Communication controller
             product: 6 Series/C200 Series Chipset Family MEI Controller #1
             vendor: Intel Corporation
             physical id: 16
             bus info: pci@0000:00:16.0
             version: 04
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi bus_master cap_list
             configuration: driver=mei_me latency=0
             resources: irq:35 memory:fe708000-fe70800f
        *-usb:0
             description: USB controller
             product: 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2
             vendor: Intel Corporation
             physical id: 1a
             bus info: pci@0000:00:1a.0
             version: 05
             width: 32 bits
             clock: 33MHz
             capabilities: pm debug ehci bus_master cap_list
             configuration: driver=ehci-pci latency=0
             resources: irq:16 memory:fe707000-fe7073ff
           *-usbhost
                product: EHCI Host Controller
                vendor: Linux 5.4.0-53-generic ehci_hcd
                physical id: 1
                bus info: usb@1
                logical name: usb1
                version: 5.04
                capabilities: usb-2.00
                configuration: driver=hub slots=2 speed=480Mbit/s
              *-usb
                   description: USB hub
                   product: Integrated Rate Matching Hub
                   vendor: Intel Corp.
                   physical id: 1
                   bus info: usb@1:1
                   version: 0.00
                   capabilities: usb-2.00
                   configuration: driver=hub slots=4 speed=480Mbit/s
                 *-usb
                      description: Generic USB device
                      product: CABO II
                      vendor: KTG
                      physical id: 1
                      bus info: usb@1:1.1
                      version: 20.30
                      capabilities: usb-1.00
                      configuration: driver=se401 maxpower=500mA speed=12Mbit/s
        *-multimedia
             description: Audio device
             product: 6 Series/C200 Series Chipset Family High Definition Audio Controller
             vendor: Intel Corporation
             physical id: 1b
             bus info: pci@0000:00:1b.0
             version: 05
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi pciexpress bus_master cap_list
             configuration: driver=snd_hda_intel latency=0
             resources: irq:36 memory:fe700000-fe703fff
        *-pci:1
             description: PCI bridge
             product: 6 Series/C200 Series Chipset Family PCI Express Root Port 1
             vendor: Intel Corporation
             physical id: 1c
             bus info: pci@0000:00:1c.0
             version: b5
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:25
        *-pci:2
             description: PCI bridge
             product: 6 Series/C200 Series Chipset Family PCI Express Root Port 5
             vendor: Intel Corporation
             physical id: 1c.4
             bus info: pci@0000:00:1c.4
             version: b5
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:26 memory:fe500000-fe5fffff
           *-usb
                description: USB controller
                product: ASM1042 SuperSpeed USB Host Controller
                vendor: ASMedia Technology Inc.
                physical id: 0
                bus info: pci@0000:03:00.0
                version: 00
                width: 64 bits
                clock: 33MHz
                capabilities: msi msix pm pciexpress xhci bus_master cap_list
                configuration: driver=xhci_hcd latency=0
                resources: irq:16 memory:fe500000-fe507fff
              *-usbhost:0
                   product: xHCI Host Controller
                   vendor: Linux 5.4.0-53-generic xhci-hcd
                   physical id: 0
                   bus info: usb@3
                   logical name: usb3
                   version: 5.04
                   capabilities: usb-2.00
                   configuration: driver=hub slots=2 speed=480Mbit/s
              *-usbhost:1
                   product: xHCI Host Controller
                   vendor: Linux 5.4.0-53-generic xhci-hcd
                   physical id: 1
                   bus info: usb@4
                   logical name: usb4
                   version: 5.04
                   capabilities: usb-3.00
                   configuration: driver=hub slots=2 speed=5000Mbit/s
        *-pci:3
             description: PCI bridge
             product: 6 Series/C200 Series Chipset Family PCI Express Root Port 6
             vendor: Intel Corporation
             physical id: 1c.5
             bus info: pci@0000:00:1c.5
             version: b5
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:27 ioport:d000(size=4096) ioport:d0000000(size=1048576)
           *-network
                description: Ethernet interface
                product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
                vendor: Realtek Semiconductor Co., Ltd.
                physical id: 0
                bus info: pci@0000:04:00.0
                logical name: enp4s0
                version: 06
                serial: 8c:89:a5:7d:96:f2
                size: 100Mbit/s
                capacity: 1Gbit/s
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
                configuration: autonegotiation=on broadcast=yes driver=r8169 duplex=full firmware=rtl8168e-3_0.0.4 03/27/12 ip=192.168.1.37 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
                resources: irq:17 ioport:d000(size=256) memory:d0004000-d0004fff memory:d0000000-d0003fff
        *-usb:1
             description: USB controller
             product: 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1
             vendor: Intel Corporation
             physical id: 1d
             bus info: pci@0000:00:1d.0
             version: 05
             width: 32 bits
             clock: 33MHz
             capabilities: pm debug ehci bus_master cap_list
             configuration: driver=ehci-pci latency=0
             resources: irq:23 memory:fe706000-fe7063ff
           *-usbhost
                product: EHCI Host Controller
                vendor: Linux 5.4.0-53-generic ehci_hcd
                physical id: 1
                bus info: usb@2
                logical name: usb2
                version: 5.04
                capabilities: usb-2.00
                configuration: driver=hub slots=2 speed=480Mbit/s
              *-usb
                   description: USB hub
                   product: Integrated Rate Matching Hub
                   vendor: Intel Corp.
                   physical id: 1
                   bus info: usb@2:1
                   version: 0.00
                   capabilities: usb-2.00
                   configuration: driver=hub slots=6 speed=480Mbit/s
                 *-usb:0
                      description: Mouse
                      product: Chicony wired mouse
                      vendor: Chicony
                      physical id: 2
                      bus info: usb@2:1.2
                      version: 0.03
                      capabilities: usb-2.00
                      configuration: driver=usbhid maxpower=100mA speed=1Mbit/s
                 *-usb:1
                      description: Mass storage device
                      product: Mass Storage Device
                      vendor: Generic
                      physical id: 5
                      bus info: usb@2:1.5
                      logical name: scsi6
                      version: 1.00
                      serial: 058F63666433
                      capabilities: usb-2.00 scsi emulated scsi-host
                      configuration: driver=usb-storage maxpower=100mA speed=480Mbit/s
                    *-disk
                         description: SCSI Disk
                         product: Card Reader
                         vendor: Multiple
                         physical id: 0.0.0
                         bus info: scsi@6:0.0.0
                         logical name: /dev/sdb
                         version: 1.00
                         capabilities: removable
                         configuration: logicalsectorsize=512 sectorsize=512
                       *-medium
                            physical id: 0
                            logical name: /dev/sdb
        *-isa
             description: ISA bridge
             product: H61 Express Chipset LPC Controller
             vendor: Intel Corporation
             physical id: 1f
             bus info: pci@0000:00:1f.0
             version: 05
             width: 32 bits
             clock: 33MHz
             capabilities: isa bus_master cap_list
             configuration: driver=lpc_ich latency=0
             resources: irq:0
        *-storage
             description: SATA controller
             product: 6 Series/C200 Series Chipset Family 6 port Desktop SATA AHCI Controller
             vendor: Intel Corporation
             physical id: 1f.2
             bus info: pci@0000:00:1f.2
             version: 05
             width: 32 bits
             clock: 66MHz
             capabilities: storage msi pm ahci_1.0 bus_master cap_list
             configuration: driver=ahci latency=0
             resources: irq:34 ioport:f070(size=8) ioport:f060(size=4) ioport:f050(size=8) ioport:f040(size=4) ioport:f020(size=32) memory:fe705000-fe7057ff
        *-serial UNCLAIMED
             description: SMBus
             product: 6 Series/C200 Series Chipset Family SMBus Controller
             vendor: Intel Corporation
             physical id: 1f.3
             bus info: pci@0000:00:1f.3
             version: 05
             width: 64 bits
             clock: 33MHz
             configuration: latency=0
             resources: memory:fe704000-fe7040ff ioport:f000(size=32)
     *-scsi:0
          physical id: 1
          logical name: scsi0
          capabilities: emulated
        *-disk
             description: ATA Disk
             product: TOSHIBA HDWD120
             vendor: Western Digital
             physical id: 0.0.0
             bus info: scsi@0:0.0.0
             logical name: /dev/sda
             version: ACF0
             serial: 29KL4M0AS
             size: 1863GiB (2TB)
             capabilities: partitioned partitioned:dos
             configuration: ansiversion=5 logicalsectorsize=512 sectorsize=4096 signature=0df26e0a
           *-volume
                description: EXT4 volume
                vendor: Linux
                physical id: 1
                bus info: scsi@0:0.0.0,1
                logical name: /dev/sda1
                logical name: /
                version: 1.0
                serial: e884ae77-afcb-4b49-844e-d37810ce8a56
                size: 1863GiB
                capacity: 1863GiB
                capabilities: primary bootable journaled extended_attributes large_files huge_files dir_nlink 64bit extents ext4 ext2 initialized
                configuration: created=2020-09-16 11:49:25 filesystem=ext4 lastmountpoint=/ modified=2020-11-11 22:10:04 mount.fstype=ext4 mount.options=rw,relatime,errors=remount-ro mounted=2020-11-11 21:53:17 state=mounted
     *-scsi:1
          physical id: 2
          logical name: scsi1
          capabilities: emulated
        *-cdrom
             description: DVD-RAM writer
             product: DVDRAM GH22NS40
             vendor: HL-DT-ST
             physical id: 0.0.0
             bus info: scsi@1:0.0.0
             logical name: /dev/cdrom
             logical name: /dev/cdrw
             logical name: /dev/dvd
             logical name: /dev/dvdrw
             logical name: /dev/sr0
             version: NL01
             capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
             configuration: ansiversion=5 status=nodisc
  *-power:0 UNCLAIMED
       description: To Be Filled By O.E.M.
       product: To Be Filled By O.E.M.
       vendor: To Be Filled By O.E.M.
       physical id: 1
       version: To Be Filled By O.E.M.
       serial: To Be Filled By O.E.M.
       capacity: 32768mWh
  *-power:1 UNCLAIMED
       description: To Be Filled By O.E.M.
       product: To Be Filled By O.E.M.
       vendor: To Be Filled By O.E.M.
       physical id: 2
       version: To Be Filled By O.E.M.
       serial: To Be Filled By O.E.M.
       capacity: 32768mWh
mt@mt-MS-7728:~$ sudo apt update && sudo apt -y upgrade
E: Malformed entry 1 in list file /etc/apt/sources.list.d/wine-obs.list (Suite)
E: The list of sources could not be read.
mt@mt-MS-7728:~$ sudo apt-get install wine-obs.list
E: Malformed entry 1 in list file /etc/apt/sources.list.d/wine-obs.list (Suite)
E: The list of sources could not be read.
E: Malformed entry 1 in list file /etc/apt/sources.list.d/wine-obs.list (Suite)
E: The list of sources could not be read.
mt@mt-MS-7728:~$ ubuntu-support-status || ubuntu-security-status
Traceback (most recent call last):
  File "/usr/bin/ubuntu-support-status", line 147, in <module>
    with apt.Cache() as cache:
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 168, in __init__
    self.open(progress)
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 223, in open
    self._cache = apt_pkg.Cache(progress)
apt_pkg.Error: E:Malformed entry 1 in list file /etc/apt/sources.list.d/wine-obs.list (Suite), E:The list of sources could not be read.
ubuntu-security-status: command not found
mt@mt-MS-7728:~$ cat /etc/dpkg/dpkg.cfg.d/multiarch
cat: /etc/dpkg/dpkg.cfg.d/multiarch: No such file or directory
mt@mt-MS-7728:~$ dpkg --print-foreign-architectures
i386
mt@mt-MS-7728:~$ sudo grep -R roxy /etc/apt/*
[sudo] password for mt:
mt@mt-MS-7728:~$ grep roxy /etc/environment
mt@mt-MS-7728:~$ echo $http_proxy

mt@mt-MS-7728:~$ echo $ftp_proxy

mt@mt-MS-7728:~$ grep roxy /etc/bash.bashrc
mt@mt-MS-7728:~$ grep roxy ~/.bashrc
mt@mt-MS-7728:~$ cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory
mt@mt-MS-7728:~$ sudo fuser -vvv /var/lib/dpkg/lock
mt@mt-MS-7728:~$ sudo fuser -vvv /var/cache/apt/archives/lock
mt@mt-MS-7728:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.5 LTS"
mt@mt-MS-7728:~$ uname -a
Linux mt-MS-7728 5.4.0-53-generic #59~18.04.1-Ubuntu SMP Wed Oct 21 12:14:56 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
mt@mt-MS-7728:~$ sudo rm /var/lib/apt/lists/lock
mt@mt-MS-7728:~$ sudo rm /var/cache/apt/archives/lock
mt@mt-MS-7728:~$ sudo rm /var/lib/dpkg/lock
mt@mt-MS-7728:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
mt@mt-MS-7728:~$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
mt@mt-MS-7728:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status || sudo cp /var/backups/dpkg.status.0 /var/lib/dpkg/status
mt@mt-MS-7728:~$ sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
mt@mt-MS-7728:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
cp: cannot stat '/var/lib/dpkg/available-old': No such file or directory
mt@mt-MS-7728:~$ sudo rm -rf /var/lib/dpkg/updates/*
mt@mt-MS-7728:~$ sudo rm -rf /var/lib/apt/lists
mt@mt-MS-7728:~$ sudo rm /var/cache/apt/*.bin
mt@mt-MS-7728:~$ sudo mkdir /var/lib/apt/lists
mt@mt-MS-7728:~$ sudo mkdir /var/lib/apt/lists/partial
mt@mt-MS-7728:~$ LANG=C;sudo apt-get clean
mt@mt-MS-7728:~$ LANG=C;sudo apt-get autoclean
E: Malformed entry 1 in list file /etc/apt/sources.list.d/wine-obs.list (Suite)
E: The list of sources could not be read.
mt@mt-MS-7728:~$ sudo dpkg --configure -a
Setting up libgst7 (3.2.5-1.1) ...
Setting up gnu-smalltalk-common (3.2.5-1.1) ...
Setting up gnu-smalltalk (3.2.5-1.1) ...
Setting up libsdl1.2debian:amd64 (1.2.15+dfsg2-0.1ubuntu0.1) ...
Setting up winbind (2:4.7.6+dfsg~ubuntu-0ubuntu2.21) ...
Job for winbind.service failed because the control process exited with error code.
See "systemctl status winbind.service" and "journalctl -xe" for details.
invoke-rc.d: initscript winbind, action "restart" failed.
* winbind.service - Samba Winbind Daemon
   Loaded: loaded (/lib/systemd/system/winbind.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2020-11-11 23:31:39 CET; 6ms ago
     Docs: man:winbindd(8)
           man:samba(7)
           man:smb.conf(5)
  Process: 3618 ExecStart=/usr/sbin/winbindd --foreground --no-process-group $WINBINDOPTIONS (code=exited, status=1/FAILURE)
 Main PID: 3618 (code=exited, status=1/FAILURE)

nov 11 23:31:39 mt-MS-7728 systemd[1]: Starting Samba Winbind Daemon...
nov 11 23:31:39 mt-MS-7728 systemd[1]: winbind.service: Main process exited, code=exited, status=1/FAILURE
nov 11 23:31:39 mt-MS-7728 systemd[1]: winbind.service: Failed with result 'exit-code'.
nov 11 23:31:39 mt-MS-7728 systemd[1]: Failed to start Samba Winbind Daemon.
dpkg: error processing package winbind (--configure):
 installed winbind package post-installation script subprocess returned error exit status 1
Setting up libsdl-image1.2:amd64 (1.2.12-8ubuntu0.1) ...
Setting up samba (2:4.7.6+dfsg~ubuntu-0ubuntu2.21) ...
Samba is not being run as an AD Domain Controller.
Please ignore the following error about deb-systemd-helper not finding samba-ad-dc.service.
Job for smbd.service failed because the control process exited with error code.
See "systemctl status smbd.service" and "journalctl -xe" for details.
invoke-rc.d: initscript smbd, action "start" failed.
* smbd.service - Samba SMB Daemon
   Loaded: loaded (/lib/systemd/system/smbd.service; disabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2020-11-11 23:31:41 CET; 10ms ago
     Docs: man:smbd(8)
           man:samba(7)
           man:smb.conf(5)
  Process: 3757 ExecStart=/usr/sbin/smbd --foreground --no-process-group $SMBDOPTIONS (code=exited, status=1/FAILURE)
 Main PID: 3757 (code=exited, status=1/FAILURE)

nov 11 23:31:41 mt-MS-7728 systemd[1]: Starting Samba SMB Daemon...
nov 11 23:31:41 mt-MS-7728 systemd[1]: smbd.service: Main process exited, code=exited, status=1/FAILURE
nov 11 23:31:41 mt-MS-7728 systemd[1]: smbd.service: Failed with result 'exit-code'.
nov 11 23:31:41 mt-MS-7728 systemd[1]: Failed to start Samba SMB Daemon.
dpkg: error processing package samba (--configure):
 installed samba package post-installation script subprocess returned error exit status 1
Setting up libsdl-image-gst (3.2.5-1.1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1.3) ...
Errors were encountered while processing:
 winbind
 samba
mt@mt-MS-7728:~$ sudo dpkg --clear-avail
mt@mt-MS-7728:~$ LANG=C;sudo apt-get -f install
E: Malformed entry 1 in list file /etc/apt/sources.list.d/wine-obs.list (Suite)
E: The list of sources could not be read.
E: Malformed entry 1 in list file /etc/apt/sources.list.d/wine-obs.list (Suite)
E: The list of sources could not be read.
mt@mt-MS-7728:~$ LANG=C;sudo apt-get --fix-missing install
E: Malformed entry 1 in list file /etc/apt/sources.list.d/wine-obs.list (Suite)
E: The list of sources could not be read.
E: Malformed entry 1 in list file /etc/apt/sources.list.d/wine-obs.list (Suite)
E: The list of sources could not be read.
mt@mt-MS-7728:~$ LANG=C;sudo apt-get --purge autoremove
E: Malformed entry 1 in list file /etc/apt/sources.list.d/wine-obs.list (Suite)
E: The list of sources could not be read.
E: Malformed entry 1 in list file /etc/apt/sources.list.d/wine-obs.list (Suite)
E: The list of sources could not be read.
mt@mt-MS-7728:~$ LANG=C;sudo apt-get --fix-missing update -o APT::Cache-Limit=100000000
E: Malformed entry 1 in list file /etc/apt/sources.list.d/wine-obs.list (Suite)
E: The list of sources could not be read.
mt@mt-MS-7728:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=100000000 && sudo apt-get dist-upgrade
E: Malformed entry 1 in list file /etc/apt/sources.list.d/wine-obs.list (Suite)
E: The list of sources could not be read.
mt@mt-MS-7728:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

/etc/apt/sources.list

     1 # deb cdrom:[Ubuntu 18.04.3 LTS _Bionic Beaver_ - Release amd64 (20190805)]/ bionic main restricted
     2
     3 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     4 # newer versions of the distribution.
     5 deb http://es.archive.ubuntu.com/ubuntu/ bionic main restricted
     6
     7 ## Major bug fix updates produced after the final release of the
     8 ## distribution.
     9 deb http://es.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
    10
    11 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    12 ## team. Also, please note that software in universe WILL NOT receive any
    13 ## review or updates from the Ubuntu security team.
    14 deb http://es.archive.ubuntu.com/ubuntu/ bionic universe
    15 # deb-src http://es.archive.ubuntu.com/ubuntu/ bionic universe
    16 deb http://es.archive.ubuntu.com/ubuntu/ bionic-updates universe
    17 # deb-src http://es.archive.ubuntu.com/ubuntu/ bionic-updates universe
    18
    19 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    20 ## team, and may not be under a free licence. Please satisfy yourself as to
    21 ## your rights to use the software. Also, please note that software in
    22 ## multiverse WILL NOT receive any review or updates from the Ubuntu
    23 ## security team.
    24 deb http://es.archive.ubuntu.com/ubuntu/ bionic multiverse
    25 # deb-src http://es.archive.ubuntu.com/ubuntu/ bionic multiverse
    26 deb http://es.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
    27 # deb-src http://es.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
    28
    29 ## N.B. software from this repository may not have been tested as
    30 ## extensively as that contained in the main release, although it includes
    31 ## newer versions of some applications which may provide useful features.
    32 ## Also, please note that software in backports WILL NOT receive any review
    33 ## or updates from the Ubuntu security team.
    34 deb http://es.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
    35
    36 ## Uncomment the following two lines to add software from Canonical's
    37 ## 'partner' repository.
    38 ## This software is not part of Ubuntu, but is offered by Canonical and the
    39 ## respective vendors as a service to Ubuntu users.
    40 deb http://archive.canonical.com/ubuntu bionic partner
    41 # deb-src http://archive.canonical.com/ubuntu bionic partner
    42
    43 deb http://security.ubuntu.com/ubuntu bionic-security main restricted
    44 deb http://security.ubuntu.com/ubuntu bionic-security universe
    45 # deb-src http://security.ubuntu.com/ubuntu bionic-security universe
    46 deb http://security.ubuntu.com/ubuntu bionic-security multiverse
    47 # deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse
    48 deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main
    49 # deb-src https://dl.winehq.org/wine-builds/ubuntu/ bionic main

/etc/apt/sources.list.d/wine-obs.list

     1 deb http://download.opensuse.org/repositories/Emulators:/Wine:
     2 /Debian/xUbuntu_18.04 ./

/etc/apt/sources.list.d/playonlinux.list

     1 deb http://deb.playonlinux.com/ bionic main
mt@mt-MS-7728:~$ sudo dpkg --audit
The following packages are only half configured, probably due to problems
configuring them the first time. The configuration should be retried using
dpkg --configure <package> or the configure menu option in dselect:
 samba SMB/CIFS file, print, and login server for Unix
 winbind service to resolve user and group information from Window

mt@mt-MS-7728:~$
E:Malformed entry 1 in list file /etc/apt/sources.list.d/wine-obs.list (Suite), E:The list of sources could not be read.Failed to load the package list

This is a serious problem. Try again later. If this problem appears again, please report an error to the developers.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
2020-11-13
Last query:
2020-11-13
Last reply:
2020-11-13

This question was reopened

Manfred Hampl (m-hampl) said : #1

The error message tells that there is an error in the configuration file /etc/apt/sources.list.d/wine-obs.list

Open a terminal window and issue the command
sudo gedit /etc/apt/sources.list.d/wine-obs.list

You have to join the two lines, making it

deb http://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04 ./

save the file and close the editor.
Then execute the command

sudo apt update

and report the results.

MTA (martoyu) said : #2

deb http://download.opensuse.org/repositories/Emulators:/Wine:
/Debian/xUbuntu_18.04 ./
mt@mt-MS-7728:~/.wine/drive_c$ cd ..
mt@mt-MS-7728:~/.wine$ cd ..
mt@mt-MS-7728:~$ sudo gedit /etc/apt/sources.list.d/wine-obs.list deb http://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04 ./
[sudo] password for mt:

** (gedit:4336): WARNING **: 23:34:20.152: Operation not supported

** (gedit:4336): WARNING **: 23:36:23.674: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported

** (gedit:4336): WARNING **: 23:36:23.674: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported

** (gedit:4336): WARNING **: 23:36:31.916: Set document metadata failed: Setting attribute metadata::gedit-spell-language not supported

** (gedit:4336): WARNING **: 23:36:31.916: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported

** (gedit:4336): WARNING **: 23:36:37.379: Set document metadata failed: Setting attribute metadata::gedit-position not supported

** (gedit:4336): WARNING **: 23:36:37.413: Set document metadata failed: Setting attribute metadata::gedit-position not supported
mt@mt-MS-7728:~$

The file
/etc/apt/sources.list.d/wine-obs.list

Is your issue. I suggest you remove it with:

sudo rm /etc/apt/sources.list.d/wine-obs.list

Manfred Hampl (m-hampl) said : #4

What is now the output of the commands

cat -n /etc/apt/sources.list.d/wine-obs.list
sudo apt update

Manfred Hampl (m-hampl) said : #5

Why are you linking this question about errors in the sources.list configuration to a bug related to initramfs-tools, which by pure coincidence has got the same number? It does not make any sense. It is like trying to dial your social security number on your phone.

If you want help, then you have to provide the diagnostic information that we ask for.

MTA (martoyu) said : #6

mt@mt-MS-7728:~$ cat -n /etc/apt/sources.list.d/wine-obs.list
cat: /etc/apt/sources.list.d/wine-obs.list: No such file or directory
mt@mt-MS-7728:~$ sudo apt update
[sudo] password for mt:
Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88,7 kB]
Hit:2 http://deb.playonlinux.com bionic InRelease
Hit:3 http://archive.canonical.com/ubuntu bionic InRelease
Hit:4 http://es.archive.ubuntu.com/ubuntu bionic InRelease
Get:5 http://es.archive.ubuntu.com/ubuntu bionic-updates InRelease [88,7 kB]
Hit:6 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease
Get:7 http://es.archive.ubuntu.com/ubuntu bionic-backports InRelease [74,6 kB]
Get:8 http://es.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1.752 kB]
Get:9 http://es.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [1.155 kB]
Get:10 http://es.archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [1.547 kB]
Get:11 http://es.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1.692 kB]
Fetched 6.398 kB in 7s (855 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
mt@mt-MS-7728:~$ sudo apt upgrade
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:
  libxss1:i386 linux-headers-5.4.0-48-generic linux-hwe-5.4-headers-5.4.0-48
  linux-image-5.4.0-48-generic linux-modules-5.4.0-48-generic
  linux-modules-extra-5.4.0-48-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 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 winbind (2:4.7.6+dfsg~ubuntu-0ubuntu2.21) ...
Job for winbind.service failed because the control process exited with error code.
See "systemctl status winbind.service" and "journalctl -xe" for details.
invoke-rc.d: initscript winbind, action "restart" failed.
● winbind.service - Samba Winbind Daemon
   Loaded: loaded (/lib/systemd/system/winbind.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Fri 2020-11-13 21:00:39 CET; 7ms ago
     Docs: man:winbindd(8)
           man:samba(7)
           man:smb.conf(5)
  Process: 15519 ExecStart=/usr/sbin/winbindd --foreground --no-process-group $WINBINDOPTIONS (code=exited, status=1/FAILURE)
 Main PID: 15519 (code=exited, status=1/FAILURE)

nov 13 21:00:39 mt-MS-7728 systemd[1]: Starting Samba Winbind Daemon...
nov 13 21:00:39 mt-MS-7728 systemd[1]: winbind.service: Main process exited, code=exited, status=1/FAILURE
nov 13 21:00:39 mt-MS-7728 systemd[1]: winbind.service: Failed with result 'exit-code'.
nov 13 21:00:39 mt-MS-7728 systemd[1]: Failed to start Samba Winbind Daemon.
dpkg: error processing package winbind (--configure):
 installed winbind package post-installation script subprocess returned error exit status 1
Setting up samba (2:4.7.6+dfsg~ubuntu-0ubuntu2.21) ...
Samba is not being run as an AD Domain Controller.
Please ignore the following error about deb-systemd-helper not finding samba-ad-dc.service.
Job for smbd.service failed because the control process exited with error code.
See "systemctl status smbd.service" and "journalctl -xe" for details.
invoke-rc.d: initscript smbd, action "start" failed.
● smbd.service - Samba SMB Daemon
   Loaded: loaded (/lib/systemd/system/smbd.service; disabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Fri 2020-11-13 21:00:40 CET; 7ms ago
     Docs: man:smbd(8)
           man:samba(7)
           man:smb.conf(5)
  Process: 15654 ExecStart=/usr/sbin/smbd --foreground --no-process-group $SMBDOPTIONS (code=exited, status=1/FAILURE)
 Main PID: 15654 (code=exited, status=1/FAILURE)

nov 13 21:00:40 mt-MS-7728 systemd[1]: Starting Samba SMB Daemon...
nov 13 21:00:40 mt-MS-7728 systemd[1]: smbd.service: Main process exited, code=exited, status=1/FAILURE
nov 13 21:00:40 mt-MS-7728 systemd[1]: smbd.service: Failed with result 'exit-code'.
nov 13 21:00:40 mt-MS-7728 systemd[1]: Failed to start Samba SMB Daemon.
dpkg: error processing package samba (--configure):
 installed samba package post-installation script subprocess returned error exit status 1
Processing triggers for libc-bin (2.27-3ubuntu1.3) ...
Errors were encountered while processing:
 winbind
 samba
E: Sub-process /usr/bin/dpkg returned an error code (1)
mt@mt-MS-7728:~$

Best Manfred Hampl (m-hampl) said : #7

Ok, "apt update" does not produce errors any more, but "apt upgrade" does.

The two packages that create problems are winbind and samba.
I suggest that you uninstall them, or do you need then for accessing a Windows file server?

sudo apt purge samba winbind

MTA (martoyu) said : #8

Thanks Manfred Hampl, that solved my question.

MTA (martoyu) said : #9

This appears to have made it. Thanks very much Mr. Manfred Hampl .