Accidentalmente al desinstalar algún paquete (python) se lleva consigo un grupo de paquetes que dependen de el mismo. en mi caso se llevó el pycharm y software center, ...
Para reinstalarlo...
Historial del procedimiento
bext@bext-VPCF13WFX:~$ sudo apt-get install gnome-terminal Reading package lists... Done Building dependency tree Reading state information... Done gnome-terminal is already the newest version (3.28.2-1ubuntu1~18.04.1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. bext@bext-VPCF13WFX:~$ sudo apt-get install software-center Reading package lists... Done Building dependency tree Reading state information... Done Package software-center is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'software-center' has no installation candidate bext@bext-VPCF13WFX:~$ sudo apt-get purge software-center Reading package lists... Done Building dependency tree Reading state information... Done Package 'software-center' is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. bext@bext-VPCF13WFX:~$ sudo apt-get install software-center Reading package lists... Done Building dependency tree Reading state information... Done Package software-center is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'software-center' has no installation candidate bext@bext-VPCF13WFX:~$ sudo apt-get update; sudo apt-get --purge --reinstall install software-center software-properties-common software-properties-gtk Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] Hit:2 http://mx.archive.ubuntu.com/ubuntu bionic InRelease Hit:3 https://download.docker.com/linux/ubuntu bionic InRelease Get:4 http://mx.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] Get:5 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [17.9 kB] Get:6 http://mx.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] Get:7 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [36.1 kB] Get:8 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 48x48 Icons [16.4 kB] Get:9 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 64x64 Icons [99.2 kB] Get:10 http://mx.archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [278 kB] Get:11 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 DEP-11 Metadata [2 464 B] Get:12 http://mx.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 48x48 Icons [66.7 kB] Get:13 http://mx.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 64x64 Icons [132 kB] Get:14 http://mx.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [245 kB] Get:15 http://mx.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 48x48 Icons [195 kB] Get:16 http://mx.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 64x64 Icons [419 kB] Get:17 http://mx.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2 468 B] Get:18 http://mx.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [7 224 B] Fetched 1 769 kB in 3s (688 kB/s) Reading package lists... Done Reading package lists... Done Building dependency tree Reading state information... Done Package software-center is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'software-center' has no installation candidate bext@bext-VPCF13WFX:~$ software-center software-center: command not found bext@bext-VPCF13WFX:~$ sudo apt-get update && sudo apt get upgrade Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease Hit:2 http://mx.archive.ubuntu.com/ubuntu bionic InRelease Hit:3 http://mx.archive.ubuntu.com/ubuntu bionic-updates InRelease Hit:4 https://download.docker.com/linux/ubuntu bionic InRelease Hit:5 http://mx.archive.ubuntu.com/ubuntu bionic-backports InRelease Reading package lists... Done E: Invalid operation get bext@bext-VPCF13WFX:~$ sudo apt autoremove gnome-software && sudo apt install gnome-software Reading package lists... Done Building dependency tree Reading state information... Done Package 'gnome-software' is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: gnome-software-plugin-snap python3-certifi python3-requests python3-requests-unixsocket snapd software-properties-gtk Suggested packages: apt-config-icons-hidpi gnome-software-plugin-flatpak gnome-software-plugin-limba python3-openssl python3-socks The following NEW packages will be installed: gnome-software gnome-software-plugin-snap python3-certifi python3-requests python3-requests-unixsocket snapd software-properties-gtk 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded. Need to get 209 kB/14.2 MB of archives. After this operation, 69.2 MB of additional disk space will be used. Do you want to continue? [Y/n] Y Get:1 http://mx.archive.ubuntu.com/ubuntu bionic/main amd64 python3-certifi all 2018.1.18-2 [144 kB] Get:2 http://mx.archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3-requests all 2.18.4-2ubuntu0.1 [58.3 kB] Get:3 http://mx.archive.ubuntu.com/ubuntu bionic/main amd64 python3-requests-unixsocket all 0.1.5-3 [6 286 B] Fetched 209 kB in 1s (252 kB/s) Selecting previously unselected package python3-certifi. (Reading database ... 169079 files and directories currently installed.) Preparing to unpack .../0-python3-certifi_2018.1.18-2_all.deb ... Unpacking python3-certifi (2018.1.18-2) ... Selecting previously unselected package python3-requests. Preparing to unpack .../1-python3-requests_2.18.4-2ubuntu0.1_all.deb ... Unpacking python3-requests (2.18.4-2ubuntu0.1) ... Selecting previously unselected package python3-requests-unixsocket. Preparing to unpack .../2-python3-requests-unixsocket_0.1.5-3_all.deb ... Unpacking python3-requests-unixsocket (0.1.5-3) ... Selecting previously unselected package software-properties-gtk. Preparing to unpack .../3-software-properties-gtk_0.96.24.32.9_all.deb ... Unpacking software-properties-gtk (0.96.24.32.9) ... Selecting previously unselected package gnome-software. Preparing to unpack .../4-gnome-software_3.28.1-0ubuntu4.18.04.10_amd64.deb ... Unpacking gnome-software (3.28.1-0ubuntu4.18.04.10) ... Selecting previously unselected package snapd. Preparing to unpack .../5-snapd_2.38+18.04_amd64.deb ... Unpacking snapd (2.38+18.04) ... Selecting previously unselected package gnome-software-plugin-snap. Preparing to unpack .../6-gnome-software-plugin-snap_3.28.1-0ubuntu4.18.04.10_amd64.deb ... Unpacking gnome-software-plugin-snap (3.28.1-0ubuntu4.18.04.10) ... Processing triggers for mime-support (3.60ubuntu1) ... Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ... Processing triggers for libglib2.0-0:amd64 (2.56.4-0ubuntu0.18.04.3) ... Setting up python3-certifi (2018.1.18-2) ... Setting up snapd (2.38+18.04) ... md5sum: /etc/apparmor.d/usr.lib.snapd.snap-confine: No such file or directory Created symlink /etc/systemd/system/multi-user.target.wants/snapd.autoimport.service → /lib/systemd/system/snapd.autoimport.service. Created symlink /etc/systemd/system/multi-user.target.wants/snapd.core-fixup.service → /lib/systemd/system/snapd.core-fixup.service. Created symlink /etc/systemd/system/multi-user.target.wants/snapd.seeded.service → /lib/systemd/system/snapd.seeded.service. Created symlink /etc/systemd/system/cloud-final.service.wants/snapd.seeded.service → /lib/systemd/system/snapd.seeded.service. Created symlink /etc/systemd/system/multi-user.target.wants/snapd.service → /lib/systemd/system/snapd.service. Created symlink /etc/systemd/system/timers.target.wants/snapd.snap-repair.timer → /lib/systemd/system/snapd.snap-repair.timer. Created symlink /etc/systemd/system/sockets.target.wants/snapd.socket → /lib/systemd/system/snapd.socket. Created symlink /etc/systemd/system/final.target.wants/snapd.system-shutdown.service → /lib/systemd/system/snapd.system-shutdown.service. snapd.failure.service is a disabled or a static unit, not starting it. snapd.snap-repair.service is a disabled or a static unit, not starting it. Setting up python3-requests (2.18.4-2ubuntu0.1) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... Processing triggers for shared-mime-info (1.9-2) ... Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ... Processing triggers for hicolor-icon-theme (0.17-2) ... Setting up python3-requests-unixsocket (0.1.5-3) ... Setting up software-properties-gtk (0.96.24.32.9) ... Setting up gnome-software (3.28.1-0ubuntu4.18.04.10) ... Setting up gnome-software-plugin-snap (3.28.1-0ubuntu4.18.04.10) ... bext@bext-VPCF13WFX:~$ sudo apt-clean sudo: apt-clean: command not found bext@bext-VPCF13WFX:~$ sudo apt clean bext@bext-VPCF13WFX:~$ sudo apt update && sudo apt-get dist-upgrade -f Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease Hit:2 http://mx.archive.ubuntu.com/ubuntu bionic InRelease Hit:3 http://mx.archive.ubuntu.com/ubuntu bionic-updates InRelease Hit:4 http://mx.archive.ubuntu.com/ubuntu bionic-backports InRelease Hit:5 https://download.docker.com/linux/ubuntu bionic InRelease Reading package lists... Done Building dependency tree Reading state information... Done All packages are up to date. Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. bext@bext-VPCF13WFX:~$ software-center software-center: command not found bext@bext-VPCF13WFX:~$ sudo apt install --reinstall software-center Reading package lists... Done Building dependency tree Reading state information... Done Package software-center is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'software-center' has no installation candidate bext@bext-VPCF13WFX:~$
Para ejecutarlo desde linea de comandos:
bext@bext-VPCF13WFX:~$ gnome-software
eot
No hay comentarios:
Publicar un comentario