LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-21-2021, 06:45 PM   #1
Go4Linux
LQ Newbie
 
Registered: Mar 2019
Posts: 18

Rep: Reputation: Disabled
autoremove list after focal fossa upgrade


After LQ help with DNS issue, I'm doing my first apt upgrade on focal fossa. I'm seeing quite a large number of autoremove packages (see below). Some seem reasonable (e.g. related to kernel change), but others concern me. For example, why would deborphan no longer be required? Also seeing some python and misc libraries that seem important? A little nervous about removing such a large list of packages.

Code:
The following packages were automatically installed and are no longer required:
  deborphan dh-python g++-7 gcc-8-base:i386 gdal-data guile-2.0-libs lib32gcc1
  libaec0 libarmadillo8 libarmadillo9 libarpack2 libavcodec-dev libavdevice57
  libavfilter6 libavformat-dev libavresample-dev libavresample3 libavutil-dev
  libbind9-160 libbison-dev libblas3 libboost-date-time1.65.1
  libboost-filesystem1.65.1 libboost-iostreams1.65.1 libboost-locale1.65.1
  libboost-system1.65.1 libboost-thread1.65.1 libcaf-openmpi-3 libcdio17
  libcfitsio8 libcharls1 libcharls2 libcoarrays-openmpi-dev libdap25
  libdapclient6v5 libdc1394-22-dev libdns-export1100 libdns1100
  libdouble-conversion1 libdrm-dev libdvdread4 libegl1-mesa-dev libepsilon1
  libevent-dev libevent-extra-2.1-7 libevent-openssl-2.1-7 libexif-dev
  libexif-doc libfabric1 libfluidsynth1 libfreexl1 libfyba0 libgdal20 libgdbm5
  libgdcm-dev libgdcm2.8 libgdcm3.0 libgeoclue-2-0 libgeos-3.6.2 libgeos-3.8.0
  libgeos-c1v5 libgeotiff2 libgeotiff5 libgfortran4 libgl2ps1.4 libglade2-0
  libgles2-mesa-dev libglvnd-core-dev libgnome-desktop-3-17 libgphoto2-dev
  libgtk2-perl libgtkmm-2.4-1v5 libhdf4-0-alt libhdf5-100 libhdf5-openmpi-103
  libhunspell-1.6-0 libhwloc-dev libhwloc-plugins libhwloc15 libhwloc5
  libibverbs-dev libilmbase-dev libip4tc0 libip6tc0 libiptc0 libirs160
  libisc-export169 libisc169 libisccc160 libisccfg160 libisl19 libjbig-dev
  libjpeg-dev libjpeg-turbo8-dev libjpeg8-dev libjs-sphinxdoc libjs-underscore
  libjson-c3 libkmlbase1 libkmldom1 libkmlengine1 liblapack3 liblivemedia62
  liblouis14 liblouisutdml8 liblwres160 liblzma-dev libmagickcore-6.q16-3
  libmagickcore-6.q16-3-extra libmagickwand-6.q16-3 libmicrodns0 libmysofa0
  libmysqlclient20 libnetcdf-c++4 libnetcdf13 libnfs11 libnl-3-dev
  libnl-route-3-dev libntfs-3g88 libnuma-dev libodbc1 libogdi3.2
  libopencv-calib3d3.2 libopencv-core-dev libopencv-core3.2 libopencv-core4.2
  libopencv-dnn-dev libopencv-dnn4.2 libopencv-features2d3.2
  libopencv-flann-dev libopencv-flann3.2 libopencv-flann4.2
  libopencv-highgui3.2 libopencv-imgcodecs3.2 libopencv-imgproc-dev
  libopencv-imgproc3.2 libopencv-imgproc4.2 libopencv-ml-dev libopencv-ml3.2
  libopencv-ml4.2 libopencv-objdetect3.2 libopencv-photo-dev
  libopencv-photo3.2 libopencv-photo4.2 libopencv-shape3.2
  libopencv-stitching3.2 libopencv-superres3.2 libopencv-ts-dev
  libopencv-video3.2 libopencv-videoio3.2 libopencv-videostab3.2
  libopenexr-dev libopenmpi-dev libopenmpi2 libopenmpi3 liborcus-0.13-0
  libpango-perl libperl5.26 libplacebo4 libpmix2 libpng-dev libpng-tools
  libpoppler73 libpostproc54 libpq5 libprocps6 libproj12 libproj15
  libprotobuf-lite10 libprotobuf17 libpsm-infinipath1 libpsm2-2
  libpython-all-dev libpython3.6 libpython3.6-dev libqgsttools-p1 libqhull7
  libqpdf21 libqt5multimediaquick-p5 libraw1394-dev libraw1394-tools
  libreoffice-avmedia-backend-gstreamer libsane1 libsocket++1 libspatialite7
  libstdc++-7-dev libsuperlu5 libswresample-dev libswscale-dev libswscale4
  libsz2 libtbb-dev libtiff-dev libtiff5-dev libtiffxx5 libtinfo-dev libupnp6
  liburiparser1 libwayland-bin libwayland-dev libwireshark11 libwiretap8
  libwscodecs2 libwsutil9 libwxgtk3.0-0v5 libx11-xcb-dev libxcb-dri2-0-dev
  libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev libxcb-randr0-dev
  libxcb-render0-dev libxcb-shape0-dev libxcb-sync-dev libxcb-xfixes0-dev
  libxdamage-dev libxerces-c3.2 libxfixes-dev libxnvctrl0 libxshmfence-dev
  libxxf86vm-dev linux-headers-4.15.0-122 linux-headers-4.15.0-122-generic
  linux-image-4.15.0-122-generic linux-modules-4.15.0-122-generic
  linux-modules-extra-4.15.0-122-generic mate-desktop-common mesa-common-dev
  netcat-traditional odbcinst odbcinst1debian2 opencv-data openmpi-bin
  openmpi-common php7.2-sqlite3 proj-bin proj-data python-all python-all-dev
  python-asn1crypto python-cairo python-configparser python-crypto python-dbus
  python-dnspython python-entrypoints python-gi python-gobject-2 python-gtk2
  python-keyring python-notify python-secretstorage python-wheel python-xdg
  python3-asn1crypto python3-entrypoints python3-keyring python3-keyrings.alt
  python3-secretstorage python3.6-dev x11proto-damage-dev x11proto-fixes-dev
  x11proto-xf86vidmode-dev
Use 'sudo apt autoremove' to remove them.
 
Old 02-21-2021, 09:48 PM   #2
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
The attachment I have included shows everything currently installed on my Ubuntu 20.04. Just a quick look showed me many of those packages in your list are not installed, some have been upgraded to higher version.
Attached Files
File Type: txt list.txt (115.0 KB, 11 views)
 
1 members found this post helpful.
Old 02-21-2021, 11:05 PM   #3
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by Go4Linux View Post
After LQ help with DNS issue, I'm doing my first apt upgrade on focal fossa. I'm seeing quite a large number of autoremove packages (see below). Some seem reasonable (e.g. related to kernel change), but others concern me. For example, why would deborphan no longer be required? Also seeing some python and misc libraries that seem important? A little nervous about removing such a large list of packages.

Code:
The following packages were automatically installed and are no longer required:
  deborphan dh-python g++-7 gcc-8-base:i386 gdal-data guile-2.0-libs lib32gcc1
  libaec0 libarmadillo8 libarmadillo9 libarpack2 libavcodec-dev libavdevice57
  snip ...
  python3-asn1crypto python3-entrypoints python3-keyring python3-keyrings.alt
  python3-secretstorage python3.6-dev x11proto-damage-dev x11proto-fixes-dev
  x11proto-xf86vidmode-dev
Use 'sudo apt autoremove' to remove them.
Just a random selection of the packages on my Ubuntu 20.04 system, it seems reasonable enough the packages not found are no longer needed the ones that are there have upgraded the version. It just cleans up the leftover junk.

Code:
root@zeus-H370M:~# acp libdns-export1100
N: Unable to locate package libdns-export1100
root@zeus-H370M:~# acp libfyba0
libfyba0:
  Installed: (none)
  Candidate: 4.1.1-6build1
  Version table:
     4.1.1-6build1 500
        500 http://de.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
root@zeus-H370M:~# acp libip4tc0
N: Unable to locate package libip4tc0
root@zeus-H370M:~# acp libopencv-core-dev
libopencv-core-dev:
  Installed: (none)
  Candidate: 4.2.0+dfsg-5
  Version table:
     4.2.0+dfsg-5 500
        500 http://de.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
root@zeus-H370M:~# acp libpython3.6
libpython3.6-stdlib:
  Installed: (none)
  Candidate: (none)
  Version table:
root@zeus-H370M:~# acp libpython3.7
libpython3.7-stdlib:
  Installed: (none)
  Candidate: (none)
  Version table:
root@zeus-H370M:~# acp libpython3.8
libpython3.8:
  Installed: 3.8.5-1~20.04
  Candidate: 3.8.5-1~20.04
  Version table:
 *** 3.8.5-1~20.04 500
        500 http://de.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages
        100 /var/lib/dpkg/status
     3.8.2-1ubuntu1 500
        500 http://de.archive.ubuntu.com/ubuntu focal/main amd64 Packages
root@zeus-H370M:~# acp php7.2-sqlite3
N: Unable to locate package php7.2-sqlite3
N: Couldn't find any package by glob 'php7.2-sqlite3'
N: Couldn't find any package by regex 'php7.2-sqlite3'
root@zeus-H370M:~# acp php7.3-sqlite3
N: Unable to locate package php7.3-sqlite3
N: Couldn't find any package by glob 'php7.3-sqlite3'
N: Couldn't find any package by regex 'php7.3-sqlite3'
root@zeus-H370M:~# acp php7.4-sqlite3
php7.4-sqlite3:
  Installed: (none)
  Candidate: 7.4.3-4ubuntu2.4
  Version table:
     7.4.3-4ubuntu2.4 500
        500 http://de.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages
     7.4.3-4ubuntu1 500
        500 http://de.archive.ubuntu.com/ubuntu focal/main amd64 Packages
root@zeus-H370M:~# alias acp
alias acp='apt-cache policy'
 
1 members found this post helpful.
Old 02-22-2021, 07:43 AM   #4
Go4Linux
LQ Newbie
 
Registered: Mar 2019
Posts: 18

Original Poster
Rep: Reputation: Disabled
I assumed that when one does a release upgrade, incompatible package versions from the prior release would be upgraded if available or marked for autoremove if not. In the case of deborphan, I see a version in the focal repositories, so I was surprised it is marked for removal. Am I misunderstanding how release upgrades work?
 
Old 02-22-2021, 08:01 AM   #5
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
A package is marked for autoremoval if it was installed automatically as a dependency of another package, but currently nothing depends on the automatically installed package anymore.

To give you an example.

In Ubuntu 18.04, gtkorphan depends on deborphan so if you install gtkorphan then deborphan will be pulled from repository and installed automatically.

Ubuntu 20.04 doesn't provide gtkorphan anymore. If nothing else depended on deborphan then it would be marked for autoremoval.

This doesn't mean deborphan is incompatible. In fact, it was upgraded from 1.7.28.8ubuntu2 to 1.7.32 during the release upgrade. If you want to prevent it from being autoremoved, clear the autoremove flag:
Code:
sudo apt-mark manual deborphan

Last edited by shruggy; 02-22-2021 at 08:14 AM.
 
1 members found this post helpful.
Old 02-22-2021, 08:32 AM   #6
Go4Linux
LQ Newbie
 
Registered: Mar 2019
Posts: 18

Original Poster
Rep: Reputation: Disabled
Thank you! Marking as solved.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How To Upgrade Ubuntu To 20.04 LTS Focal Fossa LXer Syndicated Linux News 1 05-26-2020 05:12 PM
LXer: How to Upgrade Ubuntu 18.04 to 20.04 LTS Focal Fossa via Debian way (right now) LXer Syndicated Linux News 0 04-27-2020 03:51 AM
LXer: How to Upgrade Ubuntu 18.04 LTS or 19.10 to Ubuntu 20.04 LTS “Focal Fossa” LXer Syndicated Linux News 0 04-23-2020 12:42 PM
LXer: How To Upgrade To Ubuntu 20.04 “Focal Fossa” LTS LXer Syndicated Linux News 0 04-06-2020 06:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration