You are not logged in.
Hello everyone
I have been using arch for a few months, and I'm pretty happy with it. Since the beginning of this journey into arch I have been really cautious about handling dependencies, and I have avoided packages that installed too many dependencies or installed cyclical ones that I didn't felt I absolutely needed. Today, when I tried to upgrade the system with
pacman -SyuI was greeted with four questions regarding substituting some kde packages with what I suppose are the new or reorganized ones, so I answered yes to the questions. After that the list of packages to be upgraded appeared and there were a ton of kde dependencies to be installed, almost 2GB of spaced would be used according to pacman. Naturally, I aborted with CTRL-C to see what was going on. This brings up a few questions, but I'll post pacman's output here first:
ivanmlerner@ivan_arch ~ % sudo pacman -Syu :(
:: Sincronizando a base de dados de pacotes...
core está atualizado
extra está atualizado
community está atualizado
multilib está atualizado
:: Iniciando atualização completa do sistema...
:: Substituir kdebase-keditbookmarks por extra/keditbookmarks? [S/n] s
:: Substituir kdebase-kfind por extra/kfind? [S/n] s
:: Substituir kdebase-konq-plugins por extra/konqueror? [S/n] s
:: Substituir kdebase-konqueror por extra/konqueror? [S/n] s
resolvendo dependências...
:: Há 2 provedores disponíveis para phonon-qt5-backend:
:: Repositório extra
1) phonon-qt5-gstreamer 2) phonon-qt5-vlc
Digite um número (padrão=1): 2
procurando por pacotes conflitantes...
atenção: dependência cíclica detectada:
atenção: kinit será instalado antes de sua dependência kio
Pacote (121) Versão antiga Versão nova Diferença Tamanho do download
extra/attica-qt5 5.29.0-1 0,84 MiB 0,17 MiB
extra/baloo 5.29.0-1 1,92 MiB 0,39 MiB
extra/baloo-widgets 16.12.0-1 0,31 MiB 0,08 MiB
core/bash 4.4.005-1 4.4.005-2 0,00 MiB 1,38 MiB
extra/chromium 55.0.2883.75-1 55.0.2883.87-1 -0,01 MiB 47,53 MiB
extra/convertlit 1.8-7 0,16 MiB 0,06 MiB
extra/cups-filters 1.13.0-1 1.13.1-1 0,00 MiB 0,74 MiB
extra/dolphin 16.12.0-1 3,23 MiB 0,99 MiB
extra/ebook-tools 0.2.2-3 0,07 MiB 0,02 MiB
extra/emacs 25.1-1 25.1-2 -0,41 MiB 36,71 MiB
extra/gdk-pixbuf2 2.36.0+2+ga7c869a-3 2.36.1+31+gecea71eb6-1 -0,87 MiB 0,63 MiB
extra/geoip-database 20161004-1 20161206-1 0,06 MiB 0,95 MiB
extra/git 2.10.2-1 2.11.0-2 0,88 MiB 4,88 MiB
core/gnupg 2.1.16-1 2.1.16-2 0,01 MiB 1,90 MiB
extra/gsl 2.2.1-1 2.3-1 0,01 MiB 1,26 MiB
extra/imagemagick 6.9.6.7-1 6.9.6.8-1 -0,37 MiB 2,19 MiB
extra/imagemagick-doc 6.9.6.7-1 6.9.6.8-1 0,00 MiB 4,26 MiB
extra/intel-tbb 2017_20161004-1 2017_20161128-1 0,01 MiB 0,43 MiB
core/iproute2 4.8.0-1 4.9.0-1 -0,07 MiB 0,59 MiB
extra/kactivities 5.29.0-1 0,46 MiB 0,12 MiB
extra/karchive 5.29.0-1 0,30 MiB 0,09 MiB
extra/kauth 5.29.0-1 0,44 MiB 0,11 MiB
extra/kbookmarks 5.29.0-1 0,66 MiB 0,14 MiB
extra/kcmutils 5.29.0-1 1,36 MiB 0,27 MiB
extra/kcodecs 5.29.0-1 0,61 MiB 0,14 MiB
extra/kcompletion 5.29.0-1 0,42 MiB 0,11 MiB
extra/kconfig 5.29.0-1 1,33 MiB 0,29 MiB
extra/kconfigwidgets 5.29.0-1 1,38 MiB 0,34 MiB
extra/kcoreaddons 5.29.0-1 1,53 MiB 0,36 MiB
extra/kcrash 5.29.0-1 0,05 MiB 0,02 MiB
extra/kdbusaddons 5.29.0-1 0,18 MiB 0,05 MiB
kdebase-keditbookmarks 16.08.3-1 -0,41 MiB
kdebase-kfind 16.08.3-1 -0,25 MiB
kdebase-konq-plugins 16.08.3-1 -1,86 MiB
kdebase-konqueror 16.08.3-1 -4,70 MiB
extra/kdebase-runtime 16.08.3-4 16.12.0-1 0,00 MiB 6,09 MiB
extra/kdeclarative 5.29.0-1 0,92 MiB 0,21 MiB
extra/kded 5.29.0-1 0,13 MiB 0,06 MiB
extra/kdelibs 4.14.26-3 4.14.27-1 -0,90 MiB 12,37 MiB
extra/kdelibs4support 5.29.0-1 17,41 MiB 3,05 MiB
extra/kdnssd 5.29.0-1 0,30 MiB 0,08 MiB
extra/keditbookmarks 16.12.0-1 0,44 MiB 0,12 MiB
extra/kemoticons 5.29.0-1 2,23 MiB 1,67 MiB
extra/kfilemetadata 5.29.0-1 0,69 MiB 0,14 MiB
extra/kfind 16.12.0-1 0,27 MiB 0,09 MiB
extra/kglobalaccel 5.29.0-1 0,44 MiB 0,12 MiB
extra/kguiaddons 5.29.0-1 0,16 MiB 0,05 MiB
extra/khtml 5.29.0-1 11,86 MiB 2,51 MiB
extra/ki18n 5.29.0-1 15,95 MiB 1,13 MiB
extra/kiconthemes 5.29.0-1 0,46 MiB 0,13 MiB
extra/kidletime 5.29.0-1 0,12 MiB 0,03 MiB
extra/kinit 5.29.0-1 0,50 MiB 0,13 MiB
extra/kio 5.29.0-1 21,40 MiB 3,95 MiB
extra/kio-extras 16.12.0-1 2,02 MiB 0,49 MiB
extra/kitemmodels 5.29.0-1 0,35 MiB 0,11 MiB
extra/kitemviews 5.29.0-1 0,34 MiB 0,10 MiB
extra/kjobwidgets 5.29.0-1 0,38 MiB 0,08 MiB
extra/kjs 5.29.0-1 1,61 MiB 0,38 MiB
extra/knewstuff 5.29.0-1 2,39 MiB 0,50 MiB
extra/knotifications 5.29.0-1 0,46 MiB 0,13 MiB
extra/konqueror 16.12.0-1 5,21 MiB 1,56 MiB
extra/kpackage 5.29.1-1 0,73 MiB 0,17 MiB
extra/kparts 5.29.0-1 0,87 MiB 0,21 MiB
extra/kpty 5.29.0-1 0,17 MiB 0,05 MiB
extra/kservice 5.29.0-1 1,21 MiB 0,33 MiB
extra/ktextwidgets 5.29.0-1 1,38 MiB 0,26 MiB
extra/kuiserver 5.8.4-1 0,19 MiB 0,05 MiB
extra/kunitconversion 5.29.0-1 8,96 MiB 0,74 MiB
extra/kwallet 5.29.0-1 2,07 MiB 0,38 MiB
extra/kwidgetsaddons 5.29.0-1 6,44 MiB 1,37 MiB
extra/kwindowsystem 5.29.0-1 0,70 MiB 0,18 MiB
extra/kxmlgui 5.29.0-1 3,63 MiB 0,71 MiB
core/libarchive 3.2.1-2 3.2.2-1 0,01 MiB 0,58 MiB
extra/libdbusmenu-qt5 0.9.3+16.04.20160218-1 0,60 MiB
core/libevent 2.0.22-2 0,97 MiB
core/libgcrypt 1.7.3-1 1.7.5-1 0,00 MiB 0,45 MiB
extra/libnm-glib 1.4.2-2 1.4.4-1 0,00 MiB 0,65 MiB
extra/libreoffice-fresh 5.2.3-3 5.2.3-4 0,00 MiB 93,50 MiB
extra/libsrtp 1:1.5.4-1 0,45 MiB 0,08 MiB
extra/libssh 0.7.3-1 0.7.3-2 0,00 MiB 0,18 MiB
extra/libtiff 4.0.7-1 4.0.7-2 0,05 MiB 0,76 MiB
core/libunistring 0.9.6-2 0.9.7-1 0,01 MiB 0,48 MiB
extra/libxpm 3.5.11-1 3.5.12-1 0,00 MiB 0,05 MiB
core/linux-lts 4.4.38-1 4.4.39-1 0,00 MiB 57,30 MiB
extra/lmdb 0.9.18-2 0,47 MiB 0,09 MiB
core/logrotate 3.10.0-1 3.11.0-1 0,00 MiB 0,04 MiB
core/man-db 2.7.5-4 2.7.6.1-2 0,93 MiB 0,74 MiB
core/man-pages 4.08-1 4.09-1 0,04 MiB 5,56 MiB
core/nano 2.7.1-1 2.7.2-1 0,02 MiB 0,41 MiB
extra/ocl-icd 2.2.9-2 2.2.10-1 0,00 MiB 0,04 MiB
extra/openslp 2.0.0-1 1,57 MiB 0,31 MiB
extra/oxygen-icons 1:5.28.0-1 1:5.29.0-1 0,00 MiB 29,95 MiB
core/pacman-mirrorlist 20161211-1 20161214-1 0,00 MiB 0,00 MiB
extra/phonon-qt5 4.9.0-1 1,10 MiB
extra/phonon-qt5-vlc 0.9.0-1 0,35 MiB
extra/polkit-qt5 0.112.0+git20160226-1 0,28 MiB
extra/poppler 0.49.0-1 0.50.0-1 0,00 MiB 0,99 MiB
extra/poppler-glib 0.49.0-1 0.50.0-1 0,00 MiB 0,20 MiB
extra/poppler-qt5 0.50.0-1 0,62 MiB 0,15 MiB
extra/protobuf 3.0.2-2 6,88 MiB 1,28 MiB
community/qbittorrent 3.3.7-2 3.3.10-1 0,21 MiB 3,59 MiB
extra/qemu 2.7.0-2 2.7.0-3 0,16 MiB 4,35 MiB
extra/qt5-base 5.7.0-9 5.7.1-1 0,38 MiB 10,82 MiB
extra/qt5-declarative 5.7.1-1 16,77 MiB 3,18 MiB
extra/qt5-location 5.7.1-1 3,14 MiB 0,66 MiB
extra/qt5-multimedia 5.7.0-1 5.7.1-1 0,00 MiB 0,71 MiB
extra/qt5-script 5.7.1-1 3,76 MiB 0,93 MiB
extra/qt5-svg 5.7.1-1 0,47 MiB 0,13 MiB
extra/qt5-webchannel 5.7.1-1 0,19 MiB 0,06 MiB
extra/qt5-webengine 5.7.1-1 100,21 MiB 25,14 MiB
extra/qt5-x11extras 5.7.1-1 0,03 MiB 0,01 MiB
extra/qt5-xmlpatterns 5.7.1-1 6,29 MiB 1,15 MiB
extra/solid 5.29.0-1 1,94 MiB 0,34 MiB
extra/sonnet 5.29.0-1 1,45 MiB 0,28 MiB
extra/strace 4.14-1 4.15-1 0,02 MiB 0,17 MiB
extra/vulkan-icd-loader 1.0.33.0-1 1.0.37.0-1 0,00 MiB 0,06 MiB
multilib/wine 1.9.24-2 2.0rc1-1 0,24 MiB 46,84 MiB
community/winetricks 20161107-1 20161107-2 0,00 MiB 0,12 MiB
core/wpa_supplicant 1:2.6-2 1:2.6-4 1,67 MiB 0,81 MiB
community/zbar 0.10-7 0.10-8 0,00 MiB 0,16 MiB
extra/zsh 5.2-2 5.3-1 0,21 MiB 1,86 MiB
Tamanho total download: 442,12 MiB
Tamanho total instalado: 1690,64 MiB
Alteração no tamanho: 270,24 MiB
:: Continuar a instalação? [S/n] ^C
Interrupt signal receivedSo now for the questions:
I'll try to uninstall the packages that would be replaced and try the upgrade again, is this what I should really do?
When I stop pacman in the middle of an upgrade like I did, is this considered a partial upgrade since the repositories were upgraded?
How can I avoid this kind of thing in the future?
Thank you, Ivan
Offline
First of all you have to understand that it is a normal process that package updates can come with added dependencies. A replacement is some special case of update, usually where significant packaging changes are involved and it's the best way to just offer a new package.
1) If you don't need the packages you can uninstall them first. If you install them again after the update you will pull in the new dependencies anyway.
2) No, but it's close. Every pacman -S after a pacman -Sy (which is basically what you did when interrupting the process) is considered a partial update.
3) You cannot. Packaging changes are a normal occurence. Just stay informed.
Btw: The update installs around 2GB, but it only uses 200MB more space. If space is really that precious to you, KDE might not be the best suited DE.
Last edited by FlowIt (2016-12-19 23:56:36)
Offline
Thanks a lot! I get it now.
I only use konqueror from kde, so I felt uneasy about so many new dependencies just for one or two packages, I've never seen this before.
Offline
Looks like the old package (kdebase-konqueror) did not depend on dolphin, but the new package does. I'm afraid that this is the problem with applications developed as part of a desktop environment -- sooner or later they depend on other parts of the desktop environment they're developed for. So in regard to "3)", the only advice I can give is to either: a) avoid using DE-developed applications (sometimes easier said than done, particularly if the application you want to use has features that perfectly match what you require), or b) attempt to recompile the problematic applications with fewer dependencies (may not even be possible, at least without heavy patching).
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline