Hallo Miteinander! Ich habe Probleme mit der Installation mehrerer Pakete, die ich zum Bearbeiten einer Problemstellung meines Studiums benötige. Aufgabenbezogene Hilfestellung wird nur für Ubuntu 18.04 gegeben, deshalb möchte ich es vermeiden, das Betriebssystem zu upgraden. Ich kenne mich leider nicht mit Linux aus, deshalb verzeiht womögliche Anfangerfehler.
Was ich bereits probiert habe (https://wiki.ubuntuusers.de/Paketverwaltung/Problembehebung/): sudo apt-get -o dpkg::options::="--force-confnew" -o dpkg::options::="--force-confmiss" --reinstall install
Zum Problem: Das war die erste line Code:
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list
anschließend wurde ein Key hinzugefügt.
Ab hier tauchen die Probleme auf:
sudo apt update --fix-missing
OK:1 http://archive.ubuntu.com/ubuntu bionic InRelease OK:2 http://security.ubuntu.com/ubuntu bionic-security InRelease OK:3 http://packages.ros.org/ros/ubuntu bionic InRelease Holen:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] OK:5 http://packages.osrfoundation.org/gazebo/ubuntu xenial InRelease Holen:6 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] Holen:7 http://archive.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] Es wurden 252 kB in 1 s geholt (206 kB/s). Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Aktualisierung für 769 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen. W: Ziel Sources (restricted/source/Sources) ist mehrfach konfiguriert in /etc/apt/sources.list:2 und /etc/apt/sources.list:7 W: Ziel Sources (restricted/source/Sources) ist mehrfach konfiguriert in /etc/apt/sources.list:2 und /etc/apt/sources.list:7
sudo apt install ros-melodic-desktop-full
E: Konnte Sperre /var/lib/dpkg/lock-frontend nicht bekommen - open (11: Die Ressource ist zur Zeit nicht verfügbar) E: Konnte die dpkg Oberflächen-Sperre (/var/lib/dpkg/lock-frontend) nicht erlangen, benutzt evtl. ein anderer Prozess diese gerade?
Wie upgrade ich die benötigten, und auch die anderen austehenden Pakete, ohne meine Ubuntuversion zu upgraden?? Mein Lüfter arbeitet auf Ubuntu übrigens auf Hochtouren! Das tut er bei Windows10 nicht. Dafür sollte ich evtl ein neues Thema aufmachen? Danke im Voraus, bleibt gesund!
Verwendete Ubuntu-Version:
Linux carsten-GF72-7RE 5.3.0-40-generic #32~18.04.1-Ubuntu SMP Mon Feb 3 14:05:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.4 LTS Release: 18.04 Codename: bionic
Systeminformationen via sudo dmidecode -t0 -t1
# dmidecode 3.1 Getting SMBIOS data from sysfs. SMBIOS 3.0.0 present. Handle 0x0001, DMI type 0, 24 bytes BIOS Information Vendor: American Megatrends Inc. Version: E1799IMS.321 Release Date: 02/22/2018 Address: 0xF0000 Runtime Size: 64 kB ROM Size: 6144 kB Characteristics: PCI is supported BIOS is upgradeable BIOS shadowing is allowed Boot from CD is supported Selectable boot is supported EDD is supported 5.25"/1.2 MB floppy services are supported (int 13h) 3.5"/720 kB floppy services are supported (int 13h) 3.5"/2.88 MB floppy services are supported (int 13h) Print screen service is supported (int 5h) 8042 keyboard services are supported (int 9h) Serial services are supported (int 14h) Printer services are supported (int 17h) ACPI is supported USB legacy is supported BIOS boot specification is supported Targeted content distribution is supported UEFI is supported BIOS Revision: 3.33 Handle 0x0002, DMI type 1, 27 bytes System Information Manufacturer: Micro-Star International Co., Ltd. Product Name: GF72 7RE Version: REV:1.0 Serial Number: 9S71799FA1211ZHC000044 UUID: 0E697041-896D-CC43-85DE-B804FB4355DB Wake-up Type: Power Switch SKU Number: 1799.3 Family: GF
Hardware via: lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 05) 00:01.0 PCI bridge: Intel Corporation 6th-9th Gen Core Processor PCIe Controller (x16) (rev 05) 00:02.0 VGA compatible controller: Intel Corporation HD Graphics 630 (rev 04) 00:14.0 USB controller: Intel Corporation 100 Series/C230 Series Chipset Family USB 3.0 xHCI Controller (rev 31) 00:14.2 Signal processing controller: Intel Corporation 100 Series/C230 Series Chipset Family Thermal Subsystem (rev 31) 00:16.0 Communication controller: Intel Corporation 100 Series/C230 Series Chipset Family MEI Controller #1 (rev 31) 00:17.0 SATA controller: Intel Corporation HM170/QM170 Chipset SATA Controller [AHCI Mode] (rev 31) 00:1c.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #1 (rev f1) 00:1c.3 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #4 (rev f1) 00:1f.0 ISA bridge: Intel Corporation HM175 Chipset LPC/eSPI Controller (rev 31) 00:1f.2 Memory controller: Intel Corporation 100 Series/C230 Series Chipset Family Power Management Controller (rev 31) 00:1f.3 Audio device: Intel Corporation CM238 HD Audio Controller (rev 31) 00:1f.4 SMBus: Intel Corporation 100 Series/C230 Series Chipset Family SMBus (rev 31) 01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Ti Mobile] (rev a1) 02:00.0 Network controller: Intel Corporation Dual Band Wireless-AC 3168NGW [Stone Peak] (rev 10) 03:00.0 Ethernet controller: Qualcomm Atheros Killer E2400 Gigabit Ethernet Controller (rev 10)
Informationen zur Partitionierung via: sudo parted -l
Modell: ATA SAMSUNG MZNLN512 (scsi) Festplatte /dev/sda: 512GB Sektorgröße (logisch/physisch): 512B/512B Partitionstabelle: gpt Disk-Flags: Nummer Anfang Ende Größe Dateisystem Name Flags 1 1049kB 524MB 523MB ntfs Basic data partition versteckt, diag 2 524MB 629MB 105MB fat32 EFI system partition boot, esp 3 629MB 646MB 16.8MB Microsoft reserved partition msftres 4 646MB 259GB 258GB ntfs Basic data partition msftdata 5 259GB 512GB 253GB ext4
Geräteinformationen via: sudo lsblk -o NAME,UUID,FSTYPE,SIZE,LABEL,MOUNTPOINT
NAME UUID FSTYPE SIZE LABEL MOUNTPOINT loop0 squashf 44.9M /snap/gtk-commo loop1 squadas sind die benötigten Pakete, vorher wurden : shf 276K /snap/gnome-cha loop2 squashf 2.2M /snap/gnome-sys loop3 squashf 55.3M /snap/core18/18 loop4 squashf 14.8M /snap/gnome-cha loop5 squashf 62.1M /snap/gtk-commo loop6 squashf 4.2M /snap/gnome-cal loop7 squashf 96.6M /snap/core/9804 loop8 squashf 54.7M /snap/core18/16 loop9 squashf 255.6M /snap/gnome-3-3 loop10 squashf 956K /snap/gnome-log loop11 squashf 91.4M /snap/core/8689 loop12 squashf 161.4M /snap/gnome-3-2 loop13 squashf 956K /snap/gnome-log loop14 squashf 2.4M /snap/gnome-cal loop15 squashf 3.7M /snap/gnome-sys loop16 squashf 163.7M /snap/spotify/4 loop17 squashf 181.1M /snap/spotify/3 loop18 squashf 160.2M /snap/gnome-3-2 sda 477G ├─sda1 FE1816FB1816B31F ntfs 499M ├─sda2 1840-C98F vfat 100M /boot/efi ├─sda3 16M ├─sda4 A48A42708A423ED4 ntfs 240.4G └─sda5 165f8363-5c35-4d5d-9042-bc9feb0eb528 ext4 236G /
die aktivierten Paketquellen via: apt-cache policy
Package files: 100 /var/lib/dpkg/status release a=now 500 http://packages.ros.org/ros/ubuntu bionic/main i386 Packages release o=ROS,a=bionic,n=bionic,l=ROS bionic,c=main,b=i386 origin packages.ros.org 500 http://packages.ros.org/ros/ubuntu bionic/main amd64 Packages release o=ROS,a=bionic,n=bionic,l=ROS bionic,c=main,b=amd64 origin packages.ros.org 500 http://packages.osrfoundation.org/gazebo/ubuntu xenial/main i386 Packages release o=OSRF,n=xenial,l=OSRF,c=main,b=i386 origin packages.osrfoundation.org 500 http://packages.osrfoundation.org/gazebo/ubuntu xenial/main amd64 Packages release o=OSRF,n=xenial,l=OSRF,c=main,b=amd64 origin packages.osrfoundation.org 500 http://archive.ubuntu.com/ubuntu bionic-security/multiverse i386 Packages release v=18.04,o=Ubuntu,a=bionic-security,n=bionic,l=Ubuntu,c=multiverse,b=i386 origin archive.ubuntu.com 500 http://archive.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages release v=18.04,o=Ubuntu,a=bionic-security,n=bionic,l=Ubuntu,c=multiverse,b=amd64 origin archive.ubuntu.com 500 http://archive.ubuntu.com/ubuntu bionic-security/universe i386 Packages release v=18.04,o=Ubuntu,a=bionic-security,n=bionic,l=Ubuntu,c=universe,b=i386 origin archive.ubuntu.com 500 http://archive.ubuntu.com/ubuntu bionic-security/universe amd64 Packages release v=18.04,o=Ubuntu,a=bionic-security,n=bionic,l=Ubuntu,c=universe,b=amd64 origin archive.ubuntu.com 500 http://archive.ubuntu.com/ubuntu bionic-security/restricted i386 Packages release v=18.04,o=Ubuntu,a=bionic-security,n=bionic,l=Ubuntu,c=restricted,b=i386 origin archive.ubuntu.com 500 http://archive.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages release v=18.04,o=Ubuntu,a=bionic-security,n=bionic,l=Ubuntu,c=restricted,b=amd64 origin archive.ubuntu.com 500 http://archive.ubuntu.com/ubuntu bionic-security/main i386 Packages release v=18.04,o=Ubuntu,a=bionic-security,n=bionic,l=Ubuntu,c=main,b=i386 origin archive.ubuntu.com 500 http://archive.ubuntu.com/ubuntu bionic-security/main amd64 Packages release v=18.04,o=Ubuntu,a=bionic-security,n=bionic,l=Ubuntu,c=main,b=amd64 origin archive.ubuntu.com 100 http://archive.ubuntu.com/ubuntu bionic-backports/universe i386 Packages release v=18.04,o=Ubuntu,a=bionic-backports,n=bionic,l=Ubuntu,c=universe,b=i386 origin archive.ubuntu.com 100 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages release v=18.04,o=Ubuntu,a=bionic-backports,n=bionic,l=Ubuntu,c=universe,b=amd64 origin archive.ubuntu.com 100 http://archive.ubuntu.com/ubuntu bionic-backports/main i386 Packages release v=18.04,o=Ubuntu,a=bionic-backports,n=bionic,l=Ubuntu,c=main,b=i386 origin archive.ubuntu.com 100 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages release v=18.04,o=Ubuntu,a=bionic-backports,n=bionic,l=Ubuntu,c=main,b=amd64 origin archive.ubuntu.com 500 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse i386 Packages release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=multiverse,b=i386 origin archive.ubuntu.com 500 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=multiverse,b=amd64 origin archive.ubuntu.com 500 http://archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=universe,b=i386 origin archive.ubuntu.com 500 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=universe,b=amd64 origin archive.ubuntu.com 500 http://archive.ubuntu.com/ubuntu bionic-updates/restricted i386 Packages release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=restricted,b=i386 origin archive.ubuntu.com 500 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=restricted,b=amd64 origin archive.ubuntu.com 500 http://archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=main,b=i386 origin archive.ubuntu.com 500 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages release v=18.04,o=Ubuntu,a=bionic-updates,n=bionic,l=Ubuntu,c=main,b=amd64 origin archive.ubuntu.com 500 http://archive.ubuntu.com/ubuntu bionic/multiverse i386 Packages release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=multiverse,b=i386 origin archive.ubuntu.com 500 http://archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=multiverse,b=amd64 origin archive.ubuntu.com 500 http://archive.ubuntu.com/ubuntu bionic/universe i386 Packages release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=universe,b=i386 origin archive.ubuntu.com 500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=universe,b=amd64 origin archive.ubuntu.com 500 http://archive.ubuntu.com/ubuntu bionic/restricted i386 Packages release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=restricted,b=i386 origin archive.ubuntu.com 500 http://archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=restricted,b=amd64 origin archive.ubuntu.com 500 http://archive.ubuntu.com/ubuntu bionic/main i386 Packages release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=main,b=i386 origin archive.ubuntu.com 500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages release v=18.04,o=Ubuntu,a=bionic,n=bionic,l=Ubuntu,c=main,b=amd64 origin archive.ubuntu.com Pinned packages:
sudo dpkg --configure -a
dpkg: error: dpkg frontend is locked by another process
sudo apt-get -f install
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?