Announcement

Collapse
No announcement yet.

Python being suggested for autoremove

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [SOLVED] Python being suggested for autoremove

    I downloaded 19.10 from http://cdimage.ubuntu.com/kubuntu/releases/19.10/beta/ and verified the md5sum.

    I then chose the minimal install in qemu/kvm and restarted. On running sudo apt update followed by sudo apt full-upgrade I saw this:

    Code:
    $ sudo apt full-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:
    fonts-font-awesome fonts-liberation2 freerdp2-x11 libabw-0.1-1 libadplug-2.2.1-0v5 libaio1 libaudiofile1 libbinio1v5
    libboost-date-time1.67.0 libboost-filesystem1.67.0 libboost-iostreams1.67.0 libboost-locale1.67.0 libboost-system1.67.0
    libboost-thread1.67.0 libcdio-cdda2 libcdio-paranoia2 libcdr-0.1-1 libclucene-contribs1v5 libclucene-core1v5 libcmis-0.5-5v5 libcolamd2
    libe-book-0.1-1 libebur128-1 libeot0 libepubgen-0.1-1 libetonyek-0.1-1 libexttextcat-2.0-0 libexttextcat-data libfluidsynth1
    libfreecell-solver0 libfreehand-0.1-1 libfreerdp-client2-2 libfreerdp2-2 libgrantlee-textdocument5 libharfbuzz-icu0 libid3tag0
    libjs-sphinxdoc libkf5plotting5 libkf5torrent6 libkf5webkit5 libkgantt2 libkgantt2-l10n libkolabxml1v5 libktorrent-l10n liblangtag-common
    liblangtag1 libmhash2 libmikmod3 libmms0 libmodplug1 libmpdclient2 libmspub-0.1-1 libmwaw-0.3-3 libmythes-1.2-0 libodfgen-0.1-1
    libopenal-data libopenal1 liborcus-0.14-0 libpagemaker-0.0-0 libphonenumber7 libprotobuf17 libpython-stdlib libpython2-stdlib
    libpython2.7-minimal libpython2.7-stdlib libqgpgme7 libqt5networkauth5 libraptor2-0 librasqal3 librdf0 libreadline5 librevenge-0.0-0
    libsdl2-2.0-0 libsidplayfp4 libsuitesparseconfig5 libvisio-0.1-1 libvncclient1 libwildmidi2 libwinpr2-2 libwpd-0.10-10 libwpg-0.3-3
    libwps-0.4-4 libxerces-c3.2 libxmlsec1 libxmlsec1-nss libyajl2 libzzip-0-13 lp-solve mariadb-client-core-10.3 mariadb-common
    mariadb-server-core-10.3 paperkey python python-minimal python2 python2-minimal python2.7 python2.7-minimal qtgstreamer-plugins-qt5
    timgm6mb-soundfont
    Use 'sudo apt autoremove' to remove them.
    The following packages will be upgraded:
    bolt libdrm-amdgpu1 libdrm-common libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2 libgnutls30 libidn2-0 libnss-systemd libpam-systemd
    libsdl-image1.2 libsystemd0 libtext-charwidth-perl libtext-wrapi18n-perl libtiff5 systemd systemd-sysv
    18 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 5,301 kB of archives.
    Is the suggested removal of "python" okay? I accepted the upgrades but haven't run the autoremove command.
    Kubuntu 20.04

    #2
    Try
    ll /usr/bin/python

    Maybe it links to a different/newer one.
    Here (neon unstable, 18.04) I have

    lrwxrwxrwx 1 root root 9 Sep 27 18:19 /usr/bin/python -> python2.7*

    lrwxrwxrwx 1 root root 9 Sep 27 18:19 /usr/bin/python3 -> python3.6*

    Comment


      #3
      You're right!

      Code:
      $ ll /usr/bin/python
      lrwxrwxrwx 1 root root 7 Sep 28 13:45 /usr/bin/python -> python2*
      $
      Edit: so I ran sudo apt autoremove and rebooted. Nothing exploded.
      Last edited by chimak111; Sep 28, 2019, 04:24 AM.
      Kubuntu 20.04

      Comment


        #4
        Good. One thing, if you use the CLI to update (I do too), why not use an alias?

        Comment


          #5
          Originally posted by Don B. Cilly View Post
          Good. One thing, if you use the CLI to update (I do too), why not use an alias?
          I do too!
          Not just for update/full-upgrade …

          alias acsh='apt show'
          alias acse='apt search'
          alias acpo='apt policy'
          alias acde='apt depends --no-pre-depends --no-recommends --no-suggests --no-conflicts --no-breaks --no-replaces --no-enhances '
          alias acrd='apt rdepends'
          alias apli='apt list --installed | grep -i'
          alias sain='sudo apt install'
          alias sapu='sudo apt purge'
          alias saau='sudo apt autoremove'
          alias sacl='sudo apt clean'

          (The "c" in some of the aliases is a vestige of the apt cache days.)
          Kubuntu 20.04

          Comment


            #6
            IIRC, Python <3.0 is now depracated.

            Comment


              #7
              Originally posted by WonkoTheSaneUK View Post
              IIRC, Python <3.0 is now depracated.
              It's a work in progress

              Some applications, GIMP comes to mind, may still use Python 2 even in 19.10.

              See https://packages.ubuntu.com/eoan/gimp-python.
              Kubuntu 20.04

              Comment

              Working...
              X