You are not logged in.
Pages: 1
I'm trying to install texstudio in arch and am shown this dependency related error:
$ sudo pacman -S texstudio
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: poppler-glib: requires poppler=0.33.0
When trying to install poppler individually the same error is given:
$ sudo pacman -S poppler
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: poppler-glib: requires poppler=0.33.0
Last edited by Sebi (2015-10-27 10:10:31)
Offline
have you run 'pacman -Syu' recently?
post your pacman.conf
Offline
have you run 'pacman -Syu' recently?
post your pacman.conf
I have run:
pacman -Syyu
before trying to install the package. The output of 'pacman -Syu' is:
$ sudo pacman -Syu
[sudo] password for kiara:
:: Synchronizing package databases...
core is up to date
extra is up to date
community 3.0 MiB 160K/s 00:19 [##########################################################################] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: readline will be installed before its bash dependency
warning: dependency cycle detected:
warning: freetype2 will be installed before its harfbuzz dependency
warning: dependency cycle detected:
warning: freetype2 will be installed before its harfbuzz dependency
Packages (325) aalib-1.4rc5-11 adwaita-icon-theme-3.18.0-1 apache-2.4.17-2 aspell-0.60.6.1-3 at-spi2-atk-2.18.1-1 at-spi2-core-2.18.1-1 atk-2.18.0-1 atkmm-2.24.1-1 avahi-0.6.32rc-1 babl-0.1.12-1
baobab-3.18.1-1 bash-4.3.042-3 binutils-2.25.1-3 bluez-5.35-1 ca-certificates-mozilla-3.20-1 cairomm-1.12.0-1 cantarell-fonts-0.0.17.2-1 caribou-0.4.19-1 cheese-3.18.1-1
chromaprint-1.2-1 clutter-1.24.2-1 clutter-gst-3.0.14-1 clutter-gst2-2.0.16-1 clutter-gtk-1.6.6-1 cogl-1.22.0-1 colord-1.2.12-1 coreutils-8.24-1 cryptsetup-1.6.8-1 curl-7.45.0-1
dbus-1.10.0-4 dbus-glib-0.104-1 dconf-editor-3.18.1-1 device-mapper-2.02.132-1 dhclient-4.3.3-2 dhcpcd-6.9.3-1 e2fsprogs-1.42.13-1 elfutils-0.164-1 empathy-3.12.11-1 eog-3.18.0-1
epiphany-3.18.0-1 evince-3.18.1-1 evolution-data-server-3.18.1-1 exiv2-0.25-2 ffmpeg-1:2.8.1-2 file-5.25-1 filesystem-2015.09-1 firefox-41.0.2-1 folks-0.11.1-2 fontconfig-2.11.1-2
freetype2-2.6.1-1 fribidi-0.19.7-1 gc-7.4.2-3 gcc-5.2.0-2 gcc-libs-5.2.0-2 gcr-3.18.0-1 gdk-pixbuf2-2.32.1-1 gdm-3.18.0-1 gedit-3.18.1-1 gegl-0.3.0-2 gegl02-0.2.0-1
geoclue2-2.3.0-1 geocode-glib-3.18.0-1 gettext-0.19.6-1 ghostscript-9.18-3 gimp-2.8.14-4 git-2.6.2-1 glib-networking-2.46.1-1 glib2-2.46.1-1 glibc-2.22-3 glibmm-2.46.1-1
gnome-backgrounds-3.18.0-1 gnome-bluetooth-3.18.0-1 gnome-calculator-3.18.1-1 gnome-color-manager-3.18.0-1 gnome-contacts-3.18.0-1 gnome-control-center-3.18.1-2
gnome-desktop-1:3.18.1-1 gnome-dictionary-3.18.0-1 gnome-disk-utility-3.18.1-1 gnome-font-viewer-3.16.2-2 gnome-keyring-1:3.16.0-1 gnome-online-accounts-3.18.1-1
gnome-screenshot-3.18.0-1 gnome-session-3.18.1.2-1 gnome-settings-daemon-3.18.1-1 gnome-shell-3.18.1-2 gnome-shell-extensions-3.18.1-1 gnome-system-monitor-3.18.0.1-1
gnome-terminal-3.18.1-1 gnome-themes-standard-3.18.0-1 gnome-user-docs-3.18.1-1 gnome-user-share-3.18.0-1 gnupg-2.1.9-1 gnutls-3.4.6-1 gobject-introspection-runtime-1.46.0-1
gom-0.3.1-1 gpgme-1.6.0-2 gpm-1.20.7-5 gradle-2.8-1 gradle-doc-2.8-1 graphite-1:1.3.3-1 grilo-0.2.14-1 grilo-plugins-0.2.16-1 groff-1.22.3-4 gsettings-desktop-schemas-3.18.1-1
gsfonts-20150811-1 gst-plugins-bad-1.6.0-2 gst-plugins-base-1.6.0-1 gst-plugins-base-libs-1.6.0-1 gst-plugins-good-1.6.0-1 gstreamer-1.6.0-1 gtk-update-icon-cache-3.18.2-1
gtk3-3.18.2-1 gtkmm3-3.18.0-1 gtksourceview3-3.18.1-1 gucharmap-3.18.1-1 guile-2.0.11-3 gvfs-1.26.1.1-1 harfbuzz-1.0.6-1 harfbuzz-icu-1.0.6-1 hicolor-icon-theme-0.15-1
hunspell-1.3.3-2 hwids-20150717-1 hyphen-2.8.8-1 iana-etc-20151016-1 inetutils-1.9.4-2 intellij-idea-community-edition-1:14.1.5-1 intellij-idea-libs-1:14.1.5-1 iproute2-4.1.1-1
iso-codes-3.62-1 jasper-1.900.1-14 json-glib-1.0.4-1 kbd-2.0.3-1 kmod-21-2 krb5-1.13.2-1 lame-3.99.5-3 ldb-1.1.21-1 less-481-2 libass-0.13.0-1 libassuan-2.3.0-1 libbluray-0.9.0-1
libcaca-0.99.beta18-3 libcap-ng-0.7.7-1 libcdio-0.93-2 libchamplain-0.12.11-1 libcups-2.1.0-1 libdatrie-0.2.9-1 libdbus-1.10.0-4 libdmapsharing-2.9.32-1 libdrm-2.4.65-1
libdvdnav-5.0.3-1 libdvdread-5.0.4-1 libedit-20150325_3.1-2 libelf-0.164-1 libepoxy-1.3.1-1 libevdev-1.4.4-1 libgcrypt-1.6.4-1 libgdata-0.17.3-1 libgdm-3.18.0-1 libgpg-error-1.20-1
libgsf-1.14.34-1 libgtop-2.32.0-1 libgusb-0.2.7-1 libgweather-3.18.1-1 libgxps-0.2.3.2-1 libibus-1.5.11-2 libidn-1.32-1 libinput-1.1.0-1 libjpeg-turbo-1.4.2-1 libldap-2.4.42-2
libmm-glib-1.4.12-1 libnautilus-extension-3.18.1-1 libnewt-0.52.18-3 libnice-0.1.13-1 libnl-3.2.26-1 libnm-glib-1.0.7-1 libpaper-1.1.24-8 libpeas-1.16.0-1 libpgm-5.2.122-2
libpipeline-1.4.1-1 libplist-1.12-3 libpng-1.6.18-1 libproxy-0.4.11-6 libpulse-7.0-2 libraw1394-2.1.1-1 librsvg-1:2.40.11-1 libseccomp-2.2.3-1 libsecret-0.18.3-1 libsigc++-2.6.1-1
libsodium-1.0.5-1 libsoup-2.52.1-1 libsoxr-0.1.2-1 libssh-0.7.1-2 libssh2-1.6.0-1 libsystemd-227-1 libtasn1-4.7-1 libteam-1.18-2 libthai-0.1.22-1 libtiff-4.0.6-1 libtool-2.4.6-3
libtracker-sparql-1.6.0-1 libunistring-0.9.6-1 libunwind-1.1-3 libusb-1.0.20-1 libutil-linux-2.27-6 libva-1.6.1-1 libvdpau-1.1.1-1 libwacom-0.15-1 libwbclient-4.3.1-1
libx264-2:148.20150725-1 libxcb-1.11.1-1 libxi-1.7.5-1 linux-4.2.3-1 linux-api-headers-4.1.4-1 linux-firmware-20150904.6ebf5d5-1 llvm-libs-3.7.0-4 logrotate-3.9.1-1
lua52-lpeg-1.0.0-1 lua52-socket-20151008-1 lvm2-2.02.132-1 lz4-131-1 man-db-2.7.4-1 man-pages-4.02-1 maven-3.3.3-2 mdadm-3.3.4-1 mesa-11.0.4-1 mesa-libgl-11.0.4-1 mpfr-3.1.3.p4-1
mpg123-1.22.4-1 mutter-3.18.1-1 nano-2.4.2-2 nautilus-3.18.1-1 ncurses-6.0-3 netctl-1.11-1 networkmanager-1.0.7-1 nm-connection-editor-1.0.6-1 nspr-4.10.9-1 nss-3.20-1
openresolv-3.7.1-1 openssh-7.1p1-1 openssl-1.0.2.d-1 orc-0.4.24-1 os-prober-1.66-1 p11-kit-0.23.1-3 pacman-4.2.1-4 pacman-mirrorlist-20151017-1 pam-1.2.1-1 pango-1.38.1-1
pangomm-2.38.1-1 parted-3.2-3 pcre-8.37-4 perl-5.22.0-1 pinentry-0.9.5-2 pixman-0.32.8-1 pkg-config-0.29-1 polkit-0.113-4 poppler-0.36.0-1 poppler-glib-0.36.0-1 procps-ng-3.3.11-2
psmisc-22.21-3 pulseaudio-7.0-2 pygobject-devel-3.18.2-1 pygobject2-devel-2.28.6-12 pygtk-2.24.0-6 python-3.5.0-2 python-atspi-2.18.0-1 python-gobject-3.18.2-1 python-xdg-0.25-3
python2-2.7.10-2 python2-atspi-2.18.0-1 python2-gobject-3.18.2-1 python2-gobject2-2.28.6-12 readline-6.3.008-3 s-nail-14.8.5-1 smbclient-4.3.1-1 soundtouch-1.9.0-1 speexdsp-1.2rc3-2
sqlite-3.9.1-1 sudo-1.8.14.p3-2 sushi-3.18.0-1 systemd-227-1 systemd-sysvcompat-227-1 talloc-2.1.4-1 tdb-1.3.7-1 tevent-0.9.25-1 texinfo-5.2-4 thin-provisioning-tools-0.5.3-1
totem-3.18.1-1 totem-plparser-3.10.5-1 tracker-1.6.0-1 tzdata-2015g-1 udisks2-2.1.6-1 util-linux-2.27-6 vi-1:070224-2 vino-3.18.0-1 virtualbox-5.0.8-1 virtualbox-guest-iso-5.0.8-1
virtualbox-guest-modules-5.0.8-1 virtualbox-guest-utils-5.0.8-1 virtualbox-host-modules-5.0.8-1 vte-common-0.42.1-1 vte3-0.42.1-1 wavpack-4.75.2-1 wayland-1.9.0-1 webkit2gtk-2.10.2-1
x265-1.8-1 xapian-core-1:1.2.21-1 xcb-proto-1.11-2 xdg-user-dirs-0.15-2 xdg-utils-1.1.1-1 xfsprogs-4.2.0-1 xkeyboard-config-2.16-1 xorg-server-1.17.2-4 xorg-server-common-1.17.2-4
xorg-server-xwayland-1.17.2-4 xorg-xinit-1.3.4-3 xorg-xinput-1.6.2-1 xproto-7.0.28-1 xterm-320-2 xvidcore-1.3.4-1 xz-5.2.2-1 yelp-3.18.1-1 yelp-xsl-3.18.1-1 zenity-3.18.1.1-1
zeromq-4.1.3-1
Total Download Size: 765.31 MiB
Total Installed Size: 2716.22 MiB
Net Upgrade Size: 102.55 MiB
:: Proceed with installation? [Y/n] n
The contents of pacman.conf are:
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives
#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
#DBPath = /var/lib/pacman/
#CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
#GPGDir = /etc/pacman.d/gnupg/
HoldPkg = pacman glibc
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
#UseDelta = 0.7
Architecture = auto
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg =
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options
#UseSyslog
#Color
#TotalDownload
CheckSpace
#VerbosePkgLists
# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required
# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.
#
# REPOSITORIES
# - can be defined here or included from another file
# - pacman will search repositories in the order defined here
# - local/custom mirrors can be added here or in separate files
# - repositories listed first will take precedence when packages
# have identical names, regardless of version number
# - URLs will have $repo replaced by the name of the current repo
# - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
# [repo-name]
# Server = ServerName
# Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#
# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.
#[testing]
#Include = /etc/pacman.d/mirrorlist
[core]
Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
#[community-testing]
#Include = /etc/pacman.d/mirrorlist
[community]
Include = /etc/pacman.d/mirrorlist
# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.
#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist
#[multilib]
#Include = /etc/pacman.d/mirrorlist
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs
And it still breaks when I try to install texstudio.
Last edited by Sebi (2015-10-26 18:14:22)
Offline
What ooo was trying to say: did you update recently (so, did you answer yes on pacman's question to proceed with the installation)? Running pacman -Syu without updating will get you in trouble when installing packages and that is exactly what your problem is. The local database knows about poppler 0.36, so it tries to install poppler 0.36. But since you did not update poppler-glibc to 0.36, it requires 0.33, blocking the installation.
It is called a partial upgrade and is unsupported. So, the solution is to update and then try again.
EDIT: Substantiation of my claim: https://wiki.archlinux.org/index.php/Sy … nsupported
Also, taking a look at the poppler library commit history shows that poppler should have been updated somewhere between now and the 28th of September...
Last edited by runical (2015-10-26 18:25:15)
Offline
What ooo was trying to say: did you update recently (so, did you answer yes on pacman's question to proceed with the installation)? Running pacman -Syu without updating will get you in trouble when installing packages and that is exactly what your problem is. The local database knows about poppler 0.36, so it tries to install poppler 0.36. But since you did not update poppler-glibc to 0.36, it requires 0.33, blocking the installation.
It is called a partial upgrade and is unsupported. So, the solution is to update and then try again.
EDIT: Substantiation of my claim: https://wiki.archlinux.org/index.php/Sy … nsupported
Also, taking a look at the poppler library commit history shows that poppler should have been updated somewhere between now and the 28th of September...
Oh I got it (doing the update now). But is there a way to update packages and to keep the size of the overall packages as small as possible (avoid installing unneeded dependencies) as I have some storage constraints to respect.
Offline
Pacman does not install unneeded dependencies. It installs only what you tell it to install, and the needed dependencies.
Updating will not always take more space - sometimes less as some packages get smaller. (edit: in this case you'll get an increase, but of only 100MB).
But you will want to occasionally clean your package cache as that will grow indefinitely until cleaned (see paccache -h).
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Oh I got it (doing the update now). But is there a way to update packages and to keep the size of the overall packages as small as possible (avoid installing unneeded dependencies) as I have some storage constraints to respect.
As Trilby already pointed out, pacman installs what you tell it to. This means that there are no unnecessary dependencies installed. Do clean out your package cache and check for orphans once in a while. It is also advisable to take a look at what you have installed that you no longer use. If you are really that space constrained, you may also want to take a look at less space hungry desktop environments like XFCE, MATE and LXDE instead of GNOME or KDE.
That is pretty much all you can do. You need some space to run an OS after all, even for Linux.
Last edited by runical (2015-10-26 20:30:00)
Offline
Pacman does not install unneeded dependencies. It installs only what you tell it to install, and the needed dependencies.
Updating will not always take more space - sometimes less as some packages get smaller. (edit: in this case you'll get an increase, but of only 100MB).
But you will want to occasionally clean your package cache as that will grow indefinitely until cleaned (see paccache -h).
Got it working now. Thanks for the paccache tip. After running:
$ paccache -d
==> no candidate packages found for pruning
$ paccache -r
==> no candidate packages found for pruning
paccache suggests that there are no packages to remove. But why is that given that I've just upgraded? Also, installing texstudio worked after the upgrade. But, texstudio shows the following message when launched:
No LaTeX distribution was found on your system. As a result, the corresponding commands are not configured. This means, that you cannot compile your documents to the desired output format (e.g. pdf).
If you intend to work with LaTeX, you'll most certainly want to install a LaTeX distribution.
Following the steps described here:
https://wiki.archlinux.org/index.php/LaTeX
it is not clear which packages include tex.
Offline
Read the paccache help - by default it keeps the last 3 versions of everything. That is probably not what you want.
I use `pacccache -rk2` and `paccache -ruk0` regularly.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Read the paccache help - by default it keeps the last 3 versions of everything. That is probably not what you want.
I use `pacccache -rk2` and `paccache -ruk0` regularly.
The first command gives the output:
==> no candidate packages found for pruning
while the second frees up ~343 Mb of space. But when running the disk storage utility the following output is shown:
http://oi58.tinypic.com/huhavb.jpg
Why are there still 2.2 GB left in the cache? Should I clear everything:
pacccache -rk2 && paccache -ruk2
pacccache -rk1 && paccache -ruk1
pacccache -rk0 && paccache -ruk0
?
Offline
You can if you want. All you lose is the option to downgrade.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
You can if you want. All you lose is the option to downgrade.
This may be slightly off-topic but my arch distro is running in a virtual machine (sun virtual box). Are there any risks of damaging files upon resizing the vitual drive as decribed here:
https://forums.virtualbox.org/viewtopic … 35&t=50661
?
Are there any other ways of preserving the previous packages without actually storing them?
Offline
Are there any other ways of preserving the previous packages without actually storing them?
Offline
Sebi, you should spend some time searching to find answers to your own questions. You should also use each thread on these forums for one issue. This thread started with you using pacman wrong, to running out of space on your drive, to figuring out how to use a well documented tool (paccache), and now to resizing virtual drives and downgrading packages (and this is ignoring skiping over the latex question). This is not an effective way to post.
Please either elaborate on the original problem if it still exists, or mark this thread as SOLVED if it has been solved. If you need to you can open a new thread for your other issues.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Pages: 1