You are not logged in.

#1 2020-02-11 12:50:20

JYPDWhite
Member
Registered: 2020-02-11
Posts: 5

pacman -Rns $(pacman -Qtdq) removed way to many packages

Hi all,

I thought it would maybe a good idea to remove all the unneeded packages on my installation (debian: apt autoremove)
So I went to https://wiki.archlinux.org/index.php/Pa … _(orphans)
and looked up the command pacman -Rns $(pacman -Qtdq)

The package list looked a little bit suspicious to me so I made a copy of the output and saved it.

This was the output of pacman -Rns $(pacman -Qtdq)

akonadi-19.12.2-1  analitza-19.12.2-1  ark-19.12.2-1  artikulate-19.12.2-1  audiocd-kio-19.12.2-1  audiofile-0.3.6-5  avogadrolibs-1.93.0-1  baloo-widgets-19.12.2-1  blinken-19.12.2-1  cantor-19.12
             cifs-utils-6.10-1  cinnamon-desktop-4.4.1-1  cinnamon-menus-4.2.0-1  cinnamon-settings-daemon-4.4.0-2  clang-9.0.1-1  clutter-1.26.2-2  cogl-1.22.4-1  compiler-rt-9.0.1-1  d-mir-core-1.0.2-2  docbo
             dolphin-plugins-19.12.2-1  dragon-19.12.2-1  elisa-19.12.2-1  exempi-2.5.1-1  faac-1.30-2  ffmpegthumbs-19.12.2-1  filelight-19.12.2-1  fluidsynth-2.1.0-1  frei0r-plugins-1.7.0-1  gavl-1.4.0-3  geo
             gst-plugins-bad-1.16.2-2  gvfs-1.42.2-1  gwenview-19.12.2-1  js52-52.9.0-3  juk-19.12.2-1  k3b-1:19.12.2-1  kaccounts-providers-19.12.2-1  kalarmcal-19.12.2-1  kalgebra-19.12.2-1  kalzium-19.12.2-1
             kapptemplate-19.12.2-1  kate-19.12.2-1  kbackup-19.12.2-1  kbruch-19.12.2-1  kcachegrind-19.12.2-1  kcachegrind-common-19.12.2-1  kcalc-19.12.2-1  kcharselect-19.12.2-1  kcolorchooser-19.12.2-1  kc
             kde-dev-utils-19.12.2-1  kdebugsettings-19.12.2-1  kdeedu-data-19.12.2-1  kdegraphics-mobipocket-19.12.2-1  kdegraphics-thumbnailers-19.12.2-1  kdenlive-19.12.2-1  kdepim-runtime-19.12.2-1  kdesdk-
             kdevelop-5.5.0-1  kdf-19.12.2-1  kdialog-19.12.2-1  kdoctools-5.66.0-1  keditbookmarks-19.12.2-1  kfind-19.12.2-1  kfloppy-19.12.2-1  kgeography-19.12.2-1  kgpg-19.12.2-1  khangman-19.12.2-1  khelp
             kimagemapeditor-19.12.2-1  kio-extras-19.12.2-1  kipi-plugins-19.12.2-1  kirigami-gallery-19.12.2-1  kiten-19.12.2-1  kjs-5.66.0-1  klettres-19.12.2-1  kmag-19.12.2-1  kmail-account-wizard-19.12.2-
             kmplot-19.12.2-1  kolourpaint-19.12.2-1  kompare-19.12.2-1  konqueror-19.12.2-1  konsole-19.12.2-1  kplotting-5.66.0-1  kqtquickcharts-19.12.2-1  kross-5.66.0-1  kruler-19.12.2-1  ksystemlog-19.12.
             kturtle-19.12.2-1  kwalletmanager-19.12.2-1  kwave-19.12.2-1  kwordquiz-19.12.2-1  kwrite-19.12.2-1  ladspa-1.15-1  ldb-1:1.5.6-2  libbs2b-3.1.0-6  libbsd-0.10.0-1  libburn-1.5.2-1  libcdio-paranoi
             libfdk-aac-2.0.1-1  libgme-0.6.2-1  libgnomekbd-3.26.1+2+g8d02ebd-1  libkate-0.4.1-7  libkcddb-19.12.2-1  libkcompactdisc-19.12.2-1  libkdcraw-19.12.2-1  libkdegames-19.12.2-1  libkeduvocdocument-1
             libkmahjongg-19.12.2-1  libkolabxml-1.1.6-13  libkomparediff2-19.12.2-1  liblrdf-0.6.1-3  libmikmod-3.3.11.1-4  libmms-0.6.4-2  libmsym-0.2.3-2  libmusicbrainz5-5.1.0-3  libnma-1.8.24-1  libotr-4.1
             libsrtp-1:2.3.0-1  libtiger-0.3.4-5  libvncserver-0.9.12-2  libwbclient-4.10.10-2  libxklavier-5.4-2  lokalize-19.12.2-1  lv2-1.16.0-3  marble-19.12.2-1  marble-common-19.12.2-1  minuet-19.12.2-1 
             nm-connection-editor-1.8.24-1  okular-19.12.2-1  openbabel-3.0.0-3  openssl-1.0-1.0.2.u-1  pango-perl-1.227-11  parley-19.12.2-1  poxml-19.12.2-1  print-manager-19.12.2-1  pulseaudio-alsa-2-5  pyth
             python-constantly-15.1.0-5  python-hyperlink-19.0.0-3  python-incremental-17.5.0-4  python-psutil-5.6.7-1  python-ptyprocess-0.6.0-4  python-pyhamcrest-1.9.0-5  python-setproctitle-1.1.10-5  python
             python-zope-interface-4.7.1-1  python2-enum34-1.1.6-2  python2-sip-pyqt5-4.19.21-1  qhull-2019.1-3  qjson-0.9.0-3  qt-gstreamer-1.2.0-2  qt4-4.8.7-31  qt5-networkauth-5.14.1-1  qt5-xmlpatterns-5.14
             rttr-0.9.6-2  shaderc-2019.0-4  smbclient-4.10.10-2  smpeg-0.4.5-4  spectacle-19.12.2-1  spglib-1.14.1-1  srt-1.4.1-1  step-19.12.2-1  svgpart-19.12.2-1  sweeper-19.12.2-1  syndication-5.66.0-1  ta
             telepathy-farstream-0.6.2-5  telepathy-kde-accounts-kcm-19.12.2-1  telepathy-kde-approver-19.12.2-1  telepathy-kde-auth-handler-19.12.2-1  telepathy-kde-call-ui-19.12.2-1  telepathy-kde-common-inte
             telepathy-kde-contact-runner-19.12.2-1  telepathy-kde-desktop-applets-19.12.2-1  telepathy-kde-filetransfer-handler-19.12.2-1  telepathy-kde-integration-module-19.12.2-1  telepathy-kde-send-file-19
             telepathy-logger-0.8.2-3  telepathy-logger-qt-17.08.0-1  telepathy-mission-control-5.16.5-1  telepathy-qt-0.9.8-1  tevent-1:0.9.39-4  umbrello-19.12.2-1  uriparser-0.9.3-1  wildmidi-0.4.3-1  xapps-
             zbar-0.23-2  zvbi-0.2.35-3  akregator-19.12.2-1  audacious-plugins-3.10.1-4  bomber-19.12.2-1  bovo-19.12.2-1  caribou-0.4.21+60+gec9041b-3  cinnamon-control-center-4.4.0-1  cinnamon-screensaver-4.
             cppunit-1.15.1-1  crypto++-8.2.0-2  d-containers-0.8.0alpha.19-2  d-stdx-allocator-3.0.2-8  dkms-2.8.1-1  electron-7.1.11-1  electron2-2.0.18-2  electron4-4.2.12-2  gamin-0.1.10-9  geoip-1.6.12-1 
             gtk2-perl-1.24992-4  kaddressbook-19.12.2-1  kajongg-19.12.2-1  kalarm-19.12.2-1  kapman-19.12.2-1  katomic-19.12.2-1  kblackbox-19.12.2-1  kblocks-19.12.2-1  kbounce-19.12.2-1  kbreakout-19.12.2-1
             kdebase-meta-19.12-1  kdeedu-meta-19.12-1  kdegraphics-meta-19.12-1  kdemultimedia-meta-19.12-1  kdenetwork-filesharing-19.12.2-1  kdesdk-meta-19.12-1  kdeutils-meta-19.12-1  kdewebdev-meta-19.12-1
             kgoldrunner-19.12.2-1  kigo-19.12.2-1  killbots-19.12.2-1  kiriki-19.12.2-1  kjsembed-5.66.0-1  kjumpingcube-19.12.2-1  kleopatra-19.12.2-1  klickety-19.12.2-1  klines-19.12.2-1  kmahjongg-19.12.2-
             knetwalk-19.12.2-1  knights-19.12.2-1  knotes-19.12.2-1  kolf-19.12.2-1  kollision-19.12.2-1  konquest-19.12.2-1  kontact-19.12.2-1  kopete-19.12.2-1  krdc-19.12.2-1  kreversi-19.12.2-1  krfb-19.12
             ksnakeduel-19.12.2-1  kspaceduel-19.12.2-1  ksquares-19.12.2-1  ksudoku-19.12.2-1  ktuberling-19.12.2-1  kubrick-19.12.2-1  kxmlrpcclient-5.66.0-1  leveldb-1.22-1  libechonest-2.3.1-2  libguess-1.2
             libnm-glib-1.18.5dev+12+ga8746f48ca-1  libplacebo-1.29.1-1  libxspf-1.2.0-4  lskat-19.12.2-1  mbox-importer-19.12.2-1  muffin-4.4.2-1  mypaint-brushes-2.0.1-1  nemo-4.4.2-1  network-manager-applet-
             pim-data-exporter-19.12.2-1  pim-sieve-editor-19.12.2-1  polkit-gnome-0.105-4  python-pam-1.8.4-4  python-pexpect-4.8.0-1  python-pyinotify-0.9.6-6  python-pyinsane-2.0.13-2  python2-attrs-19.3.0-3
             python2-pyqt5-5.14.1-2  python2-wxpython3-3.0.2.0-2  qwt5-5.2.3-5  qwtplot3d-0.2.7-10  sdl_mixer-1.2.12-7  smooth-0.9.2-1  sowing-1.1.26-1  telepathy-kde-meta-19.12-1  wvstreams-4.6.1-16  zeroconf-

So after removing and rebooting. I realized that the "konsole" application of kde is no longer installed. Also Dolphin is no longer installed. So I used the list above to create a list for pacman -S
So I've got

pacman -S akonadi analitza ark artikulate audiocd-kio audiofile avogadrolibs baloo-widgets blinken cantor cifs-utils cinnamon-desktop cinnamon-menus cinnamon-settings-daemon clang clutter cogl compiler-rt d-mir-core docbo dolphin-plugins dragon elisa exempi faac ffmpegthumbs filelight fluidsynth frei0r-plugins gavl geo gst-plugins-bad gvfs gwenview js52 juk k3b kaccounts-providers kalarmcal kalgebra kalzium kapptemplate kate kbackup kbruch kcachegrind kcachegrind-common kcalc kcharselect kcolorchooser kc kde-dev-utils kdebugsettings kdeedu-data kdegraphics-mobipocket kdegraphics-thumbnailers kdenlive kdepim-runtime kdesdk kdevelop kdf kdialog kdoctools keditbookmarks kfind kfloppy kgeography kgpg khangman khelp kimagemapeditor kio-extras kipi-plugins kirigami-gallery kiten kjs klettres kmag kmail-account-wizard kmplot kolourpaint kompare konqueror konsole kplotting kqtquickcharts kross kruler ksystemlog kturtle kwalletmanager kwave kwordquiz kwrite ladspa ldb libbs2b libbsd libburn libcdio-paranoi libfdk-aac libgme libgnomekbd libkate libkcddb libkcompactdisc libkdcraw libkdegames libkeduvocdocument libkmahjongg libkolabxml libkomparediff2 liblrdf libmikmod libmms libmsym libmusicbrainz5 libnma libotr libsrtp libtiger libvncserver libwbclient libxklavier lokalize lv2 marble marble-common minuet nm-connection-editor okular openbabel openssl pango-perl parley poxml print-manager pulseaudio-alsa pyth python-constantly python-hyperlink python-incremental python-psutil python-ptyprocess python-pyhamcrest python-setproctitle python python-zope-interface python2-enum34 python2-sip-pyqt5 qhull qjson qt-gstreamer qt4 qt5-networkauth qt5-xmlpatterns rttr shaderc smbclient smpeg spectacle spglib srt step svgpart sweeper syndication ta telepathy-farstream telepathy-kde-accounts-kcm telepathy-kde-approver telepathy-kde-auth-handler telepathy-kde-call-ui telepathy-kde-common-inte telepathy-kde-contact-runner telepathy-kde-desktop-applets telepathy-kde-filetransfer-handler telepathy-kde-integration-module telepathy-kde-send-file telepathy-logger telepathy-logger-qt telepathy-mission-control telepathy-qt tevent umbrello uriparser wildmidi xapps zbar zvbi akregator audacious-plugins bomber bovo caribou cinnamon-control-center cinnamon-screensaver cppunit crypto++ d-containers d-stdx-allocator dkms electron electron2 electron4 gamin geoip gtk2-perl kaddressbook kajongg kalarm kapman katomic kblackbox kblocks kbounce kbreakout kdebase-meta kdeedu-meta kdegraphics-meta kdemultimedia-meta kdenetwork-filesharing kdesdk-meta kdeutils-meta kdewebdev-meta kgoldrunner kigo killbots kiriki kjsembed kjumpingcube kleopatra klickety klines kmahjongg knetwalk knights knotes kolf kollision konquest kontact kopete krdc kreversi krfb ksnakeduel kspaceduel ksquares ksudoku ktuberling kubrick kxmlrpcclient leveldb libechonest libguess libnm-glib libplacebo libxspf lskat mbox-importer muffin mypaint-brushes nemo network-manager-applet pim-data-exporter pim-sieve-editor polkit-gnome python-pam python-pexpect python-pyinotify python-pyinsane python2-attrs python2-pyqt5 python2-wxpython3 qwt5 qwtplot3d sdl_mixer smooth sowing telepathy-kde-meta wvstreams zeroconf

But pacman complaint that there are packages which it could not find.

Fehler: Ziel nicht gefunden: docbo
Fehler: Ziel nicht gefunden: geo
Fehler: Ziel nicht gefunden: kc
Fehler: Ziel nicht gefunden: khelp
Warnung: konsole-19.12.2-1 ist aktuell -- Reinstalliere
Fehler: Ziel nicht gefunden: libcdio-paranoi
Warnung: openssl-1.1.1.d-2 ist aktuell -- Reinstalliere
Fehler: Ziel nicht gefunden: pyth
Warnung: python-3.8.1-4 ist aktuell -- Reinstalliere
Fehler: Ziel nicht gefunden: qjson
Fehler: Ziel nicht gefunden: qt4
Fehler: Ziel nicht gefunden: ta
Fehler: Ziel nicht gefunden: telepathy-kde-common-inte
Fehler: Ziel nicht gefunden: gamin
Fehler: Ziel nicht gefunden: libechonest
Fehler: Ziel nicht gefunden: libxspf
Fehler: Ziel nicht gefunden: qwt5
Fehler: Ziel nicht gefunden: qwtplot3d
Fehler: Ziel nicht gefunden: smooth
Fehler: Ziel nicht gefunden: zeroconf

So i removed the "missing" packets from the command and installed the remaining. After a second reboot my system is up and running and at the first look all of my needed software is back ;-)

So I have two questions: Why removed pacman packages which I are using. (I thought the first command lists all dependencies which are no longer used)

And the second question is why are there packages which I can't install anymore?

Any hint is greatly appreciated ;-)


Regards :-)

Offline

#2 2020-02-11 13:24:20

kflak
Member
Registered: 2017-09-23
Posts: 52

Re: pacman -Rns $(pacman -Qtdq) removed way to many packages

An orphan is not the same as an unused package, it just means that nobody's maintaining the package anymore, as far as my limited Arch knowledge goes...

Offline

#3 2020-02-11 13:35:26

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,466

Re: pacman -Rns $(pacman -Qtdq) removed way to many packages

kflak wrote:

An orphan is not the same as an unused package, it just means that nobody's maintaining the package anymore, as far as my limited Arch knowledge goes...

Not in this context.

JYPDWhite, if you installed a metapackage, for example, everything it installed will be installed as a dependency. -Qdtq isn't unused packages, it's things installed as a dep that are no longer required by any explicitly installed package.

Offline

#4 2020-02-11 13:40:56

schard
Member
From: Hannover
Registered: 2016-05-06
Posts: 1,933
Website

Re: pacman -Rns $(pacman -Qtdq) removed way to many packages

Did you perform a complete system upgrade via pacman -Syu before removing all the unrequired packages or the re-installation attempt?

Offline

#5 2020-02-11 14:05:51

JYPDWhite
Member
Registered: 2020-02-11
Posts: 5

Re: pacman -Rns $(pacman -Qtdq) removed way to many packages

schard wrote:

Did you perform a complete system upgrade via pacman -Syu before removing all the unrequired packages or the re-installation attempt?

No, later i realized maybe it would have been wise to do a system upgrade beforehand ;-).
My last full upgrade (pacman -Syu was on sunday 9. February)

After I reinstalled the packages I did an pacman -Syu to ensure all is up to date.

Offline

#6 2020-02-11 14:11:22

tethys
Member
Registered: 2019-08-13
Posts: 95

Re: pacman -Rns $(pacman -Qtdq) removed way to many packages

To answer your questions:
1) Some of packages were removed because they were installed as dependencies but now no package needs them.
2) There are no packages named "docbo" or "pyth", that's why pacman can't install them.

Last edited by tethys (2020-02-11 14:11:44)

Offline

Board footer

Powered by FluxBB